/* ----------------------------------------------------------------------------------------------------------------------------------  */
/* Variables */
/* ----------------------------------------------------------------------------------------------------------------------------------  */
:root {
  /* Colores */
  --secondary-main-color: #00b6ca;
  --main-color: #062847;
  --contrast-main-color: #ecc22c;
  --background-color: #ffffff;
  --background-color-dark: #000000;
  --texto-white: #ffffff;
  --texto-parrados: #56545b;
  --texto-black: #000000;
  --footer-background: #61676f;
  --nav-colors: linear-gradient(
    to right,
    #062847 0%,
    #062847 50%,
    #00a95e 80%,
    #00a95e 100%
  );
  --nav-colors-inverso: linear-gradient(
    to left,
    #062847 0%,
    #062847 20%,
    #062847 40%,
    #006bca 60%,
    #006bca 80%,
    #006bca 100%
  );
  --logo-colors: linear-gradient(
    to right,
    #00a95e 0%,
    #00a95e 20%,
    #00a971 40%,
    #00959c 60%,
    #0072c2 80%,
    #006bca 100%
  );
  /* Textos */
  /* Fuente de texto */
  --fuente-texto: "Noto Sans", sans-serif;
  /* Titulos */
  --tamaño-titulos: 40px;
  --tamaño-titulos-responsive: 24px;
  --word-spacing-titulos: 1px;
  --grosor-titulos: bold;
  /* Párrafos */
  --tamaño-parrafos: 16px;
  --tamaño-parrafos-responsive: 13px;
  --word-spacing-parrafos: 2px;
  --grosor-parrafos: 500;
  /* Transiciones */
  --duración-de-transiciones: 300ms;
  --duración-de-transiciones-lentas: 400ms;
}
/* ----------------------------------------------------------------------------------------------------------------------------------  */
* {
  font-family: var(--fuente-texto);
}

body {
  min-height: 100vh;
  background-color: var(--background-color);
  padding: auto;
}

/* ----------------------------------------------------------------------------------------------------------------------------------  */
/* Navbar inicial */
/* ----------------------------------------------------------------------------------------------------------------------------------  */
.contenedor-menu {
  display: flex;
  width: 100%;
  position: fixed;
  z-index: 5;
  top: 0;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.452);
}

/* -------------------------------------------------- */
.lista_opciones_nav {
  position: relative;
  display: flex;
  align-content: center;
  gap: 1rem;
  list-style-type: none;
  margin: 0;
  padding: 0;
  height: 70px;
  width: 100%;
  background: var(--nav-colors);
}

.dropdown_list {
  padding-left: 1vw;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dropdown-link {
  color: var(--contrast-main-color);
  padding-inline-start: 10px;
  text-decoration: none;
  display: flex;
  position: relative;
  font-size: 16px;
  transition: color var(--duración-de-transiciones);
}

.dropdown-link.active {
  color: var(--texto-white);
}

.dropdown_list:hover {
  --rows_nav: 1fr;
}

.dropdown_list:hover .dropdown-link {
  color: var(--secondary-main-color);
}

.dropdown_sub::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  left: 0;
  height: 0.5px;
  background-color: var(--background-color);
}

.dropdown_content {
  display: grid;
  grid-template-rows: var(--rows_nav, 0fr);
  transition: 0.4s grid-template-rows;
  width: 100vw;
  position: fixed;
  top: 70px;
  left: 0;
}

.dropdown_sub {
  overflow: hidden;
  background: var(--main-color);
  border-bottom: 1px white solid;
}

.dropdown_li {
  width: 100vw;
  list-style: none;
  margin-left: 0;
}

.dropdown-subtitulos {
  padding: 1em 1px;
  display: block;
  color: var(--contrast-main-color);
  text-decoration: none;
  font-size: 17px;
  transition: all var(--duración-de-transiciones) ease-in-out;
}

.dropdown-subtitulos:hover {
  padding-left: 1vw;
  color: var(--secondary-main-color);
}

.estilo-boton {
  border: none;
  background-color: transparent;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
}

#back_menu {
  display: none;
}

.contenedor-nav #btn-menu {
  display: none;
}

