* {
    padding: 0;
    margin: 0;
    list-style: none;
    font-family: "Manrope", sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}  

#resEmail{
    display: none;
}

#resEmailtopo{
    display: none;
}

:root {
    --hue: 229;

    --primary: hsl(229, 92%, 53%);
    --secondary: #FFBF00;
    --tertiary: #FFD141;

    font-size: 62.5%;
}

::selection {
    background-color: hsl(var(--hue), 92%, 75%);
    color: white;
}

::-webkit-scrollbar {
    width: 10px;
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

body {
    max-width: 100%;
    overflow-x: hidden;
}

div.navbar {
    background-color: var(--primary);

    padding: 2rem 0;
}

header::after {
    content: "";
    display: inline-block;
    z-index: 2;
    width: 25rem;
    height: 25rem;

    margin-top: -20rem;
    margin-left: -20rem;
    
    border: 0.7rem solid var(--secondary);
    border-radius: 50%;
}

.navbar-desktop {
    display: none;
}

img.logo-allcross {
    height: 1.8rem;

    display: block;
    margin: auto;

    transition: 250ms ease;
}

img.logo-allcross:hover {
    transform: scale(1.1);
}

section#banner {
    background-image: url("assets/img1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    min-height: 40vh;

    margin-top: -6.7rem;
}
/*
section#banner::after {
    content: "";
    display: inline-block;
    z-index: 2;
    width: 25rem;
    height: 25rem;

    margin-top: -2rem;
    margin-left: 85vw;
    
    border: 0.7rem solid var(--secondary);
    border-radius: 50%;
}
*/
section#navbar-mobile::before {
    content: "";
    display: inline-block;
    z-index: -3;
    width: 150vw;
    height: 35rem;

    margin-top: -4.5rem;
    margin-left: -25%;

    border-radius: 50%;
    background-color: white;
}


.navbar-mobile-menu {
    margin: 0 6rem;
    padding: 10rem 4.5rem;
    
    position: relative;
    z-index: 2;
    transform: translateY(-36rem);

    border-radius: 2.4rem;
    background-color: white;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

ul.navbar-mobile {
    width: 100%;
    text-align: center;

    display: flex;
    flex-direction: column;
    gap: 3rem;
}

li.navbar a {
    text-decoration: none;
    color: white;
}

ul.navbar-mobile li {
    background-color: var(--primary);
    padding: 0.5rem 0;
    
    font-size: 1.5rem;
    border-radius: 1.8rem;
    
    transition: 250ms ease;
}

ul.navbar-mobile li:hover {
    letter-spacing: 2px;
    background-color: var(--secondary);
    cursor: pointer;
}


section#navbar-mobile::after {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: 1;
    width: 35rem;
    height: 35rem;

    margin-top: -65rem;
    margin-left: 50vw;

    border-radius: 50%;
    background-color: var(--secondary);
}

section#start {
    background-color: var(--primary);

    margin-top: -36rem;

    padding: 10rem 6rem;
}

.col2-desktop {
    display: none;
}

p.start {
    font-size: 1.5rem;
    color: white;

    margin-bottom: 2rem;
}

svg.brasil {
    fill: var(--tertiary);
}

button.send {
    background-color: var(--primary);
    border: none;
    color: white;

    margin-top: 0.75rem;
    padding: 0.15rem 0;
    border-radius: 1.5rem;

    font-size: 1.2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;

    cursor: pointer;
    transition: 250ms ease;
}

button.send:hover {
    background-color: var(--secondary);
    letter-spacing: 2px;
}

fieldset {
    display: flex;
    flex-direction: column;

    margin-top: 5rem;

    gap: 0.5rem;

    border: none;
    background-color: white;

    padding: 1rem 2rem;
    border-radius: 1.5rem;
}

.input-wrapper {
    display: flex;
    flex-direction: column;

    gap: 0.5rem;
}

.input-wrapper label {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
}

.input-wrapper input {
    height: 2rem;
    border-radius: 2rem;

    border: 1px solid var(--primary);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);

    padding: 0 1.5rem;
    color: rgb(61, 61, 61);
}

