*,
::after,
::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/*seccion timeline*/
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 100px auto;
}

.containerTime {
  padding: 10px 50px;
  position: relative;
  width: 50%;
  animation: movedown 1s linear forwards;
  opacity: 0;
  z-index: 2;
 }

 @keyframes movedown {
  0%{
    opacity: 1;
    transform: translateY(-30px);
  }
  100%{
    opacity: 1;
    transform: translateY(0px);
  }
 }

 .containerTime:nth-child(1) {
animation-delay: 0s;
 }

 .containerTime:nth-child(2) {
  animation-delay: 1.5s;
  }
  .containerTime:nth-child(3) {
    animation-delay: 3s;
  }
  .containerTime:nth-child(4) {
      animation-delay: 4s;
  }
  .containerTime:nth-child(5) {
        animation-delay: 5s;
  }
  .containerTime:nth-child(6) {
    animation-delay: 6s;
}

 .textTime {
  padding: 20px 30px;
  position: relative;
  background: rgba(183, 166, 109, 0.5);
  border-radius: 6px;
 }

 .textTime p {
  margin-left: 0%;
  margin-right: 0%;
 }

 .leftcontainer {
    left: 0;
 }

 .rightcontainer {
    left: 50%;
 }

.containerTime img {
  position: absolute;
  width: 60px;
  border-radius: 50%;
  right: -30px;
  top: 32px;
  z-index: 20;
  background: #ffffff;
  border: 1px solid #387A5B;
}

.rightcontainer img {
  left: -30px;
}

.timeline::after{
  content: '';
  position: absolute;
  width: 9px;
  height: 100%;
  background-color: #387A5B;
  top: 0;
  left: 50%;
  margin-left: -3px;
  z-index: 0;
  animation: moveline 6s linear forwards;
}

@keyframes moveline {
  0% {height: 0%;}
  100% {height: 100%;}
}

.textTime h2 {
  font-weight: 900;
  color: #005c48;
  text-align: left;
  font-variant: small-caps;
  text-transform: lowercase;
}

.textTime h4{
display: inline-block;
margin-bottom: 15px;
font-variant: small-caps;
font-weight: 700;
text-align: left;
font-size: 18px;
}

.textTime p{
  text-align: left;
  font-size: 16px;
  text-align: justify;
  }

  .leftcontainer-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 34px;
    z-index: 3;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid rgba(183, 166, 109, 0.5);
    right: -15px;
   }

   .rightcontainer-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 34px;
    z-index: 3;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid rgba(183, 166, 109, 0.5);
    left: -15px;
   }

/*seccion valores*/
.section #Valores {
  background-color: #e1e1e1;
}

.valores {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 1080px;
}

.Circlevalores {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 1080px;
}

.containerVal {
  text-align: center;
  position: relative;
  width: 890px;
  height: 890px;
  border: 4px solid #387A5B;
  border-radius: 50%;
}

.containerVal .icon {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin: 0;
  transition: 0.5s;
  left: -50%;
}

.containerVal .icon .imgBx {
  position: absolute; 
  width: 120px;
  height: 120px;
  border-radius: 50%;
  transition: 0.5s;
  border: 2px solid #387A5B;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px #b7a66D, 0 0 0 6px #b7a66D; 
  transform: rotate(calc(360deg/12 * var(--i)));
  transform-origin: 500px;
  z-index: 100;
  overflow: hidden;
}

.containerVal .icon .imgBx.active {
  box-shadow: 0 0 0 4px#387A5B, 0 0 0 12px #b7a66D; 
}

.containerVal .icon .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform: rotate(calc(-360deg/12 * var(--i)));
  transition: 0.5s;
  filter: grayscale(1);
}

.containerVal .icon .imgBx.active img{
  filter: grayscale(0);
} 

