

header  {
  border-radius: 30px;
  height: 400px;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  color: white;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: black;
  padding-bottom: 2%;
  filter: brightness(70%);
  font-size: 55px;
  justify-content: center;
}
header h1 {
  font-size: 50px;
}
.img-fondo-1 {
  background-image:url('../files/fondos/vortice.webp');
}

.img-fondo-2 {
  background-image:url('../files/fondos/barco.webp');
}

.img-fondo-3 {
  background-image:url('../files/fondos/barco-2.webp');
}

.img-fondo-4 {
  background-image:url('../files/fondos/barco-3.webp');
}

.img-fondo-5 {
  background-image:url('../files/fondos/estacion-acuatica.webp');
}

.img-fondo-museo {
  background-image:url('../files/fondos/museo-submarino.webp');
}

.img-fondo-restaurante {
  background-image:url('../files/fondos/restaurante-submarino.webp');
}

.img-fondo-montañas {
  background-image:url('../files/fondos/montañas-submarinas.webp');
}
.img-fondo-cuevas {
  background-image:url('../files/fondos/cuevas-submarinas.webp');
}
.img-fondo-ruinas {
  background-image:url('../files/fondos/ciudad-submarina.webp');
}
.img-fondo-submarino {
  background-image:url('../files/fondos/submarino.png');
}
.img-fondo-submarino-personal {
  background-image:url('../files/fondos/submarino-personal.png');
}
.img-fondo-cañon {
  background-image:url('../files/fondos/cañon-submarino.png');
}
.img-fondo-submarino-turistico {
  background-image:url('../files/fondos/submarino-turismo.png');
}

.img-fondo-hundido-1 {
  background-image:url('../files/fondos/barco-hundido-1.png');
}
.img-fondo-hundido-2 {
  background-image:url('../files/fondos/barco-hundido-2.png');
}
.img-fondo-hundido-3 {
  background-image:url('../files/fondos/barco-hundido-3.png');
}
.img-fondo-hundido-4 {
  background-image:url('../files/fondos/barco-hundido-4.png');
}
.img-fondo-atlantida {
  background-image:url('../files/fondos/fondo-atlantida.webp');
}

.center {
  text-align: center;
}

.articulo p {
  margin-top:2%;
  margin-bottom:2%;
}

.articulo h2 {
  padding-bottom: 0%;
}

.articulo h3 {
  margin-bottom: -1%;
}

.articulo .tabla-contenido article {
  display: flex;
  margin-top: 2%;
  margin-bottom: 2%;
  background-color: rgb(168, 211, 196);
  padding: 2%;
  border-radius: 30px;
  flex-direction: row-reverse;
}

.articulo .tabla-contenido article > div {
  padding-left: 5%;
  padding-right: 5%;
}

.articulo .tabla-contenido article h3 {
  font-size: 29px;
}

.articulo .tabla-contenido article > div:first-child {
  text-align: center;
}

.articulo h2 {
display: flex;
padding-left: 0;
}

.relacionados {
  display: flex;
  justify-content: space-between;
  margin-left: 10%;
  margin-right: 10%
}

.relacionados img {
  width: 300px;
  height: 150px;
  object-fit: cover;
}

.relacionados h3 {
  margin-top: 5px;
}

.relacionados a {
  text-align: center;
}

@media screen and (max-width: 900px){
  .relacionados {
    flex-direction: column;
  }
  .card-playa {
    flex-direction: column;
  }
  .card-content {
    width: 90%;
  }
  .card-img {
    width: 80%;
  }
}




.card-blog a:hover {
  text-decoration: underline;
}