/* Chromium */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    appearance: none;
}

input:focus {
    outline: 2px solid var(--secondary);
    border: none;
}

h1.start {
    font-size: 3rem;
    margin: auto;

    font-weight: 800;

    width: 15rem;
    margin-top: 1rem;
    color: white;
}

.col2-desktop-about {
    display: none;
}

h1.about, h2.about {
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 800;
}

h1.about {
    font-size: 2.5rem;

    margin-bottom: 3.5rem;
    line-height: 115%;
}

h1.about::before {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: -1;

    background-color: var(--secondary);
    height: 1.5rem;
    width: 20rem;

    margin-left: -1rem;
    margin-top: 1.5rem;

    border-radius: 1rem;
}

h1.about::after {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: -1;

    background-color: var(--secondary);
    height: 1.5rem;
    width: 16rem;

    margin-left: -15rem;
    margin-top: 1.5rem;

    border-radius: 1rem;
}

section#about {
    padding: 7rem 5.5rem 13rem;

    text-align: center;
}

img.arara {
    width: 20rem;

    margin-left: 3rem;
    margin-top: 4.5rem;
}

.img-wrapper-about::before {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: -1;

    width: 19rem;
    height: 19rem;

    border-radius: 50%;
    border: 1rem solid var(--secondary);

    left: 5rem;
    margin-top: 2rem;
}

.img-wrapper-about::after {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: -1;

    width: 8rem;
    height: 8rem;

    border-radius: 50%;
    border: 0.5rem solid var(--secondary);

    left: 50vw;
    margin-top: 1rem;
}

p.about {
    text-align: justify;
    font-size: 1.2rem;
    color: var(--primary);

    margin-top: 3rem;
    margin-bottom: 4rem;
}

h2.about {
    font-size: 1.5rem;
}

section#differentials {
    background-color: var(--primary);

    padding-top: 5.5rem;
}

h1.differentials {
    color: white;
    text-align: center;
    text-transform: uppercase;

    font-size: 2.2rem;

    font-weight: 800;

    margin-bottom: 3rem;
}

.diff-icon {
    background-color: var(--tertiary);

    border-radius: 3rem 0 0 3rem;
}

svg.diff-icon {
    height: 3.5rem;
    fill: var(--primary);

    position: relative;
    z-index: 3;

    margin: 0.5rem 1.5rem;
}

.card-differentials {
    display: flex;
    align-items: center;
    gap: 1rem;

    width: 20rem;

    border-radius: 3rem;
    border: 1px solid white;

    margin-bottom: 1.5rem;
}

h3.differentials, h5.card {
    color: white;
}

h3.differentials {
    font-weight: 500;
    font-size: 1.5rem;

    text-align: right;
    position: absolute;
    right: 0;
    margin-right: 4rem;
    margin-top: 34rem;

    width: 12.5rem;
}

h5.card {
    font-size: 0.9rem;
    font-weight: 800;

    text-align: center;
}

.gallery-differentials-desktop {
    display: none;
}

.gallery-differentials-mobile {
    display: flex;
    flex-direction: column;

    align-items: center;
}

.gallery-differentials-mobile .card-differentials:nth-child(2) {
    margin-left: 4rem;
}

.gallery-differentials-mobile .card-differentials:nth-child(3) {
    margin-left: 8rem;
}

.gallery-differentials-mobile .card-differentials:nth-child(4) {
    margin-left: 12rem;
}

.gallery-differentials-mobile .card-differentials:nth-child(5) {
    margin-left: 16rem;
}

.gallery-differentials-mobile .card-differentials:nth-child(6) {
    margin-left: 20rem;
}

.differentials-img {
    position: relative;
    z-index: 4;

    left: -20vw;
    top: -20vh;

    max-height: 39rem;
}

.differentials-img img {
    width: 90vw;
}

.differentials-img::before {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: -1;
    
    border-radius: 50%;
    width: 36rem;
    height: 36rem;
    
    top: 8rem;
    left: -25vw;
        
    border: 1.5rem solid var(--secondary);
}

