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

:root{
    --primary: #fff;
    --primartransparent: #121525e8;
    --cards: #15192c;
    --gris: #636363;
    --secondary: #4abcc5;
    --botons: #034078;
    --info: #873fe9;
    --blanco: #f1f5f9;
    --optional: #fff;
    --bg: #000000e7;
    --bgbody: #1282a2;
    --prueba: #2d669a;
}

html {
    font-size: 62.5%;
    background: var(--primary);
    scroll-behavior: smooth;
    user-select: none;
}
  
body{
    font-family: 'Poppins', sans-serif;
}

h3{
    font-size: 2.3rem;
    font-weight: 700;
    margin: 20px;
    text-align: center;
    color: var(--secondary);
}
@media (max-width:768px) {
    h3{
        font-size: 2rem;
    }
}
p{
    font-size: 1.4rem;
    font-weight: 300;
    text-align: center;
    line-height: 1.5;
    color: var(--gris);
}
@media (min-width: 768px){
    p{
        font-size: 1.4rem;
    }
}
a{
    outline: none;
    text-decoration: none;
}

.contenedor{
    margin: 150px 20px;
}

.contenedor_primary{
    margin: 40px 20px;
}

/* -------  HEADER -------  */

.contenedor-nav .contenedor-logo{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    height: 60px;
    background-color: var(--primary);
    z-index: 10;
}

.logotipo{
    width: 10%;
    margin-left: 10px;
    z-index: 10;
}

.text-soynico{
    color: var(--gris);
    font-size: 25px;
    font-weight: 900;
    line-height: 0;
    margin: 0;
    z-index: 1;
}
@media(min-width: 768px){
    .contenedor-nav .contenedor-logo{
        width: auto;
    }
    .text-soynico{
        font-size: 40px;
    }
}

.contenedor-nav .icon{
    position: absolute;
    top: 10px;
    right: 10px;
    outline: none;
    z-index: 10;
}

@media  (min-width: 768px) {
    .contenedor-nav .icon{
        display: none;
    }
}

.contenedor-nav{
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    padding-bottom: 12px;
    top: 0;
    right: 0;
}

.navegacion-principal{
    background-color: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    top: -500px;
    opacity: 0;
    right: 0;
    padding-top: 8rem;
    padding-bottom: 2.5rem;
    width: 100%;
    height: auto;
    transition-property: all;
    transition-duration: .5s;
    transition-timing-function: ease-in-out;
    z-index: 0;
    -webkit-box-shadow: 0px 3px 20px -7px rgba(107,106,107,1);
    -moz-box-shadow: 0px 3px 20px -7px rgba(107,106,107,1);
    box-shadow: 0px 3px 20px -7px rgba(107,106,107,1);
}

.navegacion-principal.active{
    opacity: 1;
    top: 0;
}

.navegacion-principal .inicio{
    display: block;
}



@media (min-width: 768px){
    .logotipo{
        width: 80px;
    }
    .contenedor-nav{
        position: absolute;
        top: 0;
        left: 0;
        flex-direction: row;
        padding: 0;
        padding: 0;
        background-color: transparent;
        box-shadow: none;
    }
    .navegacion-principal .inicio{
        display: none;
    }
    .navegacion-principal{
        position: static;
        flex-direction: row;
        background-color: transparent;
        padding: 10px 40px;
        height: auto;
        opacity: 1;
        justify-content: flex-end;
        box-shadow: none;
        gap: 30px;
        z-index: 0;
    }
}

.navegacion-principal a{
    text-decoration: none;
    color: var(--gris);
    font-size: 1.8rem;
    font-weight: 200;
    cursor: pointer;
    margin: 0;
    padding: 2rem 0;
    width: 100%;
    text-align: center;
    z-index: 0;
}
@media (min-width: 768px){

    .navegacion-principal a{
        color: var(--gris);
        width: auto;
        text-align: end;
        border: none;
        font-size: 2rem;
        font-weight: 900;
    }
}
.navegacion-principal a:hover{
    color: var(--secondary);
}

.hero{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 90vh;
    padding: 17rem 0 0 0;
    position: relative;
}