.logo-link {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.logo-link img {
  height: 70px;
}

.logo-link-externo {
  display: none;
}
/* ----------------------------------------------------------------------------------------------------------------------------------  */
/* Modal */
/* ----------------------------------------------------------------------------------------------------------------------------------  */
.modal-container {
  background-color: rgba(0, 0, 0, 0.679);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  pointer-events: none;
  opacity: 0;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 50px;
  z-index: 11;
}

.show {
  pointer-events: auto;
  opacity: 1;
  transition: all var(--duración-de-transiciones) ease-in-out;
}

.modal-styles {
  justify-content: center;
  text-align: center;
  display: flex;
  max-width: 90%;
  padding: 20px 20px;
  border-radius: 5px;
  text-align: center;
  height: auto;
}

/* ----------------------------------------------------------------------------------------------------------------------------------  */
.prestaciones-modal-especial {
  background-color: var(--main-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin: 0 5px;
  padding: 8px 8px;
  border-radius: 2px;
  border: 1px solid var(--contrast-main-color);
  transition: all 300ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prestaciones-modal-especial:hover {
  border: 1px solid var(--secondary-main-color);
}

.prestaciones-modal-especial h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  text-align: left;
  transition: all 300ms ease;
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-transform: uppercase;
  color: var(--contrast-main-color);
}

.prestaciones-modal-especial h1:hover {
  color: var(--secondary-main-color);
}

/* Estilo para los enlaces en la clase .prestaciones-modal */
.prestaciones-modal-especial a {
  text-decoration: none;
  font-family: var(--fuente-texto);
  font-size: 16px;
  color: var(--texto-white);
  transition: all 300ms ease;
}
/* ----------------------------------------------------------------------------------------------------------------------------------  */
.prestaciones-modal {
  background-color: var(--main-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin: 0 5px;
  padding: 8px 8px;
  border-radius: 2px;
}

.prestaciones-modal .ul-superior .li-superior {
  bottom: 0;
  list-style: none;
  display: flex;
  padding: 4px 0;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: all 300ms ease;
  margin-bottom: 3px;
}

.prestaciones-modal .ul-superior ul {
  list-style: none;
}

.prestaciones-modal .ul-superior {
  display: flex;
  background-color: var(--main-color);
  max-width: 300px;
  height: auto;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 5px;
  margin-right: 5px;
  text-align: center;
  justify-content: left;
  align-items: center;
}

.prestaciones-modal h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  text-align: left;
  transition: all 300ms ease;
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-transform: uppercase;
  color: var(--contrast-main-color);
}

.prestaciones-modal h1:hover {
  color: var(--secondary-main-color);
}

.linea-divisor {
  text-align: center;
  margin-bottom: 1px;
  width: 100%;
  margin: 0 auto;
  height: 0.33px;
  background-color: var(--contrast-main-color);
}

/* Estilo para los enlaces en la clase .prestaciones-modal */
.prestaciones-modal a {
  text-decoration: none;
  font-family: var(--fuente-texto);
  font-size: 16px;
  color: var(--texto-white);
  transition: all 300ms ease;
}

.prestaciones-modal:hover > a h3 {
  color: var(--contrast-main-color);
}

.prestaciones-modal .ul-superior .li-superior:hover {
  border-bottom: 2px solid var(--contrast-main-color);
}

.prestaciones-modal .ul-superior .li-superior:hover h4 {
  color: var(--contrast-main-color);
}

/* Estilo para los títulos (h3) en los enlaces de .prestaciones-modal */
.prestaciones-modal a h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  padding: 0;
  transition: all 300ms ease;
  height: 48px;
}

.prestaciones-modal a h3:hover {
  color: var(--secondary-main-color);
}

/* Estilo para los subtitulos (h4) en los enlaces de .prestaciones-modal */
.prestaciones-modal a h4 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  padding: 0;
  text-align: left;
  transition: all 300ms ease;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

.prestaciones-modal a h4:hover {
  color: var(--secondary-main-color) !important;
}

/* Estilo para el texto (h5) en los enlaces de .prestaciones-modal */
.prestaciones-modal a h5 {
  font-size: 16px;
  margin: 0;
  padding: 0;
  text-align: left;
  transition: all 300ms ease;
}

.prestaciones-modal a h5:hover {
  color: var(--secondary-main-color);
  text-decoration: none !important;
}

#close {
  background: transparent;
  /* Elimina el fondo del botón */
  border: none;
  font-size: var(--tamaño-titulos);
  height: 30px;
  color: var(--contrast-main-color);
  position: absolute;
  top: 0;
  right: 10px;
}

