:root {
    color-scheme: light only;
}

html,
body {
    margin: 0px;
    padding: 0px;
    background: #ffffff;
}

* {
    font-family: 'Exo 2', sans-serif;
}

h2 {
    font-size: 2em;
    color: #fff;
    margin: 16px;
}


#principal {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: #00c12a;
    align-items: center;
    position: relative;
}

#inscricao-container {
    width: 100%;
    max-width: 800px;
    min-height: 100svh;
    background: #00c12a;
    position: relative;
}

#capa-container {
    position: absolute;
    width: 100%;
    aspect-ratio: 6 / 2;
}

#capa-header {
    width: 100%;
    position: absolute;
    z-index: 0;
    aspect-ratio: 6 / 2;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out 0.1s;

    .capa-ativa & {
        opacity: 1;
    }
}

#capa-overlay {
    height: 100%;
    width: 100%;
    background-image: linear-gradient(1deg, #00c12a 15%, transparent 100%);
    position: absolute;
}

#capa-background {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.67) blur(6px);
    opacity: 0;

    transition: opacity 1s ease-in-out 0.1s;

    .capa-ativa & {
        opacity: 0.33;
    }
}

.vinte5 {
    width: 40%;
    min-height: 100vh;
    min-height: 100svh;
}

.bg1 {
    background: #1F97D4;
    position: fixed;
    left: 0px;
    top: 0px;
    bottom: 0px;
    z-index: 1;
}

.bg1_img {
    height: 100svh;
    width: 100%;
    aspect-ratio: initial;
    position: absolute;
    bottom: 0;
    right: 0;
    object-fit: cover;
}

.bg2_img {
    height: 100%;
    width: auto;
    aspect-ratio: initial;
    position: absolute;
    bottom: 0;
    left: 0;
}

.cinquenta {
    width: 60%;
    min-height: 100vh;
    min-height: 100svh;
    z-index: 10;
}

.caixa {
    width: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 20px 40px;
    /*margin-top: 70px;*/
    animation: fade-in-bottom 0.5s ease-out both;
}

#titulo-inscricao {
    animation: fade-in-bottom 1s ease-out both;
    position: relative;
}

.sucesso {
    display: none;
}

form {
    display: flex;
    flex-direction: column;
    padding: 0px 40px;
}

#mensagem-erro {
    display: none;
    font-size: 1.2em;
    font-weight: 600;
    color: red;
    text-align: center;
}

#mensagem-erro.mostrar {
    display: block;
}

.vouncher_valido {
    font-size: 2.5em;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin: 0;
}

label {
    display: block;
    color: #fff;
    padding: 8px 0px;
    font-weight: 500;
    width: 100%;
}

.full {
    width: 100%;
}

.metade {
    width: 50%;
}

.metade-esquerda {
    width: 50%;
    margin-right: 3%;
}

.caixa_checkbox {
    padding: 12px 0px 0px 0px;
    animation: fade-in-bottom 1s ease-out both;
}

.linha {
    display: flex;
    flex-direction: row;
    animation: fade-in-bottom 1s ease-out both;
    gap: 0px 20px;
}

.inline {
    display: inline;
    width: fit-content;
}

.campo {
    width: 100%;
    overflow: hidden;
}

#logos {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 100px auto 20px;
}

.centro {
    text-align: center;
}

.logo {
    max-width: 64px;
    /*filter: brightness(3.5);*/
    animation: girarDesfocarEscalar 1.25s ease-in-out forwards;
}

.logo_texto {
    padding-left: 20px;
    max-width: 200px;
    /*filter: brightness(3.5);*/
    animation: DesfocarEscalar 1.25s ease-in-out forwards;
}

.logo_rodape {
    max-height: 60px;
    /*margin-top: 20px;*/
    filter: brightness(3.5);
    padding: 40px;
}

input, select {
    padding: 12px 10px;
    border-radius: 5px;
    font-size: 1.15em;
    /* border: 1px solid white; */
    width: calc(100% - 24px);
    border-width: 0px;
    border-color: #ffffff;
}

select {
    width: calc(100% - 4px);
}

#enviar-inscricao, #verificar-inscricao {
    background-color: #fbc412;
    color: white;
    cursor: pointer;
    padding: 16px 8px;
    margin-top: 20px;
    width: 50%;
    align-self: center;
    font-weight: 700;
    animation: fade-in-bottom 1s ease-out both;
    border-radius: 5px;
    font-size: 1.15em;
    border: 0px;
    text-align: center;
}

