:root{
    --Color-Rojo:#ed1c27;
    --Color-Rojo-Oscuro:#c2161f;
    --Color-Blanco: #ffffff;
    --Color-Negro:#585858;
    --Color-Gris: #F4F4F4;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'myriad-pro-condensed', sans-serif;
    color: var(--Color-Negro);
    scroll-behavior: smooth;
}

.legal{
    position: absolute;
    top: 100px;
    right: 10px;
    width: 15px;
    z-index: 3;
}

.lemotive{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 8%;
}

.w-100{
    width: 100%;
}

/* MOSTRAR Y OCULTAR */
.ocultar{
    display: none;
}
.ver{
    display: block;
}
/* END MOSTRAR Y OCULTAR */

.home{
    background-image: url(../img/8IRlC-4da68c25-5f6a-4004-b729-491f00b6a49e_240116-background.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 20px;
}

.home .titular{
    margin-top: 50px;    
}

.home .titular h1{
    font-size: 2.2rem; 
}

.home .titular h1 span{
    font-size: 3rem;
}
.home .titular h1 span b{
    color: var(--Color-Rojo);
    font-style: italic;
}

.home .titular img{
    padding: 5px 0px;
    width: 50%;
}

.home .imagen{
    padding: 0px;
}

.home .imagen img{
    margin-top: -270px;
    padding: 0px;
}

/* boton */

.espacioBoton{
    position: relative;
    display: block;
}
.botonCirculo{
    position: absolute;
    bottom: 0px;
    right: 50%;
}

.circle-button{
    position: absolute;
    right: -60px;
    bottom: 130px;
}
#circ{
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    animation: spin 14s linear infinite;
    color: var(--Color-Rojo);
}
@keyframes spin{
    100%{
        transform: rotate(-360deg);
    }
}
.btn-circle{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background: var(--Color-Rojo);
    top: 22%;
    right: -51px;
    border-radius: 50%;
    transition: 0.5s all;
    margin: 0 auto;
    color: var(--Color-Blanco);
    font-size: 1.5rem;
}
.btn-circle:hover{
    cursor: pointer;
    transform: scale(1.2, 1.2);
    background: var(--Color-Blanco);
    border: 1px solid var(--Color-Rojo);
    color: var(--Color-Rojo);
    font-size: 2rem;
}
/* End circle button */

.datos{
    border-radius: 90px 90px 0px 0px;
    margin-top: -80px;
    background-color: #fafafa;
    box-shadow: 0px 4px 10px rgba(172, 172, 172, 0.2);
    padding-bottom: 50px;
    z-index: 10px;
}

.datos h2{
    border-radius: 90px 90px 0px 0px;
    padding: 50px 50px 0px 50px;
    text-align: center;
    background-color: #fafafa;
}

.datos .new-text h3{
    font-size: 25px;
    margin-bottom: 50px;
    padding-top: 20px !important;
    margin-top: 0px !important;
}

