html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

html {
    overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-image: url("../img/bg3d.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-color: black;
    overflow: hidden;
    color: blanchedalmond;
    box-sizing: border-box;
    -ms-overflow-style: none;
    background-size: cover;
    align-items: center;
    justify-items: center;
}

header {
    display: flex;
    padding: 10px;
    flex-direction: column;
    align-items: center;
    position: relative;
}

header input {
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    width: 60%;
    text-align: center;
    border: none;
    background-color: lightseagreen;
    outline: none;
    padding: 10px 5px;
    border-radius: 50px;
    transition: 0.4s linear;
}

input:focus {
    background: turquoise;
    color: black;
    font-size: large;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

section.location {
    /* margin: auto; */
    /* padding: 0px 0px; */
    justify-self: center;
    align-items: center;
    text-align: center;
    clear: both;
}

#particles-js {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: -1;
}

.notification {
    display: none;
    flex-direction: column;
    text-align: center;
    width: 100%;
}

.message {
    background-color: palevioletred;
    width: fit-content;
    align-self: center;
    padding: 5px;
    border-radius: 0px 0px 10px 10px;
    transition: .5s ease;
    font-size: small;
}

.message:hover {
    cursor: pointer;
    background-color: rebeccapurple;
    font-size: smaller;
    transition: .1s linear;
}

.forecast-btn {
    position: relative;
    left: 40%;
    bottom: 40px;
    padding: 10px 10px;
    border-radius: 0px 20px 20px 0px;
    outline: none;
    background-color: chocolate;
    color: cornsilk;
    border: ridge brown;
    text-decoration: none;
}

.forecast-btn:hover {
    cursor: pointer;
    background-color: cornsilk;
    color: brown;
    border: crimson ridge;
}

img {
    width: 100px;
    height: 100px;
    border-radius: 50px;
}

.status {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 5px;
    color: white;
}

.city {
    justify-self: left;
    font-size: xx-large;
    font-weight: bold;
}

.date {
    font-size: smaller;
}

.temp {
    margin-top: 10px;
    font-size: 70px;
    font-weight: bolder;
    font-style: italic;
}

.data {
    font-size: small;
}

aside.current {
    text-align: center;
    padding: auto;
    font-size: large;
}

.description {
    font-weight: bold;
    font-size: x-small;
}

.hi-low {
    font-weight: bold;
    font-size: small;
    margin-top: 15px;
    padding: 0px 10px;
    background: linear-gradient(rgb(59, 117, 136), red);
    color: wheat;
}

footer {
    display: flex;
    position: absolute;
    text-align: center;
    bottom: 0px;
    width: 100%;
    justify-content: center;
}

.produced {
    background-color: rgb(63, 6, 63, 0.5);
    font-size: small;
    align-content: center;
    padding: 1px 5px;
    border-radius: 10px 10px 0px 0px;
    bottom: 0px;
}

/* .blinker:before {
    animation: blink 2s cubic-bezier(.5, 0, 1, 1) infinite alternate;
} */

@keyframes blink {
    to {
        opacity: 0;
    }

    0% {
        transform: scale(1);
    }

    20% {
        transform: scale(1.2);
    }

    40% {
        transform: scale(1.85);
    }

    60% {
        transform: scale(.75);
    }

    80% {
        transform: scale(.75);
    }

    100% {
        transform: scale(.75);
        opacity: 0;
    }
}

.online:after {
    position: absolute;
    content: "";
    height: 2em;
    width: 2em;
    left: -11px;
    top: -11px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: 0px 0px 10px 10px green;
    -webkit-animation: active 2s infinite linear;
    animation: active 3s linear infinite alternate;
}

@-webkit-keyframes active {
    0% {
        -webkit-transform: scale(.1);
        opacity: 1;
    }

    70% {
        -webkit-transform: scale(2.5);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes active {
    0% {
        transform: scale(.1);
        opacity: 1;
    }

    50% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media screen and (max-width: 763px) {
    .produced {
        background-color: rgb(63, 6, 63, 0.5);
        font-size: small;
        align-content: center;
        padding: 5px;
        border-radius: 10px 10px 0px 0px;
        bottom: 0px;
        margin-bottom: 0px;
    }

    .forecast-btn {
        position: relative;
        left: 35%;
        bottom: 40px;
        padding: 8px 8px;
        border-radius: 0px 20px 20px 0px;
    }

    header input {
        width: 40%;
        text-align: center;
        background-color: lightseagreen;
        padding: 10px 5px;
    }
}