@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

body {
    min-height: 100vh;
    background-image: linear-gradient(120deg, #89f7fe 0%, #66a6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 80vh;
    width: 60%;
    background: linear-gradient(to right bottom,
            rgba(255, 255, 255, 0.7),
            rgba(255, 255, 255, 0.3));
    border-radius: 2rem;
    backdrop-filter: blur(2rem);
    box-shadow: 8px 8px 0 rgb(32 33 37 / 10%);
}

.displayContainer{
    height: 80vh;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.displayTop, .displayBottom{
    height: 49%;
    width: 99%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    z-index: 2;
    backdrop-filter: blur(2em);
    display: flex;
    justify-content: center;
    align-items: center;
}


.outputTop{
    height: 60%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

.outputBottom{
    width: 40%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.displayContainer p{
    font-size: clamp(1.5em, 5vw, 3.5em);
}
.userInput{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    height: 10vh;
    width: 50%;
}
.userInput button{
    height: 4vh;
    width: 20vh;
    border: transparent;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 1em;
    margin-top: 2vh;
    box-shadow: 4px 4px 0 rgb(32 33 37 / 10%);
    cursor: pointer;
    transition: 200ms;
}

.userInput button:hover{
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
}

.userInput input{
    height: 20vh;
    font-size: clamp(1.5em, 5vw, 2.5em);
    text-align: center;
    width: 80%;
}

#cityInput{
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: .5em;
    box-shadow: 4px 4px 0 rgb(32 33 37 / 10%);
}

#maxDeg{
    color: #cb1b16;
}
#minDeg{
    color: #1368aa;
}

.errorMessageContainer{
    display: none;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: .5em;
    box-shadow: 4px 4px 0 rgb(32 33 37 / 10%);
}

.errorMessage {
    font-size: 2em;
}

@media only screen and (max-width: 1250px) {
    .buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 80%;
    }

    .outputBottom{
        flex-direction: column;
    }
  }