@charset "utf-8";

:root {
    --background: #166454;
    --verde: rgba(21, 125, 21, 0.8);
}

* {
    box-sizing: border-box;
    padding: 0;
    font-family: 'Roboto', 'Calibri', 'Verdana';
}

body {
    background-color: var(--background);
    background-image: url("../img/fundo.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
}

input, select, button {
    height: 30px;
    border-radius: 5px;
    border: 1px solid var(--background);
    padding-inline: 8px;
    outline: 0;
}


input:focus-within, select:focus-within, button:focus-within{
    transition: 0.5 ease;
    border: 2px solid var(--background);
}

label{
    margin: 5px 0;
}

form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    background-color: white;
    /*border: 5px solid var(--verde);*/
    border: 10px solid rgba(255,255,255,1);
    border-radius: 10px;
    width: 50%;
    margin: auto;
    padding: 10px;
}

.logo{
   display: flex;
   justify-content: center;
   align-items: center;
   margin: auto;
   padding: 10px;
   width: 30%;
   text-align: center;
}

.disclaimer{
    text-align: center;
    background-color:  var(--verde);
    color: white;
    padding: 10px;
}

.div-acompanhante,
.div-outra-participacao{
    width: 100%;
    display: none;
}

.div-acompanhante p{
    text-align: center;
}

.confirmar{
    background-color: var(--verde);
    color: white;
    padding: 5px;
    border: none;
}

.confirmar:hover,
.confirmar:active{
    cursor: pointer;
    background-color: rgba(33, 186, 33, 0.9);  
}

.g-recaptcha{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 10px auto;
}

.msg-erro{
    color: red;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    margin: 5px auto;
}

.sucesso{
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    border-radius: 10px;
}

@media screen and (max-width: 1024px) {
    form{
        width: 95%;
    }
    .logo{
        width: 50%;
    }
    .sucesso{
        width: 90%;
    }
}

