:root {
    --fs-title: clamp(0.6rem, 3vw + 1rem, 3rem);
    --fs-subtitle: clamp(0.3rem, 3vw + 1rem, 1.2rem);
    --fs-lg: clamp(2.2rem, 3vw + 1rem, 3rem);
    --fs-600: 1.2rem;
    --fs-400: 1rem;
    /* --fs-iphone-img: clamp(18rem, 48vw + 1rem, 35rem); */
    --fs-iphone-img: clamp(21rem, 141vw + 1rem, 42rem);
    --fs-solution-card: clamp(65rem, 75vw + 1rem, 70rem);
}


/* Navbar Styles */

.header-light {
    transition: background-color 0.7s ease;
    background-color: #fff;
}

.header-light .nav-item>a {
    color: var(--primary);
}

.iphone-img {
    height: var(--fs-iphone-img);
    margin-top: 1rem;
}

.bg-grey {
    background-color: #F2F2F2;
}
/* 
.solution-card-fretamento-description {
    color: #333333;
    font-size: var(--fs-400);
} */

@media only screen and (max-width: 770px) {
    .solution-card-fretamento {
        display: flex;
        flex-direction: column;
        width: clamp(25rem, 50vw + 1rem, 55rem);
        height: auto;
    }
    .solution-card-fretamento-reverse {
        display: flex;
        flex-direction: column;
        height: auto !important;
    }
    .solution-card-fretamento-texts-reverse {
        margin-left: 0rem;
    }
}

@media only screen and (min-width: 771px) and (max-width: 990px) {
    .solution-card-fretamento {
        display: flex;
        flex-direction: column;
        width: clamp(25rem, 50vw + 1rem, 55rem);
        height: auto;
    }
    .solution-card-fretamento-reverse {
        display: flex;
        flex-direction: column;
        height: auto !important;
        margin-right: 5px;
        margin-left: 5px;
    }
}


/* Home section */

#home-planejamento {
    height: 74vh;
    background-image: url('../images/pics/bg-planejameto-min.png') !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#home-monitoramento {
    height: 65vh;
    background-image: url('../images/pics/bg-monitoramento-min.png') !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#home-comunicacao {
    height: 72vh;
    background-image: url('../images/pics/bg-comunicacao-min.png') !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.home-text-container {
    display: flex;
    flex-direction: column;
    align-self: center;
    width: 80%;
    height: 72%;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.home-text-container-alternative {
    display: flex;
    flex-direction: column;
    align-self: center;
    width: 80%;
    height: 72%;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}


.home-main-title {
    color: #ffff;
    line-height: normal;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: var(--fs-title);
}

.home-main-title-comunicacao {
    color: #333333;
    line-height: normal;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: var(--fs-title);
}

.home-main-title-monitoramento {
    color: #333333;
    line-height: normal;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: var(--fs-title);
}

.home-sub-title {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    line-height: normal;
    font-weight: 400;
    font-size: var(--fs-subtitle);
    color: #ffff;
    text-align: center;
}

.home-button {
    align-self: center;
    background: var(--secondary-green);
    border-radius: 30px;
    border: none;
    min-height: 30px;
    height: 39px;
    padding: 7px 16px 0px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3 ease-out;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--main-text);
    transition: all 0.2s ease-in-out;
    width: 10rem;
}

.home-button:hover {
    color: var(--main-text);
    background-color: #ffff;
    transition: all 0.2s ease-in-out;
}

.white-bg {
    background-color: #ffff;
    height: clamp(10rem, 14rem, 18rem);
}

/* Solutions */

.solution-card {
    max-width: 270px;
    height: 360px;
    background: #FFFFFF;
    box-shadow: 0px 4px 36px rgba(0, 0, 0, 0.24);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    padding: 38px 22px 26px 37px;
}

.as {
    align-self: center;
}

.mockup-desktop {
    display: flex;
}

.mockup-mobile {
    display: none;
}