@media (max-width: 850px) {
  .modal-container {
    padding-bottom: 10px;
  }

  .prestaciones-modal .ul-superior {
    justify-content: left;
    flex-direction: column;
  }

  .prestaciones-modal a h4 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    padding: 0;
    text-align: left;
    transition: all 300ms ease;
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
  }

  .prestaciones-modal .ul-superior {
    align-items: center;
  }

  .link-modal {
    display: none;
  }
}

/* endModal */

@media screen and (max-width: 700px) {
  .contenedor-menu {
    position: static;
    background: var(--nav-colors-inverso);
    box-shadow: 0 0 2px var(--background-color-dark);
  }

  .lista_opciones_nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #menu {
    box-shadow: -4px -4px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    background: var(--main-color);
    right: -250px;
    width: 250px;
    height: 100vh;
    padding: 40px;
    z-index: 11;
    transition: all 300ms;
  }

  .logo-link {
    display: none;
  }

  .logo-link-externo {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    background: var(--nav-colors-inverso);
    z-index: 10;
  }
  .logo-link-externo img {
    float: left;
    height: 70px;
  }

  .dropdown-link {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 18px;
  }

  .dropdown_content {
    display: none;
  }

  .dropbtn {
    font-size: 14px;
    color: var(--texto-black);
  }
  .dropdown_sub::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    height: 0.5px;
    background-color: transparent;
  }
  .contenedor-nav #btn-menu {
    width: 60px;
    height: 60px;
    display: flex;
    background: var(--main-color);
    justify-content: center;
    align-items: center;
    float: right;
    font-size: 20px;
    cursor: pointer;
    transition: all 400ms ease;
    color: var(--background-color);
    position: fixed;
    top: 4px;
    right: 4px;
    z-index: 100;
    border: 1px solid transparent;
    border-radius: 50%;
  }

  #back_menu {
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(8, 52, 92, 0.7);
    transition: all 300ms;
  }

  .modal-container {
    display: none;
  }
}

@media (max-width: 330px) {
  .logo-link-externo {
    background: var(--main-color);
  }
}

/* ----------------------------------------------------------------------------------------------------------------------------------  */
/* Contenedor del telefono flotante */
/* ----------------------------------------------------------------------------------------------------------------------------------  */
.contenedor-telefono {
  max-width: 60px;
  max-height: 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--main-color);
  position: fixed;
  bottom: 10px;
  right: 10px;
  display: flex;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 300ms ease;
  border: 0.1px transparent solid;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0, 5);
  z-index: 3;
  transition: background var(--duración-de-transiciones-lentas) ease-in-out;
}

.contenedor-telefono .telefono {
  position: absolute;
  background: var(--texto-black);
  padding: 0px 8px;
  height: 30px;
  line-height: 30px;
  min-width: 135px;
  text-align: center;
  border-radius: 3px;
  font-size: 15px;
  top: 16px;
  right: 0px;
  transition: all 500ms ease;
  opacity: 0;
  visibility: hidden;
  z-index: -1;
}

.contenedor-telefono:hover .telefono {
  opacity: 1;
  visibility: visible;
  right: 68px;
}

.contenedor-telefono .telefono:after {
  position: absolute;
  content: "";
  border-right: 7px solid transparent;
  border-left: 6px solid var(--background-color-dark);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  left: 100%;
  top: 8px;
}

.contenedor-telefono a {
  color: var(--texto-white);
  font-size: 22px;
  transition: all 300ms ease;
  margin: auto;
}

.contenedor-telefono a span {
  color: var(--texto-white);
  font-size: 22px;
  transition: all 300ms ease;
  margin: auto;
}

.contenedor-telefono:hover {
  background: var(--logo-colors);
  width: 62px;
  height: 62px;
  border: 0.1px var(--background-color) solid;
}

.contenedor-telefono:hover a {
  color: var(--texto-white);
  text-shadow: var(--texto-black) 1px 1px;
}

@media (max-width: 768px) {
  .contenedor-telefono a span {
    display: none;
  }
  .contenedor-telefono:hover {
    background-color: var(--main-color);
    width: 62px;
    height: 62px;
    border: 1px var(--background-color-dark) solid;
  }
}
/* ----------------------------------------------------------------------------------------------------------------------------------  */
/* Contenedor del facebook flotante */
/* ----------------------------------------------------------------------------------------------------------------------------------  */
.contenedor-facebook {
  max-width: 60px;
  max-height: 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--main-color);
  position: fixed;
  bottom: 75px;
  right: 10px;
  display: flex;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 300ms ease;
  border: 0.1px transparent solid;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0, 5);
  z-index: 3;
  transition: background var(--duración-de-transiciones-lentas) ease-in-out;
}

