:root {
    --fs-lg: clamp(2rem, 1vw + 1rem, 3rem);
    --fs-600: 1.2rem;
    --fs-400: 1.1rem;
    --fs-solution-card: clamp(52rem, 75vw + 1rem, 70rem);
}


/* Navbar Styles */


/* .header-dark {
    transition: background-color 0.7s ease;
    background: var(--main-text);
    height: 4rem;
} */

.header-light {
    transition: background-color 0.7s ease;
    background: var(--gradient);
    height: 4rem;
}
    
.header-light .nav-item>a {
    color: #ffff;
}

@media (max-width: 991.98px) {
    .solutions-text-container {
        justify-content: center;
    }
}


/* solutions section */

#solutions {
    height: 100vh;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(90deg, rgba(0, 0, 0, 0.71) 0%, rgba(0, 0, 0, 0) 66.98%), url('../images/pics/solutions.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.solutions-container {
    width: 100%;
    height: 100%;
    padding-left: 6%;
    padding-bottom: 5%;
    margin-top: 5rem;
}

.solutions-container-right {
    width: 50%;
    height: 100%;
}

.solutions-icon>img {
    width: 145px;
    height: 170px;
}

.solutions-icon {
    padding-top: 8%;
}

.solutions-text-container {
    display: flex;
    flex-direction: column;
    width: 120%;
}

.solutions-main-title {
    color: #333333;
    line-height: normal;
    font-size: 2.8rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
}

.solutions-sub-title {
    font-size: 1.3rem;
    color: #333333;
}

.btn-solutions {
    color: var(--primary);
    font-size: 15px;
    background: #fff;
    font-weight: 600;
    border-radius: 30px;
    border-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.28));
    padding: 12px 20px 12px 15px;
}

.btn-solutions:hover {
    color: var(--primary);
    background-color: var(--primary);
    transition: all 0.2s ease-in-out;
}

.btn-solutions a {
    text-decoration: none;
    color: var(--primary);
}

.btn-solutions:hover a {
    color: #fff;
}


/* Solutions */

