/* FUENTE PARA EL TEXTO GENERAL*/
@font-face {
    font-family: 'Acumin pro';
    src: url('fonts/Acumin-RPro.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Acumin pro';
    src: url('fonts/Acumin-BdItPro.otf') format('opentyoe');
    font-weight: bold;
    font-style: italic;
}
@font-face {
    font-family: 'Acumin pro';
    src:url('fonts/Acumin-BdPro.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Acumin pro';
    src:url('fonts/Acumin-ItPro.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

/* RESET */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {
    height: 100%;
}


/* ESTILOS BÁSICOS */
body {
    font-family: "Acumin pro", sans-serif;
    color: white;
    background-color: #030614;
    text-align: center;
    font-size: 1.8vw;
    line-height: 1.6;
}

h1, h2, h3{
    font-family: "Inknut Antiqua", sans-serif;
    font-weight: 300;
}
h1 {
    font-size: 5.3vw;
    color: #d8bbf3;
}
h2 {
    font-size: 3.8vw;
}
h3 {
    font-size: 2.4vw;
    color:#7650a5;
    border-bottom: 2.8px solid #7650a5;
}
p {
    text-align: justify;
}

.button{
    display: inline-flex;
    text-decoration: none;
    padding: 0.7rem 3rem 0.5rem;
    border-radius: 30px;
    border: 2px solid transparent; 
    transition: all 0.3s ease;
    position: relative; 
    overflow: hidden;
    font-size: 1.1rem;
    z-index: 1; /* para la animación */
    cursor: pointer;
    line-height: 1;
}
.button::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: top 0.3s ease;
    z-index: -1;
}   
.button:hover::before {
    top: 0;
}

.button-1{
    background-color: #7650a5;
    color: #ffffff;
}
.button-1::before{
    background-color: #ffffff;
}
.button-1:hover {
    color: #7650a5;
    border-color: #7650a5;
}

.button-2{
    background-color: #ffffff;
    color: #7650a5;
}
.button-2::before {   
    background-color: #7650a5;
}
.button-2:hover {
    color: #ffffff;
    border-color: #ffffff;
}
 img {
    width: 100%;
    height: auto;
}





/* ENCABEZADO*/
header {
    background: #140921;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.nav-container {
    display: flex;
    width: 100%;
    margin: 15px 20px 5px; /* lo pongo aquí como margen en vez de padding del encabezado para editarlo cuando se abra la lista */
}

/* Estilos para el menú hamburguesa */
.hamburger {
    display: none; /* Oculto en laptop L */
    position: absolute; /*No molesta al resto de elementos*/
}
.bar {
    height: 0.2rem;
    width: 100%;
    background: white;
    margin: 0.2rem 0;
}
.cross{
    display: none;
    position: absolute;
}

/*navegación*/
.nav-list {
    list-style: none;
    display: flex;
    padding: 20px 1.6vw;
    align-items: flex-end;
    gap: 0.4vw;
    z-index: 1; /* para que los enlaces funcionen y el logo no esté encima */
}
.nav-list li{
    margin-left: 20px;
    position: relative;
    padding-top: 15px; 
}
.nav-list a {
    color: white;
    text-decoration: none;
    padding-bottom: 5px;
    position: relative; /* padre de after */
}

/* animacion de los links del header */
.nav-list a::after {
    content: ''; /* muestra el elemento */
    display: block;
    height: 1.5px; 
    background: white;
    position: absolute;
    left: 0; 
    /* bottom: 0; */
    width: 100%;
    transform: scaleX(0); 
    transform-origin: right;
    transition: transform 0.25s ease;
}
.nav-list a:hover::after, .nav-list a.link-active::after{
    transform: scaleX(1); 
    transform-origin: left;
}
.nav-list a:not(:hover):not(.link-active)::after{
    transform: scaleX(0); 
}

/*logo por fin bien*/
.logo-container {
    flex: 1;
    position: relative;
    right: 50%;
    transform: translateX(50%);
    padding-top: 12px;
    text-align: center; /*importante para que esté centrado en modo móvil*/
}
#logo {
    max-width: 100px; 
    height: auto;     
}





/* MAIN */

/* ESTA ES LA SECCIÓN 1 PRESENTACIÓN*/
#section-1{
    background: #241438;
    display: flex;
    flex-direction: row; /* por si aca */
    justify-content: center;
    align-items: center;
    padding: 100px 6rem 10px;
    gap: 5%;
    height: auto;
}
#presentation{
    flex: 1; /*ocupa el espacio que le sobra a la foto*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1vw;
    animation: entrada-elementos 1s ease 0s 1 normal forwards;
}
#presentation p{
    margin: 2vw;
}
#presentation-photo{
    display: flex; /*para que se alinee verticalmente*/
    align-items: center;
    justify-content: center;  
    width: 40%;
    animation: entrada-elementos 1s ease 0s 1 normal forwards;
}
#presentation-photo img{
    border-radius: 20% 0 20% 0;
    border: 10px double #d8bbf3;
}