.circlecontent {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circlecontent::before {
  content: '';
  position: absolute;
  inset: 90px;
  border: 4px solid transparent;
  border-left: 4px solid #387A5B;
  border-right: 4px solid #b7a66D;
  border-radius: 50%;
  animation: animate_01 7s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes animate_01 {
  0% {rotate: 0deg;}
  100% {rotate: 360deg;}
}

.circlecontent::after {
  content: '';
  position: absolute;
  inset: 120px;
  border: 4px solid transparent;
  border-left: 4px solid #b7a66D;
  border-right: 4px solid #387A5B;
  border-radius: 50%;
  animation: animate_02 5s linear infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes animate_02 {
  0% {rotate: 360deg;}
  100% {rotate: 0deg;}
}

.circlecontentBx {
position: absolute;
transform: scale(0);
transition: 0.5s;
opacity: 0;
}

.circlecontentBx.active {
transform: scale(1);
opacity: 1;
transition-delay: 0.5s;
}

.circlecontentBx .cardCircle {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
}

.circlecontentBx .cardCircle .imgBx {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
}

.circlecontentBx .cardCircle .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circlecontentBx .cardCircle .textBx {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 600px;
}

.circlecontentBx .cardCircle .textBx h4 {
  position: relative;
  color: #387A5B;
  line-height: 1.6;
}

.circlecontentBx .cardCircle .textBx p {
  position: relative;
  color: #000;
  text-align: center;
}

/** Media CSS */
@media screen and (max-width: 1320px) {
  .Circlevalores {
    height: 800px;
  }
  .containerVal  {
    width: 600px;
    height: 600px;
  }
  .circlecontentBx .cardCircle .imgBx {
    width: 200px;
    height: 200px;
  }

  .circlecontentBx .cardCircle .textBx {
    width: 300px;
  }

  .containerVal .icon .imgBx {
    width: 80px;
    height: 80px;
    transform-origin: 335px;
    box-shadow: 4px, 3px;
  }
  .circlecontent::after {
    inset: 70px;
    border-width: 2px;
  }
  .circlecontentBx .cardCircle .textBx h4 {
    font-size: 1.5em;
  }
  
  .circlecontentBx .cardCircle .textBx p {
    font-size: 1em;
  }
}
@media screen and (max-width: 840px) {
  .Circlevalores {
    height: 600px;
  }
  .containerVal  {
    width: 500px;
    height: 500px;
  }
  .circlecontentBx .cardCircle .imgBx {
    width: 160px;
    height: 160px;
  }

  .circlecontentBx .cardCircle .textBx {
    width: 500px;
  }

  .circlecontent::after {
    inset: 60px;
    border-width: 2px;
  }

  .circlecontent::before {
    inset: 50px;
    border-width: 2px;
  }

  .containerVal .icon .imgBx {
    width: 70px;
    height: 70px;
    transform-origin: 280px;
    box-shadow: 4px, 3px;
  }

}
@media screen and (max-width: 600px) {
  .Circlevalores {
    height: 400px;
  }

  .containerVal  {
    display: none;
  }

  .Circlevalores{
    text-align: left;
  }
  
  .hide {
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    height: 100vh;
  }
  
  .slider {
    width: 350px;
    height: 350px;
    overflow: hidden;
    background-color: #95b5a3;
  }
  .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  .slide {
    flex: 0 0 100%;
    text-align: center;
    padding: 20px;
  }

  .slide h6 {
    color: #000000;
    font-weight: 500;
    font-size: 24px;
    text-align: center;
    font-variant: small-caps;
    text-transform: lowercase;
    line-height: 1.1;
  }
  .slide p {
    color: rgb(37, 37, 37);
    font-weight: 300;
    font-size: 18px;
    color: #000000;
  }

  .timeline {
    margin: 50px auto;
  }

  .timeline::after {
    left: 31px;
  }

  .containerTime {
    width: 100%;
    padding-left: 80px;
    padding-right: 25px;
  }

  .textTime {
    font-size: 13px;
  }

  .textTime p{
    font-size: 14px;
    margin-left: -30px;
    margin-right: -30px;
  }
.rightcontainer {
  left: 0;
}

  .leftcontainer img, .rightcontainer img {
    left: 10px;
  }
  
.leftcontainer-arrow {
    border-left: 15px solid rgba(183, 166, 109,);
    border-right: o;
    left: -15px;
    rotate: 180deg;
  }
}

.textTime p {
  margin-left: 1%;
  margin-right: 1%;
 }

 .circlecontentBx .cardCircle .textBx {
  width: 400px;
}

@media screen and (min-width: 601px) {
  .hide {
    display: none;
  }
}


/** Media CSS */