#enviar-inscricao.processando, #verificar-inscricao.processando {
    background-color: rgb(255 255 255 / 92%);
    color: #52c41a;
    pointer-events: none;
}

#verificar-inscricao.esconder {
    display: none;
}

input::placeholder {
    color: #c0c0c0;
}

img.img_valido {
    width: 250px;
    margin-bottom: 40px;
    margin-top: 20px;
}

input[type='checkbox'] {
    accent-color: #fbc412;
}

#inscricao-container.oculto {
    display: none;
}

#inscricao-confirmada {
    width: -webkit-fill-available;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 20px 40px;
    margin-top: 40px;
    animation: fade-in-bottom 0.5s ease-out both;
}

#inscricao-confirmada.mostrar {
    display: flex;
}

.ocultar {
    display:none;
}

#botao-retornar, #outra-inscricao {
    padding: 16px;
    background: #fbc412;
    border-radius: 4px;
    margin-top: 12px;
    color: #ffffff;
    font-size: 1.25em;
    line-height: 1em;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

#outra-inscricao {
    margin-top: 24px;
    background: #ffffff;
    color: #00c12a;
}

#voltar {
    position: absolute;
    z-index: 999;
    top: 16px;
    left: 16px;
}

#voltar a {
    font-size: 1.05em;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.voltar {
    margin-top: 16px;
    color: #e9e9e9;
    text-decoration: none;
    text-align: center;
    animation: fade-in 1s ease-out 2s both;
}

#formulario-inscricao-completo {
    display: none;
}

#formulario-inscricao-completo.ativo {
    display: flex;
    flex-direction: column;
}

.caixa-cechagem {
    display: flex;
    flex-direction: column;
}

#erro-verificacao {
    text-align: center;
    color: #f00;
    padding-top: 6px;
}

.select2-container {
    width: -webkit-fill-available !important;
}

.select2-container .select2-selection--single {
    height: 46px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 8px 10px !important;
}

label[for='nao_brasileiro'] {
    display: flex;
    flex-direction: row;
    grid-template-columns: 50px 1fr;
    justify-content: flex-start;
}

input#nao_brasileiro {
    width: unset;
}

@keyframes girarDesfocarEscalar {
    0% {
        filter: blur(12px);
        opacity: 0;
        transform: scale(1.10) rotate(0deg);
    }
    100% {
        filter: blur(0);
        opacity: 1;
        transform: scale(1) rotate(360deg);
    }
}

@keyframes DesfocarEscalar {
    0% {
        filter: blur(12px);
        opacity: 0;
        transform: scale(1.10) rotate(0deg);
    }
    100% {
        filter: blur(0);
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes fade-in-bottom {
    0% {
      filter: blur(6)px;
      transform: translateY(100px);
      opacity: 0;
    }
    100% {
      filter: blur(0)px;
      transform: translateY(0);
      opacity: 1;
    }
}

@keyframes fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

@media (min-width: 1025px) and (max-width: 1380px){
    input, select {
        padding: 8px 5px;
        font-size: 1em;
    }

    option {
        font-size: 0.8em;
    }
}

@media (max-width: 1024px) {

    .cinquenta,
    .metade,
    .metade-esquerda {
        width: 100%;
    }

    .bg1 {
        display: none;
    }

    .linha {
        display: flex;
        flex-direction: column;
    }

    h2 {
        font-size: 1.6em;
        text-align: center;
        position: relative;
    }

    input[type=submit] {
        width: 80%;
    }

    .logo {
        max-width: 72px;
        margin-bottom: 0px;
    }

    .logo_texto {
        max-width: 200px;
    }

    .mobile-custom {
        padding: 0px 20px 20px 20px;
    }

    .logo_rodape {
        max-height: 48px;
    }

    input,
    select {
        margin-bottom: 6px;
        padding: 12px 10px;
        font-size: 1.15em;
    }

    .vouncher_valido {
        font-size: 1.6em;
        font-weight: 700;
        color: #ffffff;
        text-align: center;
    }

    .sucesso {
        margin-top: 60px;
    }

    img.img_valido {
        width: 100%;
        margin-bottom: 40px;
        margin-top: 20px;
    }

    #voltar a {
        color: #ffffff;
        font-weight: 500;
    }

    form {
        padding: 16px;
    }


}
