body {
    background-color: #f0f0f0;
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
}

.container-main img{
    height: auto;
    width: 40%;
    margin-left: 75%;
    margin-top: -26%;
}


.mb-3-margin-recaptcha{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.recaptcha{
    width: 100px;
    height: 40px;
    background-color: rgb(0, 255, 98);
    margin-bottom: 1rem;
}


.container-main h3{
    border-bottom: 2rem solid rgb(25, 82, 148);
    border-right: 2rem solid transparent;
    height: 2rem;
    width: 20rem;
    display: flex;
    justify-content: center;
    color: #ffffff;
}

.navbar-custom {
    background: rgb(46,104,176);
    background: linear-gradient(90deg, rgba(46,104,176,1) 0%, rgba(22,59,107,1) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

/* Animação */
@keyframes fadeInSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-custom h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 5px;
    text-shadow: 10px 10px 3px #0000002d;
    opacity: 0;
    animation: fadeInSlideDown 2s ease forwards;
    transition: color 0.3s ease, transform 0.3s ease; 
}

.navbar-custom h1:hover {
    color: #ffffff; /* Cor de brilho */
    text-shadow: 0 0 2.5px #ffffff, 0 0 5px #ffffff, 0 0 7.5px #ffffff;
    transform: scale(1.1); /* Leve aumento ao passar o mouse */
}


.navbar-l1{
    width: 100%;
    height: 1rem;
    background-color: rgb(135, 164, 201);
    margin-top: 1rem;
}

.navbar-custom h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 5px;
    text-shadow: 10px 10px 3px #0000002d;
}

.container-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.card-custom {
    background-color: #ffffff;
    padding: 2rem 0px;
    border-radius: 25px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 50rem;
    width: 100%;
}

.mb-3-margin{
    margin-left: 7rem;
    margin-right: 7rem;
    margin-bottom: 1rem;
}

.form-label {
    font-weight: bold;
    text-align: left;
    display: block;
}

.form-label {
    font-size: 1.2rem;
}

.btn-voltar {
    background-color: #F7B96B; 
    width: 10rem;
    border: none; 
    color: white; 
    padding: 10px 20px;
    text-align: center; 
    text-decoration: none; 
    display: inline-block; 
    font-size: 1.2rem; 
    border-radius: 10px; 
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.2); 
    cursor: pointer; /* Cursor de mão ao passar o mouse */
}

.btn-registrar {
    position: relative; /* Necessário para o pseudo-elemento */
    overflow: hidden; /* Para garantir que o efeito não ultrapasse as bordas do botão */
    background-color: #1f467a; 
    border: 1px solid #1f467a;
    width: 10rem; 
    color: white; 
    padding: 10px 20px; 
    text-align: center; 
    text-decoration: none; 
    display: inline-block; 
    font-size: 1.2rem; 
    border-radius: 10px; 
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.2); /* Sombra inicial do botão */
    cursor: pointer; /* Cursor de mão ao passar o mouse */
    position: relative;
    overflow: hidden; /* Para garantir que o efeito não ultrapasse as bordas do botão */
    z-index: 1; /* Garante que o botão fique acima do pseudo-elemento */
}

.btn-registrar:before {
    content: "";
    background: white; /* Cor final do fundo */
    position: absolute;
    z-index: -1; /* Coloca o pseudo-elemento atrás do botão */
    left: -50%; /* Ajusta a posição para cobrir o botão */
    right: -50%; /* Ajusta a posição para cobrir o botão */
    top: 0;
    bottom: 0;
    transform: skewX(-45deg) scaleX(0); /* Inicia com o efeito escondido */
    transition: transform 0.5s, box-shadow 0.5s; /* Transição suave para a expansão e sombra */
    box-shadow: 0 0 0 rgba(31, 70, 122, 0.5); /* Sombra azul inicial */
}

.btn-registrar:hover:before {
    transform: skewX(-45deg) scaleX(1); /* Expande o fundo ao passar o mouse */
    box-shadow: 0 0 10px rgba(31, 70, 122, 0.5); /* Sombra azul expandida ao passar o mouse */
}

.btn-registrar:hover {
    color: black; /* Texto preto ao passar o mouse */
    font-weight: 500;
    opacity: 0.9; /* Leve efeito de opacidade ao passar o mouse */
}

.btn-voltar, .btn-registrar {
    cursor: pointer; /* Cursor de mão */
    transition: transform 0.1s ease, box-shadow 0.1s ease; /* Transição suave */
}



/* Efeito de pressionar ao clicar */
.btn-voltar:active, .btn-registrar:active {
    transform: scale(0.95); /* Reduz o tamanho do botão em 5% */
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2); /* Sombra menor */
}


#robotCheck + label {
    text-align: left;
}




@media (min-width: 2400px){
    .card-custom {
        background-color: #ffffff;
        padding: 5rem 0px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        max-width: 70rem;
        width: 100%;
    }

    .form-label {
        font-size: 24px;
    }

    .container-main img{
        height: auto;
        width: 40%;
        margin-left: 65%;
        margin-top: -26%;
    }
}

@media (max-width: 1200px){
    .container-main img{
        height: auto;
        width: 40%;
        margin-left: 65%;
        margin-top: -26%;
    }
}


@media (max-width: 900px){
    .container-main img{
        height: auto;
        width: 40%;
        margin-left: 60%;
        margin-top: -26%;
    }
}

@media (min-width: 800px){
    .container-main img:hover{
        transform: rotate(15deg);
        transition: transform 0.5s, margin-top 0.5s;
        margin-top: -22%;
    }
    .container-main img {
        transition: transform 0.5s, margin-top 0.5s; /* Transição suave para ambos os estados */
    }
    
}

@media (max-width: 768px) {
    .card-custom {
        background-color: transparent ;
        padding: 2rem 0px;
        border-radius: 25px;
        box-shadow:  0px 4px 6px transparent; 
        max-width: 50rem;
        width: 100%;
    }
    .card-custom {
        margin: 0 15px;
    }

    .navbar-custom h1 {
        font-size: 18px;
    }

    form h3 {
        font-size: 16px;
    }

    .btn {
        width: 45%;
    }

    .mb-3-margin{
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .container-main img{
        height: auto;
        width: 20%;
        margin-left: 75%;
        margin-top: -26%;
    }

    .container-main img:hover{
        transform: rotate(15deg);
        transition: transform 0.5s;
    }

    .container-main img {
        transition: transform 0.5s, margin-top 0.5s; /* Transição suave para ambos os estados */
    }
}


@media (max-width: 400px){
    .card-custom {
        background-color: transparent ;
        padding: 2rem 0px;
        border-radius: 25px;
        box-shadow:  0px 4px 6px transparent; 
        max-width: 50rem;
        width: 100%;
    }

    .logo-img{
        width: 100%;
        height: auto;
        display: flex;
        margin-bottom: 1rem;
    }

    .container-main img{
        height: auto;
        width: 20%;
        margin: auto;
        
    }

}

