

/*ARCHIVO DE ESTILOS PRINCIPAL*/

@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@100&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Poppins:wght@500;600&display=swap");

/*==================================================== FORMATO GENERAL=======================================================*/


main {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    text-align: center;
    color: rgb(0, 0, 0);
}

.carta,
.contact,
.about,
.meetings,
.carta-light h1 {
    text-align: center;
    font-family: "Kaushan Script", cursive;
    font-size: 40px;
    color: #f39422;
}

/* --- Reseteo y estilos base --- */

html, body {
    width: 100%;
    max-width: 100%;
}

html {
    box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit; /* Hereda el box-sizing del html */
  margin: 0;
  padding: 0;
}

body {
    background-color: rgb(253, 253, 253);
    font-family: "Raleway", sans-serif;
    overflow-x: hidden;
}


/* GENERAL MEDIA QUERYS
/* Tablet (mediano) */

@media (max-width: 1024px) {

.carta h1,
.about h1,
.meetings h1,
.carta-light h1 {
  font-size: 50px;
  padding-bottom: 2%;
}

}
@media (max-width: 768px) {

  html {
    overflow-y: auto;
    overflow-x: hidden;

}


}

/* Móviles (chico) */
@media (max-width: 480px) {

.carta h1,
.about h1,
.meetings h1,
.carta-light h1 {
  font-size: 35px;
  padding-bottom: 2%;
}


}

/*====================================================MENU=======================================================*/
.padre {
    width: 100%;
    display: flex;
    height: auto;
    justify-content: center;
}

a {
    text-decoration: none;
}

header{
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: inset 0 0 5px 0 #f9f9fa;
    background-color: #000000;
}

.menu {
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    flex-flow: row nowrap;
    height: 50px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    justify-content: center;
    margin-right: 0;

}

.nav a {
    color: #f3f3fa;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: bold;
}

.nav a:hover{
    background-color: #353564;
    border-radius: 3px;
    background-position: 100% 0;
  }
  
.fa-brands {
    font-size: 25px;
}

