.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.timeline {
  width: 100%;
}
.timeline-title {
  color: #fe7018e7;
  font-style: italic;
  font-size: 21px;
  font-weight: 800;
  opacity: 0;
}
.timeline .swiper-container {
  height: 850px;
  letter-spacing: 1px;
  width: 100%;
  position: relative;
  border-radius: 20px 0 0 20px;
  box-shadow: 5px 10px 40px 5px rgba(0,0,0,0.5);
}
.timeline .swiper-wrapper {
  transition: 2s cubic-bezier(0.68, -0.4, 0.27, 1.34) 0.2s;
}
.timeline .swiper-slide {
  position: relative;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.timeline .swiper-slide::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: -115%;
  bottom: -10%;
  width: 100%;
  height: 100%;
  /**background-color: rgba(0, 0, 0, 0.7);**/
  /**box-shadow: -230px 0 150px 60vw rgba(0, 0, 0, 0.7);
  border-radius: 100%;**/
}
.timeline .swiper-slide-content {
  position: absolute;
  text-align: center;
  width: 94%;
  /**max-width: 310px;**/
  right: 50%;
  top: 8%;
  transform: translate(50%, 0);
  font-size: 12px;
  z-index: 2;
}
.timeline .swiper-slide .timeline-year {
  display: block;
  font-style: italic;
  font-size: 30px;
  margin-top: -50px;
  /**margin-bottom: 20px;**/
  transform: translate3d(20px, 0, 0);
  /**color: #d4a024;**/
  color:#f3a707;
  opacity: 0;
  transition: 0.2s ease 0.4s;
}
.timeline .swiper-slide .timeline-text {
  font-family: 'Oswald', sans-serif;
  font-size: 14.5px;
  font-weight: 200;
  background-color: rgba(36, 36, 36, 0.584);
  padding: 10px 20px 10px 20px;
  opacity: 0;
  transform: translate3d(20px, 0, 0);
  transition: 0.2s ease 0.6s;
}

