@font-face {
    font-family: MundialBold;
    src: url('./src/font/MundialBold.otf');
}

@font-face {
    font-family: MundialRegular;
    src: url('./src/font/MundialRegular.otf');
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "MundialBold" !important;
}

p,
a,
span,
link,
button {
    font-family: 'MundialRegular' !important;
}

body {
    max-width: 100vw;
    overflow-x: hidden;
    min-height: 100vh;
    background-color: #0b100d;
}

section.bg_0 {
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
}

nav {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

nav .brand{
    @media screen and (max-width:768px) {
        margin: auto;
    }
}

nav .brand svg {
    width: 150px;
    height: 50px;

    @media screen and (min-width:768px) {
        width: 200px;
        height: 50px;
    }
}

nav .container-fluid {
    display: grid;
    align-items: center;
    align-content: center;
    justify-content: center;

    @media screen and (min-width:768px) {
        display: flex;
        justify-content: space-between;
    }

}

nav .container-fluid a.navbar-brand {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 2rem;
    border: none;
    text-align: center;

    @media screen and (min-width:768px) {
        text-align: left;
    }
}

nav .container-fluid .btn_login_register {
    display: grid;

    @media screen and (min-width:768px) {
        display: flex;
    }
}

nav a.btn {
    border-style: solid;
    border-width: 2px;
    border-radius: .5rem;
    /* padding: 016px 45px; */
    font-weight: 700;
    text-decoration: none;
    background: none;
    transition: all .5s;
    text-align: center;
}

nav a.btn-login {
    border-color: #FFFFFF73;
    color: #FFFFFF;
    margin-top: 1rem;
    padding: 016px 45px;

    @media screen and (max-width:768px) {
        min-width: 300px;
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }

    @media screen and (min-width:1000px) {
        margin-top: auto;
    }
}

nav a.btn-login:hover {
    background: linear-gradient(270deg, #28a745, #007bff, #28a745);
    background-size: 600% 600%;
    background-position: right center;
    animation: gradientAnimation 8s ease infinite;
    transition: all 0.5s;
    border: none;
    color: #000000;
    /* padding: 17px 45px; */

}

nav a.btn-register {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    color: #000000;
    margin-top: 1rem;
    padding: 016px 45px;

    @media screen and (max-width:768px) {
        min-width: 300px;
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }

    @media screen and (min-width:1000px) {
        margin-left: 1rem;
        margin-top: auto;
    }
}

nav a.btn-register:hover {
    margin-left: 1rem;
    background: linear-gradient(270deg, #28a745, #007bff, #28a745);
    background-size: 600% 600%;
    background-position: right center;
    animation: gradientAnimation 8s ease infinite;
    transition: all 0.5s;
    border: none;
    color: #000000;
    /* padding: 17px 45px; */
}

section.bg_0 main {
    text-align: center;
    margin-top: 10vh;

    @media screen and (min-width:768px) {
        margin-top: 25vh;
    }
}

section.bg_0 h2 {
    color: #FFFFFF;
    text-align: center;
    font-size: 2.5rem;

    @media screen and (min-width:768px) {
        font-size: 3.4375rem;
        line-height: 59px;
    }
}

section.bg_0 p {
    text-align: center;
    color: #FFFFFFA1;
    font-size: 1rem;
}

section.benefits {
    min-height: 100vh;
    padding-top: 4.375rem;
    /* margin-bottom: 70vh; */

    @media screen and (min-width:760px) {
        /* margin-bottom: 35vh; */
    }

    @media screen and (min-width:1000px) {
        margin-bottom: auto;
    }
}

section.benefits .card-row {
    justify-content: space-around;
}

section.benefits .card {
    background-color: transparent;
    background-image: linear-gradient(185deg, #13343F00 0%, #13343FBF 100%);
    padding: 30px 30px 0 30px;
    border-radius: 1rem;
    border-color: #3FD88F;
    text-align: left;
    border-bottom: solid #3FD88F;
    min-height: 40vh;
    margin-top: 1.2rem;
    transition: all .5s;

    @media screen and (min-width:768px) {
        margin-top: .8rem;
    }

    @media screen and (min-width:1000px) {
        margin-top: auto;
    }
}

section.benefits .card:hover {
    background-image: linear-gradient(185deg, #13343F00 0%, #13343FBF 180%);
    transition: all .5s;
}

section.benefits .card .card-title {
    color: #FFFFFF;
    text-align: left;
    font-size: 1.8rem;
}

section.benefits .card .card-body svg {
    margin-bottom: 1rem;
}

section.benefits .card .card-text {
    color: #FFFFFF80;
    text-align: left;
    font-size: 1rem;
}

section.increase {
    min-height: 100vh;
    background-image: url("./src/img/bg_sistema_2x.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 9rem;
}

section.increase img.computer {
    width: 100%;
    margin-top: 6rem;
    margin-bottom: 6rem;
}

section.increase img.efeito {
    width: 100%;
    position: absolute;
    left: 0;
    transform: translateY(-15%) scale(1);
    transition: transform 0.5s ease;
}

.rotate svg {
    display: flex;
    /* float: right; */
    height: 10rem;
    animation: rotate 6s linear infinite;
    margin-left: auto;
    margin-top: 5rem;
    margin-right: auto;

    @media screen and (min-width:768px) {
        margin-left: auto;
        margin-top: 5rem;
        margin-right: 0;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

section.questions main {
    margin-top: 5rem;
}

footer p.direitos {
    color: #FFFFFF99;
    font-size: 10px;
    margin-top: 1rem;
    line-height: 1rem;
}

footer .footer-text-align-logo {
    align-self: center;

    @media screen and (max-width:768px) {
        text-align-last: center;
    }
}

footer ul {
    list-style: none;
    padding-left: 0;
}

footer ul li {
    margin-bottom: .3rem;
}

footer ul li a {
    font-size: 14px;
    text-decoration: none;
    fill: #FFFFFF96;
    color: #FFFFFF96;
    transition: all .5s;
}

footer ul li a:hover {
    fill: #FFFFFF;
    color: #FFFFFF;
    transition: all .5s;
}

footer ul.list-group .title-list h3 {
    color: #FFFFFF;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.25rem;
}

footer .link-media-social svg {
    /* width: 1.5625rem !important; */
    height: 1.5625rem !important;
}

footer ul li a.link-media-social {
    border-radius: .5rem;
    padding: .5rem;
    transition: all .5s;
    margin-left: .5rem;
}

footer ul li a.link-media-social:hover {
    background-color: #3FD88F;
    border-radius: .5rem;
    color: #0b100d !important;
    fill: #0b100d;
}

footer .endPage {
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF33;
}

/* funções globais */
h2.title_section {
    /* color: #FFFFFF; */
    text-align: center;
    background: linear-gradient(45deg, #FFFFFF 35%, #3FD88F);
    /* Gradiente de cor */
    -webkit-background-clip: text;
    /* Para navegadores WebKit */
    -webkit-text-fill-color: transparent;
    /* Preenchimento do texto transparente */
    background-clip: text;
    /* Para outros navegadores */
    text-fill-color: transparent;
    /* Para outros navegadores */
    font-size: 2.5rem;

    @media screen and (min-width:768px) {
        font-size: 3rem;
        line-height: 3.6rem;
    }
}

.btn-custom {
    font-size: 1rem;
    font-weight: 450;
    background-color: #3FD88F00;
    transition: all 0.5s ease;
    /* Transição suave para todas as propriedades */
    border-style: none;
    border-radius: 8px;
    box-shadow: 0px 0px 42px -13px #238D8D;
    padding: 16px 45px;
    background: linear-gradient(270deg, #3FD88F, #31c1a5, #25a8ae);
    background-size: 600% 600%;
    background-position: 50% 50%;
    /* Posição inicial central */
    animation: gradientAnimation 8s ease infinite;
    /* Animação suave */
    z-index: 999 !important;
    position: relative;
    text-transform: uppercase;
}

@media screen and (min-width:768px) {
    .btn-custom {
        font-size: 1.125rem;
        font-weight: 900;
        padding: 22px 70px;
    }
}

.btn-custom:hover {
    background: linear-gradient(270deg, #28a745, #007bff, #28a745);
    background-size: 600% 600%;
    animation: gradientAnimationHover 5s ease infinite;
    /* Animação mais lenta no hover */
    transform: scale(1.05);
    /* Leve aumento de escala */
}

/* Animação original */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Animação de gradiente no hover */
@keyframes gradientAnimationHover {
    0% {
        background-position: 100% 50%;
    }

    50% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.text-center {
    text-align: center;
}

.accordion {
    width: 100%;
}

.accordion-item {
    padding: 0px;
    margin-bottom: 16px;
    transition: 0.5s all ease;
    border-radius: 16px;
    background: linear-gradient(155deg, #0E221F 0.1% 0.1%, transparent 90% 1%);
}

.accordion-header {
    /* background-color: #f1f1f1; */
    cursor: pointer;
    padding: 1.25rem;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1;
    color: #FFFFFF;
}

.accordion-header.open {
    color: #3FD88F
}

.accordion-body {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    display: none;
    color: #FFFFFF80;
}

.accordion-body.open {
    max-height: 12.5rem;
    padding: 0 1.25rem 1.25rem 1.25rem;
    display: block;
}

/* Ícone */
.icon {
    font-weight: bold;
    transition: transform 0.3s;
}

/* Rotaciona o ícone quando o corpo está aberto */
.accordion-body.open+.accordion-header .icon {
    transform: rotate(45deg);
    /* Exemplo de rotação, pode ser ajustado */
}

.navbar {
    background-color: rgba(0, 0, 0, 0.3);
    /* Fundo semi-transparente */
    color: white;
    padding: 10px 20px;
    backdrop-filter: blur(10px);
    /* Efeito de vidro fosco */
}

.navbar.active {
    background-color: #0b100d;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5em;
    text-decoration: none;
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    z-index: 10;
}

.hamburger .bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-item {
    text-decoration: none;
    color: white;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 50px;
        left: 0;
        background-color: #0b100d;
        /* Fundo semi-transparente */
        z-index: 5;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s ease;
        backdrop-filter: blur(10px);
        /* Efeito de vidro fosco */
        border-bottom: solid 2px #3FD88F;
    }

    .nav-menu.active {
        opacity: 1;
        max-height: 18.75rem;
        padding-bottom: 2rem;
        margin-top: 1rem;
    }

    .nav-item {
        padding: 10px;
        text-align: center;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(10px, -10px);
    }
}