/* Por defecto mostrar el texto completo */
.nav-short {
  display: none;
}
.nav-full {
  display: inline;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/*------------------------------- MENU MEDIA QUERYS-------------------------------------------------------*/

@media (max-width: 579px) {

  header {
    background-color: transparent !important;
    height: auto !important;
    box-shadow: none !important;
    border: none !important;
  }

  header .menu {
    background-color: transparent !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    flex-direction: column;
    align-items: center;
    height: auto !important;
    margin: 0;
    position: relative;
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 1100;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 220px;
    padding: 12px;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1099;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: none !important;
    border: none !important;
  }

  .nav.active {
    display: flex !important;
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  .nav a {
    font-size: 13px;
    padding: 6px 10px;
    border: none !important;
    box-shadow: none !important;
    color: white;
    text-align: center;
  }

  .margen-interno {
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .nav-full {
    display: none;
  }

  .nav-short {
    display: inline;
    width: 100%;
  }
}


/* Dispositivos medianos (580px–770px) */
@media (min-width: 580px) and (max-width: 820px) {

  header .menu {
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 0 !important;
  }

   .menu .margen-interno {
    margin: 0 auto;
    padding: 0 !important;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    text-align: center;
  }

  .nav a {
    font-size: 20px;
    margin: 0 6px;
  }

  .margen-interno {
    margin: 0 auto;
    padding: 0 10px;
    width: 100%;
  }

  .logo {
    text-align: center;
    margin-bottom: 10px;
  }

  .social {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .social p {
    font-size: 15px;
  }

  .social a {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .nav-full {
    display: none;
  }

  .nav-short {
    display: inline;
  }
}


/*====================================================BANNER=======================================================*/

/* Estilos base */
.banner {
    padding-top: 6%;
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(13, 22, 33, 255);
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1)), url("../img/backgrounds/anderson.png");
    background-size: cover;
    background-position: center;
    overflow: visible;
    flex-direction: row;
    text-align: left;
    gap: 2rem;
}

.banner img {
    width: 250px;
    max-width: 90vw;
    border-radius: 50%;
    object-fit: cover;
}

.card {
    position: relative;
    justify-content: center;
    align-items: center;
    padding: 0%;
    border-radius: 50%;
    background-color: transparent; 
}

.punto-luz {
    position: absolute;
    width: 6.5px;
    height: 6.5px;
    background-color: white;
    border-radius: 50%;
    animation: orbit2 3s linear infinite;
    z-index: 1;
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.7);
}

:root {
  --orbita-radio: 125px;
}

@keyframes orbit2 {
  from { transform: rotate(0deg) translateX(var(--orbita-radio)) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(var(--orbita-radio)) rotate(-360deg); }
}

.banner_tex h1 {
    font-family: 'Kaushan Script', cursive;
    color: #fff;
    margin-left: 10%;
    font-size: clamp(20px, 5vw, 32px);
}

.banner_tex h2 {
    font-family: 'Kaushan Script', cursive;
    color: #F39422;
    font-size: clamp(25px, 8vw, 50px);
    margin-left: 10%;
}

.banner_tex h3 {
    color: #fff;
    font-size: clamp(14px, 3vw, 18px);
    margin-left: 10%;
}

.banner_tex {
    display: flex;
    flex-direction: column;
    align-items: center; /* centrado horizontal */
    text-align: center;  /* centrado del texto */
}

.banner_tex h1,
.banner_tex h2,
.banner_tex h3 {
    margin-left: 0;
}

/*====================================== BANER MEDIA QUERYS ==================================================/*

/* Tablet (mediano) */
@media (max-width: 1024px) {

    .banner {
        flex-direction: column;
        text-align: center;
        height: auto;
    }

    .banner img {
        padding-top: 10%;
        width: 350px;
    }

    .banner_tex h1{
        font-size:35px;
    }

    .banner_tex h2{
        font-size: 60px ;
    }

    .banner_tex h3 {
        font-size:23px;
    }

    :root {
    --orbita-radio: 175px;
  }

}
@media (max-width: 768px) {
    .banner {
        flex-direction: column;
        text-align: center;
        margin-top: 0%;
    }

    .banner_tex {
        align-items: center;
    }
    .banner img {
        width: 200px;
    }

     .banner_tex h3 {
        font-size:15px;
    }
    :root {
    --orbita-radio: 175px;
  }
  .punto-luz {
    margin-top: 10px; /* o top: 10px; según posición original */
  }

}

/* Móviles (chico) */
@media (max-width: 480px) {
    .banner img {
        width: 200px;
    }

    .banner_tex h2 {
        font-size: 45px;
    }

    .banner_tex h3 {
        font-size: 90%;
    }
    :root {
    --orbita-radio: 110px;
  }
  .punto-luz {
    margin-top: 10px; /* o top: 10px; según posición original */
  }
}
/*====================================================ABOUT=======================================================*/
.about {
align-items: center;
    justify-content: center;
    margin-top: -2%;
    margin-bottom: 0%;
    overflow: visible;
    min-height: 400px;
}

.about_academic {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Alinea verticalmente al centro */
    align-items: center;     /* Alinea horizontalmente al centro */
    text-align: center;      /* Asegura que el texto se centre horizontalmente */
    width: 80%;
    height: 80%;
    margin-top: -20px;
}

div.about_academic p {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size:large;
    color:#000;
    margin: 0%;
}
.about_text {
    padding-bottom: 20px;
    margin-left: 3%;
    width: 50%;   
}
.about_text p {
    align-items: center;
    margin-left: 30px;
    gap: 10px;
    
}

.about_text p br {
    display: block;
    line-height: 0; /* Ajusta para reducir el espacio */
    margin: 3px 0; /* Personaliza el espaciado */
}
.about p {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 16px;
    text-align: justify;
    color: rgba(31, 26, 26, 0.904);
}

.tarjetas-container-titles{
    flex-grow: 1; /* Permite que este contenedor crezca y ocupe todo el espacio disponible */
    width: 72%; /* Asegura que ocupe todo el ancho */
    height: 72%;
    justify-content: center; /* Centra el contenido horizontalmente */
    align-items: center; /* Centra el contenido verticalmente */
    display: block; /* Asegúrate de que esté en formato de bloque */
    height: auto; /* Ajustar según el contenido */
    overflow: visible; /* Previene errores visuales */
    position: relative;
    margin-bottom: 10%;
}

.tarjetas-container-titles .slick-slide {
    height: 100%;
}

/* Cambiar color de las flechas solo para el carrusel de títulos */
.tarjetas-container-titles .slick-prev::before, 
.tarjetas-container-titles .slick-next::before {
    color: #000; /* Cambia el color aquí */
}


/*================================ ABOUT MEDIA QUERYS ========================================================*/


/* Tablet horizontal y más chico */

@media (max-width: 1024px) {

 .about {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .about-me{
    width: 80%;
    align-items: center;
  }

  .about_text {
    width: 90%;
 
  }

  div.about_academic { 
    width: 80%;
    margin-bottom: -5%;
    margin-top: 5%;
    margin-left: 10%;
  }

  .about_text p {
    font-size: 22px;
    margin: 0%;
  }

   div.about_academic p {
    font-size: 22px;
  }

  .slick-prev {
    left: -5%; 
  }

}


/* Celulares grandes */
@media (max-width: 768px) {

  .about {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .about-me{
    width: 70%;
    align-items: center;
  }

  .about_text {
    width: 90%;
 
  }

  div.about_academic { 
    width: 90%;
    margin-bottom: -5%;
    margin-top: 5%;
    margin-left: 5%;
  }

  .about_text p {
    font-size: 22px;
    margin: 0%;
  }

   div.about_academic p {
    font-size: 22px;
  }

  .slick-prev {
    left: -10%; 
  }

}


/* Celulares chicos (tipo iPhone SE, Galaxy A, etc) */

/* Celulares chicos (480px) */
@media (max-width: 480px) {

  div.about_academic { 
    width: 70%;
    margin: 0%;
  }

  .about-me .about_academic {
    width: 100%;
    align-items: center;
  }

  .about_text p {
    font-size: 18px;
    margin: 3%;
  }

  /* Posición de los BOTONES */
  .tarjetas-container-titles .slick-prev {
    left: -15px !important;
    z-index: 10;
  }
  .tarjetas-container-titles .slick-next {
    right: -15px !important;
  }

  /* Tamaño de los ÍCONOS (las flechas) */
  .tarjetas-container-titles .slick-prev::before,
  .tarjetas-container-titles .slick-next::before {
    font-size: 20px !important; /* Hacemos las flechas más pequeñas */
  }
}

/*====================================================WORKS=======================================================*/
.carta, .meetings {
align-items: center;
justify-content: center;
margin-top: -4%;
width: 100%;
background-color: #000000;
display:flex;
flex-direction: column;
margin: 0 auto; /* Centra el contenedor de la carta */
padding: 0;
}


.titulocarta {
    text-align: center;
}

.titulocarta-animacion {
    animation-duration: 3s;
    animation-name: tituloAnim;
}

@keyframes tituloAnim {
    from {
        margin-right: -100%;
        width: 300%;
    }
    30% {
        margin-left: -50%;

        width: 100%;
    }

    to {
        margin-left: 0%;
        width: 100%;
    }
}

.tarjetas-container-projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 80%;
    align-items: center;
    margin: 0 auto; /* Centra el carrusel */
    position: relative;
    margin: 0 auto;
}

.tarjeta {
    border: 1px solid #000000;
    border-radius: 10%;
    margin-right: 30px;
    width: 330px;
    margin-bottom: 20px;
    margin-top: 20px;
    align-items: center;
    position: relative;
    text-align: center;
    transition: all 50ms ease-out;
    top: 0;
    bottom: 0;

}

.tarjeta:hover {
    cursor: pointer;
    transform: scale(1.025); 
    z-index: 10;
}

.tarjeta img {
    width: 100%;
    height: auto;
    border-radius: 10%;
}

.tarjeta-luz {
    height: 6px ;
    width: 6px ;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #f9f9fa;
    border-radius: 50%;
    position: absolute;
    animation: orbit3 5s linear infinite; 
    box-shadow: 0 0 2px 2px rgba(255, 255, 255, 0.8); /* Ajusta el tamaño y opacidad de la cola de luz */
  }



.slick-dots {
background-color: transparent;   
}

.tarjeta-nombre {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 6px;
  border-radius: 5px;
  font-size: 18px;
  transition: opacity 0.3s ease-in-out;
  z-index: 5;
  background: transparent; 
  color: #fff;    
  margin-top: -5%;        
}

.tarjeta:hover .tarjeta-nombre {
  opacity: 1;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #000;
}


/*color de los puntos inactivos */
.slick-dots li button:before {
    background-color: white;
    padding: 0%;
    margin: 0%;
    border-radius: 50%;
    font-size:small;
}

/* color de los puntos activos */
.slick-dots li.slick-active button:before {
    color: #fff; /* Color de los puntos activos */
}

.slick-slide {
    position: relative;
}

.tarjetas-container-projects .slider-container {
    scroll-snap-type: x mandatory;
    
  }

  .tarjetas-container-projects .slick-list {
    display: flex !important;
    padding-left: 32px;
}

.tarjetas-container-projects .slick-track {
    display: flex !important;
}
@keyframes orbit3 {
    0% {
        top: -2%;
        left: 0;
      }
      25% {
        top: 0;
        left: 99%;
      }
      50% {
        top: 99%;
        left: 99%;
      }
      75% {
        top: 99%;
        left: 0;
      }
      100% {
        top: 0;
        left:-2%;
      }
    }

/*=============================================WORKS MEDIA QUERYS ==========================================*/

@media (max-width: 1024px) {

 .tarjeta-nombre {
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative;
    bottom: unset;
    left: unset;
    transform: none;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #000 !important;
    margin-top: 8px;
    font-size: 40px !important;
    padding: 6px 12px;
    border-radius: 6px;
    top: 50%;
    left: 50%;
  }

  .tarjeta:hover .tarjeta-nombre {
    /* Asegura que no cambie visual */
    opacity: 1 !important;
}

  .tarjeta {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }


.tarjetas-container-projects .slick-prev::before, 
.tarjetas-container-projects .slick-next::before {
   font-size: 35px;
}

.tarjetas-container-projects{
 max-width: 50%;
 margin:0%
}
.tarjetas-container-projects .slick-prev::before, 
.tarjetas-container-projects .slick-next::before {
   font-size: 40px;
   z-index: 40;
}

.tarjeta-nombre {
margin-top: -5%;
}  

.titulocarta{
margin-bottom: 0% !important;
}

.slick-prev {
        left: -10% !important;
    }

}

@media (max-width: 768px) {

.tarjeta-nombre {
font-size: 20px !important;
}

.tarjetas-container-projects{
 max-width: 60%;
}
.tarjetas-container-projects .slick-prev::before, 
.tarjetas-container-projects .slick-next::before {
   font-size: 50px;
   z-index: 40;
}

.tarjeta-nombre {
margin-top: -5%;
}  

.titulocarta{
margin-bottom: 0% !important;
}

.slick-prev {
        left: -13% !important;
    }
}

@media (max-width: 480px) {

.tarjetas-container-projects{
 max-width: 90%;
}


.tarjeta-nombre {
font-size: 18px !important;
margin-top: -6%;
}

.tarjetas-container-projects .slick-prev::before, 
.tarjetas-container-projects .slick-next::before {
   font-size: 14px;
   z-index: 40;
    
}

.slick-prev {
        left: -1% !important;
    }

.slick-next {
       right: -1% !important;
    }
}


/*====================================================CURSES=======================================================*/
.carta-light{
    background-color: #fff;
        align-items: center;
        justify-content: center;
        margin-top: -7%;
        margin-bottom: -5%;
        overflow: visible;
        height: auto;
    }

.titulocarta-ligth{
    margin-top: 0px;
    overflow: visible;

}

.container-curses_taken,
.container-curses_taught {
   border-radius: 8px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
   text-align: center;
   background-color: #dfe2e2;
   margin-top: 3%;
   width: 40%;
   height: auto;
   box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3); /* Sombra */
   align-items: center;
    overflow-y: auto;
   max-height: 500px;
}


.container-curses_taken{
    margin-left: 5%;
}
.container-curses_taught{
    margin-right: 5%;
}


.justify-content-between p {
    font-family: "Kaushan Script", cursive;
    color: #864996;
    font-size: 30px;
    margin-bottom: 1%;
}

.justify-content-between{
  margin-bottom: 5%;
}

.slick-slide{
    justify-content: center;
    text-align: center;
    align-items: center;

}

.flip-card {
    margin-bottom: 5%;
    margin-left: 8%;
    display: flex;
    height: auto;  /* Ajusta la altura de la tarjeta */
    width: auto;   /* Asegura un ancho constante */
    flex-direction: column;  /* Organiza el contenido en columna */
    box-sizing: border-box;
}

/* Frente: mostrar todo el certificado sin recortar */
.flip-card-front img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;  
  border-radius: 2%;        
  padding: 0;            
}


.flip-card-inner {
    width: 90%;
    height: 90%;
    position:relative;
    display: grid;
    transform-style: preserve-3d;
    transition: transform 0.6s; /* Efecto suave al girar */
    justify-content: center;
    justify-items: center;
}


/* La tarjeta solo gira si tiene la clase .flipped */
.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

/* Solo aplica el giro con hover en dispositivos con mouse */
@media (hover: hover) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}

