@import url('https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
	font-family: 'Asap', sans-serif;
	letter-spacing: normal;
}
.timeline img {
    transform: translate(-3.5rem, 1.2rem);
}
.timeline img.t350{
	width: 50%;
	height: auto;
}
.timeline img.t550{
	width: 80%;
	height: auto;
}
.timeline img.t750{
	width: 100%;
	height: auto;
}
.timeline p {
    font-size: .9rem;
    margin: 0;
    line-height: 1.3;
    text-align: left;
    font-weight: 400;
    padding-left: 1.5rem;
    border-left: 1px solid black;
    padding-bottom: 1rem;
}
button {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}

body {
    
}


/* .section SECTION
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.section {
  background: #F45B69;
  padding: 50px 0;
}

.section .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section h1 {
  font-size: 2.5rem;
}

.section h2 {
  font-size: 1.3rem;
}


/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline {
  white-space: nowrap;
  overflow-x: hidden;
    margin-top: 3rem;
	
}


.timeline ol {

    font-size: 0;
    width: 100vw;
    padding: 37vh 0;
    transition: all 1s;

}

.timeline ol li {
  position: relative;
  display: inline-block;
  list-style-type: none;
  width: 160px;
  height: 3px;
  background: #fff;
    background-image: url(../img_timeline/bg-linea-anahua.png);
    background-size: 100% auto;
}

.timeline ol li:last-child {
  width: 280px;
}

.timeline ol li:not(:first-child) {
  margin-left: 14px;
}

.timeline ol li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  bottom: 0;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: black;
}

.timeline ol li > div {
  position: absolute;
  left: calc(100% + 7px);
  width: 150px;
  font-size: 1rem;
  white-space: normal;
  color: black;
}

.timeline ol li > div::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
}

/*.timeline ol li:nth-child(odd) div {
  top: -16px;
  transform: translateY(-100%);
}

.timeline ol li:nth-child(odd) div::before {
  top: 100%;
  border-width: 8px 8px 0 0;
  border-color: transparent;
}*/
.timeline ol li.diego > div {
    transform: translateY(-100%);
    display: flex;
    align-items: flex-end;
    align-content: flex-end;
	flex-wrap: wrap;
}

.timeline ol li.diego > div::before {
  top: 100%;
  border-width: 8px 8px 0 0;
  border-color: transparent;
}

/*.timeline ol li:nth-child(even) div {
  top: calc(100% + 16px);
}

.timeline ol li:nth-child(even) div::before {
  top: -8px;
  border-width: 8px 0 0 8px;
  border-color: transparent;
}*/
.timeline ol li.mundo > div {
  /*top: calc(100% + 16px);*/
}

.timeline ol li.mundo > div::before {
  top: -8px;
  border-width: 8px 0 0 8px;
  border-color: transparent;
}
li.mundo > div {
    display: flex;
    align-content: start;
	flex-wrap: wrap;
}
li.mundo > div img {
    order: 1;
    transform: translate(-6rem, -1rem);
}

.timeline time {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #b1380f;
    width: 100%;
    text-align: left;
    padding-left: 1.5rem;
    border-left: 1px solid black;
    padding-top: 1.5rem;
}


/* TIMELINE ARROWS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline .arrows {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.timeline .arrows .arrow__prev {
  margin-right: 20px;
}

.timeline .disabled {
  opacity: .5;
}

.timeline .arrows img {
  width: 45px;
  height: 45px;
}
.tres-ch {
    width: 80px;
    transform: translate(-50%, 70%);
}
.tres-ch img.t350 {
    transform: none;
    width: 100%;
    margin: .3rem 0;
}
.cont-tch p, .cont-tch time{
	padding-left: 50px;
}
.ext-abajo span {
    position: absolute;
    bottom: -33%;
    width: 100%;
    left: 0;
    padding-left: 1.5rem;
}

/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 720px) {
  .contenido, .creditos, body { 
    background: url(../images/bg-body.jpg) repeat center center fixed; 
  }
  .timeline ol,
  .timeline ol li {
    width: auto; 
  }
  
  .timeline ol {
    padding: 0;
    transform: none !important;
  }
  
  .timeline ol li {
    display: block;
    height: auto;
    background: transparent;
  }
  
  .timeline ol li:first-child {
    margin-top: 25px;
  }
  
  .timeline ol li:not(:first-child) {
    margin-left: auto;
  }
  
  .timeline ol li div {
    width: 94%;
    height: auto !important;
    margin: 0 auto 25px;
  }
  
  .timeline ol li div {
    position: static;
  }
  
/*  .timeline ol li:nth-child(odd) div {
    transform: none;
  }*/
  
  .timeline ol li.diego > div {
    transform: none;
  }
  
  .timeline ol li:nth-child(odd) div::before,
  .timeline ol li:nth-child(even) div::before {
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border: none;
    border-left: 1px solid white;
    height: 25px;
  }
  
  .timeline ol li:last-child,
  .timeline ol li:nth-last-child(2) div::before,
  .timeline ol li:not(:last-child)::after,
  .timeline .arrows {
    display: none;
  }
}