@media (max-width: 990px) {
    #home {
        height: 90vh !important;
        background: linear-gradient(transparent 100%, #FFFF 40%), url('../images/pics/macbook-Mockup\ 1.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
}


@media (max-height: 900px) and (max-width: 1000px) {
    .home-main-title-comunicacao {
        margin-top: 16rem;
    }
}

@media (max-height: 930px) and (max-width: 450px) {
    .iphone-img {
        /* height: 21rem !important; */
        /* height: clamp(23rem, 23rem, 30rem); */
    }
    /* #home-planejamento {
        height: 90vh;
    } */
    /* #home-monitoramento {
        height: 100vh;
    } */
    /* #home-comunicacao {
        height: 65vh;
    } */
    .home-main-title-monitoramento {
        margin-top: 10rem;
    }
}

@media (max-height: 900px) and (min-width: 451px) and (max-width: 980px) {
    /* #home-planejamento {
        height: 80vh;
    } */
    /* #home-monitoramento {
        height: 90vh;
    } */
    /* #home-comunicacao {
        height: 90vh;
    } */
}

@media (min-height: 900px) and (max-height: 930px) and (max-width: 940px) {
    /* #home-comunicacao {
        height: 90vh;
    } */
    /* #home-planejamento {
        height: 75vh;
    } */
}

@media only screen and (max-width: 600px) {
    .white-bg {
        background-color: #ffff;
        height: 10rem;
    }

    .solution-card-fretamento-img img {
        max-width: 80%;
        margin-left: 0rem !important;
    }

    .home-button {
        padding: 5px 16px 0px 16px;
    }

    .mockup-desktop {
        display: none;
    }
/* 
    #home-planejamento {
        height: 82vh;
    } */

    /* #home-monitoramento {
        height: 100vh;
    } */


    .mockup-mobile {
        display: flex;
        transform: scale(1.2);
    }

    .home-text-container {
        margin-top: 3rem;
    }

    .home-text-container-alternative {
        margin-top: 8rem;
    }

    .saiba-mais-phrase {
        margin-left: 4rem;
    }
}

@media only screen and (max-width: 400px) {
    /* #home-comunicacao {
        height: 100vh;
    } */

    .home-text-container {
        margin-top: 8rem;
    }

    .solution-card-fretamento {
        width: clamp(20rem, 60vw + 1rem, 58rem) !important;
    }

    .cards-container-fretamento-comunicacao {
        margin-top: 5rem !important;
    }

}


@media only screen and (max-width: 600px) and (min-height: 800px) {
    /* #home-comunicacao {
        height: 76vh;
    } */


    /* #home-monitoramento {
        height: 65vh;
    } */

    /* #home-planejamento {
        height: 65vh;
    } */

    .cards-container-fretamento-comunicacao {
        margin-top: 0rem !important;
    }

}

@media only screen and (max-width: 615px) and (min-height: 745px) {

    #home-planejamento {
        height: 62vh;
    }
}

@media only screen and (max-width: 615px) and (max-height: 744px) {

    #home-planejamento {
        height: 76vh;
    }
}

@media only screen and (max-width: 400px) and (min-height: 745px) {

    #home-planejamento {
        height: 62vh;
    }
}

@media only screen and (max-width: 400px) and (max-height: 744px) {

    #home-planejamento {
        height: 72vh;
    }
}


@media only screen and (max-width: 400px) and (max-height: 630px) {

    #home-planejamento {
        height: 90vh;
    }
}

@media only screen and (max-width: 990px) and (min-height: 900px) {

    #home-planejamento {
        height: 62vh;
    }
}


@media only screen and (max-width: 740px) and (min-height: 900px) {

    #home-planejamento {
        height: 52vh;
    }
}

@media only screen and (min-width: 401x) and (max-width: 500px) and (min-height: 900px) {

    #home-planejamento {
        height: 56vh;
    }
}

@media only screen and (max-width: 400px) and (min-height: 900px) {

    #home-planejamento {
        height: 50vh;
    }
}

@media only screen and (max-width: 500px) and (min-height: 1100px) {

    #home-planejamento {
        height: 42vh;
    }
}



@media only screen and (min-width: 501px) and (max-width: 990px) and (min-height: 1100px) {

    #home-planejamento {
        height: 48vh;
    }
}

@media only screen and (min-width: 991px) and (min-height: 1250px) {

    #home-planejamento {
        height: 62vh;
    }
}







@media only screen and (min-width: 880px) and (max-width: 1000px) and (min-height: 1300px) {

    #home-monitoramento {
        height: 55vh;
    }

    #home-comunicacao {
        height: 55vh;
    }


}

@media only screen and (max-width: 600px) and (max-height: 700px) {

    #home-monitoramento {
        height: 64vh;
    }

    #home-comunicacao {
        height: 64vh;
    }

}

@media only screen and (min-width: 501px) and (max-width: 599px) and (max-height: 1089px) {
    #home-monitoramento {
        height: 76vh;
    }

    #home-comunicacao {
        height: 76vh;
    }
}

@media only screen and (min-width: 400px) and (max-width: 500px) and (min-height: 601px) and (max-height: 1089px) {
    #home-monitoramento {
        height: 58vh;
    }

    #home-comunicacao {
        height: 62vh;
    }

}

@media only screen and (min-width: 400px) and (max-width: 500px) and (max-height: 600px) {
    #home-monitoramento {
        height: 92vh;
    }

    #home-comunicacao {
        height: 92vh;
    }

}

@media only screen and (max-width: 399px) and (max-height: 780px) {

    #home-monitoramento {
        height: 76vh;
    }

    #home-comunicacao {
        height: 80vh;
    }

}

@media only screen and (max-width: 600px) and (min-height: 920px) {

    #home-monitoramento {
        height: 54vh;
    }

    #home-comunicacao {
        height: 54vh;
    }
}

@media only screen and (max-width: 600px) and (min-height: 1300px) {

    #home-monitoramento {
        height: 44vh;
    }

    #home-comunicacao {
        height: 44vh;
    }
}






@media only screen and (max-width: 500px) {

    /* #home-comunicacao {
        height: 72vh;
    } */
}

@media only screen and (max-width: 400px) and (max-height: 700px) {

    /* #home-comunicacao {
        height: 106vh;
    } */
}


@media only screen and (min-width: 1400px) {
    #home-monitoramento {
        height: 72vh;
        background-image: url('../images/pics/bg-monitoramento-min.png') !important;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
}