.flip-card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    border-radius: 2%;
}

.flip-card-front {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: none;
    border: none;
}

.flip-card-back {
    background-color: white;
    transform: rotateY(180deg);
    color: #333;
    display: flex;           
    padding: 10px;
    width: 100%;
}

.flip-card-left {
    background-color: #fcf3cf; 
    flex: 3;                    
    display: flex;              
    justify-content: center;    
    align-items: center;        
    height: 100%;
    padding: 2%;
}

.flip-card-right {
    background-color: #fff;    
    flex: 7;                    
    display: flex;              
    justify-content: center;    
    align-items: center;        
    padding-left: 10px;         
}

.flip-card-back h3 {
    font-size: 18px;
    font-weight: bold;        
}

.flip-card-back p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #000;
    margin: 0;                  /* Eliminar márgenes para un ajuste más preciso */
}

.tarjetas-container-titles,
.tarjetas-container-projects {
    width: 100% !important; /* en móviles que se adapte */
}


/*==================================== CURSES MEDIA QUERYS =============================================*/

@media (hover: hover) {

.flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}

@media (max-width: 1024px) {

  .contenedor-cursos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    height: auto;
  }

  .container-curses_taken,
  .container-curses_taught {
    width: 80%;
    height: auto;
    overflow: visible;   
    max-height: none;    
  }

  .container-curses_taught { margin-top: 10%; }

  .tarjetas-container-coursetaken,
  .tarjetas-container-coursetaught {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    flex-direction: column;
  }

  .flip-card {
    width: 100%;
    height: auto;        
    margin: 0 auto 24px;
  }

  .flip-card-inner {
    width: 100%;
    aspect-ratio: 16 / 10; 
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
  }

  .flip-card-front,
  .flip-card-back {
    position: absolute;
    inset: 0;              /* ocupa todo el inner sin desbordes */
    width: 100%;
    height: 100%;
    overflow: hidden;      
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .flip-card-back {
  width: 90% !important;   /* Hacemos la parte trasera un poco más angosta */
  border-radius: 8px;      /* Redondeamos los bordes */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Añadimos una sombra para que resalte */
  margin-left: 6%;

}

  .flip-card-left h3 { font-size: 18px; padding: 2%; }
  .flip-card-back p  { 
    font-size: 20px;
    width: 70%;
   }
}