/* ESTA ES LA SECCIÓN 2  ANUNCIO*/
#section-2{
    background-color: #140921;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 2rem 6vw 2rem;
    gap: 2vw;
}
.advertising{
    display: flex;
    flex-direction: column;
    flex: 1;
    animation: entrada-elementos 1s ease 0s 1 normal forwards;
}
.advertising img{
    border-radius: 100%;
}
#advertising-1{
    justify-content: flex-start;
}
#advertising-2{
    justify-content: center;
    flex: 1.5;
    position: relative; /* padre botón */
    align-items: center;
}
#advertising-2 img{
    border-radius: 15%;
    margin: 2rem 0;
}
#advertising-3{
    justify-content: flex-end;
}
#front-button{
    position: absolute; /* hijo volador */
    z-index: 1;
    bottom: 12px;
    padding: 0.7rem 4rem 0.5rem;
}


/* ESTA ES LA SECCIÓN 3 LIBROS */
#section-3{
    background: #241438;
    padding: 3.2rem 5rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    overflow: hidden;
}
#selection-3 p{
    font-weight: 100;
    font-size: smaller;
}
.books{
    display: flex;
    align-items: center;
    gap: 2.5rem;
    animation: entrada-elementos 1s ease 0s 1 normal forwards;
}
.book-cover{
    display: flex; /*para que se alinee verticalmente*/
    flex-direction: column;
    justify-items: center;  
    width: 32%;
    height: 100%;
}
.book-cover img{
    border: 10px double #d8bbf3;
}
.book-description{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: first center;
    flex: 1;
}
.book-type{
    color: #7650a5;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.book-info{
    color: #7650a5;
}
.book-synopsis{
    background-color: #44286e;
    padding: 2rem 2.3rem 1.4rem;
    border-radius: 2.2rem;
    margin-top: 1rem;
    line-height: 1.4;
    font-weight: 100;
    position: relative;
}
#butterfly{
    position: absolute;
    top: -3rem;
    right: -2.8rem;
    width: 7rem;
}
#butterfly:hover {
    animation: silly-movement 0.8s ease-in-out infinite alternate;
    transform-style: preserve-3d;
  }

  /*SECCIÓN 4  SOBRE MI*/
#section-4{
    background: #44286e;
    padding: 3.6rem 6rem 5rem;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}
#about-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    gap: 2rem;
    animation: entrada-elementos 1s ease 0s 1 normal forwards;
}
#about-text h2{
    border-bottom: solid white;
    font-size: 3.6vw;
}
#description{
    display: flex;
    flex-direction: column;
    background-color: #f4eafb;
    border-radius: 2.6rem;
    padding: 2rem 2.2rem;
    color: #7650a5;
    gap: 1rem;  
}
#section-4 p{
    text-align: left;
    line-height: 1.8;
    letter-spacing:0.8px;
    word-spacing: 1.4px;
    font-size: 1.2vw;
}
#section-4 #p1 {
    font-size: 1.6vw;   
}
#about-photo-container{
    width: 46%;
    justify-content: center;
    animation: entrada-elementos 1s ease 0s 1 normal forwards;
}
#about-photo{
    mask-image: url(assets/mascara.png);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    aspect-ratio: 1/1;
    transition: transform 0.4s ease;   
}
#about-photo img{
    object-fit: cover;
    height: 100%; /* esto depende de si lo quiero cuadrado o no */
}
  #about-photo:hover {
    transform: scale(1.05);
}