.contenedor-facebook .facebook {
  position: absolute;
  background: var(--background-color-dark);
  padding: 0px 8px;
  height: 30px;
  line-height: 30px;
  min-width: 13px;
  text-align: center;
  border-radius: 3px;
  font-size: 15px;
  top: 16px;
  right: 0px;
  transition: all 500ms ease;
  opacity: 0;
  visibility: hidden;
  z-index: -1;
}

.contenedor-facebook:hover .facebook {
  opacity: 1;
  visibility: visible;
  right: 68px;
}

.contenedor-facebook .facebook:after {
  position: absolute;
  content: "";
  border-right: 7px solid transparent;
  border-left: 6px solid var(--background-color-dark);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  left: 100%;
  top: 8px;
}

.contenedor-facebook a {
  color: var(--texto-white);
  font-size: 22px;
  transition: all 300ms ease;
  margin: auto;
}

.contenedor-facebook a span {
  color: var(--texto-white);
  font-size: 22px;
  transition: all 300ms ease;
  margin: auto;
}

.contenedor-facebook:hover {
  background: var(--logo-colors);
  text-shadow: var(--texto-black) 1px 1px;
  width: 62px;
  height: 62px;
  border: 0.1px var(--background-color) solid;
}

.contenedor-facebook:hover a {
  color: var(--texto-white);
}

@media (max-width: 768px) {
  .contenedor-facebook a span {
    display: none;
  }
  .contenedor-facebook:hover {
    background-color: var(--main-color);
    width: 62px;
    height: 62px;
    border: 1px var(--background-color-dark) solid;
  }
}
/* ----------------------------------------------------------------------------------------------------------------------------------  */
/* Carousel Inicial */
/* ----------------------------------------------------------------------------------------------------------------------------------  */
.slider-box {
  margin-top: 70px !important;
  width: 100%;
  height: auto;
  margin: 0;
  overflow: hidden;
  margin-top: 70px;
}

.slider-box ul {
  display: flex;
  padding: 0;
  width: 600%;
  animation: slide 20s infinite alternate ease-in-out;
  box-shadow: 1px 1px 8px gray;
}

.slider-box li {
  width: 100%;
  list-style: none;
  position: relative;
}

.texto-carousel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--texto-white);
  text-shadow: 1px 1px 1px var(--texto-black);
}

.texto-carousel p {
  font-size: 30px;
  margin-bottom: 10px;
  color: hsl(0, 0%, 100%);
  text-shadow: 1px 1px 1px var(--texto-black);
  text-align: center;
}

.slider-box img {
  width: 100%;
  height: 100%;
  display: inline-block;
}

@keyframes slide {
  0%,
  16.666% {
    margin-left: 0;
  }

  16.667%,
  33.333% {
    margin-left: -100%;
  }

  33.334%,
  50% {
    margin-left: -200%;
  }

  50.001%,
  66.666% {
    margin-left: -300%;
  }

  66.667%,
  83.333% {
    margin-left: -400%;
  }
  83.334%,
  100% {
    margin-left: -500%;
  }
}

@media (max-width: 991px) {
  .slider-box {
    margin-top: 70px;
    width: 100%;
    background-size: contain;
    background-position: center;
  }

  .texto-carousel p {
    font-size: var(--tamaño-titulos-responsive);
  }

  .texto-carousel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--texto-white);
  }
}

@media (max-width: 768px) {
  .slider-box {
    width: 100%;
    height: auto;
    margin: 0;
    overflow: hidden;
  }

  .texto-carousel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--texto-white);
  }

  .texto-carousel p {
    padding-top: 20px;
    font-size: var(--tamaño-parrafos-responsive);
  }
}
/* ----------------------------------------------------------------------------------------------------------------------------------  */
/* Biografia */
/* ----------------------------------------------------------------------------------------------------------------------------------  */
.segunda-seccion {
  margin-top: 30px;
}

.contenedor-biografia {
  display: flex;
  padding: 0 30px;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.contenedor-biografia .contenedor-texto {
  justify-content: center;
  align-items: center;
  width: 40%;
  margin-right: 20px;
}

.contenedor-biografia .contenedor-texto .titulo-biografia {
  text-align: center;
  font-family: var(--fuente-texto);
  font-size: var(--tamaño-titulos);
  font-weight: var(--grosor-titulos);
  word-spacing: var(--word-spacing-titulos);
  letter-spacing: 1px;
}

.contenedor-biografia .contenedor-texto .texto-biografia {
  font-family: var(--fuente-texto);
  font-size: var(--tamaño-parrafos);
  font-weight: var(--grosor-parrafos);
  color: var(--texto-parrados);
  text-align: justify;
  padding-left: 4vh;
  word-spacing: var(--word-spacing-parrafos);
}

/* ---------------------------- */
#biografia-link {
  text-decoration: none;
}