.hero .text-hello{
    color: var(--gris);
    text-align: left;
    font-size: 30px;
    font-weight: 800;
    margin: 0;
}

@media (min-width: 768px){
    .hero{
        background-position: top;
        height: auto;
        padding-top: 20rem;
    }
    .hero .text-hello{
        text-align: center;
    }
}
.glitch{
    font-size: 45px;
    font-weight: 900;
    background: -webkit-linear-gradient(var(--secondary), #144175);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (min-width: 768px){
    .glitch{
        font-size: 70px;
    }
}
.entrada{
    animation-name: entrada;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
}
@keyframes entrada{
    0%{opacity: 0; transform: translateX(-60px);}
    60%{opacity: 0;}
    100%{opacity: 1;transform: translateX(0px);}
}

.entrada_1{
    animation-name: entrada;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
}
@keyframes entrada{
    0%{opacity: 0; transform: translateX(-60px);}
    60%{opacity: 0;}
    100%{opacity: 1;transform: translateX(0px);}
}

.entrada_2{
    animation-name: entrada;
    animation-duration: 2.5s;
    animation-timing-function: ease-in-out;
}
@keyframes entrada{
    0%{opacity: 0; transform: translateX(-60px);}
    60%{opacity: 0;}
    100%{opacity: 1;transform: translateX(0px);}
}

.entrada_3{
    animation-name: entrada;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
}
@keyframes entrada{
    0%{opacity: 0; transform: translateX(-60px);}
    60%{opacity: 0;}
    100%{opacity: 1;transform: translateX(0px);}
}

.entrada_4{
    animation-name: entrada;
    animation-duration: 3.5s;
    animation-timing-function: ease-in-out;
}
@keyframes entrada{
    0%{opacity: 0; transform: translateX(-60px);}
    60%{opacity: 0;}
    100%{opacity: 1;transform: translateX(0px);}
}

.entrada_5{
    animation-name: entrada;
    animation-duration: 4s;
    animation-timing-function: ease-in-out;
}
@keyframes entrada{
    0%{opacity: 0; transform: translateX(-60px);}
    60%{opacity: 0;}
    100%{opacity: 1;transform: translateX(0px);}
}

/* .entrada_enlace{
    animation-name: entrada_e;
    animation-duration: .8s;
    animation-timing-function: ease-in-out;
}
@keyframes entrada_e{
    0%{opacity: 0; transform: translateY(-60px);}
    60%{opacity: 0;}
    100%{opacity: 1;transform: translateY(0px);}
} */
.down{
    animation-name: downy;
    animation-duration: .5s;
    animation-timing-function: ease-in-out;
}
@keyframes downy{
    0%{
        opacity: 0;
        transform: translateY(-60px);
    }
    60%{
        opacity: 0;
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}

.hero .subtitle{
    color: var(--gris);
    text-align: left;
    font-size: 30px;
    font-weight: 800;
    text-decoration: none;
    line-height: 5px;
}

.hero .text-hero{
    color: var(--gris);
    text-align: left;
    font-size: 1.4rem;
    font-weight: 300;
    margin: 0;
}
@media (min-width:768px){
    .hero .text-hero{
        text-align: center;
        margin-top: 15px;
        font-size: 1.4rem;
    }
}
.contenido-hero{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    padding: 0 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px){
    .hero .subtitle{
        text-align: center;
    }
}

.hero .contenedor__rrss{
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    margin: 5px auto 3rem 20px ;
    gap: 8px;
}

.btn-primary {
    /* background-color: var(--secondary); */
    background-image: linear-gradient(to top, #144175 0%, var(--secondary) 100%);
    color: var(--blanco);
    border: 1px solid #c9c9c9;
    font-size: 1.4rem;
    padding: 10px 25px;
    letter-spacing: 0.06em;
    position: relative;
    font-weight: 400;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    margin: 0 auto 7rem 20px;
    text-align: center;
    line-height: 1.4em;
    box-shadow: 3px 3px 10px #e6e6e6;
}


@media(min-width:768px){
    .hero .contenedor__rrss{
        display: none;
    }
}

.btn-secundary{
    align-items: center;
    background-color: transparent;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    text-transform: uppercase;
    outline: 0;
    border: 2px solid var(--gris);
    border-radius: 30px;
    padding: 7px 50px;
    transition: all .3s ease-in-out;
}

.btn-secundary:hover{
    background-color: var(--secondary);
    color: var(--blanco);
    transition: all .3s ease-in;
}

.hero .arrowdown{
    margin-top: 30px;
    animation: down 1.3s infinite ease-in-out;
}

@keyframes down{
    0%{transform: translateY(0) ;}
    30%{transform: translateY(7px);}
    100%{transform: translateY(0) ;}
}

@media (min-width: 768px){
    .btn-primary{
        width: 250px;
        margin: 20px auto;
        z-index: 100;
    }
}
.animationham{opacity: 1;}
.animationx{opacity: 0;}

.up{
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 100;
    width: 20px;
    height: 20px;
    bottom: 20px;
    right: -45px;
    background-image: linear-gradient(15deg, #144175 0%, var(--secondary) 100%);
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.up svg{
    width: 33px;
    height: 33px;
    margin: 0 auto;
}
.up.active{ right: 20px;}

.contenImg{
    display: flex;
    align-items: center;
    justify-content: center;
}

.subtitulo-seccion{
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    color: var(--gris);
}


/* --------Codigo cards SERVICIOS ------ */

.contenedor-cards{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 5rem;
}

.texto__servicios{
    color: var(--gris);
    text-align: justify; 
    margin: 40px auto;
}

@media(min-width:768px){
    .contenedor-cards{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: flex-start;
    }
    .texto__servicios{
        width: 50%;
        margin: 5rem auto;
    }
}
.flip-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 1.5rem 1.5rem 3rem 1.5rem;
    border-radius: 10px;
    width: 90%;
    box-shadow: 2px 2px 9px #dadada;
    transition: all .4s ease-in-out;
    z-index: 1;
}

.card-text{
    display: block;
    /* margin-top: -100%; */
    /* opacity: 0; */
    margin: 0 auto;
    background-color: var(--primary);
    transition: all .4s ease-in-out;
    z-index: -1;
}

@media(min-width:768px){
    .flip-card{
        width: 30%;
        height: 410px;
    }
}

@media(min-width: 960px){
    .flip-card{
        width: 20%;
    }
}

.flip-card .title-card{
font-weight: 900;
font-size: 2rem;
text-align: center;
color: var(--secondary);
}

@media (min-width: 768px){
    .flip-card .title-card{
        font-size: 23px;
    }
}
  
.flip-card img{
margin: 2rem auto ;
}

@media(max-width:300px){
    .contenedor-cards{
        gap: 70px;
    }
    .flip-card {
        margin-bottom: 60px;
    }
}

.flip-card .icon{
margin: 0 auto;
}

/* -------SOBRE MI -------- */

.text-sobremi{
    color: #313131;
    text-align: justify;
}
.interior-sobremi{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.text-sobremi::first-letter{
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--secondary);
}
.proyect-text{
    color: #313131;
    font-weight: bold;
}

.sobreMi{
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    background-position: top;
}

@media (min-width: 768px){
    .sobreMi{
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }
}

@media(min-width:768px){
    .interior-sobremi{
        width: 50%;
        margin: 0 auto;
    }
}
.line{
    width: 130px;
    height: 3px;
    background-color: var(--bgbody);
    margin: 0 auto;
}

/*  SECCION SKILLS  */

.gridSkills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 10px;
    margin-top: 5rem;
}
.gridSkills .content-icon{
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all .5s ease-in-out; 
}
.gridSkills .content-icon:hover{
    transform: scale(1.07);
}
.gridSkills .content-icon p {
    color: var(--gris);
    font-size: 1.5rem;
    font-weight: 300;
}
.gridSkills .item{
    width: 80px;
    height: 80px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
}

@media (min-width: 768px){
    .gridSkills {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 20px;
    }

    .gridSkills .item{
        width: 80px;
        height: 80px;
    }
}

/* SECCION PROYECTOS */

@media(min-width:768px){
    .projects{
        padding: 50px;
    } 
}
.projects__grid{
    grid-template-areas: 
        "img1"
        "img2"
        "img3"
        "img4"
        "img5";
        height: auto;
        grid-template-rows: repeat(5, 250px);
        grid-auto-rows: 250px;
        gap: 20px;
        margin-top: 5rem;
}
.projects__title{
    display: block;
    border: 1px solid var(--blanco);
    color: var(--blanco);
    border-radius: 10px;
    margin: 0 auto;
    padding: 10px;
    width: 60%;
    font-size: 1.4rem;
    transition: all .3s ease-in-out;
}
.projects__title:hover{
    background-color: var(--secondary);
    color: white;
}
.projects__item a{
    text-decoration: none;
    cursor: pointer;
}

.projects__description{
    font-size: 13px;
    margin: 10px;
    color: var(--blanco);
}
@media(min-width:768px){
    .projects__grid{
        display: grid;
        height: 550px;
        grid-template-areas: 
        "img1 img1 img2 img3"
        "img1 img1 img4 img5";
        gap: 10px;
    }
}
.projects__item{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.projects__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.projects__img_big{
    display: none;
}
.projects .container .hidden{
    display: block;
}
@media(min-width:768px){
    .projects__img_big{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .projects .container .hidden{
        display: none;
    }
}
.projects__item:nth-of-type(1){
    grid-area: img1;
}

.projects__item:nth-of-type(2){
    grid-area: img2;
}

.projects__item:nth-of-type(3){
    grid-area: img3;
}

.projects__item:nth-of-type(4){
    grid-area: img4;
}


.projects__item:nth-of-type(5){
    grid-area: img5;
}

.projects__hover{
    position: absolute;
    background-image: linear-gradient(to top, #141414e3 0%, #414141de 100%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 7px;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: scale(0);
    opacity: 0;
    transition: all .4s ease-in-out;
}

.projects__item:hover .projects__hover{
    opacity: 1;
    transform: scale(1);
}

.projects__icon{
    margin-top: 10px;
    font-size: 30px;
}


.imagencelular{
    position: relative;
    width: 240px;
    overflow: scroll;
    perspective: 1000;
    filter: drop-shadow(.5px .5px 5px #c9c9c9);
}

.contenImg{
    width: 130px;
    height: 260px;
    position: relative;
    margin: 5rem auto;
    overflow: hidden;
    border-radius: 15px;
    z-index: 10;
    box-shadow: 3px 3px 16px #b4b4b4;
    transform: rotateX(1deg) rotateY(8deg) rotateZ(343deg) skewY(1deg);
}

.img-fondo-celular{
    position: absolute;
    width:121px;
    top: .5rem;
    left: 50%;
    border-radius: 15px;
    transform: translateX(-50%);
    z-index: 1;
    animation: topdown 8s ease-out infinite;
}

.img-celular{
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 280px;
}

@keyframes topdown{
    0%{
        top: 0;
    }
    50%{
        top: -80px;
    }
    100%{
        top: 0;
    }
}

/* .fondocelular{
    position: absolute;
    top: 15rem;
    left: 54%;
    transform: rotateX(26deg) rotateY(8deg) rotateZ(334deg) skewY(5deg);
    transform-origin: bottom;
    width: 32%;
    height: 60%;
    border-radius: 20px;
    z-index: -1;
} */

@media (min-width: 768px){
    .imagencelular{
        width: 40%;
    }
    .fondocelular{
        width: 16%;
    }
}

/* --------- CONTACTO ------- */

.formulario{
    padding: 2.5rem;
    background-color: var(--blanco);
    border-radius: 10px;
    -webkit-box-shadow: 3px 3px 31px -10px #c9c9c9;
    -moz-box-shadow: 3px 3px 31px -10px #c9c9c9;
    box-shadow: 3px 3px 31px -10px #c9c9c9;
}
@media (min-width: 768px){
    .formulario{
        width: 40%;
        margin: 0 auto;
    }
}
.formulario label{
    color: var(--gris);
    font-family: 'Poppins', sans-serif;
    text-align: left;
    font-size: 1.3rem;
    margin: 10px 0;
}
.contenedor-input{
    display: flex;
    flex-direction: column;
}
.formulario input{
    margin-bottom: 10px;
    border: none;
    background-color: var(--blanco) !important;
    color: var(--gris);
    font-size: 1.2rem;
    padding: 1rem 0;
    outline: none;
    border-radius: 0;
    border-bottom: 1px solid #d8d8d8;
}
.formulario input::placeholder{
    color: #8080807a;
}

.formulario textarea{
    margin-bottom: 10px;
    border: none;
    background-color: var(--blanco) !important;
    color: var(--gris);
    font-size: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #d8d8d8;
    border-radius: 0;
    outline: none;
    max-height: 220px;
    min-height: 100px;
    max-width: 100%;
    min-width: 100%;
}
.formulario textarea::placeholder{
    color: #8080807a;
}
.formulario .contenedor-submit{
    display: flex;
    gap: 2rem;
    width: auto;
    margin: 0 auto;
}
.formulario button[type="submit"]{
    text-decoration: none;
    color: var(--blanco);
    background-color: var(--botons);
    font-family: 'Poppins', sans-serif;
    padding: 6px 20px;
    display: block;
    margin: 20px auto;
    width: 90%;
    font-size: 1.3rem;
    font-weight: 400;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all .3s ease-in-out;
    text-transform: uppercase;
    border: none;
}
.formulario .contenedor-submit button[type="reset"]{
    text-decoration: none;
    color: var(--cards);
    background-color: transparent;
    font-family: 'Poppins', sans-serif;
    padding: 6px 20px;
    display: block;
    margin: 20px auto;
    border: 2px solid var(--cards);
    width: 90%;
    font-size: 1.3rem;
    font-weight: 400;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all .3s ease-in-out;
    text-transform: uppercase;
}
@media(max-width:300px){
    .formulario button[type="submit"]{
        padding: 5px 12px;
        font-size: 13px;
    }
    .formulario .contenedor-submit button[type="reset"]{
        padding: 5px 12px;
        font-size: 13px;
    }
}
.error{
    color: tomato;
    text-align: left;
    font-size: 12px;
    margin-top: -5px;
}

.opacity-50{opacity: .5;}

.text-privacy{
    color: var(--secondary);
    text-align: center;
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
}

/* FOOTER */

.footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
   
    height: auto;
    background-color: var(--blanco);
    margin: 0;
    padding: 30px 15px 0 15px;
}

.footer h2{
    text-align: left;
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.7rem;
}

.logtipo-footer{
    display: block;
    margin: 4rem auto 0 auto;
}

.text-logofooter{
    color: var(--gris);
    font-weight: 700;
    margin: 0;
    margin-top: -10px;
}

.footer .footer__contenedor .sigueme{
    text-align: center;
    margin: 30px auto;
}
@media (min-width: 768px){
    .footer{
        flex-direction: row;
        
        align-items: center;
        justify-content: space-evenly;
        height: auto;
    }
    .footer .footer__copy{
        display: block;
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translate(-50%, -50%);
        margin-top: 20px;
        padding-top: 30px;
        color: var(--secondary);
    }
}
.footer .footer__contenedor{
    display: flex;
    flex-direction: column;
    gap: 0;
}
.footer__rrss{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 6px;
    border-top: 1px solid var(--secondary);
    padding-top: 14px;
}
.footer__rrss a{
    cursor: pointer;
}
.footer__rrss .logoxfooter{
    width: 22px;
    margin: 3px 0 0 0;
}
.footer p{
    font-family: 'Poppins', sans-serif;
    text-align: start;
    font-weight: 300;
}
@media (min-width: 768px){
    .footer .footer__contenedor{
        width: 100vw;
        height: auto;
        margin: 30px 30px 0 30px;
        padding-bottom: 150px;
        flex-direction: row;
        justify-content: space-around;
        gap: 50px;
    }
    .footer h2, h4{
        color: var(--secondary);
        font-size: 2.2rem;
        text-align: start;
    }
    .footer .footer__contenedor p{
        text-align: start;
    }
    .footer .footer__rrss a svg{
        width: 30px;
        height: 30px;
    }
}
.footer .copytext{
    margin: 0;
    padding: 0;
}

.copytext p{
    margin: 0;
}

.footer .footer__copy{
    font-size: 15px;
    font-weight: 400;
    color: var(--secondary);
    text-align: center;
    margin: 60px auto 3px auto;
}

.footer .contacto{
    color: var(--cards);
    font-weight: normal;
}

.footer .contacto:hover{
    cursor: pointer;
    color: var(--secondary);
}

.whatsapp{
    position: fixed;
    bottom: 32px;
    left: -60px;
    border-radius: 13px;
    /* background-color: #25d366; */
    background-image: linear-gradient(to top, #25d366 0%, #02c549 100%);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .5s ease-in-out;
}
.whatsapp:hover{
    cursor: pointer;
    transform: scale(1.07);
}
.whatsapp svg{
    padding-top: 1px;
}
.waths{
    left: 20px
}

/* Modal */

.oculto{ display: none;}

.contenedor__modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000d3;
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 100;
}

.contenedor__modal .modal{
    position: relative;
    background-color: white;
    border-radius: 7px;
    border: none;
    width: 80%;
    height: auto;
    padding: 20px;
    margin: 48% 17px;
    box-shadow: gray 2px 2px 6px;
}

@media (min-width: 768px){
    .contenedor__modal .modal{
        width: 60%;
        height: auto;
        margin: 15% auto;
        box-shadow: gray 2px 2px 6px;
    }
}

.modal__title{
    line-height: 0;
    font-size: 2.3rem;
    margin: 2rem;
    text-align: center;
    color: var(--gris);
}

.modal .cerrar{
    position: absolute;
    top: 10px;
    right: 5px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.modal p{
    text-align: center;
    color: var(--gris);
    margin: 10px auto 20px auto;
    font-size: 18px;
    font-weight: 700;
}

.btn__aceptar{
    display: block;
    border: none;
    background-color: var(--secondary);
    color: white;
    font-size: 17px;
    padding: 10px 30px;
    border-radius: 6px;
    font-family: inherit;
    text-align: center;
    margin: 0 auto;
}

/* speener */

.contenedor__modal .modal__speener{
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 300px;
}

.sk-circle {
    margin: 100px auto;
    width: 50px;
    height: 50px;
    position: relative;
  }
  .sk-circle .sk-child {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 15rem;
  }
  .sk-circle .sk-child:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    background-color: var(--bgbody);
    border-radius: 100%;
    -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
            animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
  }
  .sk-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
        -ms-transform: rotate(30deg);
            transform: rotate(30deg); }
  .sk-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
        -ms-transform: rotate(60deg);
            transform: rotate(60deg); }
  .sk-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg); }
  .sk-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
        -ms-transform: rotate(120deg);
            transform: rotate(120deg); }
  .sk-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
        -ms-transform: rotate(150deg);
            transform: rotate(150deg); }
  .sk-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg); }
  .sk-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
        -ms-transform: rotate(210deg);
            transform: rotate(210deg); }
  .sk-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
        -ms-transform: rotate(240deg);
            transform: rotate(240deg); }
  .sk-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
        -ms-transform: rotate(270deg);
            transform: rotate(270deg); }
  .sk-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
        -ms-transform: rotate(300deg);
            transform: rotate(300deg); }
  .sk-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
        -ms-transform: rotate(330deg);
            transform: rotate(330deg); }
  .sk-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
            animation-delay: -1.1s; }
  .sk-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
            animation-delay: -1s; }
  .sk-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
            animation-delay: -0.9s; }
  .sk-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
            animation-delay: -0.8s; }
  .sk-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
            animation-delay: -0.7s; }
  .sk-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
            animation-delay: -0.6s; }
  .sk-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
            animation-delay: -0.5s; }
  .sk-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
            animation-delay: -0.4s; }
  .sk-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
            animation-delay: -0.3s; }
  .sk-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
            animation-delay: -0.2s; }
  .sk-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
            animation-delay: -0.1s; }
  
  @-webkit-keyframes sk-circleBounceDelay {
    0%, 80%, 100% {
      -webkit-transform: scale(0);
              transform: scale(0);
    } 40% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }
  
  @keyframes sk-circleBounceDelay {
    0%, 80%, 100% {
      -webkit-transform: scale(0);
              transform: scale(0);
    } 40% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }