@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');

:root {
    --main-color: #323044;
    --secundary: #4568E4;
    --primary: #47455F;
    --purple02: #495FAC;
}

body {
    margin: 0 auto;
    overflow-x: hidden;
}

* {
    outline: none;
    font-family: 'Raleway', sans-serif !important;
    text-decoration: none !important;
}

.whatsapp {
    bottom: 1em;
    right: 1em;
    z-index: 2;
    position: fixed;
    background-color: #25D366;
    width: 56px;
    height: 56px;
    background-image: url(./imgs/whatsapp_w.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 65%;
    box-shadow: 0px 13px 17px -10px rgba(0, 0, 0, 0.25);
}

.my-6 {
    margin-top: 7rem !important;
    margin-bottom: 7rem !important;
}

input,
textarea {
    background-image: url(./imgs/left.svg);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 2rem !important;
}

input::placeholder,
textarea::placeholder {
    color: #A8ACAC;
}

textarea {
    background-position: left 1.25rem;
}

.navbar {
    max-width: 1920px;
    margin: 0 auto;
    padding: 2rem;
}

.navbar-nav {
    gap: 3rem;
}

.nav-link {
    color: var(--main-color);
    font-weight: bold;
}

.active {
    border-bottom: solid 5px var(--secundary) !important;
}

.btn-hover:hover {
    transition: 200ms;
}

.btn-hover:hover {
    background-color: #495FAC !important;
}

.dropdown-menu {
    left: unset !important;
    right: -15px !important;
    padding: 0;
}

.dropdown-indicator {
    background-color: #ECECEC;
    border-left: 1px solid rgba(0, 0, 0, .15);
    border-top: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    top: -.6em;
    right: 1em;
    transform: rotate(45deg);
    height: 20px;
    position: absolute;
    width: 20px;
    z-index: -1;
}

.dropdown-item {
    background-color: #ECECEC;
    font-weight: bold;
    text-align: center;
    padding: .75rem 2rem;
    z-index: 2;
}

.dropdown-item:hover {
    color: #fff;
    background-color: var(--main-color);
}

.main-color {
    background-color: var(--main-color);
}

.primary-color {
    background-color: var(--primary);
}

.secundary-color {
    background-color: var(--secundary);
}

.purple02 {
    background-color: var(--purple02);
}

.know-more {
    font-weight: bold;
    border-bottom: solid 7px var(--purple02);
}

.banner-img {
    filter: hue-rotate();
}

.especialized {
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    position: absolute;
    right: 0;
    padding: 7rem 3rem;
}

#to-top {
    position: absolute;
    background-color: var(--secundary);
    background-image: url(./imgs/up.svg);
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    top: calc(-79px - 59px / 2);
    right: 1rem;
    height: 59px;
    width: 59px;
}

.simbol {
    max-height: 600px;
}

.form textarea {
    min-height: 200px;
}

.banner-2 {
    position: relative;
    height: 600px;
}

.banner-2 img {
    width: 105%;
    position: absolute;
    right: 3rem;
    max-height: 500px;
    object-fit: cover;
}

.py-6 {
    padding: 7rem 0;
}

.contacts {
    font-size: 16px;
}

.carousel-cell {
    display: flex;
    padding: 1rem;
    width: 30%;
}

.main-carousel .carousel-cell {
    min-height: 335px;
}

.main-carousel .flickity-page-dots .dot {
    background-color: var(--main-color);
}

.flickity-prev-next-button {
    background-color: #ECECEC;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.flickity-button:hover {
    background: unset;
}

.flickity-prev-next-button svg {
    display: none;
}

.main-carousel .flickity-prev-next-button {
    top: unset;
    bottom: -40px;
    transform: unset;
    z-index: 1;
    border-radius: 0;
}

.flickity-prev-next-button.previous {
    background-image: url(./imgs/arrowL.svg);
}

.flickity-prev-next-button.next {
    background-image: url(./imgs/arrowR.svg);
}

.main-carousel .flickity-prev-next-button.previous {
    left: 50%;
    transform: translateX(-140px);
}

.main-carousel .flickity-prev-next-button.next {
    right: 50%;
    transform: translateX(140px);
}

