* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    color: white;
    font-weight: 600;
}

body {
    background: url('assets/bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;



}

body::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
}


.main-container {
    width: 300px;
    height: 500px;
    z-index: 1;
    background: linear-gradient(to top, rgb(0, 0, 0, 0.15), rgb(255, 255, 255, 0.15));
    border-radius: 15px;
    backdrop-filter: blur(50px);
    padding: 20px;
}

/* input container */
.input-container {
    position: relative;
    margin-bottom: 20px;
}

.city-input {
    width: 100%;
    padding: 10px 16px;
    border-radius: 99px;
    border: 3px solid transparent;
    background: rgb(0, 0, 0, 0.15);
    outline: none;
    transition: border 0.3s ease;
    padding-right: 45px;
}

.city-input:focus {
    border: 3px solid rgb(0, 0, 0, 0.15);
}

.city-input::placeholder {
    color: rgb(255, 255, 255, 0.75);
    font-weight: 500;
}

.search-button {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -20px;
    background: none;
    border: none;
    color: rgb(255, 255, 255, 0.75);
    display: flex;
    cursor: pointer;
}

/* weather info */

.weather-info {
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.location-data-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;

}

.location h2 {
    font-size: 20px;
}

.current-date-txt {
    font-weight: 500;
}

.weather-summary-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.weather-summary-container img {
    width: 120px;
    height: 120px;
}

.weather-summary-container h3 {
    font-size: 18px;
    font-weight: 500;
}

.weather-condition-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.condition-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.condition-item i {
    font-size: 20px;
    margin-right: 2px;
}

.condition-txt {
    font-size: 15px;
}

.condition-value {
    font-size: 15px;
}

.forecast-items-container {

    display: flex;
    gap: 10px;
    overflow: scroll;
    padding-bottom: 20px;
}

.forecast-items-container::-webkit-scrollbar {
    width: 0px;
    height: 5px;
}

.forecast-items-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 100px;
}

.forecast-items-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 100px;
}

.forecast-item {
    margin-top: 20px;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    align-items: center;
}

.forecast-item:hover {
    background: rgba(0, 0, 0, 0.25);
}

.forecast-item-date {
    font-size: 15px;
    font-weight: 500;
}

.forecast-item-temp {
    font-size: 15px;
}

.forecast-item-img {
    width: 35px;
    height: 35px;
}

/* search message  */
.section-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.section-message p {
    font-size: 13px;
}

.message-img {
    width: 200px;
    height: 200px;
}

.not-found-img {
    margin-bottom: 20px;
    width: 250px;
    height: 200px;
}