* {
  box-sizing: border-box;
}

body {
  background-color: white;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  display: none;
}

/* El header contiene la primera barrita de arriba */
header {
  text-align: right;
  position: fixed;
  top: 5%;
  right: 0px;
  z-index: 1;
}

/* Aqui se situa el logo, el cual esta dentro del header */
.logo {
  max-width: 39%;
  max-height: 39%;
  margin-right: -9.5%;
  
}

.image-container{
  width: 100%;
  position: relative;
  margin-left: 60px;
}

@media screen and (max-width: 1100px){
  .image-container{
    margin-left: 0px;
  }
}

.background-image{
  max-width: 90%;
  height: auto;
  top: -6px;
  z-index: -1;
}



/* AQUI EMPIEZAN LOS LETRERITOS */

.words-about{ /* Letrerito de ABOUT */
  text-decoration: none;
  font-weight: 400;
  font-size: 1.2vw;
  color:rgb(255, 255, 255);
  position: absolute;
  z-index: 2;
  transform: rotate(45deg);
  top: 10.4%;
  left: 27.4%;
}
.words-about:hover{
  color:#FFB1C1;
}

.words-3d{ /* Letrerito de 3D MODELLING */
  text-decoration: none;
  font-weight: 400;
  font-size: 1.2vw;
  color:rgb(255, 255, 255);
  position: absolute;
  z-index: 2;
  transform: rotate(-45deg);
  top: 77.6%;
  left: 64.8%;
}
.words-3d:hover{
  color:#FFB1C1;
}

.words-tfg{ /* Letrerito de TFG */
  text-decoration: none;
  font-weight: 400;
  font-size: 1.2vw;
  color:rgb(255, 255, 255);
  position: absolute;
  z-index: 2;
  transform: rotate(-45deg);
  top: 43.5%;
  left: 40.25%;
}
.words-tfg:hover{
  color:#FFB1C1;
}

.words-vfx{ /* Letrerito de VFX */
  text-decoration: none;
  font-weight: 400;
  font-size: 1.2vw;
  color:rgb(255, 255, 255);
  position: absolute;
  z-index: 2;
  transform: rotate(-45deg);
  top: 53%;
  left: 52.7%;
}
.words-vfx:hover{
  color:#FFB1C1;
}

.words-ux{ /* Letrerito de UX */
  text-decoration: none;
  font-weight: 400;
  font-size: 1.2vw;
  color:rgb(255, 255, 255);
  position: absolute;
  z-index: 2;
  transform: rotate(-45deg);
  top: 83.5%;
  left: 45.2%;
}
.words-ux:hover{
  color:#FFB1C1;
}

.words-animation{ /* Letrerito de ANIMATION */
  text-decoration: none;
  font-weight: 400;
  font-size: 1.2vw;
  color: white;
  position: absolute;
  z-index: 2;
  transform: rotate(-45deg);
  top: 26.6%;
  left: 42.86%;
}
.words-animation:hover{
  color:#FFB1C1;
}

.words-illustration{ /* Letrerito de ILLUSTRATION */
  text-decoration: none;
  font-weight: 400;
  font-size: 1.2vw;
  color:rgb(255, 255, 255);
  position: absolute;
  z-index: 2;
  transform: rotate(45deg);
  top: 54.5%;
  left: 31.8%;
}
.words-illustration:hover{
  color:#FFB1C1;
}

.words-design{ /* Letrerito de GRAPHIC DESIGN */
  text-decoration: none;
  font-weight: 400;
  font-size: 1.2vw;
  color:rgb(255, 255, 255);
  position: absolute;
  z-index: 2;
  transform: rotate(45deg);
  top: 17%;
  left: 49.1%;
}
.words-design:hover{
  color:#FFB1C1;
}



 /* AQUI EMPIEZAN LOS AMIGOS FLOTANTES */