@media (max-width: 768px){

  .flip-card-left h3 { 
  font-size: 20px; 
  padding: 2%; 
}

.flip-card-back p  { 
    font-size: 16px;
    width: 100%;
   }

  

}
@media (max-width: 480px) {

.flip-card-left h3 { 
  font-size: 12px; 
  padding: 2%; 
}

.flip-card-back p  { 
    font-size: 10px;
    width: 100%;
   }

   .flip-card-front img {
    border-radius: 12%;
   }

}

/*========================================= CONFERENCES ===========================================*/

.titulocarta {
  margin-bottom: 8%;
}

/* Contenedor principal del timeline */
.timeline-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80vw;
    margin: 50px auto;
    position: relative;
    border-top: 3px solid white; /* Línea horizontal */
    padding: 0 1vw;
}

/* Agregar flechas en los extremos de la línea */
.timeline-line::before,
.timeline-line::after {
    content: "❮"; /* Flecha izquierda */
    font-size: 35px;
    color: white;
    position: absolute;
    top: -28px;
}

.timeline-line::after {
    content: "❯"; /* Flecha derecha */
    right: -25px;
}

.timeline-line::before {
    left: -25px;
}

/* Cada punto con su etiqueta */
.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer; /* Hace que se note que es interactivo */
}

/* Punto del timeline */
.timeline-point {
    width: 15px;
    height: 15px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    transition: all 0.2s ease-in-out; /* Animación suave */
}