.solution-title {
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.solution-description {
    color: #fff;
    text-align: center;
}

.cards-container {
    display: flex;
    flex-direction: column;
    margin-top: 5rem;
}

.cards-container-sub-section {
    display: flex;
    flex-direction: column;
    margin-top: 0rem;
}

.cards-container-fretamento {
    display: flex;
    flex-direction: column;
    margin-top: 0rem;
}

.cards-container-fretamento-comunicacao {
    display: flex;
    flex-direction: column;
    margin-top: 0rem;
}

.img-app {
    transform: scale(0.6);
    margin-top: -3rem !important;
}

.solution-card-fretamento {
    width: var(--fs-solution-card);
    height: 330px;
    align-self: center;
    background: #FFFFFF;
    box-shadow: 0px 4px 36px rgba(0, 0, 0, 0.24);
    border-radius: 30px;
    display: flex;
    flex-direction: row;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 3rem;
    padding-right: 0rem;
    margin-bottom: 10vh;
    margin-top: 12rem;
}

.solution-card-fretamento-planejamento {
    width: var(--fs-solution-card);
    height: 330px;
    align-self: center;
    background: #FFFFFF;
    box-shadow: 0px 4px 36px rgba(0, 0, 0, 0.24);
    border-radius: 30px;
    display: flex;
    flex-direction: row;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 3rem;
    padding-right: 0rem;
    margin-bottom: 10vh;
    margin-top: 3rem;
}

.solution-card-fretamento-reverse {
    width: var(--fs-solution-card);
    height: 450px;
    align-self: center;
    background: #FFFFFF;
    box-shadow: 0px 4px 36px rgba(0, 0, 0, 0.24);
    border-radius: 30px;
    display: flex;
    flex-direction: row-reverse;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 3rem;
    padding-right: 3rem;
    margin-bottom: 10vh;
    justify-content: space-between;
}

.solution-card-fretamento-texts-reverse {
    display: flex;
    flex-direction: column;
    padding-left: 5rem;
}

.solution-card-fretamento-texts {
    display: flex;
    flex-direction: column;
}

.solution-card-fretamento-img {
    align-self: center;
 
}

.solution-card-fretamento-img img {
    max-width: 64%;
    margin-left: 7rem;
    margin-top: 1rem;
}

.solution-card-fretamento-img-com img {
    max-width: 60%;
    margin-left: 10rem;
    margin-top: 0rem;
}

.solution-card-fretamento-title {
    font-weight: 500;
    font-size: var(--fs-lg);
    color: var(--primary);
}

.solution-card-fretamento-subtitle {
    font-size: var(--fs-600);
    color: #333333;
}

.solution-card-fretamento-description {
    color: #333333;
    font-size: var(--fs-400);
    width: 100%;
}

.solution-card-fretamento-description-reverse {
    color: #333333;
    font-size: var(--fs-400);
    width: 100%;
}

.primary {
    color: var(--primary);
    font-weight: 500;
}

.solution-card-fretamento-link {
    margin-top: 0.875rem;
}

.solution-card-fretamento-link a {
    color: var(--primary);
    font-size: var(--fs-400);
    text-decoration: underline;
    font-weight: 500;
    margin-top: 0.875rem;
}

@media (max-height: 700px) and (max-width: 800px) {
    /* .solution-card-fretamento {
        margin-top: 3rem !important;
    } */
    .cards-container-sub-section {
        margin-top: 0rem !important;
    }
}

@media (min-height: 701px) and (max-height: 900px) and (min-width: 801px) and (max-width: 1000px) {
    /* .solution-card-fretamento {
        margin-top: 8rem !important;
    } */
}

@media only screen and (max-width: 440px) {
    .solution-card-fretamento-description {
        line-height: 1.8rem;
    }
    .solution-card-fretamento-img {
        padding-top: 2rem;
        width: 100%;
        margin-right: 1.5rem;
    }

    .solution-card-fretamento-img-com {
        padding-top: 2rem;
        width: 100%;
        margin-right: 1.5rem;
    }
}

@media only screen and (min-width: 441px) and (max-width: 768px) {
    .solutions-icon>img {
        width: 100px !important;
        height: 118px !important;
    }
}


@media only screen and (max-width: 770px) {
        .solution-card-fretamento {
            display: flex;
            flex-direction: column;
            width: clamp(22rem, 60vw + 1rem, 58rem);
            height: auto;
            padding-right: 3rem;
        }

        .solution-card-fretamento-planejamento {
            display: flex;
            flex-direction: column;
            width: clamp(22rem, 60vw + 1rem, 58rem);
            height: auto;
            padding-right: 3rem;
        }
    .solution-card-fretamento-reverse {
        display: flex;
        flex-direction: column;
        width: clamp(22rem, 60vw + 1rem, 58rem);
        height: auto;
        margin-bottom: 0vh;
    }
    .solution-card-fretamento-texts-reverse {
        margin-left: 0rem;
        padding-left: 0rem;
    }
    .solution-card-fretamento-description-reverse {
        font-size: 16px;
        width: 100%;
    }
}

@media only screen and (min-width: 771px) and (max-width: 990px) {
    .solution-card-fretamento {
        display: flex;
        flex-direction: row;
        max-width: 48rem;
        height: auto;
    }

    .solution-card-fretamento-planejamento {
        display: flex;
        flex-direction: row;
        max-width: 48rem;
        height: auto;
    }

    
    .solution-card-fretamento-reverse {
        display: flex;
        flex-direction: column;
        width: clamp(22rem, 60vw + 1rem, 58rem);
        height: auto;
        margin-bottom: 0vh;
    }
    .solution-card-fretamento-texts-reverse {
        padding-left: 0px;
    }

}

@media only screen and (min-width: 1350px) {
    .cards-container-fretamento {
        margin-top: 8rem;
    }

    .cards-container-fretamento-comunicacao {
        margin-top: 2rem;
    }


    .solution-card-fretamento {
        margin-bottom: 6vh;
    }
}

@media only screen and (max-width: 1110px) {
    .cards-container {
        margin-top: 0rem;
    }
}

@media only screen and (min-height: 700px) and (min-width: 700px) {
    .cards-container-fretamento {
        margin-top: 8rem;
    }
    /* .cards-container-fretamento-comunicacao {
        margin-top: 8rem;
    } */
}

@media (max-height: 700px) and (max-width: 450px) {
    .cards-container-fretamento {
        margin-top: 5rem;
    }
    .cards-container-comunicacao {
        margin-top: 5rem;
    }
}

@media only screen and (max-width: 600px) and (min-height: 700){
    /* .solution-card-fretamento {
        margin-top: 12rem !important;
    } */
}


@media only screen and (max-width: 990px) {
    .solution-card-fretamento-img img {
        margin-left: 0rem;
        max-width: 100%;
    }

    .solution-card-fretamento-img-com img {
        margin-left: 0rem;
        max-width: 100%;
    }
}

@media only screen and (min-width: 750px) and (max-width: 991px) and (max-height: 1200px){
    /* #home-planejamento {
        height: 50vh;
    } */

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


    /* .solution-card-fretamento-planejamento {
        flex-direction: row;
        width: 44rem;
        margin-top: 0rem;
    } */

    .solution-card-fretamento-img img {
        max-width: 86%;
        margin-left: 2rem;
    }

    .solution-card-fretamento-img-com img {
        max-width: 86%;
        margin-left: 2rem;
    }

    .solution-card-fretamento {
        flex-direction: row;
        width: 44rem;
        /* margin-top: 0rem; */
    }
}





@media only screen and (max-width: 500px) and (min-height: 750px) {
    .solution-card-fretamento-planejamento {
        padding-right: 2rem;
    }

}

@media only screen and (max-width: 400px) and (max-height: 749px) {
    .solution-card-fretamento-planejamento {
        max-width: 320px;
        padding-right: 1rem;
    }

    .solution-card-fretamento {
        max-width: 360px;
        padding-right: 2rem;
    }
}




@media only screen and (min-width: 1200px) {

    .solution-card-fretamento-planejamento {
        margin-top: 22rem;
    }

    .solution-card-fretamento-img img {
        max-width: 64%;
        margin-left: 9rem;
        margin-top: 1rem;
    }

}

@media only screen and (min-width: 1200px) and (max-height: 620px) {

    .solution-card-fretamento-planejamento {
        margin-top: 26rem;
    }

}

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

    .solution-card-fretamento-planejamento {
        margin-top: 22rem;
    }

}

