/* Reset de márgenes y rellenos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos generales */
:root {
    --color-bg1: rgb(108, 0, 162);
    --color-bg2: rgb(0, 17, 82);
    --color1: 18, 113, 255;
    --color2: 221, 74, 255;
    --color3: 100, 220, 255;
    --color4: 200, 50, 50;
    --color5: 180, 180, 50;
    --color-interactive: 140, 100, 255;
    --circle-size: 80%;
    --blending: hard-light;
  }
  
  @keyframes moveInCircle {
    0% {
      transform: rotate(0deg);
    }
    50% {
      transform: rotate(180deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes moveVertical {
    0% {
      transform: translateY(-50%);
    }
    50% {
      transform: translateY(50%);
    }
    100% {
      transform: translateY(-50%);
    }
  }
  
  @keyframes moveHorizontal {
    0% {
      transform: translateX(-50%) translateY(-10%);
    }
    50% {
      transform: translateX(50%) translateY(10%);
    }
    100% {
      transform: translateX(-50%) translateY(-10%);
    }
  }
  
  
  .gradient-bg {
    width: 100vw;
    height: 100vh;
    position: absolute;
    overflow: display;
    /*background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2)); */
    top: 0;
    left: 0;
    z-index: 0;
    }
  
  
  
    .gradients-container {
      filter: url(#goo) blur(40px) ;
      width: 100%;
      height: 100%;
    }

  
    .g2 {
      position: absolute;
      background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
      mix-blend-mode: var(--blending);
  
      width: var(--circle-size);
      height: var(--circle-size);
      top: calc(50% - var(--circle-size) / 2 + 200px);
      left: calc(50% - var(--circle-size) / 2 + 50px);
  
      transform-origin: calc(50% - 200px);
      animation: moveInCircle 20s reverse infinite;
  
      opacity: 0.2;
    }
  
  
    .g4 {
      position: absolute;
      background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
      mix-blend-mode: var(--blending);
  
      width: var(--circle-size);
      height: var(--circle-size);
      top: calc(50% - var(--circle-size) / 2);
      left: calc(50% - var(--circle-size) / 2);
  
      transform-origin: calc(50% + 200px);
      animation: moveHorizontal 40s ease infinite;
  
      opacity: 0.2;
    }
  
  


body {
    font-family: 'Alegreya Sans SC';
    background: linear-gradient(180deg, #FAF6FE 0%, #f3e2ff 100%);
    color: #2f1696;
    position: relative;
}

.flex-container {
    display: flex;
    position: relative;
    top: 12vh;
}

.left-div, .right-div {
    display: inline-flex;
    height: 257px;
    flex-shrink: 0;
}

.left-div {
    padding: 5% 0 5% 5%;
    justify-content: flex-end;
}

.right-div {
    flex-direction: column;
    padding: 7.5% 5% 1% 0;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4%;
    position: relative;
    top: 0; /* Ajusta según sea necesario */
}

.Presentación
{
    position: absolute;
    margin-left: 50%;

/* Ajusta según sea necesario */
}

h4{
    width: 34vw;
    color: #1c1c96;
    font-family: 'Alegreya Sans SC';
    font-weight: 400;
    font-size: 3.25vw;
    letter-spacing: -1.50px;
    word-wrap: break-word;
    margin-top: 10vh;
    margin-left: 2.5vw;
    margin-bottom: 0.9vw;
    line-height: 99.313%;

}

.Interes{
    text-align: left;
    font-size: 1vw;
    width: 33vw;
    padding: 0.5% 5% 1% 8%;
    position: relative; /* Ajusta según sea necesario */
}

.presentacion-Img {
    background-color: transparent;
    width: 22vw;
    height: 65vh;
    border: 1px solid #0A3980;
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0.5vw; /* Ajusta según sea necesario */
    position: absolute;
    margin-left: -20vw;
    z-index: -1;
    /* Ajusta según sea necesario */
}

.presentacion-Img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    padding: 0.5vw;
    box-sizing: border-box;
}


.Mis-Proyectos {
    display: inline-flex;
    flex-direction: column;
    font-size: 2vw; /* Ajusta según sea necesario */
    letter-spacing: 1.1px;
    padding: 10% 0 10% 5%; /* Ajusta según sea necesario */
}

nav {
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1%;
}

button {
    background-color: transparent;
    border: none;
    margin-right: 1vw; /* Ajusta según sea necesario */
    cursor: pointer;
    color: #623df8ce;
    font-family: 'Alegreya Sans SC';
    font-size: 1.5vw; /* Ajusta según sea necesario */
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.1px;
    text-transform: lowercase;
}

.action {
    color: #4426bdce;
    font-family: 'Alegreya Sans SC';
    font-size: 2vw; /* Ajusta según sea necesario */
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.72px;
    padding: 1.5% 2%; /* Ajusta según sea necesario */
    border-radius: 2vw; /* Ajusta según sea necesario */
    border: 1px solid #1c1c96;
}
.action span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
  }
  
  .action span:after {
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
  }
  
  .action:hover span {
    padding-left: 20px;
    letter-spacing: 1.5px;
  }
  
  .action:hover span:after {
    opacity: 1;
    right: 0;
  }

.mas {
    font-size: 1.5vw; /* Ajusta según sea necesario */
    letter-spacing: 0.72px;
    margin-top: 3%;
    padding: 1.5% 2%; /* Ajusta según sea necesario */
    border-radius: 2vw; /* Ajusta según sea necesario */
    border: 1px solid #623df8ce;
    
}
.mas span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
  }
  
  .mas span:after {
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
  }
  
  .mas:hover span {
    padding: 25px, 25px;
    letter-spacing: 1.5px;
  }
  
  .mas:hover span:after {
    opacity: 1;
    right: 0;
  }

h1, h5 {
    color: #623df8ce;
    font-family: 'Alegreya Sans SC';
    font-size: 1.5vw; /* Ajusta según sea necesario */
    font-style: normal;
    align-items: center;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.1px;
}

/* Estilos de la landing page */
.landing-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 70vh;
    padding: 0;
}

.trabajos {
    display: flex;
    width: 100%;
    height: 200vh;
    padding: 0;
}

/* Otros estilos y media queries... */
@media (max-width: 768px) {
    /* Ajustes para pantallas más pequeñas */
    h1, h5, h2 {
        font-size: 4vw; /* Ajusta según sea necesario */
    }
    .Mis-Proyectos {
        padding: 10% 0 10% 3%; /* Ajusta según sea necesario */
    }
    /* Agrega más ajustes según sea necesario */
}

.Mis-Proyectos {
    display: inline-flex;
    flex-direction: column;
    font-size: 2vw;
    letter-spacing: 1.1px;
    padding: 10% 0 10% 5%;
}

.landing-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 70vh;
    padding: 0;
}

