@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

* {
    font-family: "Quicksand", sans-serif;
    text-decoration: none;
    list-style: none;
    margin: 0;
    padding: 0;
   
    box-sizing: border-box;
}
body{
      background-color: #fde7f3;

}
.contenedorCookies{
    position: fixed; /* 🔥 clave */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(250, 8, 150, 0.8);
    z-index: 9999;
    padding: 10px;
}

h1,
h2,.boton {
    color: rgb(201, 8, 150);
   
}

.contenedor {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;

}

.header {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    /* Evita que se desborde en pantallas pequeñas */
    align-items: center;
    justify-content: space-between;
    width: 80%;
    height: 30%;
    padding: 20px;
    font-size: 1.4rem;
}

.header h1 {
    font-size: 2em;
    flex: 1;
    text-align: center;

}

.header img {


    width: 100%;
    /* La imagen ocupará todo el ancho disponible */
    max-width: 800px;
    /* Máximo tamaño de la imagen */
    height: 500px;
    /* Mantiene la proporción sin deformarse */
    object-fit: cover;
    /* Recorta la imagen si es necesario */
    object-fit: cover;
    /* Ajusta la imagen para llenar el tamaño sin deformarse */
    border-radius: 10px;
    /* Opcional: bordes redondeados */
}

/* Navegación */
.nav {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
   
}

.navegador {
    z-index: 10;
    position: fixed;
    background-color: gainsboro;
   
}

.nav ul {
    display: flex;
    gap: 20px;
    padding: 10px;
}

.nav ul li {
    list-style: none;
}

.nav ul li a {
    color: black;
    font-size: 18px;
    padding: 10px 15px;
    transition: 0.3s;
}

.nav ul li a:hover {
    color: rgb(201, 8, 150);
    font-weight: bold;

}

/* Pie de página */
.footer {
    display: flex;
    position:fixed;
    justify-content: flex-end;
    align-items: center;
    padding: 10px;
    width: 100%;
    bottom: 0;

}

/* Pagina Soy */
.main-soy {
    display: flex;
    flex-direction: column;
    width: 80%;
    font-size: 1.5em;
}