/* Etiqueta del año (sobre el punto) */
.timeline-label {
    position: absolute;
    bottom: 25px;
    font-size: 20px;
    color: white;
    text-align: center;
    font-weight: bold;
    transition: color 0.2s ease-in-out; /* Animación suave */
}

/* Efecto hover */
.timeline-item:hover .timeline-point {
    background-color: rgb(245, 168, 3); /* Cambia el color del punto */
    transform: scale(1.5); /* Aumenta el tamaño */
}

.timeline-item:hover .timeline-label {
    color: rgb(245, 168, 3); /* Cambia el color del texto */
    transform: scale(1.5); /* Aumenta el tamaño */
}


/* Estilo para el punto y la etiqueta activa */
.timeline-point.active,
.timeline-label.active {
    transform: scale(1.5);  /* Agrandar el punto y la etiqueta */
    color: rgb(245, 168, 3);  /* Color para la etiqueta activa */
}

/* Estilo adicional para el punto */
.timeline-point.active {
    background-color: rgb(245, 168, 3);  /* Color de fondo para el punto */
    border-color: rgb(245, 168, 3);  /* Bordes del punto activos */
}

/* Opcional: mejorar el contraste y visibilidad */
.timeline-item {
    transition: transform 0.2s ease, color 0.2s ease;  /* Animación para una transición suave */
}

