.container {
  max-width: 80vw;
  margin: auto;
}

.why {
  margin: 0 0 50px;
}
.why .title {
  font-size: 2.5rem;
  text-align: center;
  color: #840b47;
}

@media screen and (orientation: portrait) {
	
.why .title {
  font-size: 1.5rem;
}
}


.why .menu {
position: relative;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    margin: 15vh 0 5vh 0;
    max-width: 80vw;
}

@media only screen and (max-width:1023px) and (orientation: landscape)
{
.why .menu {

    margin: 15vh 0 0 0;

}
}

@media screen and (min-width:768px) and (orientation: portrait) {
.why .menu {
    height: 7vh;
	margin: 0;
	flex-wrap: wrap;
}	
}

@media screen and (max-width:767px) and (orientation: portrait) {
.why .menu {
    height: 20vh;
	margin: 0;
	flex-wrap: wrap;
}	
}


.why .menu::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 100px);
  height: 1px;
  background-color: #eee;
  z-index: -1;
}
.why .menu li {
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  position: relative;
  width: 100px;
  color: #aaa;
  cursor: pointer;
}
.why .menu li span {
  position: absolute;
  left: 0;
  bottom: 30px;
  width: 100%;
}

@media screen and (orientation: portrait) {
	
.why .menu li span {
  bottom: 15px;

}
	
}
.why .menu li::after, .why .menu li::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}
.why .menu li::after {
  bottom: 0;
  background-color: #aaa;
  width: 10px;
  height: 10px;
}
.why .menu li::before {
  bottom: -4px;
  border: 2px solid #aaa;
  width: 14px;
  height: 14px;
}
.why .menu li.active {
  color: #4267b2;
}
.why .menu li.active::before {
  border-color: #4267b2;
}
.why .menu li.active::after {
  background-color: #4267b2;
}
.why .content {
  display: flex;
}
@media only screen and (max-width: 1100px) {
  .why .content {
    flex-direction: column-reverse;

  }
}
.why .content > div {
  width: 40%;
}
@media only screen and (max-width: 1100px) {
  .why .content > div {
    margin: auto;
		margin-bottom: 1vh;
  }
}
@media only screen and (max-width: 530px) {
  .why .content > div {
    width: 90%;
  }
}
.why .text {
  color: #555;
  padding: 10vh;
  font-weight: 400;
}

@media screen and (orientation: portrait) {
	
.why .text {
 padding: 0;
}
	
}
@media only screen and (max-width: 1100px) {
  .why .text {
   /* margin-top: 40px !important;*/
  }
}
.why .text__item {
  display: none;
}
.why .text__item.active {
  display: block;
}
.why .imgs {
  position: relative;
  min-height: 350px;
}
@media only screen and (max-width: 1100px) {
  .why .imgs {
    min-height: 320px;
  }
}
@media only screen and (max-width: 530px) {
  .why .imgs {
    min-height: 220px;
  }
}
.why .imgs img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 7px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 30px;
  z-index: 2;
}
.why .imgs img.desactive {
  top: 30px;
  left: 0;
  z-index: 1;
}
.why .imgs img.active {
  top: 50px;
  left: 50px;
  z-index: 3;
}

img.active--animation {
  animation-name: change;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

@keyframes change {
  0% {
    top: 50px;
    left: 50px;
    z-index: 4;
  }
  50% {
    top: 40px;
    left: 500px;
    z-index: 3;
  }
  100% {
    top: 30px;
    left: 0px;
    z-index: 0;
  }
}

@media screen and (orientation: portrait) {
	
.text h2 {
font-size:1.2em;

}
	
}