.datos .new-text h3 strong{
    font-size: 30px;
    color: #ed1c27;
    line-height: 35px;
}
.datos .new-text h3 a{
    font-size: 25px;
    font-style: italic;
    color: var(--Color-Negro);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

.datos .addCompra img{
    margin: 30px 0px;
    width: 30%;
    filter: drop-shadow(0px 5px 5px rgb(161, 161, 161));
}

.datos .formulario .btnNuevaCompra{
    display: flex;
    justify-content: center;
}

.datos .formulario .btnNuevaCompra button{
    background-color: #f7f7f7;
    border: 1px solid var(--Color-Blanco);
    padding: 5px 30px;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-radius: 20px;
    box-shadow: 0px 2px 5px rgba(161, 161, 161, 0.427);
}

.datos .formulario .btnNuevaCompra button:hover{
    background-color: #ebebeb;
    transform: scale(1.1,1.1);
}

.bi-plus-circle::before {
    margin-right: 5px;
    color: var(--Color-Rojo);
}

.datos .formulario .btnForm{
    display: flex;
    justify-content: center;
}

.datos .formulario .btnForm .btnEnviar{
    margin-top: 10px;
    background-color: var(--Color-Rojo);
    font-size: 1.5rem;
    color: var(--Color-Blanco);
    padding: 5px 80px;
    border-radius: 50px;
}

.datos .formulario .btnForm .btnEnviar:hover{
    cursor: pointer;
    background-color: var(--Color-Rojo-Oscuro);
}

.datos h3{
    text-align: center;
    margin-top: 40px;
    font-size: 1.2rem;
    line-height: 1.6rem;
}

.datos h3 span{
    text-align: center;
    margin-top: 30px;
    font-weight: bold;
    font-size: 1.3rem;
}

.datos h4{
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 1.8rem;
}

.datos h4 a{
    color: var(--Color-Rojo);
    text-decoration: none;
}

.datos h4 a:hover{
    color: var(--Color-Rojo-Oscuro);
    text-decoration: underline;
}

/* FOOTER */
footer{
    background-color: #e6e6e6;
}
footer .legales{
    padding-top: 30px;
}
footer img{
    padding-top: 10px;
    margin-bottom: 30px;
}

/* MODAL */
.modal-header{
    display: flex;
    justify-content: center;
}
.modal-header img{
    width: 50%;
}
.modal-body{
    padding: 30px 0px;
}
.modal-body h4{
    text-align: center;
    font-weight: bold;
    font-style: italic;
    color: var(--Color-Rojo);
    margin-bottom: 30px;
}
.modal-body h5{
    background-color: var(--Color-Rojo);
    text-align: center;
    font-weight: bold;
    color: var(--Color-Blanco);
    margin-bottom: 10px;
    padding: 5px 0px;
    margin: 0px 50px 20px 50px;
    border-radius: 10px;
}
.modal-body .tablas{
    margin: 0px 50px 30px 50px;
    border-radius: 10px;
}
.modal-footer{
    display: flex;
    justify-content: center;
}
.modal-footer .btnAceptar{
    background-color: var(--Color-Rojo);
    color: var(--Color-Blanco);
    padding: 5px 50px;
    border-radius: 20px;
}
.modal-footer .btnAceptar:hover{
    background-color: var(--Color-Rojo-Oscuro);
}
.modal-footer .btnCancelar{
    background-color: var(--Color-Blanco);
    color: var(--Color-Rojo);
    border: 1px solid var(--Color-Rojo);
    padding: 5px 50px;
    border-radius: 20px;
}
.modal-footer .btnCancelar:hover{
    background-color: var(--Color-Gris);
}



@media (max-width: 1200px) { 
    .home .imagen img{
        margin-top: -200px;
        padding: 0px;
    }

    .botonCirculo{
        position: absolute;
        bottom: -50px;
        right: 60%;
    }

    .datos{
        border-radius: 90px 90px 0px 0px;
        margin-top: -50px;
        background-color: #fafafa;
        box-shadow: 0px 4px 10px rgba(172, 172, 172, 0.2);
        padding-bottom: 50px;
        z-index: 10px;
    }
}


@media (max-width: 768px){
    .lemotive{
        position: absolute;
        top: 0px;
        left: 0px;
        width: 12%;
    }

    .home .titular h1{
        font-size: 2rem; 
    }
    
    .home .titular h1 span{
        font-size: 2.5rem;
    }

    .home .titular img{
        padding: 5px 0px;
        width:80%;
    }

    .home .imagen img{
        margin-top: -150px;
        padding: 0px;
    }

    .botonCirculo{
        position: absolute;
        bottom: -40%;
        right: 70%;
    }

    .datos{
        margin-top: -20px;
    }

    .datos h2{
        font-size: 1.7rem;
    }
}


@media (max-width: 425px){
    .lemotive{
        position: absolute;
        top: 0px;
        left: 0px;
        width: 20%;
    }

    .home .titular h1{
        font-size: 1.6rem; 
    }
    
    .home .titular h1 span{
        font-size: 1.8rem;
    }

    .home .imagen img{
        margin-top: 0px;
        padding: 0px;
    }

    .espacioBoton{
        position: relative;
        display: none;
    }

    .datos{
        margin-right: auto;
        border-radius: 30px 30px 0px 0px;
    }

    .datos h2{
        font-size: 1.3rem;
        padding: 30px 5px 0px 5px;
        border-radius: 30px 30px 0px 0px;
    }

    .datos .addCompra img{
        width: 60%;
    }

    .datos h3 span{
        text-align: center;
        margin-top: 30px;
        font-weight: bold;
        font-size: 1.2rem;
    }
    
    .datos h4{
        font-size: 1.8rem;
    }

}