@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/Montserrat-VariableFont_wght.ttf');
    font-style: normal;
    font-weight: normal; 
}
*{
    font-family:'Montserrat'
}
body {
    background:url('./Images/background-sun.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    color: white;
    text-shadow: 1px -1px 20px   black;
    transition: background 0.5s ease-in-out;
}
.containerForm{
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
input{
    height: 35px;
    width: 250px;
    border-radius: 5px; 
    margin-right: 10px;
    font-weight: bold;
    font-size: 18px;
    padding: 3px 0 3px 10px;
    background-color: rgba(255, 255, 255, 0.5);
}

button{
    height: 44px;
    width: 44px;
    vertical-align:bottom;
    background-image: url('./Images/icons8-search-48.png');
    background-repeat: no-repeat;
    background-size: 30px 30px;
    background-position: center;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.5); 
}
.container {
    display: flex;
    margin-top: 100px;
    height: 500px;
    flex-direction: column;
}
#containerLoc{
    display: flex;
    justify-content: center;
}
#loc{
    background-color: rgba(255, 255, 255, 0.2); 
    margin-top: 10px;
    font-size: 70px;
    font-weight: bold;
    border-radius: 8px;
    border : 2px solid rgba(255, 255, 255, 0.3); 
}
.containerDegrees{
    display: flex;
    margin-top: 50px;
    justify-content:center;
    align-items: center;
    gap: 100px;
}
#degrees{
    font-size: 70px;
    font-weight: bold;
}
#iconApp{
    width: 140px;
    height: 140px;
    background-image: url('./Images/icons8-sun-96.png');
    background-repeat: no-repeat;
    background-position: center;
}
.icon {
    width: 38px;
    height: 38px;
    background-image: url('./Images/icons8-sun-96.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50px 50px;
}
.dataAndTime {
    font-weight: bold;
    font-size: 45px;
    align-self: center;
    order: -1;
}
.containerWindHumidity{
    margin-top: 70px;
    font-size: 20px;
    display: flex; 
    justify-content: center; 
    gap: 70px; 
    font-size: 25px;
    font-weight: bold;
} 
.box_day_hours {
    height: 200px;
    display: flex;
    justify-content: center
}
.box_day {
    width: 1000px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.hour_degrees{
    background-color: rgba(255, 255, 255, 0.1); 
    width: 110px;
    height: 160px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-radius:4px;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    border: 2px solid rgba(255, 255, 255, 0.3); 
    animation-duration: 2s;
    animation-iteration-count: infinite;
    transform-origin: bottom;
}
.hour_degrees:hover {
    animation-name: bounce;
    animation-timing-function: ease;
}
@keyframes bounce {
    0% { transform: translateY(0);}
    50% { transform: translateY(-15px) }
    100% {transform: translateY(0);}
}

/* // media query */

@media only screen and (max-width: 600px) {
    .containerForm {
        margin-top: 0px;
    }
    .dataAndTime {
        font-size: 35px;
    }
    .container {
        margin-top: 15px;
        height: 408px;
    }
    .containerDegrees {
        margin-top: 10px;
        gap:45px
    }
    .containerWindHumidity {
        margin-top: 12px;
        gap:0px
    }
    .box_day {
        height: 10px;
        flex-wrap: wrap;
        gap: 20px;
        margin-right: 20px
    }
    .hour_degrees {
        width: 62px;
        height: 84px;
        gap: 34px;
        letter-spacing: 1px
    }
    .icon {
        position: absolute;
    }
}