.boton {
  text-align: center;
  background-color: transparent;
  border: var(--secondary-main-color);
  padding: 10px 20px;
  border-radius: 3px;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color var(--duración-de-transiciones-lentas),
    color var(--duración-de-transiciones);
  background-color: var(--main-color);
  border: var(--background-color) 1px solid;
  display: flex;
  margin: 10px auto;
}

.boton a {
  text-align: center;
  color: var(--texto-white);
  text-decoration: none;
  cursor: pointer;
  font-size: var(--tamaño-parrafos);
  font-weight: var(--grosor-parrafos);
  word-spacing: var(--word-spacing-parrafos);
  font-style: italic;
  transition: all var(--duración-de-transiciones-lentas);
}

.boton:hover {
  border: var(--main-color) 1px solid;
  background-color: var(--background-color);
}

.boton:active {
  transform: scale(0.9);
}

.boton:hover a {
  color: var(--main-color);
}

.contenedor-biografia .contenedor-imagen {
  width: 50%;
  margin: auto;
}

.contenedor-biografia .contenedor-imagen img {
  width: 100%;
  border-radius: 10px;
  animation: slideInFromLeft 2s ease forwards;
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.contenedor-imagen .texto-img-biografia {
  position: relative;
  background-color: var(--main-color);
  left: -15px;
  top: -45px;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  box-shadow: 0 0 10px rgba(41, 41, 41, 0.83);
  border-radius: 10px;
  animation: slideInFromRight 2s ease forwards;
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.contenedor-imagen .texto-img-biografia h1 {
  color: var(--texto-white);
  text-align: center;
  font-family: var(--fuente-texto);
  font-size: 26px;
  letter-spacing: 1px;
  font-style: italic;
}

@media (max-width: 768px) {
  .contenedor-biografia {
    flex-direction: column;
    min-width: 100%;
    text-align: center;
  }

  .contenedor-biografia .contenedor-texto {
    width: 90%;
    margin: 0 5px;
  }

  .contenedor-biografia .contenedor-imagen {
    width: 100%;
    margin: 0 2px;
    text-align: center;
    align-items: center;
  }

  .contenedor-biografia .contenedor-imagen img {
    width: 100%;
    animation: slideInFromLeft var(--duración-de-transiciones) ease forwards;
  }

  .contenedor-biografia .contenedor-texto .titulo-biografia {
    font-size: var(--tamaño-titulos-responsive);
    padding-bottom: 5px;
  }

  .contenedor-biografia .contenedor-texto .texto-biografia {
    text-align: justify;
    padding-left: 5px;
    font-size: var(--tamaño-parrafos-responsive);
  }

  .boton a {
    font-size: var(--tamaño-parrafos-responsive);
  }

  .contenedor-imagen .texto-img-biografia {
    position: relative;
    left: 30px;
    top: -20px;
    padding: 5px;
    text-align: center;
    box-shadow: 0 0 10px rgba(41, 41, 41, 0.83);
    border-radius: 10px;
    color: var(--texto-white);
    max-width: 80%;
  }

  .contenedor-imagen .texto-img-biografia h1 {
    text-align: center;
    letter-spacing: var(--word-spacing-parrafos);
    padding: auto;
    margin: auto;
    font-family: var(--fuente-texto);
    font-style: normal;
    font-size: var(--tamaño-parrafos-responsive);
    font-weight: var(--grosor-parrafos);
    color: var(--texto-white);
  }
}
/* ----------------------------------------------------------------------------------------------------------------------------------  */
/* Lenguaje */
/* ----------------------------------------------------------------------------------------------------------------------------------  */
.container-bar-idiomas {
  width: 100%;
  max-width: 50px;
  position: fixed;
  left: 0;
  top: 25%;
  z-index: 3;
}

.container-bar-idiomas a {
  display: block;
  width: 55px;
  height: 33px;
  line-height: 10px;
  text-align: center;
  text-decoration: none;
  position: relative;
  transition: all 500ms ease;
  color: var(--texto-white);
  transition: transform 500ms ease;
}

.container-bar-idiomas a:hover{
  transform: scale(1.1);
}

.container-bar-idiomas .es {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 5px;
}

.container-bar-idiomas .es img {
  width: 100%;
  border-radius: 2px;
}

.container-bar-idiomas .en {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 5px;
}

.container-bar-idiomas .en img {
  width: 100%;
  border-radius: 2px;
}

.container-bar-idiomas .br {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 5px;
}

.container-bar-idiomas .br img {
  width: 100%;
  border-radius: 2px;
}

.container-bar-idiomas .de {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 5px;
}

.container-bar-idiomas .de img {
  width: 100%;
  border-radius: 2px;
}

.container-bar-idiomas #title-idioma {
  position: absolute;
  background: var(--background-color-dark);
  padding: 0px 8px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 3px;
  font-size: var(--tamaño-parrafos);
  top: 3.5px;
  left: 0px;
  transition: all 500ms ease;
  opacity: 0;
  visibility: hidden;
  z-index: -1;
}

.container-bar-idiomas a:hover #title-idioma {
  opacity: 1;
  visibility: visible;
  left: 64px;
}