@media only screen and (max-width: 1199px) and (max-height: 640px) {

    .solution-card-fretamento-planejamento {
        margin-top: 26rem;
    }

}

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

    .solution-card-fretamento-planejamento {
        margin-top: 14rem;
    }

}


@media only screen and (max-width: 790px)  and (max-height: 650px) {

    .solution-card-fretamento-planejamento {
        margin-top: 20rem;
    }

}

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

    .solution-card-fretamento-planejamento {
        margin-top: 14rem;
    }

}





@media only screen and (min-width: 1200px) {

    .solution-card-fretamento {
        margin-top: 24rem;
    }

}

@media only screen and (min-width: 1200px) and (max-height: 800px) {

    .solution-card-fretamento {
        margin-top: 22rem;
    }

}


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

    .solution-card-fretamento {
        margin-top: 20rem;
    }

}

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

    .solution-card-fretamento {
        margin-top: 12rem;
    }

}

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

    .solution-card-fretamento {
        margin-top: 23rem;
    }

}


@media only screen and (max-width: 991px) and (max-height: 800px) {

    .solution-card-fretamento {
        margin-top: 17rem;
    }

}

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

    .solution-card-fretamento {
        margin-top: 38rem;
    }

}

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

    .solution-card-fretamento {
        margin-top: 12rem;
    }

}
