@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gap: 24px;
    --primary: #77172b;
    --green-dark: #185f4f;
    --green-light: #a8d074;
    --white: #ece5e1;
    --rose: #e9b3a4;
    --rose-dark: #e59794;
    --yellow-light: #ebe3ca;
    --brown-light: #d3b096;
    --orange: #eb6444;
    --black: #232;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--green-dark);
    color: var(--white);
    line-height: 1.5;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100%;
}

ul {
    list-style: none;
}

ul li {
    margin-bottom: 12px;
}

ul li::before {
    content: "\2022";
    color: var(--orange);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

@media screen and (max-width:640px) {
    ul li {
        text-align: left;
    }
}

a,
a:hover,
a:active,
a:visited {
    color: inherit;
    cursor: pointer;
}

/*============================================================
    Typography
============================================================*/

p {
    line-height: 1.5;
}

h2 {
    color: var(--yellow-light);
    font-size: 2rem;
    font-weight: 400;
}

.ligth-green {
    color: var(--green-light)
}

.cta h1,
.cta h2 {
    font-weight: 900;
}

.xxl {
    font-size: 3.5rem;
}

.xl {
    font-size: 3rem;
}

.lg {
    font-size: 2.5rem;
}

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

    .xxl,
    .xl {
        font-size: 2rem;
    }

    .lg {
        font-size: 1.8rem;
    }
}

.strong {
    font-weight: 900;
}

.regular {
    font-weight: 400;
}

.light {
    font-weight: 200;
}

/*============================================================
    Structure
============================================================*/

section {
    padding-top: calc(2*var(--gap));
    padding-bottom: calc(2*var(--gap));
}

.container {
    max-width: 1080px;
    margin: auto;
    display: flex;
    gap: var(--gap);
}

@media screen and (max-width:640px) {
    .container {
        flex-direction: column;
    }
}

.col {
    padding: var(--gap);
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    width: 100%;
    justify-content: center;
}

@media screen and (max-width:640px) {
    .col {
        text-align: center;
        order: inherit;
        align-items: center;
    }

    .col.invert-order {
        order: 2;
    }
}

.col.v-align {
    justify-content: center;
}

.col.cta {
    text-align: center;
}


.col.blob {
    position: relative;
}

.col.blob h1,
.col.blob h2,
.col.blob h3,
.col.blob h4,
.col.blob ul,
.col.blob p {
    position: relative;
    z-index: 2;
}

.col.blob .blob-text {
    position: absolute;
    z-index: 1;
}

.blob-text.left {
    transform: translate(-80%, 20%);
}

.blob-text.right {
    transform: translate(80%, 20%);
}

div.pattern {
    background: url('assets/img/pattern.gif'), #f4f4f4;
    min-height: 160px;
    width: 100%;
    background-repeat: repeat-x;
    background-position: top;
    background-size: contain;
    background-blend-mode: multiply;
    opacity: 0.5;
}

/*============================================================
    Header
============================================================*/
.header {
    margin: 0;
    padding-top: calc(2*var(--gap));
    padding-bottom: calc(2*var(--gap));
}

.header .col {
    position: relative;
    margin-right: auto;
    margin: 128px 0;
}

.header .col .header-bubble {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
}

.header .blob-secondary {
    position: absolute;
    z-index: 1;
    left: -50%;
}

.header .col h1 {
    position: relative;
    z-index: 3;
    line-height: 1;
    color: #000;
    font-size: 5em;
    text-align: left;
}

@media screen and (max-width:640px) {
    .header .col {
        margin: 64px 0;
    }

    .header .col h1 {
        font-size: 4em;
    }
}

.header .col h2 {
    position: relative;
    z-index: 3;
    color: #000;
}

.header h3 {
    font-size: 1.5em;
}

.header h3 span {
    font-size: 0.7em;
    font-weight: 400;
    display: block;
}

.socialmedia {
    font-size: 24px;
    display: flex;
    gap: var(--gap);
}

.socialmedia a {
    text-decoration: none;
}

.socialmedia i {
    color: var(--primary);
}

/*============================================================
    Blob container
============================================================*/

.blob-container {
    position: relative;
}

@media screen and (max-width:640px) {
    .blob-container {
        max-width: 80%;
        margin: auto;
    }
}

.blob-container img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.blob-container .blob-secondary {
    position: absolute;
    z-index: 1;
}

.blob-container.title h2,
.blob-container.title h3{
    z-index: 5;
    position:relative
}
.blob-container.title .blob-secondary{
    left: 50%;
    width: 100%;
    height: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}



/*============================================================
    Backgrounds
============================================================*/

.bg-dark-light {
    background-color: #00000033;
}

.bg-brown-light {
    background-color: var(--brown-light);
    color: var(--green-dark)
}

.bg-white {
    background-color: var(--white);
    color: var(--green-dark);
}

.bg-white h1,
.bg-white h2 {
    color: var(--black);
}

/*============================================================
    Animações
============================================================*/

[data-inviewport="fade-up"] {
    opacity: 0;
    transform: translateY(100%);
    transition: 1s;
}

[data-inviewport="fade-up"].is-inViewport {
    opacity: 1;
    transform: translateY(0%);
}

[data-inviewport="fade-to-right"] {
    opacity: 0;
    transform: translateX(-10%);
    transition: 2s;
}

[data-inviewport="fade-to-right"].is-inViewport {
    opacity: 1;
    transform: translateX(0%);
}

[data-inviewport="fade-to-left"] {
    opacity: 0;
    transform: translateX(10%);
    transition: 2s;
}

[data-inviewport="fade-to-left"].is-inViewport {
    opacity: 1;
    transform: translateX(0%);
}

[data-inviewport="scale-up"] {
    transform: scale(0.9);
    transition: 2s;
}

[data-inviewport="scale-up"].is-inViewport {
    transform: scale(1)
}

a.btn {
    border-radius: 24px;
    height: 48px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    background-color: var(--green-dark);
    color: var(--white);
    cursor: pointer;
    text-decoration: none;
}

a.btn:hover {
    background-color: var(--green-light);
}