@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    color: rgba(255, 255, 255, 0.9);

}
body{
    background: url('assets/bg.webp');
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
body::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
} 
.main-container {
    width: 1250px;
    height: 600px;
    max-width: 95vw;
    max-height: 95vh;
    overflow: auto;
    z-index: 1;
    background: linear-gradient(to top,rgba(0, 0, 0, 0.15),rgba(255, 255, 255, 0.15));
    border-radius: 20px;
    backdrop-filter: blur(100px);
    padding: 20px;
}
.input-container {
    position: relative;
    margin-bottom: 25px;
}
.city-input{
    width: 100%;
    padding: 10px 15px;
    border-radius: 100px;
    border: 3px solid transparent;
    background: rgba(0, 0, 0, 0.15);
    outline: none;
    font-weight: 500;
    padding-right: 45px;
}
.city-input:focus{
    border: 3px solid rgba(0, 0, 0, 0.15);
}
.city-input::placeholder{
    font-weight: 600;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}
.search-button{
    position: absolute;
    top: 22px;
    transform: translateY(-50%);
    right: 22px;
    border-radius: 100px;
    border: none;
    display: flex;
    cursor: pointer;
    background: none;
    border: none;
}
.location-date-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.location{
    display: flex;
    align-items: center;
    gap: 10px;
}
.regular-text {
    font-weight: 600;
    font-size: 20px;
}
.country-text {
    font-weight: 600;
    font-size: 20px;
}
.weather-info{
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.weather-summary-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.weather-summary-image{
    width: 120px;
    height: 120px;
}
.weather-summary-info{
    text-align: end;

}
.weather-conditions-container{
    display: flex;
    justify-content: space-between;
}
.condition-item{
    display: flex;
    align-items: center;
    gap: 10px;
}
.condition-item span{
    font-size: 30px;
}
.forecast-items-container{
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
}

.forecast-item{
    display: flex;
    min-width: 70px;
    background: rgba(255, 255, 255, 0.1);
    gap: 10px;
    padding: 20px;
    align-items: center;
    border-radius: 10px;
    margin-top: 30px;
}
.forecast-item-temp {
    font-size: 18px;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    display: block;
}
.forecast-item:hover{
    background: rgba(255, 255, 255, 0.2);
}
.forecast-item img{
    width: 50px;
    height: 50px;
}
.section-message img{
    height: 280px;
    width: fit-content;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;     
}
.section-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}
.section-message h1 {
    font-size: 24px;
    font-weight: 600; 
}
.chart {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-top: -280px;
}