/* Aqui reseteo la pagina en sus estados por defecto del navegador */
*{
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0; 
    font-size: 20px;
    text-decoration: none;
    color: #fff;
}

a{
    color: #fff;
}
ul{
    list-style: none;
}

html{
    scroll-behavior: smooth;
}

/* Whatsapp */
.llamado_accion{
    position: fixed;
    z-index: 100;
    bottom: 20px;
    left: 20px;
    padding: 15px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 0 10px #000a;
}


.llamado_accion i{
    color: #fff;
font-size: 30px;
background-color: #25D366;

}


/* HEADER */
header{
    background-color: #000;
}



/* contacto DE REGISTRO */

#contacto{
    background: linear-gradient(#3b362e, #000);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    margin-top: 115px;
}

.formulario_container{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.formulario_mensaje{
    margin-bottom: 20px;
}

.formulario_mensaje h2{
    color: #f2f4f3;
    font-size: 2.1em;
    line-height: 50px;
    text-align: center;
}

.formulario_mensaje p{
    padding: 0 10px;
    margin-top: 10px;
    color: #8B6220;
    text-align: center;
}

.login-box {
    max-width: 30rem;
    width: 92%;
    margin: auto;
    padding: 40px;
    background: #0008;
    box-shadow: 0 15px 25px rgba(0,0,0,.6);
    border-radius: 10px;
}

.login-box h2 {
    margin: 0 0 30px;
    padding: 0;
    color: #fff;
    text-align: center;
}

.login-box .user-box {
    position: relative;
    display: flex;
    align-items: center;
}

.login-box .user-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #675003;
    outline: none;
    background: transparent;
}

.login-box .user-box input:focus{
    border-bottom: 1px solid #ffc506;
}

.login-box .user-box label {
    position: absolute;
    top:0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    pointer-events: none;
    transition: .5s;
}

.form_row{
    display: flex;
    flex-direction: column;
}

    /* Oculta las flechas de incremento y decremento en campos de tipo "number" */
    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
    input[type="number"] {
        -moz-appearance: textfield; /* Firefox */
    }

.login-box .user-box input:focus ~ label,
.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label {
    top: -20px;
    left: 0;
    color: #ff5100;
    font-size: 12px;
}

.login-box form a {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    color: #8B6220;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition: .5s;
    letter-spacing: 4px;
}

.login-box form button{
    font-weight: bold;
    padding: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    color: transparent;
    background: transparent;
    font-size: 16px;
    margin-top: 40px;
}

.login-box a:hover {
    background: #8B6220;
    color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px #d9ff009d,
                0 0 25px #8B6220,
                0 0 50px #8B6220;
}

textarea{
    width: 100%;
    font-size: 16px;
    color: #fff;
    padding: 5px;
    border: 1px solid #675003;
    outline: none;
    background: transparent;
    resize: none;
}

textarea::placeholder{
    color: #D7CDCC;
    font-size: .9em;
    opacity: .5;
    transition: border .5s ease;
}

textarea:focus{
    border: 1px solid #ffc506;
}


.login-box a span {
    position: absolute;
    display: block;
}

.login-box a span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8B6220);
    animation: btn-anim1 1s linear infinite;
}

@keyframes btn-anim1 {
    0% {
        left: -100%;
    }
    50%,100% {
        left: 100%;
    }
}

.login-box a span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #8B6220);
    animation: btn-anim2 1s linear infinite;
    animation-delay: .25s
}

@keyframes btn-anim2 {
    0% {
        top: -100%;
    }
    50%,100% {
        top: 100%;
    }
}

.login-box a span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #8B6220);
    animation: btn-anim3 1s linear infinite;
    animation-delay: .5s
}

@keyframes btn-anim3 {
    0% {
        right: -100%;
    }
    50%,100% {
        right: 100%;
    }
}

.login-box a span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #8B6220);
    animation: btn-anim4 1s linear infinite;
    animation-delay: .75s
}

@keyframes btn-anim4 {
    0% {
        bottom: -100%;
    }
    50%,100% {
        bottom: 100%;
    }
}





/* Footer */
footer{
    background-color: #000;
}


@media (min-width: 700px){
    /* Formulario */

    .formulario_container{
        flex-direction: row;
        justify-content: space-around;
    }

    .formulario_mensaje{
        margin: 0 20px;
        width: 60%;
    }

    .login-box {
        width: 60%;
    }

    .formulario_mensaje{
        font-size: 2em;
    }
    
    .formulario_mensaje h2{
        margin-bottom: 1rem;
        line-height: 70px;
    }

}