@font-face {
  font-family: "Montserrat Regular";
  src: url("../assets/fonts/Montserrat-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto Medium";
  src: url("../assets/fonts/Roboto-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat Bold";
  src: url("../assets/fonts/Montserrat-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "GreatVibes Regular";
  src: url("../assets/fonts/GreatVibes-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins Light";
  src: url(../assets/fonts/Poppins-Light.ttf);
}
@font-face {
  font-family: "Poppins";
  src: url(../assets/fonts/Poppins-Regular.ttf);
}
@font-face {
  font-family: "Poppins Medium";
  src: url(../assets/fonts/Poppins-Medium.ttf);
}
:root {
  --fuente-Montserrat-Regular: "Montserrat Regular", Arial, sans-serif;
  --fuente-Roboto-Regular: "Roboto Medium", Arial, sans-serif;
  --fuente-Montserrat-Bold: "Montserrat Bold", Arial, sans-serif;
  --fuente-GreatVibes-Regular: "GreatVibes Regular", cursive;
  --color-fondo: #ceb992;
  --color-fondo-alternativo: #d3c7a2;
  /* "#d3c7a2"
"#cdc4a0"
"#cfc6a2"
"#c8bca0" */
  --color-general: #342a21;
  --color-fondo-header: #fff;
  --color-resaltado: #c8bca0;
  --fuente-ligera: "Poppins Light", sans-serif;
  --fuente-regular: "Poppins", sans-serif;
  --fuente-media: "Poppins Medium", sans-serif;
  --filtro-color-letra: invert(12%) sepia(22%) saturate(711%) hue-rotate(347deg)
    brightness(100%) contrast(89%);
  --filtro-color-fondo: invert(88%) sepia(24%) saturate(445%) hue-rotate(344deg)
    brightness(83%) contrast(93%);
  --filtro-color-resaltado: invert(83%) sepia(10%) saturate(586%)
    hue-rotate(4deg) brightness(90%) contrast(91%);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  max-width: 1920px;
  margin: auto;
  opacity: 0;
  transition: all 0.3s;
  background-color: var(--color-fondo);
  color: var(--color-general);
  font-family: var(--fuente-Roboto-Regular);
}
main {
  overflow: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--fuente-GreatVibes-Regular);
}

a {
  color: unset;
  text-decoration: none;
}
.body-cargado {
  opacity: 1;
}
.caja-grande {
  display: block;
  max-width: 1600px;
  margin: auto;
  padding: 10px 20px;
}
.caja-mediana {
  max-width: 1200px;
}

/* Generales */
.flex {
  display: flex;
  flex-wrap: wrap;
}
.oculto {
  position: fixed;
  top: -500%;
}
.flex-gap {
  column-gap: 32px;
}
.titular {
  font-size: 55px;
  line-height: 1.1;

  /* color: var(--color-titulos); */
  margin: 0;
  margin-top: 10px;
}
.detalle-titulo-izquierda,
.detalle-titulo-derecha {
  position: relative;
  width: fit-content;
}
.detalle-titulo-centrado {
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.detalle-titulo-izquierda::before,
.detalle-titulo-derecha::after,
.detalle-titulo-centrado::after,
.detalle-titulo-centrado::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 1px;
  left: -160px;
  top: 0;
  border-radius: 5px;
  bottom: 0;
  margin: auto;
  background-color: var(--color-general);
}
.detalle-titulo-derecha::after,
.detalle-titulo-centrado::after {
  left: unset;
  right: -165px;
}
.item-flex {
  position: relative;
  width: calc(50% - 16px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.item-texto-index {
  padding: 20px;
  overflow: hidden;
}
.caja-max-media {
  overflow: hidden;
}
.cambio-color-fondo,
.fondo-item-texto {
  background-color: var(--color-fondo-alternativo);
}
.cursiva {
  font-style: italic;
}
.boton {
  border: 2px var(--color-general) solid;
  margin-top: 15px;
  padding: 10px;
  border-radius: 10px;
  background-color: var(--color-general);
  color: var(--color-fondo);
  transition: all 0.3s ease-in-out;
}
.boton:hover {
  background-color: transparent;
  color: var(--color-general);
  transform: translateY(-5px);
}
.titulo-legales {
  font-family: var(--fuente-Montserrat-Bold);
}
.caja-legales {
  padding-top: 30px;
  padding-bottom: 60px;
}
@media screen and (max-width: 1000px) {
  .item-texto-index {
    padding: unset;
  }
  .item-flex {
    padding-top: 10px;
    width: 100%;
  }
  .fondo-item-texto {
    background-color: transparent;
  }
}
@media screen and (max-width: 760px) {
  .titular {
    font-size: 35px;
  }
}
/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--color-fondo-alternativo);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.caja-negra-redes,
.caja-logos-header {
  height: fit-content;
}

.enlace-header {
  height: 35px;
  border-radius: 3px;
}

.titulo-header {
  margin: 0;
  font-size: 45px;
}
.caja-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.logo-header {
  /*width: 132px;*/
  height: 70px;
  transition: all 0.5s;
}
.logo-header:hover {
  transform: translateY(-5px);
}
.caja-logos-header {
  display: none;
  justify-content: center;
}
.logos-header {
  height: 90px;
  padding: 0 10px;
}
.caja-barras-header,
.caja-redes-movil,
.caja-central-movil {
  display: none;
}
.flex-listado-header {
  display: flex;
  align-items: center;
}
.listado-header {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  padding-right: 10px;
  padding-bottom: 10px;
}
.caja-listado-header {
  display: flex;
  /* flex-wrap: nowrap; */
}
.caja-titulo-index {
  position: relative;
  padding: 0px 45px;
}
.caja-titulo-index::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 0;
  right: 0;
  margin: auto;
  height: 1px;
  width: 150px;
  background-color: var(--color-general);
}
.enlace-listado-header {
  padding: 0 20px;
  display: flex;
  align-items: center;
}
.enlace-instagram-header {
  transition: all 0.5s ease-in-out;
}
.iconos-header {
  display: block;
  margin: auto;
  height: 35px;
  margin-bottom: 5px;
  filter: var(--filtro-color-letra);
}
.iconos-header-galeria {
  padding-bottom: 3px;
}
.icono-instagram-header {
  height: 28px;
  margin: 0;
}
.icono-tyrius-galeria {
  filter: none;
}
.item-listado-header {
  position: relative;
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
}
.item-listado-header-centrar {
  width: 13px;
}
.item-listado-header-idioma {
  display: flex;
  align-items: center;
  font-size: 14px;
}
.texto-cambio-idioma {
  padding: 10px 0;
  position: relative;
  transition: opacity 0.5s ease-in-out;
}
.texto-cambio-idioma:hover {
  opacity: 0.8;
}
.texto-cambio-idioma::after {
  content: "";
  position: absolute;
  width: 0%;
  /* width: 100%; */
  height: 4px;
  border-radius: 3px;
  bottom: 4px;
  left: 0px;
  background-color: var(--color-general);
  transition: width 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.texto-cambio-idioma-seleccionado::after,
.texto-cambio-idioma:hover::after {
  width: 100%;
}
.texto-cambio-idioma:hover::after {
  opacity: 0.8;
}
.texto-cambio-idioma:hover,
.texto-cambio-idioma-seleccionado:hover::after {
  opacity: 1;
}
.barra-header {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0%;
  height: 4px;
  background-color: var(--color-general);
  border-radius: 3px;
  transition: width 0.5s ease-in-out;
}
.mostrar-barra-header,
.item-listado-header:hover .barra-header {
  width: 100%;
}
.item-listado-header-desplegable {
  position: relative;
}

.enlace-listado-header:hover,
.desplegable-listado-header:hover {
  color: var(--color-general);
}
.enlace-instagram-header:hover {
  transform: translateY(-4px);
  opacity: 80%;
}
.item-listado-header-desplegable:hover .desplegable-listado-header,
.item-listado-header-desplegable:hover .chevron-down {
  color: var(--color-general);
}

.caja-desplegable-oculto {
  padding: 40px 60px;
}

.texto-paginas {
  padding: 10px 0;
}
.fondo-vela-header {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

@media screen and (max-width: 1150px) {
  .barra-negra-header {
    display: none;
  }
  .caja-header {
    justify-content: space-between;
  }
  .caja-logos-header,
  .caja-barras-header,
  .caja-redes-movil,
  .caja-central-movil {
    display: block;
  }
  .icono-redes {
    height: 30px;
    filter: var(--filtro-color-letra);
  }
  .logos-header {
    height: 60px;
  }
  .barras-header {
    filter: var(--filtro-color-letra);
    height: 30px;
  }
  .header {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .flex-listado-header {
    position: fixed;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background-color: var(--color-fondo-alternativo);
    z-index: -1;
    display: block;
    overflow: hidden;
    transition: all 0.5s;
  }
  .flex-listado-header-mostrar {
    height: 100vh;
  }
  .enlace-watsapp-header {
    margin-left: 30px;
  }
  .item-listado-header {
    display: block;
    margin: 20px;
  }
  .chevron-down {
    cursor: pointer;
  }
  .mostrar-desplegable-movil {
    width: fit-content;
    position: relative;
    top: 0;
    padding: 20px;
    margin-left: 5px;
    background-color: var(--color-fondo-tarjeta);
    opacity: 1;
  }
  .caja-desplegable-oculto {
    padding: 0;
  }
  .enlace-texto-desplegable {
    color: var(--color-titulos);
    font-family: var(--fuente-ligera);
  }
  .titulo-paginas-desplegable {
    display: none;
  }
  .rotar-chevron {
    transform: rotate(180deg);
  }
  .caja-titulo-index {
    display: none;
  }
  .listado-header {
    flex-wrap: wrap;
    padding-top: 30px;
    margin-top: 70px;
  }
  .enlace-listado-header {
    width: 100%;
    padding-bottom: 20px;
  }
  .enlace-instagram-header {
    display: none;
  }
  .caja-listado-header {
    flex-wrap: wrap;
    width: 100%;
  }
  .item-listado-header {
    margin: auto;
  }
}
@media screen and (min-width: 1000px) {
  .item-listado-header-desplegable:hover .chevron-down {
    transform: rotate(180deg);
  }
  .item-listado-header-desplegable:hover .desplegable-oculto-header {
    width: fit-content;
    min-width: 300px;
    opacity: 1;
    transform: translateY(0px);
    transition-delay: 0s, 0s, 0s;
  }
}
@media screen and (max-width: 600px) {
  .titulo-header {
    font-size: 35px;
  }
}
@media screen and (max-width: 400px) {
  .titulo-header {
    font-size: 25px;
  }
}
/* Index */
/*Slider*/
.caja-grande-slider {
  position: relative;
  max-width: 1600px;
  max-height: 600px;
  overflow: hidden;
  padding: 0px;
}
.image-slider {
  width: 1600px;
  height: 600px;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  margin: auto;
}
.imagen-slider-uno {
  object-position: 55% 20%;
}
.imagen-slider-dos {
  object-position: 50% 68%;
}
.imagen-slider-tres {
  object-position: 45% 35%;
}
.imagen-slider-cuatro {
  object-position: 62% 66%;
}
.iconos-slider {
  height: 40px;
  filter: var(--filtro-color-letra);
}
.flecha-siguiente,
.flecha-anterior {
  cursor: pointer;
  transition: 1s all;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 30px;
  background: #ffffff33;
  border-radius: 5px;
  height: 50px;
  padding: 5px;
}
.flecha-anterior {
  right: unset;
  left: 30px;
}
.dots-posicion {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  margin: auto;
  width: fit-content;
  display: flex;
}
.circulo {
  cursor: pointer;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-general);
  margin: 0 5px;
}
.circulo-selected {
  width: 10px;
  height: 10px;
  background-color: white;
  /* border: 4px solid #ffffff88; */
  border: 2px solid var(--color-general);
}
/* Zona centrada */
.caja-grande-centrada {
  padding-top: 40px;
  padding-bottom: 80px;
  background-color: var(--color-fondo-alternativo);
  text-align: center;
}
.iconos-herencia-inici {
  height: 50px;
  display: block;
  margin: auto;
  margin-bottom: 30px;
}
.titular-zona-centrada {
  margin-bottom: 0px;
}
.texto-centrada {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
/* Zona Uno*/
.section-uno {
  padding-top: 30px;
  padding-bottom: 64px;
}
.espacio-top {
  padding-top: 64px;
}
.caja-grande-video {
  padding-bottom: 50px;
}
.video-index {
  display: block;
  max-width: 100%;
  margin: auto;
}
.imagen-uno-index {
  max-width: 100%;
}
.caja-zona-uno {
  position: relative;
}
.titular-zona-uno {
  margin-bottom: 45px;
}
.subtitular-zona-uno {
  font-size: 40px;
  margin-bottom: 30px;
}
.texto-normal-zona-uno {
  margin-bottom: 30px;
}
.titular-dos-zona-uno {
  text-align: center;
  text-transform: uppercase;
  font-family: var(--fuente-ligera);
  letter-spacing: 1px;
  margin: 0;
  font-size: 25px;
  font-weight: bolder;
  color: var(--color-zonas-redondas-uno);
}
.boton-zona-uno {
  margin-left: 30px;
}
.flex-gif-uno {
  justify-content: center;
}
.subdivision-caja {
  width: calc(50% - 16px);
}
.forma-chapa {
  margin-left: auto;
  display: block;
  width: 16vw;
  height: 28vw;
  border-radius: 4vh;
  object-fit: cover;
  margin-bottom: 32px;
}
.forma-redonda {
  margin-left: auto;
  display: block;
  width: 16vw;
  height: 16vw;
  border-radius: 7vh;
  margin-bottom: 32px;
}
@media screen and (min-width: 1920px) {
  .forma-chapa {
    width: 12vw;
    height: 20vw;
  }
  .forma-redonda {
    width: 12vw;
    height: 12vw;
  }
}
.radius-arriba-izquierda {
  border-top-left-radius: 15vh;
}
.radius-arriba-derecha {
  border-top-right-radius: 15vh;
}
.radius-abajo-derecha {
  border-bottom-right-radius: 15vh;
}
.radius-abajo-izquierda {
  border-bottom-left-radius: 15vh;
}
@media screen and (max-width: 1300px) {
  .video-index {
    max-width: 100%;
  }
}
@media screen and (max-width: 1000px) {
  .forma-chapa {
    width: 40vw;
    height: 75vw;
    margin-right: auto;
  }
  .forma-redonda {
    width: 40vw;
    height: 40vw;
    margin-right: auto;
  }
  .section-uno-individual {
    padding-bottom: 0;
  }
  .section-dos {
    padding-top: 0;
    padding-bottom: 0px;
  }
  .boton-leer-tyrius {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 760px) {
  .subtitular-zona-uno {
    font-size: 28px;
  }
}
@media screen and (max-width: 500px) {
  .boton-zona-uno {
    display: block;
    margin-top: 20px;
    margin-left: 0;
    margin-right: 100%;
  }
}
/*Libros*/
.listado-descripcion {
  max-width: 600px;
  margin: auto;
  margin-bottom: 40px;
  text-wrap: balance;
}
.listado-descripcion dd {
  margin-bottom: 8px;
}
.flex-libro {
  justify-content: center;
  gap: 20px;
}
.imagen-libro {
  border: 1px solid white;
  max-width: calc(50% - 10px);
}
@media screen and (max-width: 600px) {
  .imagen-libro {
    max-width: 100%;
  }
}
/*Temps*/
.item-texto-temps {
  display: flex;
  align-items: center;
}
.image-temps {
  display: block;
  width: 180px;
}
.caja-uno-temps {
  width: 520px;
  max-width: 100%;
}
.titular-temps {
  font-size: 50px;
  display: flex;
  align-items: center;
  margin-left: 30px;
}
.aumentat-temps {
  font-size: 80px;
  margin-left: 10px;
}
.duplicat-temps {
  text-shadow: 0 50px 0 var(--color-general);
}
.titular-abajo {
  margin-top: -14px;
  margin-left: 349px;
}
.flex-imagenes-temps {
  width: calc(100% - 592px);
  flex-wrap: wrap;
  row-gap: 10px;
  column-gap: 2%;
}
.imagen-collage-temps {
  width: 48%;
  max-height: 250px;
  object-fit: cover;
}
.titular-present {
  font-size: 80px;
  text-align: center;
}
.texto-present {
  text-align: center;
}
@media screen and (max-width: 1000px) {
  .flex-temps {
    row-gap: 30px;
  }
  .item-texto-temps {
    width: 100%;
    justify-content: center;
  }
  .flex-imagenes-temps {
    width: 100%;
  }
  .item-texto-temps {
    order: -1;
  }
}
@media screen and (max-width: 600px) {
  .imagen-collage-temps {
    width: 100%;
    max-height: unset;
  }
  .titular-temps {
    font-size: 35px;
  }
  .aumentat-temps {
    font-size: 70px;
  }
  .titular-abajo {
    margin-left: 280px;
    margin-top: -1px;
  }
  .titular-present {
    font-size: 70px;
  }
}
@media screen and (max-width: 470px) {
  .aumentat-temps {
    font-size: 60px;
  }
  .titular-present {
    font-size: 60px;
  }
  .titular-temps {
    font-size: 32px;
    /* margin-left: 0; */
  }
  .titular-abajo {
    margin-left: 252px;
    margin-top: 5px;
  }
}
@media screen and (max-width: 440px) {
  .titular-temps {
    margin-left: 0;
  }
  .titular-abajo {
    margin-left: 222px;
  }
  .titular-abajo::after {
    display: none;
  }
}
@media screen and (max-width: 380px) {
  .titular-abajo {
    display: block;
    text-align: right;
    margin-left: 0;
    margin-top: 30px;
    width: 90%;
  }
}
/* Galeria */
.gallery-inicio {
  column-count: 3;
  column-gap: 10px;
}
.punto-galeria {
  font-style: italic;
  font-family: var(--fuente-Montserrat-Regular);
}
.main-galeria {
  padding-left: 30px;
  padding-right: 30px;
}
.caja-grande-galeria-inicio {
  text-align: center;
}
.caja-grande-galeria {
  padding-left: 0;
  padding-right: 0;
}
.gallery {
  padding-left: 40px;
  padding-right: 20px;

  padding-top: 20px;
  height: 100%;
  margin: auto;
  padding-bottom: 40px;
  /* column-count: 3; */
  /* column-gap: 10px; */
}

.lista-galeria {
  list-style: none;
  margin-top: 5%;
  padding: 0;
}

.objeto-galeria {
  float: left;
  position: relative;
  padding: 10px 10px 25px 10px;
  background: #eee;
  border: 1px solid #fff;
  box-shadow: 1px 2px 10px #333;
  margin-left: 2%;
  max-width: 28%;
  min-width: 180px;
  transition: all ease-in-out 0.3s;
}
.gallery-image {
  border: none;
  width: 100%;
  max-height: 232px;
  object-fit: cover;
}
.texto-galeria {
  padding-top: 2%;
  padding-left: 45%;
  font-family: "Century Gothic";
  font-size: 0.8em;
  max-width: 28%;
  min-width: 180px;
  /* Añadido hasta que haya texto */
  color: transparent;
  opacity: 0;
}

.objeto-galeria:nth-child(even) {
  z-index: 0;
  transform: rotate(-10deg);
  -webkit-transform: rotate(-10deg);
}

.objeto-galeria:nth-child(odd) {
  z-index: 1;
  transform: rotate(10deg);
  -webkit-transform: rotate(10deg);
}

.objeto-galeria:hover {
  z-index: 10;
  transform: scale(1.3);
  -webkit-transform: scale(1.3);
}
.chincheta-galeria {
  position: absolute;
  height: 30px;
  top: -10px;
  left: 0;
  right: 0;
  margin: auto;
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
:root {
  --content-for-after: "";
}
.fondo-modal-imagen {
  width: 100%;
  height: 100%;
  background-color: #ffffffaa;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 250;
  display: flex;
  justify-content: center;
  align-items: center;
}
.caja-imagen-modal {
  position: relative;
  width: fit-content;
  max-width: 90vh;
  height: fit-content;
  max-height: 90vh;
}
.caja-imagen-modal::after {
  content: var(--content-for-after);
  position: absolute;
  bottom: 50px;
  font-family: "Century Gothic";
  /* z-index: 300; */
  text-align: center;
  left: 0;
  right: 0;
  opacity: 0;
  margin: auto;
  transform: translateX(50vw);
  transition: all 0.4s ease-in-out;
}
.moverTexto::after {
  /* Quitar comentario cuando tenga que volver el texto */
  /* opacity: 1; */
  transform: translateX(0vw);
}
.icono-modal {
  height: 30px;
  filter: var(--filtro-color-letra);
}
.imagen-modal {
  position: relative;
  display: inline-block;
  max-width: 100%;
  max-height: 90vh;
  right: -50vw;
  opacity: 0;
  border: 15px solid white;
  border-bottom: 80px solid white;
  object-fit: cover;
  transition: all 0.4s ease-in-out;
}
.cerrar-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 100;
}
.flecha-modal {
  position: absolute;
  margin: auto;
  left: 30px;
  z-index: 100;
  background: #ffffff66;
  border-radius: 5px;
  height: 50px;
  padding: 5px;
  display: flex;
  align-items: center;
}
.flecha-modal-der {
  left: unset;
  right: 30px;
}
.ocultar-imagen-galeria {
  opacity: 0;
  right: -50vw;
}
.transformBio {
  opacity: 1;
  right: 0;
}

/* Tyrius*/
.item-caja-texto-tyrius {
  padding: 20px;
}
.cambio-color-caja-texto-tyrius {
  background-color: var(--color-fondo-alternativo);
}
.caja-flex-articulos-tyrius {
  margin-bottom: 30px;
  padding: 10px 20px;
}
.item-texto-tyrius {
  order: 1;
}
.item-imagen-tyrius {
  order: 0;
}
.imagen-tyrius {
  max-height: 500px;
  width: 100%;
  object-fit: cover;
}
.caja-flex-zonas-texto-tyrius {
  row-gap: 40px;
}
@media screen and (max-width: 1000px) {
  .item-texto-tyrius {
    order: 0;
  }
  .item-imagen-tyrius {
    order: 1;
  }
}
@media screen and (max-width: 400px) {
  .cambio-color-caja-texto-tyrius {
    background-color: var(--color-fondo);
    padding: 0;
    padding-bottom: 10px;
  }
  .caja-flex-articulos-tyrius {
    padding: 10px 5px;
  }
}
/* Logos */
.fondo-blanco {
  padding: 30px 0px;
  background-color: white;
}
.flex-logos {
  justify-content: space-around;
  column-gap: 30px;
  row-gap: 20px;
  padding: 20px 0;
}
.logo-inicio {
  height: 100px;
  max-width: 100%;
  object-fit: contain;
}
/* Historia*/
.timeline {
  position: relative;
  margin: 50px auto;
  width: 100%;
  max-width: 1200px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: white;
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  display: flex;
}

.timeline-item.left .timeline-content {
  margin-right: auto;
}

.timeline-item.right .timeline-content {
  margin-left: auto;
}

.timeline-content {
  position: relative;
  background-color: #f4f4f4;
  padding: 15px;
  width: 48%;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.imagen-timeline {
  max-width: 100%;
  display: block;
  margin-top: 1em;
}
.timeline-item .timeline-content:after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  border: solid transparent;
  border-width: 10px;
  border-left-color: #f4f4f4;
}
.timeline-item.right .timeline-content:after {
  right: unset;
  left: -20px;
  transform: translateY(-50%) rotate(180deg);
}
.timeline-item .timeline-content:before {
  position: absolute;
  top: 50%;
  right: -75px;
  transform: translateY(-50%);
  height: 45px;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 50%;
  text-align: center;
}
.timeline-item.right .timeline-content:before {
  right: unset;
  left: -75px;
}
.mil-ochocientos:before {
  content: "1800";
}
.mil-nueve-sesenta:before {
  content: "1960";
}
.mil-nueve-ocho-siete:before {
  content: "1987";
}
.mil-nueve-nueve-cuatro:before {
  content: "1994";
}
.dos-mil-ocho:before {
  content: "2008";
}
@media (max-width: 700px) {
  .timeline {
    max-width: 100%;
  }
  .timeline::before {
    top: -30px;
    height: calc(100% + 30px);
  }

  .timeline-item {
    flex-direction: column;
    align-items: center;
    margin-top: 75px;
  }

  .timeline-item.left .timeline-content,
  .timeline-item.right .timeline-content {
    margin: 0;
  }
  .timeline-content {
    width: 100%;
  }
  .timeline-item .timeline-content:after {
    content: none;
  }
  .timeline-item .timeline-content:before,
  .timeline-item.right .timeline-content:before {
    left: 0;
    right: 0;
    margin: auto;
    top: -30px;
  }
}

/* Animaciones */
.entradader,
.entradaizq {
  opacity: 0;
}

.entrada-der {
  transform: translateY(80px);
  opacity: 0%;
}

.entrada-izq {
  transform: translateY(80px);
  opacity: 0%;
}
.entradas {
  transform: translate(0px, 0px);
  opacity: 100%;
  transition: transform 0.8s, opacity 0.8s;
}
/* Footer */
.footer {
  background-color: var(--color-general);
  color: var(--color-fondo);
  overflow: hidden;
}
.flex-footer {
  padding-top: 20px;
  justify-content: center;
}
.titular-footer {
  font-size: 40px;
}
.titular-footer-pequeno {
  font-size: 30px;
}
.item-flex-footer {
  width: 25%;
  padding: 15px;
}
.caja-redes-footer {
  padding-top: 10px;
}
.icono-redes-footer {
  padding-top: 2px;
  margin-right: 10px;
  height: 35px;
  filter: var(--filtro-color-fondo);
  transition: all 0.3s;
}
.icono-redes-footer:hover {
  opacity: 80%;
  transform: translateY(-3px);
}
.caja-logos-footer {
  padding-top: 20px;
}
.logos-footer {
  height: 100px;
  border-radius: 5px;
  transition: all 0.3s;
}
.logos-footer:hover {
  transform: translateY(-5px);
}
.texto-abajo-footer {
  text-align: center;
  font-size: 14px;
}
.listado-footer {
  list-style: none;
  padding-left: 0;
}
.enlace-footer {
  transition: all 0.3s;
}
.enlace-footer:hover {
  opacity: 80%;
}
@media screen and (max-width: 1200px) {
  .item-flex-footer {
    width: 50%;
    text-align: center;
  }
  .caja-redes-footer,
  .caja-logos-footer {
    display: flex;
    justify-content: center;
  }
  .caja-logos-footer {
    column-gap: 10px;
  }
}
@media screen and (max-width: 600px) {
  .item-flex-footer {
    width: 100%;
  }
}
/* construccio */
.titulo-construccion {
  font-size: 40px;
  text-align: center;
}
.imagen-construccion {
  max-width: 100%;
  height: 400px;
  margin: auto;
  display: block;
  filter: grayscale();
  object-fit: cover;
}
