* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: relative;
    z-index: -2;
}
.background{
    position: absolute;
    z-index: -10;
    width: 100%;
    height: 100vh;
}
.background-responsive {
    display: none;
}
header{
    /* background-image: url("../IMG/ct4.png");
    background-position: center;
    background-repeat: repeat;
    background-size: cover; */
    height: calc(1rem + 10vw);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3vw;
    margin-top: 8vw;
}

@keyframes spin{
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
}


#form {
    bottom: -5%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: #030D2F;
    padding: 15px;
    width: 28rem;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 10px;
    position: relative;

    /* Sombrinha aplicada aqui */
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}


@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

#form::after,
#form::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(from var(--angle), transparent 70%, rgb(171, 154, 8), #eded23, #FFBA42 );
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    border-radius: 10px;
    padding: 4px;
    animation: 6s spin linear infinite;
}

#form::before {
    filter: blur(1.5rem);
    opacity: 0.5;
}


h1 {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: #FFBA42;
    margin-bottom: 1rem;
    font-size: 2rem;
}

label {
    display: flex;
    flex-direction: column;
    color: #fff;
    text-align: left;
    margin-top: 10px;
}


.inputR {
    width: 100%;
    padding: 0.4vw;
    margin-top: 5px;
    border: 1px solid #ffd700;
    border-radius: 5px;
    background-color: #030D2F;
    color: rgb(255, 255, 255);
}

#cadastroForm input:-webkit-autofill{
    -webkit-text-fill-color: #fff !important;
    -webkit-box-shadow: 0 0 0px 1000px #030D2F inset !important;
    border: 1px solid #ffd700 !important;
}

.inputL {
    padding: 8px;
    border: 1px solid #ffd700;
    border-radius: 5px;
    background-color: #030D2F;
    color: rgb(255, 255, 255);
}

.botaoRegistrar {
    width: 100%;
    padding: 10px;
    background: linear-gradient(to right, #FFBA42, #dec11c, #b88d22);
    border: none;
    color: #121212;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    border-radius: 5px;
}

.botaoRegistrar:hover {
    background-color: #e6c300;
}

#ft-footer{
    z-index: -2;
}


#mensagem {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    display: none;
    font-weight: bold;
}

#mensagem.erro {
    background: #ffdddd;
    color: #d60000;
    border: 1px solid #d60000;
}

#mensagem.sucesso {
    background: #ddffdd;
    color: #007d00;
    border: 1px solid #007d00;
}


/* ------------responsivity ------------ */
@media screen and (max-width: 1200px) {
    header{
        min-height: calc(50vh + 10rem);
    }
    .background {
        display: none;
    }
    .background-responsive {
        display: block;
        position: absolute;
        width: 100%;
        min-height: calc(50vh + 10rem);
        z-index: -40;
    }
}
@media (max-width: 1024px){
    #form{
        margin-top: 10px;
    }
}
@media (max-width: 768px) {
    #form{
        width: 90vw;
    }
    label{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .inputR{
        flex: 80%;
        padding: 0.9vw;
    }
}
@media(max-width: 500px) {
    header{
        margin-top: 4rem;
        height: calc(1rem + 20vw);
    }
    h1{
        font-size: 1.6rem;
    }
    #form {
        padding: 10px;
        background-color: #030d2fbe;
        width: 90%;
        margin-top: 1vw;
    }

    #cadastroForm label {
        display: block;
        margin-top: 5px;
        font-size: 0.9rem;
        color: white;
    }

    .inputR {
        margin-left: 0;
        width: 100%;
        padding: 8px;
        border: 1px solid #ffd700;
        border-radius: 5px;
        background-color: #030D2F;
        color: #fff;
    }
    #form::after,
    #form::before {
    position: none;
    background-image: none;
}
}
@media (max-width: 400px){
    header{
        margin-top: 4rem;
    }
}