* {
    box-sizing: border-box;
    --backgoundColor: #383838;
    --textColor: #FFA8F7;
    --secondaryTextColor: white;
    --bubbleColor: black;

    --primaryColor: #ff4d94;
    --secundaryColor: #666666;
    --secundaryColorHover: #444444;
  }

  html, body {
    scroll-behavior: auto; /* Sin transiciones iniciales */
  }
  
  /* Set a background color */
  body {
    background-color: var(--backgoundColor);
    /*font-family: Helvetica, sans-serif;*/
    font-family: "Edu AU VIC WA NT Pre";
  }

  ::-moz-selection { /* Code for Firefox */
    color: var(--bubbleColor);
    background: var(--textColor);
  }
  
  ::selection {
    color: var(--bubbleColor);
    background: var(--textColor);
  }
  
  /* The actual timeline (the vertical ruler) */
  .timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* The actual timeline (the vertical ruler) */
  .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--textColor);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 12px;
  }
  
  /* Container around content */
  .container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
  }
  
  /* The circles on the timeline */
  .container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: var(--textColor);
    border: 4px solid var(--bubbleColor);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
  }
  
  /* Place the container to the left */
  .left {
    left: 0;
  }
  
  /* Place the container to the right */
  .right {
    left: 50%;
  }
  
  /* Add arrows to the left container (pointing right) */
  .left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--textColor);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--bubbleColor);
  }
  
  /* Add arrows to the right container (pointing left) */
  .right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--bubbleColor);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--bubbleColor);
  }
  
  /* Fix the circle for containers on the right side */
  .right::after {
    left: -16px;
  }
  
  /* The actual content */
  .content {
    padding: 20px 30px;
    background-color: var(--bubbleColor);
    position: relative;
    border-radius: 6px;
  }
  
  /* Media queries - Responsive timeline on screens less than 600px wide */
  @media screen and (max-width: 600px) {
  /* Place the timelime to the left */
    .timeline::after {
      left: 31px;
    }
  
  /* Full-width containers */
    .container {
      width: 100%;
      padding-left: 70px;
      padding-right: 25px;
    }
  
  /* Make sure that all arrows are pointing leftwards */
    .container::before {
      left: 60px;
      border: medium solid var(--bubbleColor);
      border-width: 10px 10px 10px 0;
      border-color: transparent var(--bubbleColor) transparent transparent;
    }
  
  /* Make sure all circles are at the same spot */
    .left::after, .right::after {
      left: 15px;
    }
  
  /* Make all right containers behave like the left ones */
    .right {
      left: 0%;
    }
  }

  video, .thumbnailClass{
    width: 100%;
    height: auto;
  }

  iframe{
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .customIframe{
    width: 100%;
    height: auto;
  }

  .videos{
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
    height: auto;
  }

  .icono-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px; /* Ajusta el tamaño según sea necesario */
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
      justify-content: center;
}
.icono-play::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }


  img{
    width: 33%;
    max-width: 100%;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
  }

  .myImage {
    cursor: pointer;
  }
  

  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropbtn {
    background-color: var(--secundaryColor);
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;

  }
  
  .dropdown-content audio {
    display: block;
    padding: 12px 16px;
    max-width: 100%; /* Ajusta el ancho al 100% del contenedor */
    width: 100%;

    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */


  }

  @media (max-width: 768px) {
    .dropdown-content audio {
      padding: 8px 12px; /* Ajusta el padding en pantallas pequeñas */
    }
  }

  .download {
    background-color: var(--secundaryColor);
    border: none;
    color: white;
    padding: 7px 20px;
    cursor: pointer;
    font-size: 13px;
    border-radius: 12px; /* Bordes redondeados */
  }
  
  /* Darker background on mouse-over */
  .download:hover {
    background-color: var(--secundaryColorHover);
  }

  .backdrop {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0; 
  }

  .popup {
    position: absolute;
    width: 500px;
    height: auto;
    left: 50%;
    transform: translate(-50%, -50%); 
  }
  
  .scrollable {
    overflow-y: scroll;
    height:350px;
  }
  
  /* Estilos para el modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Estilos para las flechas */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.3s;
  user-select: none;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

h2{
  color: var(--textColor);
}
h3, h4, h5, p{
  color: var(--secondaryTextColor)
}
#titleContainer {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#titleIMG {
  width: 65%;
  height: auto;
}
.loading{
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
h1.loading {
  color: var(--secondaryTextColor);
  font-size: 200%;
} 
h2.loading {
  color: var(--textColor);
  font-size: 300%
}

.transparent{
  opacity: 0;
}

.degradatingI{
  animation-name: degradating;
  animation-duration: 5000ms;
  animation-iteration-count: 1;
}

.degradatingT{
  animation-name: degradating;
  animation-duration: 2500ms;
  animation-iteration-count: 1;
}

#slogan, #Despedida {
  color: var(--textColor);
  display: flex;
  justify-content: center;
  align-items: center; /* Cambié de flex-start a center */
  font-size: 75px;
  width: 100%; /* Asegura que el contenedor ocupe todo el ancho */
  text-align: center; /* Centra el texto dentro del contenedor */


  /*
  -webkit-user-select: none; 
  -ms-user-select: none; 
  user-select: none; 

  */
}

@media (max-width: 768px) {
  #slogan, #Despedida {
    font-size: 10vw; /* Ajusta el tamaño de la fuente en función del ancho de la pantalla */
  }
}

@keyframes degradating{
  0%{
    opacity: 0;
  }

  50%{
    opacity: 50%;
  }

  100%{
    opacity: 1;
  }
}

object {
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
}

button {
  align-items: center;
  background-color: var(--textColor);
  border-radius: 12px;
  box-shadow: transparent 0 0 0 3px, var(--secundaryTextColor) 0 6px 20px;
  box-sizing: border-box;
  color: var(--secundaryTextColor);
  cursor: pointer;
  display: inline-flex;
  flex: 1 1 auto;
  font-family: "Edu AU VIC WA NT Pre";
  font-size: 1.2rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  margin: 0;
  outline: none;
  padding: 1rem 1.2rem;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .2s, -webkit-box-shadow .2s;
  white-space: nowrap;
  border: 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;

  overflow-wrap: break-word;
  white-space: normal;

  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}


@media (max-width: 768px) {
  button {
    font-size: 1rem; /* Reduce el tamaño del texto */
    padding: 0.8rem 1rem; /* Ajusta el padding */
    width: 100%; /* Hace que el botón ocupe todo el ancho del contenedor */
  }
}

button:hover {
  box-shadow: var(--secundaryColorHover) 0 0 0 5px, transparent 0 0 0 0;
}