.differentials-img::after {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: -8;
    
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
    
    top: 17rem;
    left: -27vw;
        
    background-color: white;
}

section#partners {
    padding: 7rem 2.5rem 12rem;
}

h1.partners {
    color: var(--primary);

    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;

    margin-bottom: 5rem;
}

img.partner {
    max-width: 16vw;
}

.partner-box {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), inset 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 2.4rem;

    padding: 5.5rem 1.8rem;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    gap: 1rem;

    background-color: white;
}

.partner-box::before {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: -1;
    
    border-radius: 50%;
    width: 15rem;
    height: 15rem;

    right: -7.5rem;
        
    border: 0.5rem solid var(--secondary);
}

.partner-box::after {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: -1;
    
    border-radius: 50%;
    width: 40rem;
    height: 40rem;

    left: 20vw;
    margin-top: 45rem;
        
    border: 0.5rem solid var(--secondary);
}

section#contact {
    background-color: var(--primary);

    margin-top: -5rem;
    padding: 10rem 6rem 0;
}

h1.contact {
    font-size: 2.2rem;
    font-weight: 800;
    
    text-align: center;
    color: white;
    
    margin-bottom: 2rem;
}

p.contact {
    color: white;
    font-size: 1.1rem;
    text-align: left;
    
    margin-bottom: 5.5rem;
}

img.contact {
    width: 75vw;
    
    margin: auto;

    position: relative;
    z-index: 20;
}

h1.contact::before {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: 1;
    width: 16rem;
    height: 16rem;

    margin-top: -15rem;
    left: -7vw;

    border-radius: 50%;
    background-color: white;
}

.contact-colwrapper:nth-child(2)::before {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: 1;
    width: 30rem;
    height: 30rem;

    margin-top: -23rem;
    left: 50%;

    border-radius: 50%;
    border: 5px solid var(--secondary);
}

.contact-colwrapper:nth-child(2)::after {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: 0;
    width: 20rem;
    height: 20rem;

    margin-top: -45rem;
    left: 25%;

    border-radius: 50%;
    background-color: white;
}

fieldset.contact {
    margin: 5rem 0;
    padding-bottom: 1.5rem;

    position: relative;

    z-index: 10;
}