/* Hola! Me llamo Isi*/
h2 {
    width: 40vw;
    color: #1c1c96;
    font-family: 'Alegreya Sans SC';
    font-weight: 300;
    font-size: 5.25vw;
    letter-spacing: -1.50px;
    word-wrap: break-word;
    margin-bottom: 2vw;
}

/* Me apasiona...*/
h5 {
    font-family: 'Alegreya Sans';
    width: 35vw;
    color: #4426bdce;
    font-size: 1.85vw;
    letter-spacing: 0.84px;
    margin-bottom: 2vw;
}

.trabajos {
    display: flex;
    width: 100%;
    height: 200vh;
    padding: 0;
}

#proyectos {
    position: relative;
    display: flex;
    flex-direction: column;
}

.trabajos-text {
    display: inline-flex;
    flex-direction: column;
    width: 80vw; /* Ajusta según sea necesario */
    height: 50vh; /* Ajusta según sea necesario */
    padding: 10% 0.093px 5% 0;
    align-items: center;
    gap: 5px;
    letter-spacing: 1.1px;
}

.trabajos-Img {
    background-color: transparent;
    width: 65vw;
    height: 65vh;
    margin-left: auto;
    display: inline-block;
    align-items: center;
    justify-content: center;
    border: 1px solid #0A3980;
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 1vw; /* Ajusta según sea necesario */
    position: relative;
    top: -1vw; /* Ajusta según sea necesario */
}

.trabajos-Img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    padding: 0.5vw;
    box-sizing: border-box;
}

/*img {
    padding: 1vw 1vh;
    max-width: 60vw;
    height: 60vh;
    display: block;
}*/