.timeline .swiper-slide-active .timeline-year {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: 0.4s ease 1.6s;
}
.timeline .swiper-slide-active .timeline-title {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: 0.4s ease 1.6s;
}
.timeline .swiper-slide-active .timeline-text {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: 0.4s ease 1.8s;
}
.timeline .swiper-pagination {
  right: 15% !important;
  height: 100%;
  display: none;
  flex-direction: column;
  justify-content: center;
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  z-index: 1;
}
.timeline .swiper-pagination::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}
.timeline .swiper-pagination-bullet {
  width: auto;
  height: auto;
  text-align: center;
  opacity: 1;
  background: transparent;
  /**color: #d4a024;**/
  color:#f3a707;
  margin: 15px 0 !important;
  position: relative;
}
.timeline .swiper-pagination-bullet::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -32.5px;
  width: 7px;
  height: 7px;
  border-radius: 100%;
  /**background-color: #d4a024;**/
  background-color: #f3a707;
  transform: scale(0);
  transition: 0.2s;
}
.timeline .swiper-pagination-bullet-active {
  /**color: #d4a024;**/
  color:#f3a707;
}
.timeline .swiper-pagination-bullet-active::before {
  transform: scale(1);
}
.timeline .swiper-button-next,
.timeline .swiper-button-prev {
  background-size: 20px 20px;
  top: 15%;
  width: 20px;
  height: 20px;
  margin-top: -95px;
  z-index: 2;
  transition: 0.2s;
}
.timeline .swiper-button-prev {
  top: 14.5%;
  left: 8%;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23d4a024'%2F%3E%3C%2Fsvg%3E");
}
.timeline .swiper-button-prev:hover {
  transform: translateX(-3px);
}
.timeline .swiper-button-next {
  right: 8%;
  top: 14.5%;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23d4a024'%2F%3E%3C%2Fsvg%3E");
}
.timeline .swiper-button-next:hover {
  transform: translateX(3px);
}
/********************************* Esto es para PC *******************************************************/
@media (min-width: 769px) {
  .timeline {
    width: 90%;
    margin-bottom: 35px;
  }
  .timeline .swiper-slide::after {
    right: -30%;
    bottom: -8%;
    width: 240px;
    height: 50%;
    box-shadow: -230px 0 150px 50vw rgba(0, 0, 0, 0.7);
  }
  .timeline .swiper-slide-content {
    right: 37%;
    top: 50%;
    transform: translateY(-50%);
    width: 720px;
    font-size: 12px;
    text-align: center;
  }
  .timeline .swiper-slide .timeline-year {
    margin-bottom: 0;
    font-size: 32px;
    font-weight: 600;
    text-align: right;
    margin-top:0;
  }
  .timeline .swiper-slide .timeline-title {
    font-size: 30px;
    font-weight: 800;
    text-align: right;
    color: #88b04b;
  }
/**********Efecto título************************************************/
  .timeline-title > div {
      display:inline-block;
      overflow:hidden;
      white-space:nowrap;
      /**background-color: rgba(36, 36, 36, 0.888);**/
      padding-bottom: 5px;
      /**border-radius: 30px 0 0 30px;**/
  }
  /**.timeline-title > div:first-of-type {
    animation: showup 5s infinite;
}**/
  .timeline-title > div:last-of-type {
      width:0px;
      animation: reveal 10s infinite;  
  }
/*******************************************************************************/
  .timeline .swiper-slide {
    font-size: 18.5px;
    /**box-shadow: rgba(177, 126, 195, 0.613) 0px -120px 36px inset;**/
  }
  .timeline .swiper-pagination {
    display: flex;
  }
  .timeline .swiper-button-prev {
    top: 3%;
    margin-top: 0;
    left: auto;
    right: 17.5%;
    transform: rotate(90deg) translate(0, 10px);
  }
  .timeline .swiper-button-prev:hover {
    transform: rotate(90deg) translate(-3px, 10px);
  }
  .timeline .swiper-button-next {
    top: auto;
    margin-top: 0;
    bottom: 3%;
    right: 17.5%;
    transform: rotate(90deg) translate(0, 10px);
  }
  .timeline .swiper-button-next:hover {
    transform: rotate(90deg) translate(3px, 10px);
  }
}
@media (min-width: 1024px) {
  .timeline .swiper-slide::after {
    right: -20%;
    bottom: -12%;
    width: 240px;
    height: 50%;
    box-shadow: -230px 0 150px 39vw rgba(0, 0, 0, 0.7);
  }
  .timeline .swiper-slide-content {
    right: 28%;
    font-size: 14px;
    font-weight: 100;
    text-align: justify;
  }
}
/**@keyframes showup {
  0% {opacity:0;}
  20% {opacity:1;}
  80% {opacity:1;}
  100% {opacity:0;}
}**/
@keyframes reveal {
  0% {opacity:0;width:0px;}
  20% {opacity:1;width:0px;}
  30% {width:87%;}
  80% {opacity:1;}
  100% {opacity:0;width:87%;}
}
/**@keyframes slidein {
  0% {margin-left: -800px;}
  20% {margin-left: -800px;}
  35% {margin-left: 0px;}
  100% {margin-left: 0px;}
}**/
/******************Ventana Modal***********************************************************/
#myImg {
  cursor: pointer;
}
#myImg2 {
  max-width: 100%;
  background-size:cover;
  background-repeat: no-repeat;
  background-position: center;
}
#myImg:hover {
  opacity: 0.9;
}
/* The Modal (background) */
.modal {
  position: absolute; /* Stay in place */
  z-index: 2;
  /**overflow: auto; /* Enable scroll if needed */
  visibility: hidden;
  opacity: 0;
  transition: all 500ms ease-in; 
}
.modal.is-visible {
  visibility: visible;
  opacity: 1;
}
.modal-dialog {
  position: relative;
  /**background: var(--white);**/
  /**overflow: auto;**/
  cursor: default;
}
/* Modal Content (image) */
.modal-content {
  display: block;
  float: right;
  margin-left: 80px;
}

/* 100% Image Width on Smaller Screens */
@media (max-width: 769px){
  .modal-content {
    width: 100%;
  }
}