/* SECCIÓN 5 CONTACTO*/
#section-5{
    background: linear-gradient(to left, #44286e, #d8bbf3);
    padding: 3.2rem 10vw;
    display: flex;
    gap: 5vw;    
    width: 100%;
    position: relative; /* Padre */
    justify-content: center;
    border-radius: 0 0 8vw 8vw;
}
#contact{
    flex: 1;
    animation: entrada-elementos 1s ease 0s 1 normal forwards;
}
#contact p{
    text-align: center;
}
form{    
    z-index: 1;
    width: 60%;
    animation: entrada-elementos 1s ease 0s 1 normal forwards;
}
.form-row{
    display: flex;
    gap: 1rem;
    justify-content:stretch;
}
.form-group{
    width: 100%;
}
label {
    display: block;
    text-align: left;
}
input, textarea {
    width: 100%;
    height: 2.8rem;
    padding: 0.6rem 1.4vw;
    border: 0.1rem solid white;
    border-radius: 2rem;
    background-color: transparent;
    color: white;
    font-size: 1.6vw;
    font-family: "Acumin pro", sans-serif;
    position: relative;
}
input:focus, textarea:focus {
    background-color: rgba(255, 255, 255, 0.075);
    outline: none; 
}
input::selection, textarea::selection {
    background-color: #7650a584;
}
input:hover, textarea:hover{
    background-color: rgba(255, 255, 255, 0.075);
}
textarea {
    height: 5rem;
    border-radius: 1.4rem;
}
textarea::-webkit-scrollbar {
    display: none;
}
#result {
    padding: 2vw;
    margin-top: 10px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: block;
}
#result.show{
    display: block;
    opacity: 1;
}
#result.success, #result.error {
    color: #241438;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus{
    -webkit-text-fill-color: #7650a5;
}


/* SECCIÓN 6 MÚSICA*/
#section-6{
    position: relative; /* padre */
}
.music{
    justify-content: center;   
    display: flex;
    padding: 2.6vw 25vw 5vw;
    position: relative; /* padre 2 */
    overflow: hidden;
}
#section-6 img{
    position: absolute;
    bottom: -34vw; /* ajustar como se ve la imagen */
    z-index: -3;
}
iframe{
    z-index: 1;
}

/* SECCIÓN 7 DIBUJOS*/
#section-7{
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #44286e;
    gap: 2vw;
    padding: 3.2vw 0 2vw;
}
#section-7 h2{
    animation: entrada-elementos 1s ease 0s 1 normal forwards;
}
.carrousel-container {
    position: relative;
    width: 100%; 
    overflow: hidden;
    touch-action: pan-x;
    animation: entrada-elementos 1s ease 0s 1 normal forwards;
}
.carrousel{
    display: flex;
    transition: transform 0.5s ease;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
    cursor: grab;
    cursor: -webkit-grab;
}
.carrousel:active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}
.carrousel,
.carrousel-item,
.item-description {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.carrousel::-webkit-scrollbar {
    display: none;
}
.carrousel-item {
    flex: 0 0 calc(100% / 3);
    width: calc(100% / 3);
    display: flex;
    flex-direction: column;
    gap: 2vw;
    padding: 0 1vw;
    box-sizing: border-box; 
    scroll-snap-align: start;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.carrousel-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex: 0 0 calc(100% / 3);
    width: calc(100% / 3);
}
.carrousel-item.active {
    opacity: 1;
    transform: translateY(0);
}

.carrousel-item.inactive {
    opacity: 0;
    transform: translateY(50px);
}

.carrousel-item.animate-in {
    animation: barrido-aparece 0.5s ease forwards;
}

.carrousel-item.animate-out {
    animation: barrido-desaparece 0.5s ease forwards;
}
.item-photo{
    aspect-ratio: 1/1;
    overflow: hidden;
    justify-content: center;
    width: 100%;
    position: relative;
}
.item-photo img{
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}
.item-description{
    padding: 0 2.4vw;
    text-align: start;
}
.item-description h3{
    font-size: 2.2vw;
    margin-bottom: 0.6vw;
    border-bottom: none;
    color: #44286e;
}
.carrousel-arrow {
    position: absolute;
    top: calc(50% - 2vw);
    margin-top: -5vw;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.4vw;
    cursor: pointer;
    border-radius: 50%;
    height: 4vw;
    width: 4vw;
    font-size: larger;
    align-content: center;
    z-index: 6;
}
.left-arrow {
    left: 10px;
}
.right-arrow {
    right: 10px;
}

/* Excepciones de foto */
#circulo-y-triangulo img{
    transform: scale(1.1);
}
#eviter-les-roses img{
    object-position: top;
    transform: scale(1.2);
}
#hda img{
    object-position: 120% center;
    transform: scale(1.6);
    position: relative;
    bottom: 20%;
}
#demonio img{
    object-position: top;
}
#pecera img{
    object-position: top;
    transform: scale(1.1);
}
#amongus img{
    object-position: right;
}
#la-envidia-del-lobo img{
    object-position: center;
}
#truco-trato img{
    object-position: left;
}
#the-sun-and-the-moon img{
    object-position: left;
}
#Desrrealización img{
    object-position: center;
}






