body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

#weather-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    font-size: 20px;
}

.weather-card {
    flex: 0 0 150px;
    top: 10px;
    margin: 10px;
    padding: 30px;
    border: 3px solid white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgb(253, 248, 248);
    font-weight: bold;
}

.weather-icon {
    font-size: 58px;
    margin-bottom: 10px;
}

#video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1000;
    background-size: cover;
    background-position: center;
}

#city-name {
    margin-top: 20px;
    color: #fff;
}
.input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
.wide-input {
    width: calc(80% - 40px); 
    max-width: 400px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #2051f1;
    border-radius: 5px;
    margin-right: 10px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.search-button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}
footer {
    margin-top: 20px;
    font-size: 16px;
    color: white;
}
@media (max-width: 768px) {
    .weather-card {
        flex-basis: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .weather-card {
        flex-basis: calc(100% - 20px);
    }

    .search-button {
        flex-basis: calc(100% - 20px);
    }
}