.anima {
    margin-top: 100px;
    -webkit-animation: anima 5s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    animation: anima 5s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@-webkit-keyframes anima {
    0% {
        letter-spacing: 1em;
        -webkit-transform: translateZ(400px);
        transform: translateZ(400px);
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        opacity: 1;
    }
}

@keyframes tracking-in-contract-bck {
    0% {
        letter-spacing: 1em;
        -webkit-transform: translateZ(400px);
        transform: translateZ(400px);
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        opacity: 1;
    }
}

/* Pagina Trabajos */
.main-trabajos {
  
    display: flex;
    position: relative;
    justify-content: center;
    flex-wrap: wrap;
    width: 90%;
    padding: 30px;
    font-size: 16px;
}

.contenedor .card {
    position: relative;
    max-width: 325px;
    /* Limita el ancho de la tarjeta */
    height: 215px;
    margin: 30px 10px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: 0.5s ease-in-out;

}

.card:hover {
    height: 430px;

}

.card .img-caja {
    position: relative;
    width: 260px;
    height: 260px;
    top: -60px;
    left: 40px;
    z-index: 1;
}

.card .img-caja img {
    max-width: 100%;
    height: 80%;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.card .contenido {
    position: relative;
    margin-top: -140px;
    padding: 10px 15px;
    text-align: center;
    color: #111;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease-in-out;
}

.card:hover .contenido {
    visibility: visible;
    opacity: 1;
    margin-top: -40px;
    transition: delay 0.3s; ;
}
/* Página contacto */
.contenedor .main-contacto{
    position: relative;
    width: 500px;
    height: 500px;
    top: 50px;
    box-shadow: inset 20px 20px 20px rgba(0, 0, 0, 0.2),
    25px 35px 20px rgba(0, 0, 0, 0.5),
    25px 30px 30px rgba(0, 0, 0, 0.5), 
    inset -20px -20px 25px rgba(255,255,255,0.9);
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30% 70% 70% 30% / 67% 38% 62% 33% ;


}
.contenedor .main-contacto:hover{
    border-radius: 50%;
}
.contenedor .main-contacto:before{
    content: '';
    position: absolute;
    top: 70px;
    left: 95px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.9;
}
.contenedor .main-contacto:after{
    content: '';
    position: absolute;
    top: 110px;
    left: 120px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.9;
}
.contenedor .main-contacto .contenido-contacto{
position: relative;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;

}
.contenedor .main-contacto .contenido-contacto form {
display: flex;
flex-direction: column;
gap: 20px;
justify-content: center;
align-items: center;
}
.contenedor .main-contacto .contenido-contacto form .input-caja{
    position: relative;
    width: 225px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 
    inset 4px 8px 10px rgba(0, 0, 0, 0.1),
    inset -4px -8px 10px rgba(255,255, 255, 1),
    15px 15px 10px rgba(0, 0, 0, 0.05), 
    15px 10px 15px rgba(0,0,0,0.025);
    border-radius: 25px;
    }
    .contenedor .main-contacto .contenido-contacto form .input-caja::before{
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 65%;
        height: 5px;
        border-radius: 50%;
        background: rgba(255,255,255,0.5);
        border-radius: 5px;
        }

    .contenedor .main-contacto .contenido-contacto form .input-caja input{
       border: none;
       outline: none;
       background: transparent;
       width: 100%;
       font-size: 1em;
       padding: 10px 15px;
    }
    .contenedor .main-contacto .contenido-contacto form .input-caja input[type="submit"]{
      color: #fff;
      text-transform: uppercase;
      font-size: 1em;
      cursor: pointer;
      letter-spacing: 0.1em;
      font-weight:500 ;
     }
     .contenedor .main-contacto .contenido-contacto form .input-caja:last-child{
        width: 120px;
        background: rgb(201, 8, 150);
        box-shadow: 
    inset 2px 5px 10px rgba(0, 0, 0, 0.1),
    inset -2px -5px 10px rgba(255,255, 255, 1),
    15px 15px 10px rgba(0, 0, 0, 0.05), 
    15px 10px 15px rgba(0,0,0,0.025);
    transition: 0.8s;
     }
     .contenedor .main-contacto .contenido-contacto form .input-caja:last-child:hover{
        width: 150px;
     }
     /* Página habilidades */
     .main-habilidades{
        margin-top: 50px;
        display: flex;
       
        justify-content: center;
        align-items: center;
   
        width: 100%;
    }
    .main-habilidades .contenido-habilidades{
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 400px;
        height: 400px;
        transform-style: preserve-3d;
        box-shadow: inset 20px 20px 20px rgba(0, 0, 0, 0.2),
        25px 35px 20px rgba(0, 0, 0, 0.5),
        25px 30px 30px rgba(0, 0, 0, 0.5), 
        inset -20px -20px 25px rgba(255,255,255,0.9);
         background-color: rgb(201, 8, 150);
         border-radius: 0% 100% 1% 99% / 41% 65% 35% 59% ;

     }
    
    .main-habilidades .contenido-habilidades::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgb(201, 8, 150);
        box-shadow: inset 20px 20px 20px rgba(0, 0, 0, 0.2),
        25px 35px 20px rgba(0, 0, 0, 0.5),
        25px 30px 30px rgba(0, 0, 0, 0.5), 
        inset -20px -20px 25px rgba(255,255,255,0.9);
        border-radius: 0% 100% 1% 99% / 41% 65% 35% 59% ;
    }
    .main-habilidades .contenido-habilidades::after{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color:rgb(201, 8, 150);
        box-shadow: inset 20px 20px 20px rgba(0, 0, 0, 0.2),
        25px 35px 20px rgba(0, 0, 0, 0.5),
        25px 30px 30px rgba(0, 0, 0, 0.5), 
        inset -20px -20px 25px rgba(255,255,255,0.9);
        border-radius: 0% 100% 1% 99% / 41% 65% 35% 59% ;
     } 
    .main-habilidades .contenido-habilidades div{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0% 100% 1% 99% / 41% 65% 35% 59% ;
      background-color:rgb(201, 8, 150);
   
        transform-style: preserve-3d;
        overflow: hidden;
        animation: animate 8s linear infinite;
        animation-delay: calc(0.8s * var(--i));
    }
    @keyframes animate {
        0%
        {
           transform: perspective(500px) translate3d(0,0,0);
           opacity: 1;
           box-shadow: 5px 5px 15px rgba(0,0,0,0);
        }
        25%
        {
           transform: perspective(500px) translate3d(-50px,-50px,50px);
           opacity: 1;
           box-shadow: 5px 5px 15px rgba(0,0,0,0.2);

        }
        35%,  100%
        {
           transform: perspective(500px) translate3d(-350px,-20px,100px);
           opacity: 0;
        }
        
    }
    .main-habilidades .contenido-habilidades div span{
        position: absolute;
        top: 0;
        width: 100%;
        height: 70%;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 10;
        font-size: 3em;
        font-weight: 600;
        border-radius: 0% 100% 1% 99% / 41% 65% 35% 59% ;
        color: #fff;
        transform-style: preserve-3d;
        overflow: hidden;
    }
    .main-habilidades .contenido-habilidades div span:nth-child(2){
        position: absolute;
        bottom: 0;
        left: 0;
        width:100% ;
        height:70% ;
        border-radius: 0% 100% 1% 99% / 41% 65% 35% 59% ;
        background-color: rgba(201, 8, 150, 0.7); /* Agregar transparencia */
        overflow: hidden;

    }
    .descripcion-habilidades {
      display: flex;
      justify-content: center;
        text-align: center;
        font-size: 1.8em;
       width: 100%;
       margin-top: -100px;
       margin-bottom: 30px;
        padding: 15px;
    
    }
    .contenedorAviso{
        display: flex;
     align-items: center;
     margin-top: 150px;
    }