/* SECCIÓN 8 MODELAJE 3D*/
#section-8{
    position: relative;
    margin-bottom: 10px;
    width: 100%;
}
#modeling{
    padding: 18vw 24vw 4vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2vw;
    animation: entrada-elementos 1s ease 0s 1 normal forwards;
}
#modeling h2{
    font-size: 2.6vw;
    z-index: 1;
}
#modeling img{
    transition: box-shadow 0.4s ease-in-out;
    transition: transform 0.4s ease-in-out;
}
#modeling img:hover{
    box-shadow: 0rem 0rem 1rem 1rem rgba(0, 0, 0, 0.337);
    transform: scale(1.2);
    transition: box-shadow 0.4s ease-in-out;
    transition: transform 0.4s ease-in-out;
}


/* GALERÍA FOTOS */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.9);
}
#imageContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.close {
    position: absolute;
    top: 1vw;
    right: 2.4vw;
    color: #f1f1f1;
    font-size: 3vw;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}
#modalGallery {
    position: absolute;
    bottom: 1.4vw;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1vw;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
#modalGallery.active {
    opacity: 1;
    pointer-events: auto;
}
#modalGallery img {
    width: 8vw;
    height: 8vw;
    object-fit: cover;
    margin: 0.4vw;
    cursor: pointer;
    border: 0.1vw solid transparent;
    transition: border-color 0.3s ease;
}
#modalGallery img.active {
    border-color: #fff;
}
body.modal-open {
    overflow: hidden;
}






/* PIE DE PÁGINA */
footer {
    background: #241438;
    padding: 2rem 10vw 2rem;
}
footer h2{
    animation: entrada-elementos 1s ease 0s 1 normal forwards;
}
.social-media {
    display: flex;
    gap: 0.6rem;
    padding: 1vw 0.8rem;
    list-style: none; /* importante para quitar los puntos feos */
    justify-content: center;
    margin: 0;
    animation: entrada-elementos 1s ease 0s 1 normal forwards;
}
.social-media li {
    border: 0.2rem solid #d8bbf3;
    border-radius: 20%;
    width: 5vw;
    height: 5vw; 
}
.social-media svg{
    fill: #d8bbf3;
    padding: 0.4rem; 
}
footer p{
    font-style: italic;
    text-align: end;
    margin: 3rem 2rem 0;
    animation: entrada-elementos 1s ease 0s 1 normal forwards;
}
#big-icon svg{
    padding: 0.6rem; /* para que los iconos más grandes se vean igual que los otros */
}








/* FONDOS ANIMADOS */
.circles{
    position: absolute; /* hijo */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: circles 25s linear infinite;
    bottom: -150px;   
}
.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}
.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}
.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}
.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}
.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}
.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}
.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}
.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}
.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}
.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

.noise{
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200%;
    background: transparent url('assets/noise.jpg') repeat 0 0;
    background-repeat: repeat;
    animation: noise-animation 0.2s infinite;
    opacity: 0.1;
    visibility: visible; 
    overflow: hidden;
    z-index: -2;
}

.orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: #282323;
    overflow: hidden;
    z-index: -2;
}
.orbs span {
    width: 1vmin;
    height: 1vmin;
    border-radius: 1vmin;
    backface-visibility: hidden;
    position: absolute;
    animation: orbs;
    animation-duration: 38;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.orbs span:nth-child(0) {
    color: #d7c1c1;
    top: 95%;
    left: 39%;
    animation-duration: 58s;
    animation-delay: -107s;
    transform-origin: 18vw 20vh;
    box-shadow: -2vmin 0 1.1009418852332968vmin currentColor;
}
.orbs span:nth-child(1) {
    color: #ffffff;
    top: 63%;
    left: 81%;
    animation-duration: 65s;
    animation-delay: -40s;
    transform-origin: -9vw -23vh;
    box-shadow: -2vmin 0 1.0898335314863974vmin currentColor;
}
.orbs span:nth-child(2) {
    color: #ffffff;
    top: 14%;
    left: 85%;
    animation-duration: 39s;
    animation-delay: -9s;
    transform-origin: -6vw 8vh;
    box-shadow: 2vmin 0 1.0238392355663046vmin currentColor;
}
.orbs span:nth-child(3) {
    color: #d7c1c1;
    top: 3%;
    left: 100%;
    animation-duration: 36s;
    animation-delay: -57s;
    transform-origin: -20vw -11vh;
    box-shadow: -2vmin 0 0.6832639274846515vmin currentColor;
}
.orbs span:nth-child(4) {
    color: #ffffff;
    top: 75%;
    left: 46%;
    animation-duration: 27s;
    animation-delay: -93s;
    transform-origin: -15vw 7vh;
    box-shadow: 2vmin 0 0.3771118744743933vmin currentColor;
}
.orbs span:nth-child(5) {
    color: #ffffff;
    top: 69%;
    left: 57%;
    animation-duration: 17s;
    animation-delay: -84s;
    transform-origin: -23vw 6vh;
    box-shadow: -2vmin 0 1.131887017213865vmin currentColor;
}
.orbs span:nth-child(6) {
    color: #d7c1c1;
    top: 39%;
    left: 8%;
    animation-duration: 80s;
    animation-delay: -16s;
    transform-origin: -13vw 23vh;
    box-shadow: 2vmin 0 1.0551545636489132vmin currentColor;
}
.orbs span:nth-child(7) {
    color: #ffffff;
    top: 69%;
    left: 54%;
    animation-duration: 75s;
    animation-delay: -20s;
    transform-origin: -12vw -19vh;
    box-shadow: 2vmin 0 0.2555805879534718vmin currentColor;
}
.orbs span:nth-child(8) {
    color: #ffffff;
    top: 35%;
    left: 82%;
    animation-duration: 23s;
    animation-delay: -42s;
    transform-origin: 16vw 10vh;
    box-shadow: 2vmin 0 1.0393192416973076vmin currentColor;
}
.orbs span:nth-child(9) {
    color: #ffffff;
    top: 59%;
    left: 100%;
    animation-duration: 66s;
    animation-delay: -116s;
    transform-origin: 12vw -13vh;
    box-shadow: 2vmin 0 0.9696966675242149vmin currentColor;
}
.orbs span:nth-child(10) {
    color: #d7c1c1;
    top: 74%;
    left: 5%;
    animation-duration: 108s;
    animation-delay: -64s;
    transform-origin: 7vw 7vh;
    box-shadow: -2vmin 0 1.0029755819397614vmin currentColor;
}
.orbs span:nth-child(11) {
    color: #d7c1c1;
    top: 1%;
    left: 89%;
    animation-duration: 50s;
    animation-delay: -65s;
    transform-origin: 1vw -24vh;
    box-shadow: 2vmin 0 0.6386015294724945vmin currentColor;
}
.orbs span:nth-child(12) {
    color: #d7c1c1;
    top: 38%;
    left: 9%;
    animation-duration: 102s;
    animation-delay: -95s;
    transform-origin: 7vw 23vh;
    box-shadow: 2vmin 0 0.994961014628845vmin currentColor;
}
.orbs span:nth-child(13) {
    color: #d7c1c1;
    top: 26%;
    left: 75%;
    animation-duration: 27s;
    animation-delay: -15s;
    transform-origin: -10vw -11vh;
    box-shadow: -2vmin 0 1.184858905459684vmin currentColor;
}
.orbs span:nth-child(14) {
    color: #ffffff;
    top: 91%;
    left: 74%;
    animation-duration: 56s;
    animation-delay: -55s;
    transform-origin: -9vw 6vh;
    box-shadow: 2vmin 0 0.8032979187790454vmin currentColor;
}
.orbs span:nth-child(15) {
    color: #d7c1c1;
    top: 80%;
    left: 34%;
    animation-duration: 24s;
    animation-delay: -22s;
    transform-origin: 21vw -13vh;
    box-shadow: 2vmin 0 0.2700392998821106vmin currentColor;
}
.orbs span:nth-child(16) {
    color: #ffffff;
    top: 65%;
    left: 13%;
    animation-duration: 52s;
    animation-delay: -115s;
    transform-origin: 17vw 2vh;
    box-shadow: 2vmin 0 
}






/* SEPARADORES*/
.wave-separator svg {
    display: block;  
     width: 100%; 
}
#wave-1 svg{
    background-color: #241438;
    fill: #140921;
    max-height: 12vw;
    margin-top: -1px;
}
#wave-2{
    background-color: #140921;
    fill: #241438;
    max-height: 12vw;   
}
.curve-separator {
    position: absolute;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    height: 8vw;
}
.curve-separator svg {
    width: calc(100% + 1.3px);
    height: 100%;
}
#curve-1{
    fill: #241438;
    bottom: -3px;
}
#curve-2{
    fill: white;
    bottom: -3px;
}
#curve-3{
    transform: rotate(180deg);
    top: -0.5vw;
    height: 26vw;
}
#curve-3 svg{
    fill: #ffffff;
    display: block;
    width: calc(100% + 1.3px);
}
.triangle-separator {
    width: 100%;
    stroke: #7650a5;
    stroke-width: 4;
    stroke-dasharray: 20 30;
    stroke-linecap: round;
    fill: white;
    overflow: hidden;
    height: 100%;
}
.triangle-separator svg{
    height: 100%;
}














