@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');

*{
    padding: 0px;
    margin: 0px;
}
.container{

    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#00DAC0), to(#2F4858));
    background-image: -webkit-linear-gradient(top, #00DAC0, #2F4858);
    background-image: -moz-linear-gradient(top, #00DAC0, #2F4858);
    background-image: linear-gradient(to bottom, #00DAC0, #2F4858);
}
.weather-box{

    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    font-family: 'Poppins', sans-serif;
    animation-name: introduction;
    animation-duration: 2s;
    
   
}
.row1{
    width: 50%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 1px solid white;
    padding-bottom: 2rem;
}
.weather-location{
    color: white;
    font-size: 50px;
}

.weather-icon {
    width: 100px;
    
}
.row2{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.row3{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.row4{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}


.row3 p {
    color: white;
    padding-right: 1rem;
    font-size: 1rem;
    font-weight: bold;
}

.row4 p {
    color: white;
    padding-right: 1rem;
    font-size: 1rem;
    font-weight: bold;
}

.row2:hover .temp{
    color: #2F4858;
}
.row2:hover .temp-type{
    color: white;
}

.temp{
    color: white;
    font-size: 80px;
    cursor: pointer;
    pointer-events: auto;
    transition: color 1s;
}
.temp-type{
    color: #2F4858;
    font-size: 80px;
    cursor: pointer;
    transition: color 1s;
}

.sunrise {
    color: white;
    padding-right: 0.5rem;
    font-size: 1rem;
}

#time-1 {
    color: white;
    font-size: 1rem;
}

.sunset {
    color: white;
    padding-right: 0.5rem;
    font-size: 1rem;
}

.humidity-type {
    color: #2F4858;
    font-size: 2rem;
}

.weather-description{
    text-align: center;
    color: white;
    border-bottom: 1px solid white;
    padding-bottom: 2rem;
    width: 25%;
}

.weather-description::first-letter {
    text-transform: uppercase;
}


.weather-days{
    display: flex;
    justify-content: space-around;
    padding-top: 50px;
    color: white;
    font-size: 20px;

    width: 50%;
}
.block1, .block2{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}
.made-by{
    color: white;
    position: fixed;
    bottom: 0px;
    right: 0px;
    padding: 10px;
    font-size: 18px;
}
@keyframes introduction {
    0%{
        bottom: -320px;
        opacity: 0;
        
    }
    100%{
        
        opacity:1;
        bottom: 0px;
    }
}



@media screen and (max-width: 480px) {
    
    .row1{
        flex-direction: column;
    }
    .weather-location{
        font-size: 30px;
    }
    .made-by{
        display: none;
    }
    .block1{
        padding: 20px;
    }
    .block2{
        padding: 20px;
    }
    .weather-days{
        font-size: 16px;
    }
    .container{
        height: 130vh;
    }
    
    
   
    
}