.floating-box1{
  font-size: 3vw; /* Change */
  color:rgb(0, 0, 0); /* Change */
  position: absolute;
  z-index: 2;
  top: 28%; /* Change */
  left: 58%; /* Change */
  animation-name: floating-box1; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box1 {
  0% { transform: translate(0,  0%); }
  50%  { transform: translate(0, 30%); }
  100%   { transform: translate(0, -0%); }   
}

.floating-box2{
  font-size: 6vw;  /* Change */
  color:#FFB1C1; /* Change */
  position: absolute;
  z-index: 2;
  top: 26%; /* Change */
  left: 18%; /* Change */
  animation-name: floating-box2; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box2 {
  0% { transform: translate(0,  0%); }
  50%  { transform: translate(0, -25%); }
  100%   { transform: translate(0, 0%); }   
}

.floating-box3{
  font-size: 10vw; /* Change */
  color:#000000; /* Change */
  position: absolute;
  z-index: 2;
  top: 80.7%; /* Change */
  left: 56.65%; /* Change */
  animation-name: floating-box3; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box3 {
  0% { transform: translate(0,  0%); }
  50%  { transform: translate(0, 20%); }
  100%   { transform: translate(0, -0%); }   
}

.floating-box4{
  font-size: 4.5vw; /* Change */
  color:rgb(0, 0, 0); /* Change */
  position: absolute;
  z-index: 2;
  top: 98%; /* Change */
  left: 65%; /* Change */
  animation-name: floating-box4; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box4 {
  0% { transform: translate(0,  0%); }
  50%  { transform: translate(0, -30%); }
  100%   { transform: translate(0, 0%); }
}

.floating-box5{
  font-size: 4vw;  /* Change */
  color:#FFB1C1;/* Change */
  position: absolute;
  z-index: 2;
  top: -5%; /* Change */
  left: 21%; /* Change */
  animation-name: floating-box5; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box5 {
  0% { transform: translate(0,  0%); }
  50%  { transform: translate(0, 20%); }
  100%   { transform: translate(0, -0%); }   
}

.floating-box6{
  font-size: 3vw; /* Change */
  color:#FFB1C1; /* Change */
  position: absolute;
  z-index: 2;
  top: 52.3%; /* Change */
  left: 28.2%; /* Change */
  animation-name: floating-box6; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box6 {
  0% { transform: translate(0,  0%); }
  50%  { transform: translate(0, 30%); }
  100%   { transform: translate(0, -0%); }   
}

.floating-box7{
  font-size: 6vw; /* Change */
  color:#FFB1C1; /* Change */
  position: absolute;
  z-index: 2;
  top: 96%; /* Change */
  left: 54%; /* Change */
  animation-name: floating-box7; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box7 {
  0% { transform: translate(0,  0%); }
  50%  { transform: translate(0, 12%); }
  100%   { transform: translate(0, 0%); }   
}

.floating-box8{
  font-size: 2vw; /* Change */
  color:#000000; /* Change */
  position: absolute;
  z-index: 2;
  top: 93%; /* Change */
  left: 70%; /* Change */
  animation-name: floating-box8; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box8 {
  0% { transform: translate(0,  0%); }
  50%  { transform: translate(0, 30%); }
  100%   { transform: translate(0, 0%); }   
}

.floating-box9{
  font-size: 2vw;  /* Change */
  color:#ffffff; /* Change */
  position: absolute;
  z-index: 2;
  top: 23%; /* Change */
  left: 38.4%; /* Change */
  animation-name: floating-box9; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box9 {
  0% { transform: translate(0,  0%); }
  50%  { transform: translate(0, -25%); }
  100%   { transform: translate(0, 0%); }   
}

.floating-box10{
  font-size: 5.1vw; /* Change */
  background-color: #ffffff;
  opacity: 100%; /* Change */
  color:#000000; /* Change */
  position: absolute;
  z-index: 2;
  top: 43.8%; /* Change */
  left: 10%; /* Change */
  animation-name: floating-box10; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box10 {
  0% { transform: translate(0, -25%); }
  50%  { transform: translate(0,  0%); }
  100%   { transform: translate(0, -25%); }   
}

.floating-box11{
  font-size: 3.4vw;  /* Change */
  color:#FFB1C1; /* Change */
  position: absolute;
  z-index: 2;
  top: 10.85%; /* Change */
  left: 13%; /* Change */
  animation-name: floating-box11; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box11 {
  0% { transform: translate(0,  0%); }
  50%  { transform: translate(0, -25%); }
  100%   { transform: translate(0, 0%); }   
}

.floating-box12{
  font-size: 5.5vw; /* Change */
  background-color: #ffffff;
  opacity: 100%; /* Change */
  color:#000000; /* Change */
  position: absolute;
  top: 61.8%; /* Change */
  left: 75.3%; /* Change */
  animation-name: floating-box12; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box12 {
  0% { transform: translate(0, 0%); }
  50%  { transform: translate(0,  -25%); }
  100%   { transform: translate(0, 0%); }   
}

.floating-box13{
  font-size: 1.8vw; /* Change */
  color:#000000; /* Change */
  position: absolute;
  z-index: 2;
  top: 52%; /* Change */
  left: 63%; /* Change */
  animation-name: floating-box13; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box13 {
  0% { transform: translate(0, 0%); }
  50%  { transform: translate(0,  -25%); }
  100%   { transform: translate(0, 0%); }   
}

.floating-box14{
  font-size: 4.5vw; /* Change */
  color:#ffffff; /* Change */
  position: absolute;
  z-index: 2;
  top: 70.3%; /* Change */
  left: 47%; /* Change */
  animation-name: floating-box14; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box14 {
  0% { transform: translate(0, 0%); }
  50%  { transform: translate(0,  -25%); }
  100%   { transform: translate(0, 0%); }   
}

.floating-box15{
  font-size: 7vw; /* Change */
  color:#ffffff; /* Change */
  position: absolute;
  z-index: 1; /* Para que no se choque con las letras */
  top: 11.05%; /* Change */
  left: 29%; /* Change */
  animation-name: floating-box15; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box15 {
  0% { transform: translate(0, 0%); }
  50%  { transform: translate(0,  16%); }
  100%   { transform: translate(0, 0%); }   
}

.floating-box16{
  font-size: 1.5vw;  /* Change */
  color:#ffffff; /* Change */
  position: absolute;
  z-index: 2;
  top: -1%; /* Change */
  left: 34.3%; /* Change */
  animation-name: floating-box16; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box16 {
  0% { transform: translate(0,  0%); }
  50%  { transform: translate(0, -25%); }
  100%   { transform: translate(0, 0%); }   
}

.floating-box17{
  font-size: 2.8vw;  /* Change */
  color:#ffffff; /* Change */
  position: absolute;
  z-index: 2;
  top: 70.9%; /* Change */
  left: 57.7%; /* Change */
  animation-name: floating-box17; /* Change */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating-box17 {
  0% { transform: translate(0,  0%); }
  50%  { transform: translate(0, 20%); }
  100%   { transform: translate(0, 0%); }   
}


/* AQUI EMPIEZAN LAS CARDS RESPONSIVAS */
/* Remove extra left and right margins, due to padding */
.row {
  margin: 0 5px;
  margin-top: -3px;
  margin-bottom: 5px;
}

/* Float four columns side by side */
.column {
  float: left;
  width: 25%;
  padding: 5px;
  padding-top: 5px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive columns */
@media screen and (max-width: 715px) {
  .column {
    width: 100%;
    display: block;
    margin-bottom: 5px;
  }
}


/* Style the counter cards */
.card {
  padding: 10px;
  text-align: center;
  background-color: #FFB1C1;
  border-color: #000000;
  border-width: 2px;
  border-style:dotted;
  /*Lo que antes era card a*/
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  color: rgb(0, 0, 0);
}

.card-link {
  text-decoration: none; /* Elimina la decoración de subrayado */
  color: inherit; /* Hereda el color del texto de su contenedor */
  display: block; /* Hace que el enlace ocupe todo el espacio disponible */
}

footer {
  background-color: #FFB1C1;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 10px 0;
  margin-bottom: 0%;
  margin-top: 200px;
  
}

.social-icons {
  list-style-type: none;
  display: flex;
  justify-content: center;
  margin-right: 39px;
}

.social-icons li {
  margin: 0 10px;
}

.rrss-icons{
  width: 40px;
}

.mailto{
  text-decoration: none;
  color: #000000;
}







/*solucionar el telefono y el correo electronico*/

/* Estilos para pantallas de ORDENADOR (ancho mínimo de 716px) */
.phone-number{
  margin-top: 28px;
  margin-left: 16px;
}

@media screen and (min-width: 716px) {
  .contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .contact-info h5,
  .contact-info h6 {
    flex: 1;
    text-align: center;
  }
}

/* Estilos para pantallas de MOVIL (ancho máximo de 715px) */
@media screen and (max-width: 715px) {
  .phone-number{
    margin-top: -16px;
    margin-left: 0px;
  }

  .contact-info h5,
  .contact-info h6 {
    width: 100%;
    text-align: center;
  }
}








/* TEXTOS */
.titulos{
  font-size: 150px;
  letter-spacing: -2.5px;
  margin-left: 100px;
  margin-right: 350px;
  margin-bottom: 10px;
  margin-top: 25px;
}

@media screen and (max-width: 1100px) {
  .titulos {
    font-size: 50px;
    letter-spacing: -2.5px;
    margin-left: 20px;
    margin-right: 300px;
    margin-bottom: 10px;
    margin-top: 40px;
  }
}

/* 
.youtube {
  max-width: 672px;
  margin-left: 100px;
  padding-top: 33px;
}

@media screen and (max-width: 1100px) {
  .youtube {
    margin-left: 0px;
  }
}

.caption{
  font-size: 20px;
  text-align: center;
  margin-top: 11px;
}

@media screen and (max-width: 1100px) {
  .caption{
    font-size: 17px;
    text-align: center;
  }
} */

.caption2{
  font-size: 18px;
  text-align: center;
  margin-top: 14px;
}

@media screen and (max-width: 1100px) {
  .caption2{
    margin-left: 100px;
    margin-right: 100px;
    font-size: 16px;
    text-align: center;
  }
}

.resaltar{
  background-color: #ffc1cd;
}




/*PAGINA DE ABOUT*/
.about-text{
  margin-left: 100px;
  margin-right: 200px;
  margin-top: 220px;
  font-size: 20px;
  line-height: 39px;
  max-width: 910px;
}

.about-img{
  opacity: 50%;
  position: absolute;
  transform: rotate(17deg);
  z-index: -2;
  top:60px;
  left: 750px;
  width: 77vw; 
}

.about-content{
  width: 100%;
  height: 1000px;
  top: -200px;
  margin-bottom: -400px;
  position: relative;
  overflow: hidden;
  float:inherit;
}

@media screen and (max-width: 1100px) {
  .about-text{
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 220px;
    font-size: 16px;
    line-height: 28px;
    max-width: 910px;
  }
  .about-img{
    opacity: 0%;
    position: absolute;
    transform: rotate(17deg);
    z-index: -2;
    top:64px;
    left: 730px;
    width: 1vw;
  }
  .about-content{
    width: 100%;
    height: 100%;
    top: -200px;
    margin-bottom: -300px;
    position: relative;
    overflow: hidden;
    float:inherit;
  }
}


/*PAGINA DE TFG*/
.tfg-container {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-left: 100px;
  margin-right: 100px;
}


.tfg-content {
  position: relative;
  display: flex;
  flex-direction: column;
}


.tfg-image{
  margin-top: 10px;
  padding-left: 100px;
  padding-right: 100px;
  max-width: 100vw;
  align-self: center;
}

@media (max-width: 1100px) {
  .tfg-container {
    flex-direction: column;
  }
  
  .tfg-image{
    padding-left: 20px;
    padding-right: 20px;
  }
}

.centrate{
  align-self: center;
  text-align: right;
  text-align: justify;
  padding-left: 100px;
  padding-right: 100px;
  font-size: 18px;
  line-height: 28px;
  margin-bottom: -3px;
  max-width: 81.5%;
 
}

@media (max-width: 1100px) {
  .centrate{
    font-size: 16px;
    max-width: 100%;
    line-height: 25px;
    padding-left: 20px;
    padding-right: 20px;
  }
}



/*PAGINA DE GRAPHIC DESIGN*/

.gd-content {
  display: flex;
  align-items: flex-start; /* Alinear al principio verticalmente */
  justify-content: center; /* Centrar horizontalmente */
  gap: 20px; /* Espacio entre la imagen y el texto */
  text-align: left; /* Alinear el texto a la izquierda */
  max-width: 80vw; /* Ancho máximo para el contenido */
  margin: 0 auto; /* Centrar el contenedor */
}

.gd-image {
   max-width: 46vw;
}

.gd-parrafo {
  font-size: 18px;
  max-width: 30%;
  line-height: 25px;
}

@media (max-width: 1100px) {
  .gd-parrafo {
    font-size: 16px;
    margin-top: -3px;
    line-height: 20px;
  }
}


/*PAGINA DE UX*/
.ux-content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.ux-images-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Dos columnas */
  grid-template-rows: repeat(3, 1fr); /* Tres filas */
  gap: 0px; /* Espacio entre las imágenes */
  max-width: 82vw;
  padding-left: 20px;
  padding-right: 20px;
  
}

.ux-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ux-image img {
  max-width: 100%; /* Escala automáticamente la imagen según el tamaño de la pantalla */
  height: 100%; /* asi se deforman un pokitititito y consiguen llegar a la altura */
}

@media (max-width: 1100px) {
  .ux-images-container {
    
    max-width: 100vw;
    
    
  }
}





/* ANIMATION */
.demoreel {
  position: relative;
  width: 90%; /* ocupa el 90% del ancho del viewport */
  max-width: 1350px; /* no pasa de esta anchura */
  margin: 0 auto; /* lo centra */
  padding-bottom: 32%; /* proporción original que usabas */
  height: 0;
}

.demoreel iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media screen and (max-width: 1100px) {
  .demoreel {
    padding-bottom: 55%;
  }
}






/*FOOTER DE INICIO*/

/* Remove extra left and right margins, due to padding */
.index-row {
  margin: 0 5px;
  margin-top: -3px;
  margin-bottom: 5px;
}

/* Float four columns side by side */
.index-column {
  float: left;
  width: 25%;
  padding: 5px;
  padding-top: 5px;
}

/* Clear floats after the columns */
.index-row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive columns */
@media screen and (max-width: 715px) {
  .index-column {
    width: 100%;
    display: block;
    margin-bottom: 5px;
  }
}

/* Style the counter cards */
.index-card {
  padding: 10px;
  text-align: center;
  background-color: #FFB1C1;
  border-color: #000000;
  border-width: 2px;
  border-style:dotted;
  /*Lo que antes era index-card a*/
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  color: rgb(0, 0, 0);
}

@media (min-width: 900px) {
  .index-row .index-column {
    display: none; /* Oculta los elementos dentro de la clase .column */
  }
}

@media screen and (max-width: 1100px){
  .subete{
    margin-top: 47px;
  }
}