/* ANIMACIONES */
@keyframes silly-movement {
    from {
        transform: rotate(0.6deg) rotateY(0deg);
    }
    to {
        transform: rotate(6deg) rotateY(30deg);
    }
}
@keyframes circles {
    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}
@keyframes orbs {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}
@keyframes noise-animation {
    0% { transform: translate(0,0) }
  10% { transform: translate(-2.5%,-2.5%) }
  20% { transform: translate(-5%,2.5%) }
  30% { transform: translate(2.5%,-5%) }
  40% { transform: translate(-2.5%,7.5%) }
  50% { transform: translate(-5%,2.5%) }
  60% { transform: translate(7.5%,0) }
  70% { transform: translate(0,5%) }
  80% { transform: translate(-7.5%,0) }
  90% { transform: translate(5%,2.5%) }
  100% { transform: translate(2.5%,0) }
}
@keyframes barrido-aparece {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes barrido-desaparece {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(50px);
    }
}
@keyframes entrada-elementos {
	0% {
		opacity: 0;
		transform: translateY(50px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}







/* MEDIA QUERIES */
/*Aparece hamburguesa*/
@media (max-width: 1400px) {
    .nav-container {
        align-items: center; /* Importante para la hamburguesa centra verticalmente */
        margin: 0;
    }
    .nav-list {
        display: none; /* menu vertical oculto */
        flex-direction: column; /* Cambia la dirección a columna */
        position: absolute;
        align-items: flex-start;
        background: #7650a5;
        width: 100%;
        top: 0;
        padding: 200px 2rem 1000px;
        gap: 20px;
        z-index: 2;        
    }
    .hamburger {
        display: flex; /* SHOW */
        flex-direction: column;
        cursor: pointer;
        left: 2rem;
        width: 2.3rem;
        z-index: 1;
    }
/*menú pulsado*/
    .nav-list.active {
    display: flex; /* menu vertical activo */
    }
    .cross.active{
        display: flex; /* SHOW */
        cursor: pointer;
        font-size: 3.2rem;
        left: 1.4rem;
        z-index: 3; /* para poder darle a la cruz y que el logo no lo solape */
    }
    .logo-container.active{
        z-index: 2; /* para que el logo salga frente al menú */
    }
    body.no-scroll {
        overflow: hidden; /* para que no se pueda bajar */
        font-size: 1.8rem;
    }
}
@media (max-width: 390px) {
    body.no-scroll {
        font-size: 1.3rem; /* Importante para que la lista de enlaces se vea bien */
    }
}


/* SECCIÓN 1*/
@media (max-width: 1425px){
    #section-1 {
        padding: 100px 4rem 10px;
    }
    .button{
        padding: 1vw 4vw;
        font-size: 1.8vw;
    }
}
@media (max-width: 1024px){
    #presentation {
        padding: 0;
    }
    p {
        margin: 40px 20px 20px;
    }
    #section-4{
        gap: 2vw;
    }
    #section-4 p{
        margin: 0;
    }
    #description{
        padding: 4vw;
    }
    #section-5 p{
        margin: 0;
    }
    input{
        padding: 1vw 2vw;
        font-size: 2vw;
        height: 2.4rem;
    }
    #section-8 p{
        margin: 0;
    }
    #section-7 p{
        margin: 0;
    }
}