.container-bar-idiomas #title-idioma:after {
  position: absolute;
  content: "";
  border-left: 7px solid transparent;
  border-right: 6px solid var(--background-color-dark);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  right: 100%;
  top: 7.5px;
}

#btn-idioma {
  display: none;
}

.fa-play {
  padding-left: 4px;
  cursor: pointer;
  transition: all 0.4s;
  font-size: 12px;
  margin-bottom: 5px;
  display: inline-block;
  transform: rotate(180deg);
  color: var(--texto-black);
  text-shadow: -1px -1.5px white;
}

#btn-idioma:checked ~ .fa-play {
  transform: rotate(0deg);
  text-shadow: 1px 1px white;
}

.icon-idioma {
  transition: all 0.4s;
  transform: translateX(0%);
  border-radius: 0 5px 5px 0;
}

#btn-idioma:checked ~ .icon-idioma {
  transform: translateX(-120%);
}
/* ----------------------------------------------------------------------------------------------------------------------------------  */
/* Sección de servicios */
/* ----------------------------------------------------------------------------------------------------------------------------------  */
.segunda-seccion {
  background-color: var(--background-color);
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 0 2px gray;
}

.contenedor-de-text {
  padding-top: 10px;
  width: 80%;
}

.segunda-seccion-titulos {
  text-align: center;
  font-family: var(--fuente-texto);
  font-size: var(--tamaño-titulos);
  font-weight: var(--grosor-titulos);
  letter-spacing: 1px;
}

.segunda-seccion-textos {
  align-items: baseline;
  font-size: 16px;
  color: var(--texto-parrados);
  font-weight: var(--grosor-parrafos);
  text-align: center;
  padding-left: 4vh;
  word-spacing: 2px;
}

.container-servivios {
  display: flex;
  width: 100%;
}

.carta-servicio {
  width: 100%;
  margin: 20px;
  overflow: hidden;
  background-color: #fff;
  cursor: default;
  transition: all 400ms ease;
}

.carta-servicio h3 {
  text-align: left;
  font-family: var(--fuente-texto);
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
}

.carta-servicio p {
  font-family: var(--fuente-texto);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  word-spacing: 2px;
}

.carta-servicio img {
  width: 100%;
  border-radius: 2px;
}

.carta-servicio a {
  font-family: var(--fuente-texto);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  word-spacing: 2px;
  text-decoration: none;
  font-weight: 600;
  color: var(--main-color);
  display: flex;
  align-items: center;
}

.carta-servicio a:hover {
  color: var(--secondary-main-color);
}

.carta-servicio .palabra {
  text-decoration: none;
  padding-right: 1px;
  transition: all 400ms ease;
}

.carta-servicio .palabra:hover {
  font-size: 15px;
  padding-right: 6px;
  transition: all 400ms ease;
}

.efecto-flecha {
  display: flex;
  align-items: flex-end;
}

.efecto-flecha .flecha {
  padding-left: 1px;
  transition: all 400ms ease;
}

.efecto-flecha .flecha:hover {
  padding-left: 6px;
  transition: all 400ms ease;
  font-size: 15px;
}

.carta-servicio {
  width: 90%;
  padding: 5px;
  border-radius: 1px;
  transition: all 400ms ease;
}

