body {
    background: fixed no-repeat center url("img/sky.jpeg");
    font-family: Open Sans, sans-serif;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.weather-app {
    margin-top: 25vh;
}

input,
button {
    margin: 10px;
    padding: 10px;
    font-size: 16px;
}

button {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

#unit-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
}

#unit-toggle button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 7px;
    margin: 0 1px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#unit-toggle button.selected {
    background-color: rgba(0, 0, 0, 0.9);
}

#unit-toggle button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

#weather-info {
    display: none;
    width: 80%;
    max-width: 400px;
    margin: 20px auto;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#error {
    display: none;
    color: crimson;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}