/* SECCIONES EN COLUMNA */
 @media (max-width: 730px){
    body {
        font-size: calc(1.6vw + 0.4rem);
    }
    #section-1 {
        flex-direction: column;
        padding: 8vw 8vw;
        gap: 25px;
    }
    h1 {
        font-size: calc(2.1vw + 1.4rem);
    }
    h3{
        font-size: calc(1.8vw + 0.6rem);
    }
    .button{
        padding: 1.6vw 8vw;
        font-size: calc(1.6vw + 0.4rem);
    }
    #presentation p {
        margin: 4vw 4vw;
    }
    #presentation-photo {
        width: 80vw;
    }
    /* transforma la imagen para que se recorte */
    #presentation-photo img {
        height: 58vw;
        object-fit: cover; /*para que se corte y no redimension*/
        border-radius: 18vw 0 18vw 0;
        object-position: 0 -10vw;
    }
    #wave-1 svg{
    max-height: 40vw;
    margin-top: -1px;
    }
    #section-2 {
        flex-direction: column;
        gap: 0;
        padding: 2rem 4vw 2rem;
    }
    #advertising-1, #advertising-3{
        flex-direction: row;
    }
    #advertising-1 img, #advertising-3 img{
        max-width: 40%;
        height: auto;
    }
    #advertising-2 img{
        max-width: 85%;
        margin: 4vw 0;
    }
    #section-2 h2{
        position: absolute;
        top: -2rem;
        text-shadow: 2px 2px 2px #030614;    
    }
    h2{
        font-size: calc(1.6vw + 1.2rem);
    }   
    #front-button {
        bottom: 0.1vw;
        padding: 1.8vw 10vw 1.6vw;
    }
    .social-media li {
        width: 7vw;
        height: 7vw;
    }
    .social-media svg {
    padding: 0.4rem;
    }
    #big-icon svg{
        padding: 0.5rem;
    }
    #section-3{
        padding: 4vw 8vw;
    }
    .books{
        flex-direction: column;
        gap: 2.4vw;
        position: relative; /* padre */
    }
    .book-cover{
        width: 80%;
        padding-top: 20vw;
    }
    .book-description{
        align-items: center;
        gap: 0.5rem;
    }
    .book-description p{
        margin: 0;
        font-size: 3.5vw;
        font-weight: 100;
    }
    #section-3 .book-synopsis{
        margin-bottom: 24vw;
        margin-top: 2vw;
    }
    .book-description h2{
        position: absolute; /* hijo 1 */
        font-size: 8vw;
        top: 5vw;
        z-index: 1;
    }
    .book-synopsis{
        line-height: 1.8;
        padding: 6vw 8vw;
        border-radius: 8vw;
    }
    .book-info{
        padding: 0 4vw;
        position: absolute; /* hijo 2 */
        bottom: 0;
        z-index: 1;
    }
    #butterfly{
        top: auto;
        bottom: -7vw;
        right: -6vw;
        width: 24vw;
    }
    #section-4{
        flex-direction: column-reverse;
        padding: 10vw 8vw;
    }
    #about-text h2{
        font-size: 8vw;
    }
    #description{
        padding: 8vw 6vw;
        border-radius: 8.2vw;
        gap: 1vw;
    }
    #section-4 #p1{
        font-size: 6vw;
    }
    #section-4 p{
        margin: 0;
        font-size: 4vw;
        letter-spacing: normal;
        word-spacing: normal;
    }
    #about-photo-container{
        width: 100%;
    }
    #about-photo{
        mask-size: 100% auto;
        position: relative; /* padre */
    }
    #about-photo img{
    position: absolute;/* hijo */
    left: 0;
    }
    #section-5{
        flex-direction: column;
        align-items: center;
        padding: 1.2rem 8vw 2rem;
    }
    #form{
        width: 100%;
    }
    input{
        height: 2.6rem;
        padding: 1.4vw 3vw;
        font-size: calc(1.6vw + 0.4rem);
    }
    textarea{
        padding: 4vw 3vw;
        font-size: calc(1.6vw + 0.4rem);
    }
    .music{
        padding: 8vw 8vw 16vw;
    }
    #section-6 img{
        bottom: 6vw;
        scale: 2;
    }
    #modeling{
        padding: 20vw 10vw 4vw;
    }
    #section-8 h2{
        font-size: calc(3.2vw + 0.4rem);
    }
    #section-7 h3{
        font-size: calc(2.4vw + 0.3rem);
    }
   .carrousel-arrow{
    height: 6vw;
    width: 6vw;
   }
   .item-description{
    padding: 0 4vw;
   }
}
@media (max-width: 730px) and (min-width: 421px){
    .carrousel-item{
        flex: 0 0 calc(100% / 2);
    }
    .close{
       top: 2vw;
       right: 4vw;
       font-size: 6vw; 
    }
    #modalGallery img{
        width: 16vw;
        height: 16vw;
        margin: 0.8vw;
   }
}


 /*columna texto más chiquito*/
 @media (max-width: 420px){
    body {
        font-size: 0.9rem;
    }
    .button{
        padding: 3vw 10vw 2vw;
    }   
    footer {
        padding: 40px 0;
    } 
    .social-media{
        width: 100%;
    }
    .social-media li {
        border: 1vw solid #d8bbf3;
        width: 12vw;
        height: 12vw;
    }   
    .social-media svg {
        padding: 1.8vw;
    }
    #big-icon svg{
        padding: 2.2vw;
    }
    .form-row{
        flex-direction: column;
        gap: 0;
    }
    textarea{
        height: 7rem;
    }
    #section-7 h3{
        font-size: 6vw;
    }
    .carrousel-item{
        flex: 0 0 100%;
        padding: 0 4vw;
    }
    .item-description{
        padding: 0 10vw;
       }
    .carrousel-arrow{
        height: 12vw;
        width: 12vw;
    }
    .close{
        top: 3vw;
        right: 5vw;
        font-size: 10vw; 
     }
     #modalGallery img{
        width: 20vw;
        height: 20vw;
        margin: 1vw;
   }
 }
 

