/* TODO:
- Estilizar con la paleta de colores
- Normalizar el logo
- Agregar las imágenes restantes
- OPCIONAL: Agregar etiqueta de números a las barras del gráfico
- Arregar la sección de testimonios
- Agregar sección de beneficios
- Agregar un título en la sección de Testimonios EJ: "Más de 300 empleados lo recomiendan"
*/
@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');

:root {
  --primary: white;
  --secondary: #edcd4f;
  --terciary: #343463;
  --darker: #121212;
  --dark: black;
}


html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: 'Rubik', sans-serif;
}

body::-webkit-scrollbar {
  width: 12px;
  background-color: var(--primary);
}

body::-webkit-scrollbar-track {
  border-radius: 3px;
  background-color: transparent;
}

body::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: var(--terciary);
  border: 2px solid var(--primary);
}

@media screen and (max-width:860px) {
  
}

nav {
  display: flex;
  background-color: var(--terciary);
  justify-content: space-between;
  padding: 5px 20px;
  position: fixed;
  width: 100%;
  z-index: 100;
}
@media (max-width: 800px) {
    nav {
      flex-direction: column;
      align-items: center;
      padding: 0;
    }
    ul {
      flex-direction: column;
      align-items: center;
      padding-right: 0;
      padding: 0;
    }
}

ul {
  display: flex;
  text-decoration: none;
  list-style: none;
  align-items: center;

}

ul > li {
  padding: 0px 20px;
}

ul a {
  color: var(--primary);
  text-decoration: none;
}

header {
  display: flex; /* Cambiar a "flex" */
  justify-content: center;
  align-items: center;
  height: 100%;
  background: linear-gradient(267deg, #5958a7, #343463);
  background-size: 400% 400%;
  -webkit-animation: AnimationName 30s ease infinite;
  -moz-animation: AnimationName 30s ease infinite;
  animation: AnimationName 30s ease infinite;
}

@-webkit-keyframes AnimationName {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@-moz-keyframes AnimationName {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes AnimationName {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 400;
  line-height: 1.3;
}

h1 {
  font-size: 5.96rem;
  color: var(--secondary);
  text-shadow: 1px 2px 2px #000000;
}

@media (max-width: 500px) {
    h1{
      font-size: 2rem;
    }
}

h2 {
  font-size: 2.441rem;
}

h3 {
  font-size: 1.953rem;
}

h4 {
  font-size: 1.563rem;
}

h5 {
  font-size: 1.25rem;
}

header img{
  width: 30%;
}

header div p {
  color: white;
}

#queEs {
  display: flex;
  flex-flow: column;
  padding: 20px;
  background-color: var(--darker);
  justify-content: center;
  align-content: center;
  flex-direction: column;
  color: var(--primary);
}

#queEs > h2 {
  text-align: center;
}

#queEs img {
  width: 100%;
}

#queEs > div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#queEs p {
  width: 100%;
  padding: 20px;
}

/* MQ para celulares */

@media screen and (max-width:768px) { 
  header {
    display: flex;
    flex-direction: column;
    height: 120%;
  }

  #queEs > div {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
}

#descripcion {
  display: block;
}
#descripcion p {
  justify-content: space-between;
  text-align: center;
}

.zoom-without-container img {
  transition: transform 0.2s; /* Animation */
  margin: 0 auto;
}
.zoom-without-container img {
  width: 50%;
  height: auto;
}
.zoom-without-container img:hover {
  transform: scale(1.1);
  /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

#ToF {
  text-align: center;
  padding: 20px;
  height: auto;
  background: var(--secondary);
}

#ToF h2 {
  display: flex;
  justify-content: center;
  margin: 0;
}

#Rdo {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 20px;
}

#chart_div {
  width: 50%;
  height: 50%;
}

#Rdo div {
  display: flex;
  justify-content: center;
  align-items: center;
}

#opiniones {
  background-color: #edcd4f;
  padding: 20px;
}

#opiniones h2 {
  text-align: center;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.mySlides p {
  padding-left: 20px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

footer {
  background-color: var(--terciary);
  text-align: center;
  color: var(--primary);
  padding: 20px 0;
}
