body{
    font-family: Arial,  sans-serif;
    margin: 10px;
}

.background{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.temperature{
    font-size: 70px;
    display: inline;
   
}
.description {
    font-size: 18px;
    margin: 10px 0;
}
.description i {
    margin-right: 10px;
    font-size: 24px;
}
.weather-form{
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}
.search-container {
    display: flex;
    align-items: center;
}
.city-input{
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    border-radius: 20px 0 0 20px;
    width: 200px;
    font-weight: bold;
    height: 32px;
    box-sizing: border-box;
}
.search-btn {
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    border-radius: 0 20px 20px 0;
    background-color: #28a745;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    box-sizing: border-box;
}
.location-btn {
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    border-radius: 20px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    box-sizing: border-box;
    margin-left: 10px;
}
.card{
    background-color: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 85%;
    margin: 40px auto 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.city-name, .temperature {
    text-align: left;
    align-self: flex-start;
}
.details {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
}
.details p {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 10px;
    margin: 0 5px;
    flex: 1;
    text-align: center;
}
.details p i {
    margin-right: 5px;
}
.more-details {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
}
.more-details p {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 10px;
    margin: 0 5px;
    flex: 1;
    text-align: center;
    font-size: 14px;
}
.more-details p i {
    margin-right: 5px;
}
.forecast-container {
    background-color: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 85%;
    margin: 20px auto;
    text-align: center;
}
.forecast-container h3 {
    margin-bottom: 10px;
    color: white;
}
.forecast-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
}
.forecast-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 10px;
    min-width: 80px;
    text-align: center;
    flex-shrink: 0;
}
.forecast-time {
    font-size: 12px;
    margin-bottom: 5px;
}
.forecast-icon {
    width: 40px;
    height: 40px;
    margin: 5px 0;
}
.forecast-temp {
    font-size: 14px;
    font-weight: bold;
}
.forecast-desc {
    font-size: 12px;
    margin-top: 5px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}
p{
    font-size: 17px;
    font-weight: bold;
}
.error{
    color: rgb(0, 0, 0);
    font-weight: bold;
}