/* Opcional: añadir algo de margen y espaciado */
.timeline-label {
    margin-top: 10px;
}


/* -------------------------------
   Contenedor del carrusel
--------------------------------- */


.conference-carousel-container {
    width: 65%;
    max-width: 500px;
    margin: 0 auto 10px;
    position: relative; /* Para posicionar las flechas si es necesario */
    display: flex;
    align-items: stretch;
  }
  
 .slide-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

}
  /* -------------------------------
     Estilos de Slick (usar los valores por defecto)
  --------------------------------- */
  .conference-carousel-container .slick-list {
    margin: 0;
  }
  
  
  /* Agrega un pequeño padding a cada slide para separarlos */
  .slick-slide {
    box-sizing: border-box;
    padding: 0 5px;
  }
  
  /* -------------------------------
     Tarjeta de conferencia (Slide)
  --------------------------------- */
  .conference-item {
    top: 0;
    left: 0;
    width: 100%;
   min-height: 200px;
    background-color: #000000;
    padding: 15px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 10px; /* Usamos px para consistencia */
    overflow: visible;    /* Recorta el contenido que sobresalga del borde */
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  /* -------------------------------
     Estilos internos de la tarjeta
  --------------------------------- */
  .conference-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .conference-details {
    font-size: 15px;
    color: white;
    flex-grow: 1;
    word-wrap: break-word;
  }
  
  .conference-link {
    color: rgb(245, 168, 3);
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
  }
  
  /* -------------------------------
     Flechas de navegación
  --------------------------------- */
  .conference-carousel-container .slick-prev {
    left: -11px;
    z-index: 10;
    font-size: 30px;
  }
  
  .conference-carousel-container .slick-next {
    right: -11px;
    z-index: 10;
  }
  
  /* ================================= CONFERENCES MEDIA QUERYS ===========================================*/

@media (max-width: 1024px) {

.meetings h1{
  margin-bottom: 10% !important;
}
.timeline-label{
  font-size: 30px;
}

.conference-title,
.conference-details,
.conference-link {
    font-size: 25px;
  }

  .conference-carousel-container .slick-prev.slick-arrow,
  .conference-carousel-container .slick-next.slick-arrow {
    transform: scale(1.5);     
  }
}


@media (max-width: 768px) {

.timeline-label{
  font-size: 20px;
}

.conference-title,
.conference-details,
.conference-link {
    font-size: 15px;
  }

}

@media (max-width: 480px) {



  /* Opcional: añadir algo de margen y espaciado */
.timeline-label {
    font-size: 15px;
}

 .conference-title {
    font-size: 15px;
  }
  
  .conference-details {
    font-size: 12px;

  }
  

}



/*====================== FOOTER ======================*/

footer {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 100%;
    background-color:#ffffff;
    bottom: 0%;
    margin-top: -7%;
    
}

footer h1 {
    margin-left: 2%;
    color: #000000;
    text-align: center;
    font-size:small;
    padding: 20px;
    font-weight: bold;
    font-family:Verdana, Geneva, Tahoma, sans-serif
}


@media (max-width: 412px) {
    footer h2 {
        font-size: small;
    }

}


