﻿:root{
    --white: #ffffff;
    --white-2:#e0e0e0;
    --gray-dark: #8e8c8c;
    --black: #000000;
  }

  .timeline {
   display: flex;
   margin: 31px auto;
   flex-wrap: wrap;
   flex-direction: column;
   max-width: 1043px;
   position: relative;
   margin-top: 13px;
  }
  .timeline:before {
     position: absolute;
     left: 50%;
     width: 2px;
     height: 100%;
     margin-left: -1px;
     content: "";
     background: #f2f0ff;
   }

   .controllers{ margin-top: -21px; }

  .timeline__content-title {
    margin: -10px 0 0 0;
   font-weight: normal;
   font-size: 66px;
  /* transition: .4s;*/
   font-family: "Pathway Gothic One", sans-serif;
   color:  var(--white);
  }

  .timeline__content-desc {/*parrafos de la historia*/
   font-size: 16px;
   box-sizing: border-box;
   color:  var(--white);
   font-weight:normal;
   line-height: 25px;
   text-align: justify;
   margin: 0;
    min-width: 20%;
    max-width: 97%;
  }

  .timeline__content-desc.comptroller { /*Nombres de los contralores*/
     font-size: 19px;
     box-sizing: border-box;
     color: var(--black) ;
     font-family: Cardo;
     font-weight: bold;
     line-height: 25px;
     text-align: center;
     border-radius: 10px;
     background-color: var(--white-2);
    /* box-shadow: inset 5px 5px 10px #8e8c8c, inset -5px -5px 10px #d3d0d0;*/
     padding: 5px 0;
     border: 2px solid var(--gray-dark);
     -webkit-transform-origin: 50% 100%;
     transform-origin: 50% 100%;
     -webkit-transition: all 0.4s ease;
     transition: all 0.4s ease;
     width: 305px;
   }.timeline__content-desc.comptroller:hover{
     -webkit-transform: scale(1.1);
      transform: scale(1.1);
   }

  .timeline-item {
   /* padding: 20px 0; opacity: .3; filter: blur(2px); transition: .3s;transform: translateY(-80px);*/
   display: flex;
   justify-content: center;
   box-sizing: border-box;
   width: calc(50% - 40px);
   display: flex;
   position: relative;
  }
  .timeline-item:before {
   content: attr(data-text);
   letter-spacing: 3px;
   width: 100%;
   position: absolute;
   color: rgba(255, 255, 255, 0.5);
   font-family: "Pathway Gothic One", sans-serif;
   border-left: 2px solid rgba(255, 255, 255, 0.5);
   top: 70%;
   margin-top: -5px;
   padding-left: 15px;
   opacity: 0;
   right: calc(-100% - 56px );
  }

  .timeline-item:nth-child(even) { align-self: flex-end;}

  .timeline-item:nth-child(even):before {
   right: auto;
   text-align: right;
   left: calc(-100% - 56px );
   padding-left: 0;
   border-left: none;
   border-right: 2px solid rgba(255, 255, 255, 0.5);
   padding-right: 15px;
  }

  /*Btn leer más*/
  .btn.btn-primary.ml-1 {
    padding: 0.1em 1.25em;
    background-color:transparent;
    border: none;
    border-radius: 0.3em;
    font-size: 10px;
    position: relative;
  }

  .btn.btn-primary.ml-1 .read {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0.4em;
    width: 5.25em;
    height: 1.5em;
    background-color: #2e2e2eee;
    border-radius: 0.2em;
    font-size: 14px;
    color: var(--white);
    border: 0.08em solid #2e2e2eee;
    box-shadow: 0 0.4em 0.1em 0.019em rgb(232, 229, 229)
  }

  .btn.btn-primary.ml-1 .read:hover {
    transition: all 0.5s;
    transform: translate(0, 0.4em);
    box-shadow: 0 0 0 0  var(--white);
  }

  .btn.btn-primary.ml-1 .read:not(hover) {
    transition: all 1s;
  }

  /*End Btn leer más*/

  /*Responsive*/

  @media (max-width: 750px) {
     .timeline-container{
        margin-top: -49px !important;
     }

  }/*End Responsive*/

  @media only screen and (device-width: 810px) and (device-height: 1080px) {
    /* Estilos específicos para el iPad con resolución de 810 x 1080 */
    .timeline-item {
      box-sizing: border-box !important;
      width: calc(50% - 40px) !important;
      display: flex !important;
      position: relative !important;
     }

     .title-two{ margin-bottom: -7px; }

     .timeline-item:before {
      content: "" !important;
      letter-spacing: 3px !important;
      width: 100% !important;
      position: absolute !important;
      color: rgba(255, 255, 255, 0.5) !important;
      top: 70% !important;
      margin-top: -5px !important;
      padding-left: 15px !important;
      opacity: 0 !important;
      right: calc(-100% - 56px )!important;
     }

     .timeline-item:nth-child(even) { align-self: flex-end !important; }

     .timeline-item:nth-child(even):before {
      right: auto !important;
      text-align: right !important;
      left: calc(-100% - 56px ) !important;
      padding-left: 0 !important;
      border-left: none !important;
      border-right: 2px solid rgba(255, 255, 255, 0.5) !important;
      padding-right: 15px !important;
     }

      .controllers-one, .controllers-two{
       padding-right: 24px !important;
       padding-left: 33px;
      }

      .controllers-two { padding-top: 0px !important; }

      .controllers{
       margin-top: -39px !important;
       margin-left: 30px !important;
  }

      .timeline__content-desc.white{ padding-top: 12px !important; }

      .timeline-container { margin-top: -80px !important; }
      .timeline-container:before {
       position: absolute;
       left: 0;
       top: 0;
       width: 100%;
       height: 100%;
       background: rgba(128, 123, 123, 0.471) !important;
       content: "";
      }

     p.timeline__content-desc, .card.card-body.history{ width: 300px !important; }

     /*Foto contralor*/
     .timeline__img{
       left: 142% !important;
       top: 8px !important;
     }

     .timeline__img.left{
        left: -72% !important;
        top: 8px !important;
     }

     .line-left{ left: -28% !important ; }

     .line-right{ left: 111% !important; }

     .line-right, .line-left{
        width: 62px !important;
        height: 3px !important;
        top: 47% !important;
  }


     .hexa {
       width: 146px !important;
      /* clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0.45% 19.37%) !important;*/
     }
     .hexa.gon{
       height: 141px !important;
     }/*End Foto contralor*/


     .line-history-one{
       left: 404px !important;
       top: 0% !important;
     }

     .line-history-two{
       left: -41px !important;
       top: -6% !important;
       border-left: 3px solid #001b44 !important;
       border-right: none !important;
     }

     .line-history-three{
       left: 403px !important;
       top: 2% !important;
       border-left: 3px solid #001b44 !important;
       border-right: none !important;
     }

     .line-history-four{
       width: 280px !important;
       left: 49px !important;
       top: -10% !important;
       border-left: 3px solid #001b44 !important;
       border-right: none !important;
     }
  }


  /* Estilos para Galaxy */
  @media only screen and (min-device-width: 360px) and (max-device-width: 640px) {
    /* Estilos específicos para Galaxy */
    .timeline{
        display: flex !important;
  justify-content: center !important;
  margin: 0 auto !important;
    }

    .line-right, .line-left{ display: none; }

    .title-two{ margin-bottom: -7px !important; }

    .timeline-item {
        align-self: baseline !important;
        display: flex !important;
        justify-content: center !important;
        padding: 43px 35px 77px 0px !important;
        margin-top: 0px !important;
      }

      .timeline-item:before {
       left: -10px !important;
       top: 38px !important;
       text-align: center !important;
       width: 170px !important;
       border: none !important;
      }
      .timeline-item:nth-child(2n)::before{  padding-left: 17px !important;  }

      .controllers-two{ padding-top: 94px !important; }

      .controllers{ margin-top: 2px !important; }

      .timeline__content-desc.white{
       padding-top: 12px !important;
       padding-right: 17px;
      }

      .timeline__content-desc{
        padding-right: 17px;
        margin-left: 68px !important;
       }

      .timeline-container { margin-top: -48px !important; }

      .timeline-container:before {
       position: absolute;
       left: 0;
       top: 0;
       width: 100%;
       height: 100%;
       background: rgba(128, 123, 123, 0.471) !important;
       content: "";
      }

     p.timeline__content-desc, .card.card-body.history{  width: 277px !important; }

     .card.card-body.history{ margin-left: 68px !important; }

     .timeline__content-title{ padding-left: 71px; }

     /*Foto contralor*/
     .timeline__img, .timeline__img.left{
       left: 145px !important;
       top: 0 !important;
     }
     .hexa {
       width: 146px !important;
      /* clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0.45% 19.37%) !important;*/
     }
     .hexa.gon{
       height: 141px !important;
     }/*End Foto contralor*/


     .line.right, .line-left{
           width: 80px !important;
           height: 3px !important;
           left: 11% !important;
           top: 20% !important;
     }

     .line-history-one{
       left: 39px !important;
       top: 0% !important;
     }

     .line-history-two{
       left: 39px !important;
       top: 4% !important;
       border-left: 3px solid #001b44 !important;
       border-right: none !important;
     }

     .line-history-three{
       left: 39px !important;
       top: 2% !important;
       border-left: 3px solid #001b44 !important;
       border-right: none !important;
     }

     .line-history-four{
       width: 280px !important;
       left: 39px !important;
       top: 0% !important;
       border-left: 3px solid #001b44 !important;
       border-right: none !important;
     }

     .btn.btn-primary.ml-1{
      padding-top: 23px !important;
      padding-right: 15px !important;
    }

    div.card.card-body.history{
      padding-right: 16px !important;
    }
  }


  /*End responsive*/

  .timeline-container {
   width: 100%;
   position: relative;
   padding: 67px 0;
   background-attachment: fixed;
   background-size: cover;
   margin-top: -41px;
  }

  .timeline-container:before {
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   content: "";
  }

  #timeline-2:before { /*Este timeline es donde empiezan los contralores*/
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(84, 81, 81, 0.05);
    content: "";
  }

  .controllers, .controllers-one, .controllers-two{/*De la historia*/
    text-align: center;
  }

  .reason{/*Estados de los contralores: Renuncio, encargada...*/
    font-size: 36px;
  }

  .custom-btn.btn.custom-link.history{/*Btn regresar*/
     z-index: 9999;
  }.custom-btn.btn.custom-link.history:hover{
     color: var(--white);
  }


  body {

   /* Ubicación de la imagen */

   background-image: url(../img/cgr.jpg);

   /* Para dejar la imagen de fondo centrada, vertical y

   horizontalmente */

   background-position: center center;

   /* Para que la imagen de fondo no se repita */

   background-repeat: no-repeat;

   /* La imagen se fija en la ventana de visualización para que la altura de la imagen no supere a la del contenido */

   background-attachment:fixed;

   /* La imagen de fondo se reescala automáticamente con el cambio del ancho de ventana del navegador */

   background-size:cover;

   /* Se muestra un color de fondo mientras se está cargando la imagen

   de fondo o si hay problemas para cargarla */

  }

  /*Sección donde van los  contralores*/
  .timeline__img.primary, .timeline__img, .timeline__img.left{
    position: absolute !important;
  }

  .timeline__img.primary{
    left: 698px;
  top: 3px;
  }

  .timeline__img{
  left: 698px;
  top: -30px;
  }

  .timeline__img.left{
  left: -88%;
  top: -12px;
  }

  .title2{ margin-bottom: 114px !important; }

  em.reason{
    font-style: normal;
    font-weight: 600;
  }

  .gon.one {
    background: url('../img/history/Contralor.webp') no-repeat 50% 50%;
    background-size: 192px 186px;
  }

  .gon.two {
    background: url('../img/history/2018-2023.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.three {
    background: url('../img/history/2014-2018.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.four {
    background: url('../img/history/2011-2014.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.fine {
    background: url('../img/history/1999-2011.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.six {
    background: url('../img/history/1994-1999.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.seven {
    background: url('../img/history/1986-1994.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.eight {
    background: url('../img/history/1984-1986.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.nine {
    background: url('../img/history/1979-1984.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.ten {
    background: url('../img/history/1976-1979.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.eleven {
    background: url('../img/history/1974-1976.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.twelve{
    background: url('../img/history/1969-1974.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.thirteen{
    background: url('../img/history/1958-1969.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.fourteen{
    background: url('../img/history/1953-1958.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.fifteen{
    background: url('../img/history/1950-1953.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.sixteen{
    background: url('../img/history/1949-1950.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.seventeen{
    background: url('../img/history/1947-1949.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.eighteen{
    background: url('../img/history/1945-1947.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.nineteen{
    background: url('../img/history/1941-1945.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }

  .gon.twenty{
    background: url('../img/history/1938-1941.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }
  .gon.twentyOne{
    background: url('../img/history/Contralor.webp') no-repeat 50% 50%;
    background-size: 195px 188px;
  }


  .hexa {
    width: 200px;
    /*clip-path: polygon(
      50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%
    );*/
    border-radius: 10px;
  }

  .hexa.gon{
    margin-top: 3px;
    height: 194px;
   border: 4px solid rgb(255, 255, 255) ;
   box-shadow: inset 5px 5px 10px #302e2e, inset -5px -5px 10px #403b3b;
   border-radius: 50%;
  }


  .timeline-item.controller{
    margin-top: 200px; /*Espacio entre los contenedores de los controladores*/
  }

  .line-right, .line-left{
    position: absolute;
    width: 80px;
    height: 2px;
    top: 59%;
    content: "";
    background: rgb(255, 255, 255);
  }

  .line-right{ left: 108%; }

  .line-left{  right: 108%; }


  .line-history-one{
    position: absolute;
    font-weight: 500;
    width: 247px;
    height: 30px;
    left: 108%;
    top: 50%;
    content: "";
    color:  var(--white);
    background: transparent;
    padding-left: 7px;
    border-left: 2px solid #001b44;
  }.line-history-one::before{
    content: "Real Hacienda de Venezuela ";
  }

  .line-history-two{
    position: absolute;
    font-weight: 500;
    width: 135px;
    height: 30px;
    left: -36%;
    top: 32%;
    content: "";
    color:  var(--white);
    background: transparent;
    padding-left: 7px;
    border-right: 3px solid #001b44;
  }
  .line-history-two::before{
    content: "Gobierno de Eleazar López Contreras";
  }

  .line-history-three{
    position: absolute;
    font-weight: 500;
    width: 311px;
    height: 30px;
    left: 108%;
    top: 27%;
    content: "";
    color: var(--white);
    background: transparent;
    padding-left: 7px;
    border-left: 2px solid #001b44;
  }.line-history-three::before{
    content: "Creación de la Contraloría del Municipio Angostura del Orinoco";
  }

  .line-history-four{
    position: absolute;
    font-weight: 500;
    width: 424px;
    height: 30px;
    left: -96%;
    top: 32%;
    content: "";
    color: var(--white);
    background: transparent;
    padding-left: 7px;
    border-right: 3px solid #001b44;
  }.line-history-four::before{
    content: "Creación de la Contraloría General de la República";
  }

  /*End de Sección donde va el contralor activo*/

  .card.card-body.history{
    margin: 0;
    font-size: 16px;
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    font-weight:normal;
    line-height: 25px;
    text-align: justify;
    background: transparent;
    border: none;
    padding: 0 !important;
  }

  /*Letras animadas*/
  .timeline__content-title {
    overflow: hidden; /* Oculta el texto que aún no se ha mostrado */
    border-right: .1em solid rgb(249, 247, 243); /* Línea vertical que simula la escritura */
    white-space: nowrap; /* Evita que el texto se desborde a la siguiente línea */
    margin: 0; /* Elimina el margen predeterminado del título */
    animation:
      typing 3s steps(40, end), /* Animación de escritura */
      blink-caret .75s step-end infinite; /* Animación del cursor intermitente */
  }

  /* Animación de escritura */
  @keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }

  /* Animación del cursor intermitente */
  @keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: transparent }
  }
  /*End Letras animadas*/

  .btn.btn-primary.white{
    z-index: 1;
    position: absolute;
    background: transparent;
    border: none;
    margin-left: 509px;
    width: 36px;
  height: 35px;
  display: flex;
  justify-content: center;
  }

  .fa-solid.fa-arrow-down-long{
    font-size: 25px;
    color: rgb(255, 255, 255);
  }

  .subtitle{
    color: white;
  padding-top: 49px;
  z-index: 1;
  position: relative;
  padding-bottom: 0px;
  }

  .subtitle-h3 {
    overflow: hidden; /* Oculta el texto que aún no se ha mostrado */
    border-right: .1em solid rgb(249, 247, 243); /* Línea vertical que simula la escritura */
    white-space: nowrap; /* Evita que el texto se desborde a la siguiente línea */
    margin-left: 0; /* Elimina el margen predeterminado del título */
    animation:
      typing 3s steps(40, end), /* Animación de escritura */
      blink-caret .75s step-end infinite; /* Animación del cursor intermitente */
  }

  /* Animación de escritura */
  @keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }

  /* Animación del cursor intermitente */
  @keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: transparent }
  }

  .event_date{
    text-align: left;
    font-size:1.2em;
    color: white;
  }

  @media only screen and (max-width: 767px) {
    .timeline-item {
      align-self: baseline !important;
      width: 100%;
      padding: 0 30px 150px 80px;
    }
    .timeline-item:before {
      left: 10px !important;
      padding: 0 !important;
      top: 50px;
      text-align: center !important;
      width: 60px;
      border: none !important;
    }
    .timeline-item:last-child {
      padding-bottom: 40px;
    }
  }

  @media only screen and (max-width: 767px) {
    .timeline:before {
      left: 40px;
    }

   }