.carta-servicio:hover {
  border-bottom: 1px solid var(--main-color);
  transform: translateY(-3%);
  transition: all 400ms ease;
}

@media (max-width: 768px) {
  .segunda-seccion-titulos {
    font-size: var(--tamaño-titulos-responsive);
    padding-bottom: 5px;
  }

  .segunda-seccion-textos {
    padding-left: 5px;
    font-size: 14px;
    color: var(--texto-parrados);
  }

  .container-servivios {
    flex-direction: column;
    align-items: center;
  }

  .carta-servicio {
    width: 100vh;
    padding: 5px;
    border-radius: 1px;
    transition: all 400ms ease;
  }

  .carta-servicio {
    width: 90%;
    padding: 5px;
    border-radius: 1px;
    transition: all 400ms ease;
  }

  .carta-servicio:hover {
    border-bottom: 1px solid var(--main-color);
    transform: translateY(-3%);
    transition: all 400ms ease;
  }
}

/* ----------------------------------------------------------------------------------------------------------------------------------  */
/* Departamentos */
/* ----------------------------------------------------------------------------------------------------------------------------------  */

.team {
  padding-top: 20px;
  flex-wrap: wrap;
}

.contenedor-trabajadores {
  text-align: center;
  align-items: center;
  padding-bottom: 50px;
}

.team-titulo {
  text-align: center;
  font-family: var(--fuente-texto);
  font-size: var(--tamaño-titulos);
  font-weight: bold;
  letter-spacing: 1px;
}

.team-texto {
  font-size: 16px;
  font-weight: 500;
  color: var(--texto-parrados);
  text-align: center;
  word-spacing: 2px;
  padding: 3px 10px;
  margin: 5px 40px;
}

