﻿@font-face {
  font-family: 'Roboto' !important;
  src: url('/SPGenesis/Herramientas2024/Fonts/Roboto-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: 'Roboto'  !important;
  src: url('/SPGenesis/Herramientas2024/Fonts/Roboto-Medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
}
                body {
            background-size: cover; /* Cubre toda la página con la imagen */
            background-position: center; /* Centra la imagen */
            background-attachment: fixed; /* Fija la imagen de fondo */
            color: white; /* Color de texto blanco para que sea legible sobre el fondo */
             font-family: 'Roboto' !important;
            margin: 0;
            padding: 0;
        }
        /* Contenedor principal para la línea de tiempo */
        #timeline-container {
            display: flex;
            flex-direction: column; 
            align-items: center; 
            width: 100%;
           padding: 0px;
            border-radius: 10px;
            box-sizing: border-box;
        }

        /* botones de los años */
        #year-buttons-container {
            display: flex;
            flex-wrap: wrap; 
            justify-content: center; 
            margin-bottom: 20px;
            padding: 10px 0;
            width: 100%;
        }

        .year-button {
            margin: 5px;
            padding: 5px 15px;
            background-color: #fff;
            color: #707070;
  			border: 1px solid #707070;            
 			cursor: pointer;
            font-size: 16px;
            border-radius: 5px;
            transition: background-color 0.3s;
            text-align: center;
            border-radius: 23px;
        }

        .year-button:hover {
            background-color: #971815;
            color:#fff;
        }

        /* Estilo cuando un botón está seleccionado */
        .year-button.selected {
            background-color: #d0d0d0;
            color:#707070;
            border: 1px solid #d0d0d0;
        }

        /* Estilo de la línea de tiempo */
        .timeline {
            list-style: none;
            padding: 0;
            margin: 0;
            width: 100%; 
                    }

        .timeline-item {
           /* margin-bottom: 20px;
            padding-left: 20px;*/
            position: relative;
            display: none; /* Inicialmente oculto */
            background-image: url('/Publicaciones2/PublishingImages/Tarjeta_Colecciones_sin.jpg');
            /* padding: 15px;*/
            height: 300px;
            background-size: cover;
            background-position: center;
 
  background-position: center;  /* Opcional: centra la imagen */
  background-repeat: no-repeat;
        }

        .timeline-item img {
            max-width: 100px;
            border-radius: 50%;
        }

        .timeline-item-content {
            margin-left: 50%;
  top: 0px;
  position: absolute;
  background: #0000007d;
  width: 48%;
  height: 300px;
align-content: center;
  padding: 0px 0px 0px 2%; 
  font-size:40px;     
  color: white;
     font-family: 'Roboto' !important;
    }
.timeline-item-content a{
	color:white !important;
	text-decoration: none;
  font-weight: bold;
}
.timeline-item-content li{
	padding-right: 21px;
}
        .timeline-item-year {
            font-weight: bold;
  font-size: 150px;
  background-color: #ac0707ab;
  width: 40%;
  height: 299px;
  align-content: center;
  padding: 1px 0px 0px 10%; 
     font-family: 'Roboto' !important;
     color:white;       }
  
   @media (max-width: 1100px) {
.timeline-item-year {

  font-size: 100px;}
  .timeline-item-content {
  font-size: 30px
  }

        /* Media Queries para dispositivos más pequeños */
        @media (max-width: 768px) {
            /* Ajuste de la línea de tiempo */
            .timeline {
                width: 90%; /* Más estrecho en pantallas pequeñas */
                height: 340px;

            }

            .timeline-item {
                height: 135px; /* Ajustamos la altura de las tarjetas de la línea de tiempo */
            }
.timeline-item-year {
  font-size: 50px;
  height: 134px;
 }
.timeline-item-content {
  height: 135px;
  font-size: 15px;
  margin-left: 48%;
  width: 52%;
  padding: 0px 0px 0px 0%;
}
            .year-button {
                font-size: 14px; /* Reducimos el tamaño de la fuente de los botones */
                padding: 8px 15px;
                margin: 5px 2px;
            }
        }

        @media (max-width: 500px) {
            .timeline {
                width: 95%; /* Aumentamos el ancho en pantallas muy pequeñas */
            }

            .year-button {
                font-size: 12px; /* Más pequeño en dispositivos muy pequeños */
                padding: 6px 12px;
                margin: 5px 2px;
            }
            .timeline-item-year {
  font-size: 30px;
  padding: 1px 0px 0px 8%;
  width: 26%;
  height: 134px;
 }
 .timeline-item-content {
margin-left: 32%;
      width: 68%;
      align-content: center;
      padding: 0px 0px 0px 0%;
      font-size: 14px;}


        }
        @media (max-width: 350px) {
            .timeline {
                width: 95%; /* Aumentamos el ancho en pantallas muy pequeñas */
            }

            .year-button {
                font-size: 12px; /* Más pequeño en dispositivos muy pequeños */
                padding: 6px 12px;
                margin: 5px 2px;
            }
            .timeline-item-year {
font-size: 25px;
      padding: 0px 0px 0px 5%;
      width: 30%;
      height: 135px;
          }
 .timeline-item-content {
margin-left: 30%;
      width: 70%;
      align-content: center;
      padding: 0px 0px 0px 0%;
      font-size: 13px;    }
ul  .timeline-item-content 
{
	

padding-left: 0%;
}
        }

