@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");

:root {
    --blanco: ;
    --oscuro: #212121;
    --primary-color: #ab192d;
    --form-bg: #fafafa;
    --black-text: #292929;
    --white-text: #f2f2f2;
    --normal-text: 20px;
}

/*css formulario de neighboors*/
/**/

.hero {
    background-image: url(../images/maderaapplebees.jpg);
    position: relative;
    background-position: center;
    background-size: cover;
}

@media (min-height: 960px) {
    .hero {
        width: 70%;
    }
}

h2 {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 12px #303030;
    text-align: center;
    padding-top: 30px;
    margin-bottom: 30px;
    font-size: 20px;
}

.formulario {
    background: rgba(255, 255, 255, 0.53);
    padding: 2rem;
    border-radius: 10px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.formulario legend {
    text-align: center;
    font-size: 1.2rem;
    /*color: var(--primario);*/
    margin-bottom: 2rem;
    display: block;
    text-transform: uppercase;
    font-weight: 700;
}

@media (min-width:768px) {
    .formulario {
        /* max-width: 800px; */
        max-width: 70%;
        margin: 0 auto;
    }
}

@media (min-width:480px) {
    h2 {
        font-size: 35px;
    }
}

@media (min-width: 768px) {
    h2 {
        font-size: 60px;
    }
}

.enviar {
    display: flex;
    justify-content: center;
    width: 100%;
}

.error {
    background-color: rgb(185, 0, 0);
    padding: 1rem .5rem;
    text-align: center;
    color: #ffffff;
}

.correcto {
    background-color: rgb(74, 185, 0);
    padding: 1rem .5rem;
    text-align: center;
    color: #ffffff;
}

/*modal aviso de privacidad*/
.avisoprivicidad-modal-container {
    position: fixed;
    top: -120%;
    left: 0;
    z-index: 10000;
    min-height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, .7);
    display: flex;
    /* align-items: center; */
    justify-content: center;
}

.avisoprivicidad-modal-container.active {
    top: 0;
}

.avisoprivicidad-modal-container .subcambiar {
    margin: 2rem;
    padding: 1.5rem 2rem;
    border-radius: .5rem;
    background: #fff;
    width: 80%;
    position: relative;
}

.avisoprivicidad-modal-container .subcambiar h3 {
    font-size: 3rem;
    color: #444;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem 0;
}

.avisoprivicidad-modal-container .subcambiar .box {
    width: 100%;
    padding: 1rem;
    font-size: 1.7rem;
    color: #333;
    margin: .6rem 0;
    border: .1rem solid rgba(0, 0, 0, .3);
    text-transform: none;
}

.avisoprivicidad-modal-container .subcambiar .btn {
    display: block;
    width: 100%;
}

.avisoprivicidad-modal-container #modal-close {
    position: absolute;
    top: 0;
    right: 1rem;
    font-size: 5rem;
    cursor: pointer;
}

.btn_siguiente {
    display: none;
}

.aviso_privasub {
    overflow-y: scroll;
    height: 400px;
    font-size: 16px;
}

@media(max-width: 1234px) {
    .aviso_privasub {
        height: 300px;
    }
}


/* The Modal (background) */
.modal {
    display: block;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 2;
    /* Sit on top */
    padding-top: 50px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    z-index: 3;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 60%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 10px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: var(--oscuro);
    color: white;
    padding-top: 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    padding: 2px 16px;
    background-color: var(--oscuro);
    color: white;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.col-2 {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-gap: 1rem;
}

.btn_avisaprivacidad {
    margin-left: 5px;
    border: 1px solid rgb(40, 94, 131);
    background-color: rgb(236, 239, 241);
    color: rgb(40, 94, 131);
    padding: 10px;
    width: auto;
    font-size: 16px;
    border-radius: 10px;
}

.btn_avisaprivacidad:hover {
    border: 3px solid #ffffff;
    background-color: rgb(210, 3, 3);
    color: #ffffff;
    border-radius: 10px;
}


/* snipper loading */
.spinner {
    text-align: center;
}

.spinner>div {
    width: 18px;
    height: 18px;
    background-color: #a80e26;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.strap-module {
    background-color: #ab192d;
    padding: 15px 30px;
    text-align: center;
    font-size: 1.5rem;
}

.strap-text {
    color: #fff;
    font-size: 1em;
    font-weight: 600;
    margin: 0;
}

@-webkit-keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0)
    }

    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}