*{
    padding: 0;
    margin: 0;
}
body{
    background-image: url('images/weather-bg2.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    font-family: "Poppins", sans-serif;
    overflow: hidden;
    
}

.mainBox{
    height: 500px;
    width: 400px;
    border-radius: 10px;
    background: linear-gradient(#1a2344,#8a4dad);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
}

.weather{
     font-size: 50px;
     font-weight: 500;
     line-height: 20px;
}

.ForeCasts{
    font-size: 50px;
    font-weight: 500;
    color: #DDB130;
}

.start, .homeBtn{
    height: 40px;
    width: 150px;
    border-radius: 20px;
    background-color: #DDB130;
    color: black;
    border: none;
    outline: none;
}

.start:hover,.homeBtn:hover{
    background: #f4c842;
    transform: scale(1.02);
    transition: all 0.1s ease-in-out;
}

.searchBox{
    height: 40px;
    width: 280px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
}

.searchBox input{
    width: 250px;
    height: 40px;
    outline: none;
    border-radius: 8px;
    padding-left: 5px;
    border: none;
}

.img img{
    width: 20px;
    margin-right: 10px;
    cursor: pointer;
}

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

.iconBox img{
    width: 180px;
}

.tempBox{
    height: 100px;
    width: 280px;
    text-align: center;
}

#temp{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 60px;
    font-weight: 500;
}

#city{
    font-size: 30px;
    font-weight: 300;
    color: #DDB130;
}

.extraDetails{
    height: 100px;
    width: 280px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wind,.humidity{
    display: flex;
    align-items: center;
}

#windIcon, #humidityIcon{
    width: 50px;
    margin-right: 5px;
}

#windSpeed, #humidityper{
    font-weight: bolder;
}

#info{
    font-size: 11px;
    margin-bottom: 5px;
}

.inactive{
    display: none;
}