@import url('https://fonts.googleapis.com/css2?family=Anton&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    background-color: #fbf5ef;
}

.consuForm {
    width: 100%;
    margin-inline: auto;
    margin-bottom: 5vh;
}

.consuForm label {
    text-align: left;
    color: #47160d;
    font-size: 1.2em;
    font-family: 'Anton';
}

.consuForm a {
    text-decoration: underline;
    color: #47160d;
}

.form-check label {
    font-family: 'Montserrat';
}

.privacidad {
    padding-top: 1%;
    margin-bottom: 0.8em;
}


.consuForm input[type=text], input[type=email] {
    border-radius: 6px;
    width: 100%;
    font-size: 1em;
    padding: 0.5em;
    font-family: 'Montserrat';
    margin: 0.6em 0;
}

.consuForm button, .myButton {
    font-family: 'Anton';
    color: #fff9e6;
    background-color: #cb4a21;
    border: 1px solid #47160d;
    border-radius: 4px;
    width: 100%;
    font-size: 1.6em;
    cursor: pointer;
    height: 2.5em;
    overflow: hidden;
    transition: all 0.25s ease-in-out;
}

.consuForm button:hover, .myButton:hover {
    transform: scale(1.1);
}

.news {
    padding-top: 0%;
    padding-bottom: 3%;
}

.enviar {
    margin: 0 auto;
    width: 210px;
    position: relative;
    margin-top: 2em;
}

#formulario{
    width: 40%;
    margin: 0 auto;
}
.logo {
    width: 45%;
    margin-top: 5%;
}
.volver-button {
    text-align: center;
    margin-bottom: 4.8em;
    margin-top: 6em;
}
.volver-button a{
    display: block;
    width: 100%;
    height: 100%;
}
.myButton{
    width:12%;
    border:0;
}

.decoL {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-132%, -30%);
    width: 200px;
    height: 200px;
    z-index: -1;
}

.decoR {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(20%, -30%);
    width: 200px;
    height: 200px;
    z-index: -1;
}

.decoL img, .decoR img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Mensaje ya registrado en el formulario */

.mensajeRegistrado {
    text-align: center;
    padding: 10vh;
}

.mensajeRegistrado p {
    font-family: 'Anton';
    font-size: 1.6em;
    font-weight: 400;
    color: #47160d;
    margin: 0;
    margin-bottom: 4vh;
}

.mensajeRegistrado a {
    font-family: 'Anton';
    color: #fff9e6;
    background-color: #cb4a21;
    border: 1px solid #47160d;
    border-radius: 4px;
    width: 280px;
    font-size: 1.6em;
    cursor: pointer;
    height: 2.5em;
    overflow: hidden;
    transition: all 0.25s ease-in-out;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.mensajeRegistrado a:hover {
    transform: scale(1.1);
}

@media only screen and (min-width:1100px) and (max-width:1600px){
    #formulario {
        width: 50%;
        margin: 0 auto;
    }
    button.myButton {
        width: 20%;
    }
    .volver-button {
        text-align: center;
        margin-bottom: 4.8em;
        margin-top: 4em;
    }
}

@media only screen and (min-width:500px) and (max-width:1100px){
    #formulario {
        width: 60%;
        margin: 0 auto;
    }
    .consuForm label {
        font-size: 1.1em;
    }
    .form-check-input{
        margin-bottom:0!important;
    }
    button#validarN {
        margin: 1em 0;
    }
    .form-group {
        margin-bottom: 0.7em;
    }
    h1{
        font-size: 1.7em!important;
        width: 80%;
        margin-inline: auto;
    }
    button.myButton {
        width: 30%;
    }
}

@media only screen and (max-width:500px){
    #formulario {
        width: 70%;
        margin: 0 auto;
        text-align:left;
    }
    .form-group {
        margin-bottom: 0.5em;
    }
    .consuForm input[type=text], input[type=tel], input[type=email] {
        font-size: 0.9em;
        padding: 0.4em;
        font-family: 'Montserrat';
        margin: 0.6em 0;
    }
    .form-check {
        text-align: left;
        font-size: 0.6em;
    }
    .form-check-input {
        margin-bottom: 0 !important;
        vertical-align: sub;
        width:12px;
    }
    .privacidad{
        margin-bottom:1em;
    }
    .enviar {
        margin-top: 1.1em;
        margin-bottom: 2em;
        width: 150px;
    }
    .consuForm button{
        width: 100%;
        font-size:1.2em;
        padding:0.4em;
    }
    h1 {
        width: 80%;
        margin-inline: auto;
        font-size: 1.4em!important;
    }
    .volver-button {
        text-align: center;
        margin-bottom: 3.8em;
        margin-top: 3.7em;
    }
    .myButton {
        width: 42%;
        border: 0;
    }
    .decoL, .decoR {
        width: 125px;
        height: 125px;
    }
    .mensajeRegistrado {
        padding-left: 2%;
        padding-right: 2%;
    }
    .mensajeRegistrado p {
        font-size: 1.4em;
    }
    .mensajeRegistrado a {
        font-size: 1.4em;
        width: 250px;
    }
}