*{
    margin:0;
    padding:0;
    border:0;
    outline: none;
    box-sizing: border-box;
}

body{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #A569BD ;
}
.heading h1{
    position: absolute;
    font-size: 40px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    top: 200px;
    color: #EBDEF0;
    text-align: center;
    padding-left: 0.5%;
}
.container{
    position: relative;
    width: 400px;
    height: 105px;
    background: #F8F9F9 ;
    padding: 28px 32px;
    overflow: hidden;
    border-radius: 18px;
    font-family: 'Roboto', sans-serif;
    transition: 0.6s ease-out;
}

.search-box{
    width: 100%;
    height: min-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.search-box input{
    color: #A569BD ;
    width: 80%;
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    padding-left: 32px;
}
.search-box input::placeholder{
    font-size: 20px;
    font-weight: 500;
    color: #A569BD ;
    text-transform: capitalize;
}
.search-box button{
    cursor: pointer;
    width: 50px;
    height: 50px;
    color: #A569BD ;
    background: #EBDEF0;
    border-radius: 50%;
    font-size: 22px;
    transition: 0.4s ease;
}
.search-box button:hover{
    color: #F8F9F9;
    background: #A569BD ;
}
.search-box i{
    position: relative;
    color: #A569BD ;
    font-size: 28px;
}

.weather-box{
    text-align: center;
}

.weather-box img{
    width: 60%;
     margin-top: 30px;
}
.weather-box .temperature{
    position: relative;
    color: #A569BD;
    font-size: 4rem;
    font-weight: 800;
    margin-top: 30px;
    margin-left: -16px;
}
.weather-box .temperature span{
    position: absolute;
    margin-left: 4px;
    font-size: 1.5rem;
}
.weather-box .description{
    color: #A569BD;
    font-size: 22px;
    font-weight: 500;
    text-transform: capitalize;
}
.weather-details{
    width: 100%;
    display: flex;
    justify-content:space-between;
    margin-top: 30px;
}
.weather-details .humidity, .weather-details .wind{
    display: flex;
    align-items: center;
    width: 50%;
    height: 100px;
}
.weather-details .humidity{
    padding-left: 20px;
    justify-content: flex-start;
}
.weather-details .wind{
    padding-left: 20px;
    justify-content: flex-end;
}
.weather-details i{
    color: #4A235A;
    font-size: 26px;
    margin-right: 10px;
    margin-top: 6px;
}
.weather-details span{
    color: #4A235A;
    font-size: 22px;
    font-weight: 500;
}
.weather-details p{
    color: #4A235A;
    font-size: 14px;
    font-weight: 500;
}
.not-found{
    width: 100%;
    text-align: center;
    margin-top: 50px;
    scale:0;
    opacity: 0;
    display:none;
}
.not-found img{
    width: 70%;
}
.not-found p{
    color: #4A235A;
    font-size: 22px;
    font-weight: 500;
    margin-top: 12px;
}
.weather-box, .weather-details{
    scale: 0;
    opacity: 0;
}
.fadeIn{
    animation: 0.5s fadeIn forwards;
    animation-delay: 0.5s;
}
@keyframes fadeIn {
    to{
        scale:1;
        opacity: 1;
    }
    
}
