@media (min-width: 950px) and (min-height: 700px) {
    .city {
        font-size: 16px;
    }
}

@media (min-width: 1000px) and (min-height: 600px) {
    .bannerImage {
        background-size: 36%;
    }
}

@media (min-width: 900px) and (max-height: 500px) {
    .bannerImage {
        background-position-y: 50%;
    }
}

@media (min-width: 790px) and (min-height: 700px) {

    /* locations */
    .city {
        font-size: 14px;
    }
}

@media (max-height: 600px) {
    .bannerImage {
        background-position: center right;
    }
}

@media (max-width: 992px) {

    /* home */
    .bannerTitle {
        width: 400px;
        font-size: 25px;
    }

    .bannerSubtitle {
        font-size: 14px;
    }

    .featuresTitle {
        /* margin-top: calc(var(--upBarHeight) * 1.2); */
        font-size: 25px;
    }

    .featuresTitle {
        width: 85vw;
        font-size: 25px;
    }

    /* testimony */
    .testimonyTitle {
        font-size: 25px;
    }

    .carouselList {
        display: none;
    }

    .testimonySubtitle {
        margin-bottom: 5vh;
        font-size: 14px;
    }

    .testimonyCardList {
        transform: translateX(0%);
        max-height: 300px;
        flex-direction: column;
        align-items: center;
    }

    .testimonyCard {
        margin-bottom: 15px;
    }

    .testimonyCardQuote {
        width: 60vw;
    }

    .testimonyButton {
        margin-top: 20px;
    }

    /* locations */
    section.locations {
        font-size: 14px;
    }

    .globe {
        width: 37vw;
    }

    .citiesTitle {
        font-size: 25px;
    }

    .citiesName th,
    .cities td {
        padding-right: 15px;
        font-size: 14px;
    }

    /* footer */
    .identity {
        width: 25vw;
    }
}

@media (max-width: 950px) {

    /* navigations */
    nav.upBar a {
        display: none;
    }

    nav.upBar a.loginUpBar {
        display: inline-block;
    }

    .drawer {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .drawer a,
    .drawer a div {
        display: flex;
    }

    .drawerButton {
        display: flex;
        width: calc(var(--upBarHeight) * 0.5);
        height: calc(var(--upBarHeight) * 0.25);
        position: fixed;
        left: calc(var(--upBarHeight) * 0.25);
        border-radius: 5px;
        filter: var(--shadowColor);
        background-color: var(--customCrimson);
        background-image: url(../assets/icons/menu_white_48dp.svg);
        background-size: 50%;
        background-position: center;
        background-repeat: no-repeat;
    }

    .drawer {
        z-index: 888;
        transition: 0.5s;
        position: fixed;
        display: flex;
        justify-content: flex-start;
        left: 0;
        top: calc(var(--upBarHeight));
        background-color: var(--customCrimson);
        width: 50vw;
        height: 100vh;
    }

    .drawer a div {
        padding-top: 25px;
        padding-left: calc(var(--upBarHeight) / 2);
        font-size: 14px;
        color: white;
        font-weight: bold;
    }

    .featuresCard {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 900px) {
    .featuresCard {
        width: 170px;
    }

    .featuresCardIcon {
        width: 70px;
        height: 70px;
    }

    .featuresCardTitle,
    .featuresCardDetail {
        font-size: 10px;
    }
}

@media (max-width: 850px) {
    .featuresList {
        height: 200px;
    }
}

/* medium device */
@media(max-width: 768px) {
    :root {
        --generalMarginLeft: 30px;
        --upBarHeight: 60px
    }

    /* navigations */
    nav.upBar a div {
        font-size: 14px;
    }

    .bottomBarItem p {
        font-size: 12px;
    }

    .bottomBarItem {
        margin-right: 30px;
    }

    .bottomBarItem {
        font-size: 14px;
    }

    .cities {
        font-size: 12px;
    }

    /* testimony */
    .testimonyCard {
        margin-bottom: 20px;
    }

    /* locations */
    section.locations {
        align-items: center;
    }

    .globe {
        width: 50vh;
        height: 40vh;
    }

    .locationsContent {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .locationsTitle,
    .globe,
    .cities {
        margin: 0;
        padding: 0;
    }

    .locationsTitle {
        font-size: 25px;
        margin-top: 25px;
        /* margin-top: calc(var(--upBarHeight) + 10px); */
    }

    .globe {
        margin-top: 10px;
    }

    .cities {
        justify-items: center;
        width: 90vw;
        font-size: 12px;
        grid-template-columns: repeat(6, 1fr);
    }

    /* footer */
    section.footer {
        font-size: 14px;
    }

    .footerLogo {
        width: 20vw;
    }

    .identity {
        width: 25vw;
    }

    .footerTag {
        justify-content: flex-end;
    }
}

@media (max-width: 750px) {
    .bannerLogo {
        width: 30vw;
    }

    .featuresList {
        height: fit-content;
        flex-direction: column;
        align-items: center;
    }

    .featuresCard {
        width: 90vw;
        height: 200px;
        margin: 8px 0;
        padding-bottom: 10px;
        background-color: whitesmoke;
        align-items: flex-start;
    }

    .featuresCardIcon {
        width: 100px;
        height: 100px;
        background-size: 50%;
        background-position: left;
        margin: 20px;
    }

    .featuresCardTitle,
    .featuresCardDetail {
        text-align: left;
        margin: 8px 20px;
        font-size: 16px;
    }
}

@media (max-width: 690px) {

    /* footer */
    section.footer {
        font-size: 12px;
    }

    .footerLogo {
        width: 20vw;
    }

    .socialMedia img {
        width: 18px;
        padding-right: 10px;
    }
}

@media (min-height: 800px) {
    .bannerImage {
        background-position: right;
        background-position-y: 35%;
    }
}