@media(max-width: 105em) {
    .weather-settings{
        width: 15vw;
        height: 19vh;
    }

    .weather-card__container{
        width: 45%;
    }

    .forecast-card{
        width: 11%;
    }
}

@media(max-width: 92em) {
    .weather-settings{
        width: 16vw;
        height: 16vh;
    }

    .weather-card__container{
        width: 50%;
    }

    .forecast-card{
        width: 12%;
    }
}

@media(max-width: 83em) {
    .weather-settings{
        height: 17vh;
    }

    .weather-card__container{
        width: 52%;
    }

    .forecast-card{
        width: 13%;
    }

    .error-popup{
        width: 40%;
    }
}

@media(max-width: 80em) {
    html{
        font-size: 56.25%;
    }

    .weather-settings{
        height: 15vh;
    }

    .forecast-card{
        width: 14%;
        height: auto;
    }
}

@media(max-width: 72em) {
    html{
        font-size: 50%;
    }

    .weather-settings{
        height: 13vh;
    }

    .forecast-card{
        width: 15%;
        height: auto;
    }
}

@media(max-width: 63em) {
    main{
        height: auto;
    }

    .weather-settings{
        width: 20vw;
    }

    .weather-card__container {
        align-self: flex-start;
        width: 60%;
        margin-left: 2.4rem;
    }

    .forecast-container{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .forecast{
        flex-wrap: wrap;
    }

    .forecast-card{
        width: 30%;
        height: auto;
        margin-bottom: 1.8rem;
    }

    .forecast-details{
        align-items: center;
    }

    .error-popup{
        height: 20%;
    }
}

@media(max-width: 55rem) {
    html{
        font-size: 43%;
    }

    .weather-card__container{
        width: 63%;
    }

    .forecast-card{
        width:27%;
    }
}

@media(max-width: 45rem) {
    html{
        font-size: 45%;
    }

    .temperature-switch{
        margin-bottom: 16rem;
    }

    .weather-settings{
        width: 30vw;
        justify-content: flex-start;
        height: auto;
    }

    .weather-card__container{
        align-self: center;
        width: 90%;
    }

    .forecast-card{
        width:27%;
    }

    .error-popup{
        width: 50%;
    }
}

@media(max-width: 38rem) {
    html{
        font-size: 40%;
    }

    .temperature-switch{
        margin-bottom: 18rem;
    }

    .forecast-card{
        /*width:30%;*/
    }
}

@media(max-width: 32rem) {
    html{
        font-size: 35%;
    }

    .weather-settings{
        width: 40vw;
    }

    .weather-details{
        align-self: center;
        gap: 4.8rem;
        justify-content: flex-start;
    }

    .error-popup{
        height: 15%;
    }
}

@media(max-width: 26rem) {
    html{
        font-size: 35%;
    }

    h1{
        font-size: 3rem;
    }

    .weather-details{
        align-self: flex-start;
        gap: 1.8rem;
        justify-content: flex-start;
    }

    .forecast-details{
        justify-content: flex-start;
        align-items: flex-start;
    }

    .error-popup{
        width: 80%;
    }
}