.carousel-cell>div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ECECEC;
    font-size: 10pt;
    position: relative;
}

.carousel-cell img {
    height: 100px;
}

.carousel-cell p {
    line-height: 1.5em;
    margin: 0;
}

.carousel-parceiros .carousel-cell {
    width: calc(100% / 6);
}

.flickity-page-dots .dot {
    border-radius: 0 !important;
    margin: 0;
    width: 15px;
    height: 7px;
}

.contacts__container {
    position: absolute;
    padding: 5rem 3rem;
    right: 0;
    top: 55.5%;
    transform: translateY(-50%);
}

.contacts__container a:hover {
    color: #C3C9C9;
}

.form input,
.form textarea {
    padding: 1.5rem 0;
    padding-bottom: .5em;
    border: none;
    background-color: transparent;
    border-bottom: solid 1px #C3C9C9;
    color: #fff;
}

input:focus~.floating-label,
input:not(:focus):valid~.floating-label {
    top: 15px;
    font-size: 11px;
}

textarea:focus~.floating-label,
textarea:not(:focus):valid~.floating-label {
    top: 10px;
    font-size: 11px;
}

.floating-label {
    color: #bbb;
    position: absolute;
    pointer-events: none;
    left: 31px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.2s ease all;
}

.textarea .floating-label {
    transform: unset !important;
    top: 15px;
}

.reading-area {
    max-width: 1200px !important;
}

.reading-area-padding {
    padding-left: 5.5rem !important;
}

.service-icon {
    height: 62px;
    width: 62px;
}

.contact-button {
    width: 240px;
}

button[type=submit] {
    height: 52px;
}

.posts-tag {
    display: flex;
    background-color: #ECECEC;
    height: 91px;
    padding: 18px 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.posts-tag a {
    color: var(--secundary);
    font-weight: bold;
    border: solid 2px var(--secundary);
    background-color: transparent;
    height: 56px;
    line-height: 56px;
    display: block;
    padding: 0 26px;
}

.posts-tag a[selected=true] {
    color: #fff;
    background-color: var(--secundary);
}

.search-input {
    flex-grow: 1;
    max-width: 500px;
}

.search-input button {
    background-image: url(./imgs/search_input.svg);
    border: none;
    background-color: transparent;
    height: 24px;
    width: 24px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.post-body img {
    width: 100%;
}

.post-body p {
    text-indent: 1cm;
    line-height: 30px;
    text-align: justify;
}

.flickity-prev-next-button {
    border-radius: 0;
}

.footer-links a {
    color: #fff;
    transition: 200ms;
}

.footer-links a:hover {
    color: var(--secundary);
}

@media (max-width: 1200px) {
    .banner-2 img {
        width: 95%;
    }
}

@media (max-width: 991px) {
    .dropdown-indicator {
        display: none;
    }

    .posts-tag {
        height: unset;
    }

    .search-input {
        max-width: unset;
    }

    .contact-button {
        width: 100%;
    }

    .navbar-nav {
        align-items: flex-start;
        padding: 2em 0;
        gap: 1em;
    }

    .nav-item-contact {
        width: 100% !important;
    }

    .nav-item-contact a {
        width: 100% !important;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        border: none;
    }

    .dropdown-item {
        background-image: url(./imgs/leftb.svg);
        background-color: #fff;
        font-weight: normal;
        text-align: left;
        padding: .75rem 2rem;
        background-repeat: no-repeat;
        background-position: left center;
    }

    .reading-area-padding {
        padding-left: 0 !important;
    }

    .especialized {
        position: unset;
        top: unset;
        transform: unset;
        width: 100%;
    }

    .navbar {
        padding: 1rem 0.75rem;
    }

    .banner-2 {
        height: unset;
    }

    .banner-2 img {
        right: unset;
        width: 100%;
        position: inherit;
        height: 400px;
        object-fit: cover;
    }

    .simbol {
        width: 100%;
    }

    .carousel-cell {
        width: 85%;
    }

    .carousel-parceiros .carousel-cell {
        display: flex;
        align-items: center;
        justify-content: center;
        width: calc(100% / 2);
    }

    .contacts__container {
        margin-top: 4rem;
        position: unset;
        transform: translateY(0);
    }
}