.otros-articulos {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.otros-articulos article {
background-color: rgba(250, 235, 215, 0.425);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.otros-articulos article:hover {
  transform: translateY(-5px);
}



.otros-articulos h3{
  font-size: 1.1rem;
  padding: 0.8rem;
  margin: 0;
}

.otros-articulos a {
  color: #333;
  text-decoration: none;
}


.otros-articulos img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    max-width: 100% !important;
}


.otros-articulos a:hover {
 text-decoration: underline;

}




.articulo .tabla-contenido article img {
  width: auto;
  height: auto;
}




.articulo .tabla-contenido a {
  background-color: orange;
  padding: 2%;
  border: 1px solid black;
  cursor: pointer;
  text-decoration: none;
  color: black;
  margin-top: 5%;
  text-align: center;
  font-size: 20px;
}
.articulo .tabla-contenido a:hover {
  background-color: rgb(145, 148, 0);
}
article div:nth-of-type(2) {
  display: flex;
  flex-direction: column;
}

.otros-articulos-2 article{
  background-color: white;
}
.otros-articulos-2 a:hover {
  color: rgb(119, 77, 0);
}


@media screen and (max-width: 900px){
  .otros-articulos {
    flex-direction: column;
  }
  .otros-articulos img {
    width: 100%;
    max-height: 150px;

  }
  .otros-articulos article {
    width: 100%;
    max-width: 100%;
  }
  .articulo .tabla-contenido article {
    flex-direction: column;
  }

  .articulo .tabla-contenido article img {
    width: 100%;
    height: 100%;
    border-radius: 30px;
  }
  .articulo .tabla-contenido article > div {
    width: 100%;
    border-radius: 30px;
    padding: 5%;
  }
  .center img {
    width: 100%;
    height: 100%;
  }
  
  .otros-articulos-2 article {
    background-color: white;
  }

  .img-fondo-1 {
    background-image:url('../files/fondos/vortice-movil.webp');
  }
  
  .img-fondo-2 {
    background-image:url('../files/fondos/barco-movil.webp');
  }
  
  .img-fondo-3 {
    background-image:url('../files/fondos/barco-2-movil.webp');
  }
  
  .img-fondo-4 {
    background-image:url('../files/fondos/barco-3-movil.webp');
  }
  
  .img-fondo-5 {
    background-image:url('../files/fondos/estacion-acuatica-movil.webp');
  }
  
  .img-fondo-museo {
    background-image:url('../files/fondos/museo-submarino-movil.webp');
  }

  .img-fondo-restaurante {
    background-image:url('../files/fondos/restaurante-submarino-movil.webp');
  }
  .img-fondo-montañas {
    background-image:url('../files/fondos/montañas-submarinas-movil.webp');
  }
  .img-fondo-cuevas {
    background-image:url('../files/fondos/cuevas-submarinas-movil.webp');
  }
  .img-fondo-ruinas {
    background-image:url('../files/fondos/ciudad-submarina-movil.webp');
  }
  .img-fondo-submarino {
    background-image:url('../files/fondos/submarino-movil.png');
  }
  .img-fondo-submarino-turistico {
    background-image:url('../files/fondos/submarino-turismo-movil.png');
  }
  .img-fondo-submarino-personal {
    background-image:url('../files/fondos/submarino-personal-movil.png');
  }
  .img-fondo-cañon {
    background-image:url('../files/fondos/cañon-submarino-movil.png');
  }
  .img-fondo-hundido-1 {
    background-image:url('../files/fondos/barco-hundido-1-movil.png');
  }
  .img-fondo-hundido-2 {
    background-image:url('../files/fondos/barco-hundido-2-movil.png');
  }
  .img-fondo-hundido-3 {
    background-image:url('../files/fondos/barco-hundido-3-movil.png');
  }
  .img-fondo-hundido-4 {
    background-image:url('../files/fondos/barco-hundido-4-movil.png');
  }
  .img-fondo-atlantida {
    background-image:url('../files/fondos/fondo-atlantida.webp');
  }

  header  {
    margin-top: 15%;
    height: 270px;
    margin-bottom: 5%;
    font-size: 25px;
    padding-bottom: 10%;
  }
  .producto-destacado .imagen {
    margin: 10%;
    width: 95%;
    margin-left: 2%;
    margin-right: 2%;
    text-align: center;
  
  
}

.articulo .tabla-contenido a {
  background-color: orange;
  padding: 2%;
  border: 1px solid black;
  cursor: pointer;
  text-decoration: none;
  color: black;
  margin-top: 5%;
  text-align: center;
  font-size: 20px;
}
.articulo .tabla-contenido a:hover {
  background-color: rgb(145, 148, 0);
}

article div:nth-of-type(2) {
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: 35px !important;
}  

}

.reducir {
  width: 100%;
  height: auto;
  max-height: 800px;
  max-width: 800px;
}

.article ul {
  margin: 2%;
}