/*
Size #1 (1140px):
Size #2 (940px):
Size #3 (720px):
*/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  list-style: none;
  outline: none;
}

img{
  max-width: 100%;
  height: auto;
}


html {  
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  font-size: 62.5%;  
}
body{
  font-family: arial;
}

body{
  background:#E9E9E9;
}
.timeline-section {
  background: #FFF;
  display: flex;
  justify-content: center;
  align-items: end;
  font-size: 1.4rem;
  color: #000;  
  padding: 0;
  max-width: 1140px;
  height: 85vh;
  overflow: hidden;
  padding-bottom: 60px;
  margin: 15px auto;
  position: relative;
}

.timeline-section .linha{
  background-image: url(https://static.weg.net/news/technological-innovation/timeline-motores/img/linha.png);  
  width: 1220px;
  height: 84px;
  display: block;
  position: absolute;
  bottom: 300px;
  left: 19%;
  transform: rotate(-39.5deg);
}
@media (max-width:1366px){
  .timeline-section {
    max-width: 1024px;    
  }
  .timeline-section .linha{
    left: 19%;
  }
}
@media (max-width:1024px){
  .timeline-section {
    max-width: 768px;
  }
  .timeline-section .linha{
    transform: rotate(-44deg);
    left: -10%;
  }
}
@media (max-width:768px){
  .timeline-section {
    max-width: 540px;
  }
  .timeline-section .linha{
    transform: rotate(-44deg);
    left: -47%;
  }
}
@media (max-width:540px){
  .timeline-section {
    max-width: 540px;
    margin: 15px;
  }
  .timeline-section .linha{
    transform: rotate(-49deg);
    left: -72%;
  }
}

.timeline-section .timeline-content{
  position: absolute;
  top: 40px;
  left: 40px;
}
.timeline-section .timeline-content .title{
  font-size: 2.8rem;
  color: #005da2;
  margin: 0 0 30px 0;
  font-weight: 400;
}
.timeline-section .timeline-content .title span{
  font-size: 1.8rem;
  display: block;
  color: #000;
}
.timeline-section .timeline-content .eficiencia{
  font-size: 1.6rem;
  color: #005da2;
  border-left: 6px solid #638d47;
  padding: 4px 10px;
  margin: 0 0 15px 0;
}
.timeline-section .timeline-content .densidade{
  font-size: 1.6rem;
  color: #005da2;
  border-left: 6px solid #0074b0;
  padding: 4px 10px;  
}

.swiper-container-3d {
  -webkit-perspective: 900px;
  perspective: 900px;
  margin: 0 15% 0 0;
}
.swiper-wrapper{
  max-width: 1100px;
}
.timeline-motores .swiper-slide {
  position: relative;  
  transition: all 0.3s ease;
  opacity: 0;
  font-weight: 700;
  min-width: 250px;
}

.timeline-motores .swiper-slide.swiper-slide-active {
  opacity: 1;
}
.timeline-motores .swiper-slide.swiper-slide-active .descriptions{
  top: -30px;
  transform: scale(1);
}


.timeline-motores .swiper-slide.swiper-slide-active + .swiper-slide {
  opacity: 1
}

.timeline-motores .swiper-slide.swiper-slide-active + .swiper-slide + .swiper-slide {
  opacity: 1
}

.timeline-motores .swiper-slide.swiper-slide-active + .swiper-slide + .swiper-slide + .swiper-slide {
  opacity: 1
}

.timeline-motores .swiper-slide.swiper-slide-prev{
  opacity: 0;
}
@media (max-width:1366px) {
  .timeline-motores .swiper-slide.swiper-slide-active + .swiper-slide + .swiper-slide + .swiper-slide {
    opacity: 0
  }
}
@media (max-width:540px) {
  .timeline-motores .swiper-slide.swiper-slide-active + .swiper-slide + .swiper-slide {
    opacity: 0
  }
  .timeline-motores .swiper-slide.swiper-slide-active + .swiper-slide + .swiper-slide + .swiper-slide {
    opacity: 0
  }
}



.motor{
  background-image: url(https://static.weg.net/news/technological-innovation/timeline-motores/motores/bg-motores.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: relative;
}
.motor .motor-img{
  display: block;
  margin: 0 auto;
}

.timeline-motores .swiper-slide .descriptions{
  transition: all 0.3s ease;
  position: absolute;
  top: -30px;
  left: 0;
  width: 80%;
  font-size: 2.0rem;
  color: #FFF;
  transform: scale(.5);
}
.timeline-motores .swiper-slide .descriptions span{  
  background-color: #0074b1;
  display: inline-block;
  padding: 5px;
  width: 50%;
  border:1px solid #FFF;
  text-align: center;  
}

.timeline-motores .swiper-slide .descriptions p{
  color: #000;
  display: block;
  padding: 5px;
  font-size: 1.6rem;
  font-weight: 400;  
  background:rgba(255,255,255,.8);
}

.timeline-motores .swiper-slide .descriptions span + span{
  background-color: #648d47;
}
.timeline-motores .swiper-slide .descriptions span + span + span{
  width: 100%;
  background-color: #18b8da;
  color: #124f6c;
}
.timeline-motores .details{
  display: flex;
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);  
  font-size: 6.0rem;
}
.timeline-motores .details.small{
  font-size: 4.0rem;
  bottom: 36px;
}
.timeline-motores .swiper-slide .year{
  color: #FFF;
}
.timeline-motores .swiper-slide .ie{
  color: #17b8d9;
}

.timeline-section .swiper-button-prev{
  top: initial;
  bottom: 30%;
  right: 40px;
  left: auto;

}
.timeline-section .swiper-button-next{
  top: initial;
  bottom: 40%;
  left: auto;
  right: 40px;

}
.timeline-section .swiper-button-disabled{
  opacity: 0;
}


.swiper-button-next, .swiper-container-rtl .swiper-button-prev{
  background-image: url(https://static.weg.net/news/technological-innovation/timeline-motores/img/up.svg);
  background-size: cover;
  width: 60px;
  height: 40px;
}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next{
  background-image: url(https://static.weg.net/news/technological-innovation/timeline-motores/img/down.svg);
  background-size: cover;
  width: 60px;
  height: 40px;
}


.setas-eficiencia-consumo{  
  position: absolute;
  bottom: 0;
  right: 10px;
  display: flex;
  gap: 15px;
}

.setas-eficiencia-consumo {
  display: flex;
  text-align: center;
  font-size: 1.6rem;
  color: #005da2;
  background:rgba(255,255,255,.9);
}
.setas-eficiencia-consumo .seta{
  max-width: 125px;
}
.setas-eficiencia-consumo .seta img{
  display: block;
  margin: 0 auto;
}
.setas-eficiencia-consumo .seta p{
  display: block;
  min-height: 50px;
  padding: 5px;
}



/****** responsive *************************************/


@media (max-width: 768px){
  .swiper-container-3d {
    -webkit-perspective: 300px;
    perspective: 300px;
    margin: 0 21% 25% 0;
  }

}
@media (max-width: 540px){
  .timeline-section .timeline-content{
    top: 14px;
    left: 14px;
  }
  .timeline-section .timeline-content .title{
    font-size: 1.6rem;
    margin: 0 0 10px 0;
  }
  .timeline-section .timeline-content .title span{
    font-size: 1.2rem;
  }
  .timeline-section .timeline-content .eficiencia{
    margin-bottom: 5px;
  }
  .timeline-section .timeline-content .eficiencia,
  .timeline-section .timeline-content .densidade{
    font-size: 1rem;
  }
  .swiper-container-3d {
    -webkit-perspective: 180px;
    perspective: 180px;
    margin: 0 25% 31% 0;
  }
  .timeline-section {
    padding: 0;
    justify-content: center;
  }


  .timeline-section .swiper-button-prev{
    top: initial;
    bottom: 15%;
    right: 5px;
    left: auto;
    transform: scale(.7);


  }
  .timeline-section .swiper-button-next{
    top: initial;
    bottom: 25%;
    left: auto;
    right: 5px;
    transform: scale(.7);
  }

  .setas-eficiencia-consumo {    
    font-size: 1.5rem;
    width: 100%;
    justify-content: end;
    right: 0;
  }
  .setas-eficiencia-consumo .seta{
    display: contents;
    align-items: center;    
  }
  .setas-eficiencia-consumo .seta img{
    width: 20px;
    height: 20px;
  }
  .setas-eficiencia-consumo .seta p{
    min-height: auto;
  }

}