h3 {
    font-size: 2vw;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

h6 {
    font-size: 1vw;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

p {
    width: 25vw;
    text-align: center;
    font-family: 'Lato';
    font-size: 1.5vw; /* Ajusta según sea necesario */
}

/* Estilos del pie de página */
footer {
    background-color: transparent;
    padding: 1%;
    justify-content: center;
}

/* Media queries para pantallas más pequeñas */
@media (max-width: 768px) {
    .Mis-Proyectos {
        padding: 10% 0 10% 3%;
    }

    h2, h3, h5 {
        font-size: 4vw;
    }

    h6, p {
        font-size: 1.5vw;
    }

    .trabajos-text, .trabajos-Img {
        width: 90vw;
    }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    
}


.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 90%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    text-align: center;
    overflow-y: auto; /* Habilita el desplazamiento vertical si es necesario */
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: showModal 0.6s forwards, fadeIn 0.4s forwards; 
}

.close {
    color: #623df8ce;
    float: right;
    font-size: 30px;
    font-weight: medium;
    cursor: pointer;
}

.gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.gallery img {
    width: 700px; /* Ajusta el tamaño de las imágenes según sea necesario */
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#modalNuevo
    {
        background-color:#ffffff;
        height:80vh;
        width:75vw;
        padding:0px;
        position:relative;

        }

#modalNuevo .titulo{
    height:156px;
    width:460px;
    padding:0px;
    left:4vw;
    top:-30vh;
    position:relative;
    }

#titulo
{
color:#093980;
text-align:left;
vertical-align:text-top;
font-size:83px;
font-family:Alegreya Sans SC;
letter-spacing:-2px;
line-height:76px;
border-style:hidden;
outline:none;
top:0px;
left:0px;
position:relative;
width:35vw;
}

#modalNuevo .escribeme{
    height:7vh;
    width:9vw;
    padding:2px;
    left:8vw;
    top:-10vh;
    position:relative;
    flex-direction: column;
    gap: 10px;
    }

#escribeme{
color:#0a3980;
text-align:left;
vertical-align:text-top;
font-size:22px;
font-family:Alegreya Sans;
line-height:auto;
border-style:hidden;
outline:none;
width:9vw;
}

#igmep,#linkedin{
font-size:16px;
font-family:Lato;
top:35px;
left:0px;
position:absolute;
width:9vw;
padding-left: 3px;
}

#modalNuevo .visitame{
    height:7vh;
    width:9vw;
    left:25vw;
    top:-17vh;
    position:relative;
    flex-direction: column;
    gap: 5px;
    }

#visitame{
    color:#0a3980;
    text-align:left;
    vertical-align:text-top;
    font-size:22px;
    font-family:Alegreya Sans;
    line-height:auto;
    width:12vw;
    }

    #modalNuevo .text{
        flex-direction: column;
        padding: 7.5% 5% 1% 0;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 4%;
        position: relative;
        top: 0; /* Ajusta según sea necesario */
    }
    
    #modalNuevo .gallery{
        flex-direction: column;
        padding: 7.5% 5% 1% 0;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 4%;
        position: relative;
        top: 0; /* Ajusta según sea necesario */
    }
    
    #modalNuevo .close{
        color: #623df873;
        margin-left: 70vw;
        justify-content: right;
        font-size: 25px;
        font-weight: light;
        cursor: pointer;
    }
    
    
    
    
    img#me{
            height:273px;
            width:213px;
            border-radius:10px;
            left:50vw;
            top:11vh;
            position:absolute;
            border: 1px solid #AB8DE8;
            padding:10px;
    }
    
    img#vector1{
        font-weight: 100;
        height:70%;
        width:70%;
        left:-20vw;
        top:-10vh;
        position:fixed;
        z-index: -1;
    }
    
    img#vector2{
        font-weight: 100;
        height:100%;
        width:100%;
        left:-25vw;
        top:23vh;
        position:fixed;
        z-index: -1;
    }
    
    img#vector3{
        font-weight: 100;
        height:70%;
        width:70%;
        left:10vw;
        top:45vh;
        position:fixed;
        z-index: -1;
    }
    
    img#vector4{
        font-weight: 100;
        height:100%;
        width:70%;
        left:55vw;
        top:-20vh;
        position:fixed;
        z-index: -1;
        rotate: 1 1 0 -20deg;
    }


#modalNuevo .modal-content{
    display: none; /* Por defecto, el modal está oculto */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height:80vh;
    width:75vw;
    padding: 5px;
    background-color: #fff;
    border: 1px solid #0A3980;
    box-shadow: 0 0 10px rgba(47, 56, 63, 0.3);
    display:grid;
    flex-shrink: 0;
    overflow: hidden;
    animation: showModal 0.6s forwards, fadeIn 0.4s forwards; 
}

@keyframes showModal {
    0% {
        top: 100%; /* Inicia fuera de la pantalla */
    }
    100% {
        top: 50%; /* Llega al centro de la pantalla */
    }
}

/*animación de opacidad */
@keyframes fadeIn {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}

.gallery img:hover {
    border: 0px solid #777;
}

.text {
    display: flex;
} 



.text p {

    text-align: left;
} 



/* Lenis CSS */
html.lenis {
    height: auto;
  }
  
  .lenis.lenis-smooth {
    scroll-behavior: auto;
  }
  
  .lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
  }
  
  .lenis.lenis-stopped {
    overflow: hidden;
  }
  
  .lenis.lenis-scrolling iframe {
    pointer-events: none;
  }