/* Desktop */
@media (min-width: 980px) {
    div.navbar {
        padding: 3rem 4.5rem;

        display: flex;
        justify-content: space-between;

        position: fixed;
        z-index: 65;
        width: 100%;
        top: 0;

        background-color: hsla(229, 92%, 53%, 85%);
        background-blend-mode: multiply;
    }
    
    header::after {
        content: "";
        display: inline-block;
        position: absolute;
        z-index: 5;
        width: 40rem;
        height: 40rem;
    
        top: 27rem;
        left: 93vw;
        
        border: 1.5rem solid var(--secondary);
        border-radius: 50%;
    }
    
    header::before {
        content: "";
        display: inline-block;
        position: absolute;
        z-index: 2;
        width: 30rem;
        height: 30rem;
    
        top: -7rem;
        left: 86vw;
        
        background-color: white;
        border-radius: 50%;
    }
    
    img.logo-allcross {
        height: 4rem;
    }

    .navbar-desktop {
        align-items: center;
        display: flex;
    }

    ul.navbar-desktop {
        gap: 2.5rem;

        padding-right: 30rem;
    }

    ul.navbar-desktop li {
        font-size: 2rem;
        font-weight: 400;

        transition: 250ms ease;
    }

    ul.navbar-desktop li:hover {
        letter-spacing: 2px;
    }

    section#navbar-mobile {
        display: none;
    }

        
    section#banner {
        height: 100vh;

        margin-top: 10rem;
    }

    section#banner::after {
        display: inline-block;
        position: absolute;
        z-index: 2;
        width: 58rem;
        height: 58rem;

        top: 75rem;
        margin-left: -22rem;
        
        border: 2rem solid var(--secondary);
        border-radius: 50%;
    }

    .col-mobile {
        display: none;
    }

    section#start::before {
        content: "";
        display: inline-block;
        position: absolute;
        z-index: 1;
        width: 23.5rem;
        height: 23.5rem;
    
        margin-top: -35rem;
        left: 35rem;
    
        border-radius: 50%;
        border: 1rem solid var(--secondary);
    }

    section#start::after {
        content: "";
        display: inline-block;
        position: absolute;
        z-index: 1;
        width: 30rem;
        height: 30rem;
    
        margin-top: 70rem;
        left: 88vw;
    
        border-radius: 50%;
        background-color: white;
    }
    
    section#start {
        background-color: var(--primary);

        margin-top: 0;

        padding: 21rem 15rem;

        display: flex;
        justify-content: center;

        gap: 5rem;
    }

    .col2-desktop {
        display: block;
    }

    p.start {
        font-size: 2.5rem;
        width: 50rem;
        color: white;
        z-index: 99;
        
        margin-bottom: 8rem;
    }
    
    svg.brasil {
        fill: var(--tertiary);
        
        width: 60rem;
        margin-right: -5vw;
    }

    h1.start {
        font-size: 4.5rem;
        text-align: center;
    
        width: 50rem;
        margin-top: 0;
        margin-bottom: 7rem;
    }

    button.send {
        font-size: 1.95rem;

        letter-spacing: 2px;
    }

    button.send:hover {
        letter-spacing: 5px;
    }

    fieldset {
        margin-top: 7rem;
    
        gap: 2rem;

        padding: 1.5rem 4rem 3rem;
        border-radius: 3.5rem;
    }
    
    .input-wrapper {
        gap: 1rem;
    }
    
    .input-wrapper label {
        font-size: 1.8rem;
    }
    
    .input-wrapper input {
        height: 3rem;
    }

    .col-about-mobile {
        display: none;
    }
    
    .col2-desktop-about {
        display: block;
    }
    
    .col2-desktop-about:nth-child(2) {
        width: 55rem;
    }

    h1.about {
        font-size: 4.5rem;
        text-align: left;

        margin-bottom: 8rem;
    }

    h1.about::before {
        content: "";
        display: inline-block;
        position: absolute;
        z-index: -1;

        background-color: var(--secondary);
        height: 2.5rem;
        width: 35rem;

        margin-left: -1.5rem;
        margin-top: 2.5rem;

        border-radius: 2rem;
    }

    h1.about::after {
        content: "";
        display: inline-block;
        position: absolute;
        z-index: -1;

        background-color: var(--secondary);
        height: 2.5rem;
        width: 28rem;

        margin-left: -27rem;
        margin-top: 2.5rem;

        border-radius: 2rem;
    }

    section#about {
        padding: 20rem 5rem;

        text-align: center;
        display: flex;
        justify-content: center;
        gap: 7rem;
    }

    img.arara {
        width: 60rem;

        margin-left: 0;
        margin-top: 1rem;
    }

    .img-wrapper-about::before {
        content: "";
        display: inline-block;
        position: absolute;
        z-index: -1;

        width: 58rem;
        height: 58rem;

        border-radius: 50%;
        border: 2rem solid var(--secondary);

        left: 10vw;
        margin-top: -6rem;
    }

    .img-wrapper-about::after {
        content: "";
        display: inline-block;
        position: absolute;
        z-index: -1;

        width: 23rem;
        height: 23rem;

        border-radius: 50%;
        border: 1rem solid var(--secondary);

        left: 30vw;
        margin-top: -8rem;
    }

    p.about {
        text-align: left;
        font-size: 2rem;

        margin-top: 0;
        margin-bottom: 6rem;
    }

    h2.about {
        font-size: 3.2rem;
        text-align: left;
    }
        
    section#differentials {
        padding-top: 15rem;

        display: flex;
        flex-direction: row-reverse;

        justify-content: center;
        gap: 2rem;
    }

    h1.differentials {
        text-align: center;

        font-size: 5.5rem;

        margin-bottom: 10rem;
    }

    svg.diff-icon {
        height: 6rem;
    }

    .diff-icon {
        border-radius: 2.7rem 0 0 2.7rem;
    }

    .card-differentials {
        display: flex;
        align-items: center;
        gap: 0;

        width: 25rem;

        border-radius: 3rem;
        border: 2px solid white;

        margin-bottom: 0;
    }

    h3.differentials {
        font-size: 3.5rem;

        text-align: center;
        position: relative;
        margin: auto;
        margin-top: 10rem;

        width: 40rem;
    }

    h5.card {
        font-size: 1.5rem;

        padding: 0 1rem;
        text-align: center;
    }

    .gallery-differentials-desktop {
        display: flex;
        flex-direction: column;
        gap: 5rem;

        align-items: center;
    }

    .gallery-differentials-mobile {
        display: none;
    }

    .row-differentials {
        display: flex;

        gap: 4rem;
    }
        
    .differentials-img {
        display: inline-block;

        left: 0;
        top: 0;
    }

    .differentials-img img {
        width: 55rem;
    }

    .differentials-img::before {
        content: "";
        display: inline-block;
        position: absolute;
        z-index: -1;
        
        border-radius: 50%;
        width: 80rem;
        height: 80rem;
        
        top: -3rem;
        left: -22vw;
            
        border: 1.5rem solid var(--secondary);
    }

    .differentials-img::after {
        content: "";
        display: inline-block;
        position: absolute;
        z-index: -2;
        
        border-radius: 50%;
        width: 100rem;
        height: 100rem;
        
        top: 5rem;
        left: -20vw;
            
        background-color: white;
    }

    section#partners {
        padding: 15rem 12rem 8rem;
    }
    
    h1.partners {
        font-size: 4.5rem;
        margin-bottom: 6rem;
    }
    
    img.partner {
        max-width: 6vw;

        transition: 250ms ease;
    }
    
    img.partner:hover {
        transform: scale(1.15);
    }
    
    .partner-box {
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), inset 0px 4px 4px rgba(0, 0, 0, 0.25);
        border-radius: 2.4rem;
    
        padding: 8rem 15rem;
    
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        align-items: center;
        gap: 4rem;
    
        background-color: white;
    }
    
    .partner-box::before {
        width: 20rem;
        height: 20rem;
    
        right: 3rem;

        border: 1rem solid var(--secondary);
    }
    
    .partner-box::after {
        width: 50rem;
        height: 50rem;
    
        left: 75vw;
        margin-top: 60rem;
            
        border: 1.5rem solid var(--secondary);
    }

    section#contact {
        display: flex;
        justify-content: center;

        align-items: center;

        gap: 10rem;
    
        margin-top: 0;
        padding: 10rem 4rem 0;
    }
    
    h1.contact {
        font-size: 4.5rem;

        text-align: left;
    
        margin-bottom: 4rem;
    }
    
    p.contact {
        font-size: 2.5rem;
        width: 45rem;

        margin-bottom: 7rem;
    }
    
    img.contact {
        width: 60rem;
    }
    
    fieldset.contact {
        margin: 7rem 0 0;
        padding-bottom: 2.5rem;

        z-index: 2;
    }
        
    h1.contact::before {
        width: 30rem;
        height: 30rem;

        margin-top: -35rem;
        left: -7rem;
    }
/* 
    p.contact::after {
        content: "";
        display: inline-block;
        position: absolute;
        z-index: 0;
        
        border-radius: 50%;
        width: 58rem;
        height: 58rem;
        
        margin-top: 20rem;
        left: -15rem;
            
        border: 1.5rem solid var(--secondary);
    } */

    .contact-colwrapper:nth-child(2)::before {
        width: 30rem;
        height: 30rem;

        margin-top: -4rem;
        left: 54%;

        border: none;
        background-color: white;
    }

    .contact-colwrapper:nth-child(2)::after {
        width: 33rem;
        height: 33rem;

        margin-top: 40rem;
        left: 35%;

        border: 1.5rem solid var(--secondary);
        background-color: var(--primary);
    }
}