.contenedor-cartas-puesto {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contenedor-equipo {
  display: flex;
  margin-top: 35px;
  position: relative;
  padding-right: -165px;
  transition: all 400ms ease;
}

.contenedor-interno {
  background-color: var(--main-color);
  display: flex;
  position: relative;
  width: 200px;
  height: auto;
  border-radius: 10px;
  transition: all 400ms ease;
}

.contenedor-interno h5 {
  position: absolute;
  top: 20px;
  left: -16px;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  color: var(--texto-white);
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

.contenedor-interno h6 {
  position: absolute;
  bottom: 0;
  right: 10px;
  font-family: "Rubik", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
}

.contenedor-interno h6 a {
  text-decoration: none;
  color: var(--texto-white);
  cursor: pointer;
  display: flex;
}

.palabra2 {
  text-decoration: none;
  padding-right: 1px;
  transition: all 400ms ease;
}

.palabra2:hover {
  text-decoration-color: var(--texto-white);
  padding-right: 6px;
  transition: all 400ms ease;
}

.efecto-flecha2 {
  display: flex;
  align-items: flex-start;
}

.efecto-flecha2 .flecha2 {
  padding-left: 1px;
  transition: all 400ms ease;
}

.efecto-flecha2 .flecha2:hover {
  padding-left: 6px;
  transition: all 400ms ease;
}

.contenedor-externo {
  background-color: var(--contrast-main-color);
  position: relative;
  width: 200px;
  right: 165px;
  border-radius: 10px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.39);
  transition: all 400ms ease;
}

.contenedor-externo h6 {
  color: var(--texto-white);
  font-weight: 500;
  font-family: var(--fuente-texto);
  font-style: italic;
}

.contenedor-equipo:hover .contenedor-interno {
  transform: translateY(15px);
  transition: all 400ms ease;
}

.contenedor-equipo:hover .contenedor-externo {
  transform: translateY(-15px);
  transition: all 400ms ease;
}

.contenedor-trabajadores .contenedor-equipo .contenedor-externo img {
  height: auto;
  width: 100%;
  border-radius: 10px 10px 0 0;
}

@media (max-width: 1143px) {
  .contenedor-cartas-puesto {
    flex-wrap: wrap;
    min-width: 100%;
    text-align: center;
    padding-bottom: 30px;
    padding-left: 100px;
    overflow: hidden;
  }

  .contenedor-equipo {
    padding-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .contenedor-interno {
    top: 15px;
  }

  .contenedor-externo {
    top: -15px;
  }

  .team-texto {
    font-size: var(--tamaño-parrafos);
    font-weight: 500;
    color: var(--texto-parrados);
    text-align: center;
    word-spacing: 2px;
    padding: 3px 10px;
    margin: 5px 40px;
  }

  .team-titulo {
    font-size: var(--tamaño-titulos-responsive);
    padding-bottom: 5px;
  }

  .contenedor-equipo:hover .contenedor-interno {
    transform: translateY(0px);
    transition: all 400ms ease;
  }

  .contenedor-equipo:hover .contenedor-externo {
    transform: translateY(0px);
    transition: all 400ms ease;
  }
}
/* ----------------------------------------------------------------------------------------------------------------------------------  */
/* Seccion para contactar */
/* ----------------------------------------------------------------------------------------------------------------------------------  */
.apartado-contacto {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  text-align: center;
  margin-bottom: 50px;
  background: var(--logo-colors);
}

.contenedor-contacto {
  width: 80%;
  text-align: center;
  height: auto;
  background-color: transparent;
  margin: 30px 0;
}

.contenedor-contacto .contacto-pregunta {
  font-family: var(--fuente-texto);
  font-size: 14px;
  font-weight: 600;
  color: var(--contrast-main-color);
  text-align: center;
  letter-spacing: 3px;
  word-spacing: 2px;
}

.contenedor-contacto .contacto-titulo {
  text-align: center;
  font-family: var(--fuente-texto);
  font-size: var(--tamaño-titulos);
  font-weight: bold;
  color: var(--texto-white);
  letter-spacing: 1px;
  text-shadow: var(--texto-black) 2px 2px;
}

.contenedor-contacto .contacto-texto {
  font-family: var(--fuente-texto);
  font-size: 15px;
  font-weight: 500;
  color: var(--texto-white);
  text-align: center;
  word-spacing: 2px;
  text-shadow: var(--texto-black) 1px 1px;
}

/* #ecc42c */
.boton2 {
  background-color: var(--contrast-main-color);
  text-transform: uppercase;
  border-radius: 25px;
  padding: 5px 10px;
  border: none;
  transition: all var(--duración-de-transiciones-lentas) ease-in-out;
}

.boton2:hover {
  box-shadow: 0 0 8px 3px rgba(0, 0, 0, 0.5);
}

.boton2 a {
  transition: all var(--duración-de-transiciones-lentas) ease-in-out;
  text-decoration: none;
  font-family: var(--fuente-texto);
  font-size: 14px;
  font-weight: 600;
  color: var(--main-color);
  text-shadow: var(--texto-white) 0.2px 0.2px;
  text-align: center;
  letter-spacing: 0;
}

.boton2:hover a {
  text-shadow: var(--texto-white) 0.5px 0.5px;
}

@media (max-width: 768px) {
  .contenedor-contacto .contacto-pregunta {
    font-size: var(--tamaño-parrafos-responsive);
    text-shadow: var(--texto-black) 1px 1px;
  }

  .contenedor-contacto .contacto-titulo {
    font-size: var(--tamaño-titulos-responsive);
    text-shadow: var(--texto-black) 1.5px 1.5px;
  }

  .contenedor-contacto .contacto-texto {
    font-size: var(--tamaño-parrafos-responsive);
  }
}
/* ----------------------------------------------------------------------------------------------------------------------------------  */
/* Footer */
/* ----------------------------------------------------------------------------------------------------------------------------------  */
footer {
  border-top: #0000002e 1px solid;
}

.footer {
  min-height: auto;
  max-height: auto;
  padding-top: 4px;
  background-color: rgba(242, 242, 242, 255);
}

.texto-footer {
  text-decoration: none;
  color: var(--footer-background);
  font-family: var(--fuente-texto);
  font-size: 11px;
  letter-spacing: 0.2px;
  margin-bottom: 7px;
}

.texto-footer:hover {
  text-decoration: underline;
}

.texto-footer-title {
  color: var(--texto-parrados);
  font-family: var(--fuente-texto);
  font-size: 15.295px;
  text-decoration: none;
}

.texto-footer-title:hover {
  text-decoration: underline;
}

.linea-footer {
  background: var(--logo-colors);
  text-align: center;
  margin-bottom: 1px;
  width: 95%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 16px;
  height: 1px;
}

.footer-button {
  color: var(--footer-background);
  font-family: var(--fuente-texto);
  font-size: 11px;
  font-style: italic;
  text-align: center;
  padding-top: 10vh;
  padding-bottom: 1px;
}

@media (max-width: 768px) {
  .texto-footer-title {
    font-size: 14px;
  }
  .texto-footer {
    font-size: 10px;
  }
  .footer-button {
    font-size: 10px;
  }
}