/* texto sección 2 peque + libros*/
@media (max-width: 1160px) and (min-width: 731px){
    h2{
        font-size: 3.6vw;
    }
    #advertising-2 img{
        margin: 2vw 0;
    }
    #front-button{
        bottom: 0.1vw;
        padding: 0.9vw 6vw;
    }
    .social-media li {
        width: 6vw;
        height: 6vw;
    }
    .social-media svg{
        padding: 0.6vw;
    }
    #big-icon svg{
        padding: 0.8vw;
    }
    #section-3{
        padding: 4vw 1.8rem 2rem;
    }
    .book-cover{
        width: 36%;
    }
    #section-3 p{
        margin: auto 0;
    }
    #section-3 .book-synopsis{
        margin-top: 1.6vw;
    }
    .book-description{
        gap: 0.2rem;
    }
    .book-synopsis {
        padding: 3vw 4vw;
        line-height: 1.6;
    }
    #butterfly{
        width: 10vw;
        top: -4.6vw;
        right: -4vw;
    }
    #section-4{
        padding: 4vw 5vw;
    }
    .music{
        padding: 4vw 10vw 12vw;
    }
    #section-6 img{
        bottom: -22vw;
    }
}

/* wave 1 bug */
@media(max-width:900px){
     #wave-1 svg{
    margin-top: -0.5px;
    }

}
@media(max-width:900px) and (min-width: 729px){
   #section-6 img{
       bottom: -20vw;
   }
}

/* Redes sociales a dos columnas*/
@media (max-width: 700px) {
    .social-media { 
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 2vw;
        height: fit-content;
        width: fit-content;
        margin: 0 auto;
    }
    .social-media li {
        border: 0.7vw solid #d8bbf3;
        border-radius: 20%;
        width: 10vw;
        height: 10vw;
    }   
    .social-media svg {
        padding: 1.4vw;
    }
    #big-icon svg{
        padding: 2vw;
    }
    footer p{
        text-align: center;
        margin: 2rem 0 0;
    }
    
}



/* TRANSICIÓN PANTALLA GRANDE GENERAL*/
@media (min-width: 1800px){
    #logo{
        max-width: 150px;
    }
    .button{
        font-size: 1.6rem;
        padding: 20px 100px;
        border-radius: 60px;
    }
    #wave-1 svg{
    margin-top: -10px;
    }
    #front-button{
        padding: 1.4rem 8rem;
    }
    .social-media li{
        width: 4.5vw;
        height: 4.5vw;
    }
    .social-media svg{
        padding: 0.6rem;
    }
    #big-icon svg{
    padding: 0.8rem; 
    }
    footer p{
        font-size: 1.8rem;
    }
    .book-synopsis{
        padding: 3rem 3.2rem 2rem;
        line-height: 1.6;
        border-radius: 4rem;
    }
    .book-cover{
        width: 36%;
    }
    #butterfly{
        width: 10vw;
        top: -4vw;
        right: -4vw;
    }
    #description{
        padding: 3.6vw;
        border-radius: 4vw;
    }
    #section-4 #p1{
        font-size: 2.2vw;
    }
    #section-4 p{
        font-size: 1.5vw;
    }
    input{
        height: 5rem;
        border-radius: 2.2rem;
    }
    textarea{
        height: 10rem;
        border-radius: 3rem;
    }
    .music{
        padding: 2.6vw 20vw 8vw;
    }
    iframe{
        height: 16vw;
    }
    #section-6 img{
        bottom: -30vw;
    }
}   


@media (min-width: 2280px){
    .button{
        font-size: 2rem;
        padding: 1.4rem 6rem;
        border-radius: 60px;
    }
    footer p{
        font-size: 2rem;
    }
    #section-3{
        padding: 6rem 10vw;
    }
    .books{
        gap: 4rem
    }
    .book-cover{
        width: 32%;
    }
}