body,
html,
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", "sans-serif";
  color: #001d2f;
}

p {
  font-size: 16px;
  line-height: 28px;
}

header {
  width: 100%;
  height: 100vh;
  padding: 100px 20px;
  background-repeat: no-repeat;
  position: relative;
}

#imagen-header {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: url("./assets/fondo-titulo-xxl.jpg");
  background-size: cover;
  opacity: 1;
  z-index: -1;
  transition: opacity 0.75s;
}

#imagen-header.hidden {
  opacity: 0;
}

#cambio-imagen-header {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -2;
  background-image: url("./assets/fondo-titulo-xxl.jpg");
  background-size: cover;
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

header p {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
  color: white;
}

.header-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
}

h1 {
  font-family: "Great Vibes", cursive;
  font-weight: bold;
  font-size: 100px;
  margin-bottom: 20px;
  color: white;
}

h2 {
  font-family: "Great Vibes", cursive;
  color: rgb(50, 52, 190);
  font-weight: 400;
  font-size: 60px;
  margin-bottom: 15px;
  color: white;
  text-align: center;
}

.titulo {
  display: flex;
  flex-direction: column;
  width: fit-content;
}

.telefono {
  display: flex;
  align-items: center;
  margin: 20px auto 0;
  background-color: transparent;
  border: 2px solid white;
  padding: 10px 14px;
  cursor: pointer;
}

.telefono a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.telefono.azul {
  border: 2px solid rgb(50, 52, 190);
}

.telefono img {
  width: 30px !important;
  height: auto !important;
  margin: 0 !important;
}

.telefono span {
  margin-left: 10px;
  font-size: 40px;
  color: white;
  font-weight: 500;
}

.telefono.azul span {
  margin-left: 10px;
  font-size: 40px;
  color: rgb(50, 52, 190);
  font-weight: 500;
}

section {
  padding: 100px 20px 0;
}

section.con-fondo {
  background-color: #f9f8f2;
}

.section-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-content .contenido {
  font-size: 16px;
  margin-bottom: 15px;
}

.section-content h3 {
  font-family: "Great Vibes", cursive;
  color: rgb(50, 52, 190);
  font-weight: bold;
  width: 100%;
  text-align: center;
  font-size: 60px;
  font-weight: 500;
  margin-bottom: 60px;
}

.imagen-y-texto {
  display: flex;
  justify-content: center;
  margin-bottom: 120px;
}

.imagen-y-texto #imagen-sobre-mi-container {
  width: 50%;
  background: url(assets/sobre-mi1.jpg) center center no-repeat;
  background-size: cover;
  height: 380px;
  border-radius: 8px;
  transition: opacity 0.5s;
}

.imagen-y-texto img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 1;
  transition: opacity 0.75s;
}

.imagen-y-texto img.hidden {
  opacity: 0;
}

.imagen-y-texto .texto {
  width: 50%;
  display: flex;
  flex-direction: column;
  margin-left: 5%;
}

.imagen-y-texto .texto .titulo {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 20px;
}

.imagen-y-texto .texto .contenido {
  font-size: 16px;
  margin-bottom: 15px;
}

.imagen-y-texto .texto .especial {
  font-size: 16px;
  font-weight: 500;
  color: rgb(50, 52, 190);
}

.imagen-y-texto.columna-texto-e-imagen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 120px;
}

.imagen-y-texto.columna-texto-e-imagen .titulo {
  text-align: center;
  width: 100%;
}

.imagen-y-texto.columna-texto-e-imagen img {
  width: 100%;
  margin-right: 0;
  border-radius: 8px;
}

.imagen-y-texto.columna-texto-e-imagen .texto {
  width: 100%;
  margin-right: 0;
  margin-bottom: 20px;
  text-align: center;
}

.texto-e-imagen {
  display: flex;
  justify-content: center;
  margin-bottom: 120px;
}

.texto-e-imagen #imagen-tipologias-container {
  width: 50%;
  background: url(assets/tipologias1.jpeg) center center no-repeat;
  background-size: cover;
  height: 380px;
  border-radius: 8px;
  transition: opacity 0.5s;
}

.texto-e-imagen img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 1;
  transition: opacity 0.75s;
}

.texto-e-imagen img.hidden {
  opacity: 0;
}

.texto-e-imagen .texto {
  width: 50%;
  display: flex;
  flex-direction: column;
  margin-right: 5%;
}

.texto-e-imagen .texto .titulo {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 20px;
}

.texto-e-imagen .texto .contenido {
  font-size: 16px;
  margin-bottom: 15px;
}

.texto-e-imagen .texto .especial {
  font-size: 16px;
  font-weight: 500;
  color: rgb(50, 52, 190);
}

.foto-grande-centrada {
  width: 100%;
  height: 600px;
  margin: 0 auto;
  object-fit: cover;
  margin-bottom: 40px;
}

.foto-grande-centrada img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
}

quote {
  display: flex;
  width: 80%;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  margin-bottom: 20px;
}

quote span i {
  font-size: 40px;
  font-weight: 400;
}

quote i {
  font-size: 20px;
  font-weight: 400;
  width: 80%;
  text-align: center;
}

.tres-columnas,
.dos-columnas, .una-columna {
  display: flex;
  justify-content: space-between;
  margin-bottom: 120px;
}

.tres-columnas {
  margin-top: 40px;
}

.dos-columnas, .una-columna {
  justify-content: center;
}

.tres-columnas .columna {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dos-columnas .columna {
  width: 35%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-right: 40px;
}



.una-columna .columna {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.columna img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.columna h5 {
  font-family: "Great Vibes", cursive;
  color: rgb(50, 52, 190);
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 20px;
}

.columna p {
  line-height: 28px;
  text-align: center;
}

.columna .precio-y-oferta {
  margin-bottom: 20px;
}

.columna .precio {
  font-size: 50px;
  font-weight: 500;
  text-decoration: line-through;
}

.columna .oferta {
  font-size: 50px;
  font-weight: 500;
  color: rgb(50, 52, 190);
  text-decoration: none;
  margin-left: 10px;
}

.columna ul {
  margin-bottom: 20px;
  list-style: none;
  position: relative;
  padding: 0 30px;
}

.columna ul li:before {
  content: ""; /* placeholder for the SVG */
  position: absolute;
  left: 0; /* place the SVG at the start of the padding */
  width: 1em;
  height: 1em;
  background: url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='utf-8'?><svg width='18' height='18' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'><path d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z' style='fill:%233234be'/></svg>")
    no-repeat;
}

.columna li {
  font-size: 16px;
  margin-bottom: 20px;
}

.columna hr {
  margin-bottom: 20px;
  width: 100%;
  border: 1px solid rgb(50, 52, 190);
}

.columna.highlight hr {
  border: 1px solid white;
}

.columna.highlight {
  background-color: rgb(50, 52, 190);
}

.columna.highlight ul li {
  color: white;
}

.columna.highlight ul li:before {
  background: url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='utf-8'?><svg width='18' height='18' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'><path d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z' style='fill:white'/></svg>")
    no-repeat;
}

.columna.highlight .oferta {
  color: white;
}

.comentarios {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 120px;
}

.comentarios .comentario {
  margin-top: 20px;
  width: 49%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.comentarios .comentario .comentario-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
}

.comentarios .comentario .comentario-header .avatar {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 20px;
  background-color: rgb(190, 113, 50);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: white;
}

.comentarios .comentario .comentario-header .nombre-y-estrellas {
  display: flex;
  flex-direction: column;
}

.comentarios .comentario .comentario-header .nombre-y-estrellas .nombre {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 5px;
}

.comentarios .comentario .comentario-header .nombre-y-estrellas .estrellas {
  display: flex;
}

.ver-mas {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  color: rgb(50, 52, 190);
}

.google-maps {
  padding-bottom: 50%;
  position: relative;
  margin-bottom: 20px;
}

.google-maps iframe {
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  position: absolute;
}

.autor-cita {
  text-align: center;
  margin-bottom: 20px;
}

footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: rgb(50, 52, 190);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.footer-content .enlaces {
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .footer-content a {
  color: #f9f8f2;
  text-decoration: none;
  margin-right: 20px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
}

footer .footer-content a img {
  margin-right: 5px;
  height: 15px;
}

footer .footer-content a:hover {
  color: rgb(140, 142, 245);
  text-decoration: none;
  margin-right: 20px;
}

footer .footer-content .redes-sociales {
  justify-self: flex-end;
}

@media screen and (max-width: 768px) {
  h1 {
    text-align: center;
  }

  .titulo {
    padding: 0 20px;
  }

  .imagen-y-texto,
  .texto-e-imagen {
    flex-direction: column;
  }

  .texto-e-imagen #imagen-tipologias-container {
    order: 1;
  }

  .texto-e-imagen .texto {
    order: 2;
  }

  .imagen-y-texto #imagen-sobre-mi-container,
  .texto-e-imagen #imagen-tipologias-container {
    width: 100%;
    height: 300px;
    margin-bottom: 40px;
    border-radius: 0;
  }

  #imagen-sobre-mi-container img,
  #imagen-tipologias-container img {
    width: 100%;
    height: 300px;
    border-radius: 0;
  }

  .imagen-y-texto .texto,
  .texto-e-imagen .texto {
    width: 100%;
    padding: 0 20px;
    margin: 0;
    margin-bottom: 40px;
  }

  .texto-e-imagen .texto .especial {
    padding: 0 20px;
  }

  .google-maps {
    padding-bottom: 100%;
  }

  .tres-columnas,
  .dos-columnas {
    flex-direction: column;
    align-items: center;
  }

  .tres-columnas .columna {
    width: 100%;
    margin: 0;
    margin-bottom: 40px;
  }

  .dos-columnas .columna {
    width: 90%;
    margin: 0;
    margin-bottom: 40px;
  }

  .una-columna .columna {
    width: 90%;
    margin: 0;
    margin-bottom: 40px;
  }

  .comentarios {
    flex-direction: column;
  }

  .comentarios .comentario {
    width: 100%;
    margin: 0;
    margin-bottom: 20px;
  }

  quote {
    width: 90%;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-content .enlaces {
    display: flex;
    flex-direction: column;
  }

  .footer-content .enlaces a,
  .footer-content .redes-sociales a {
    margin: 0;
    margin-bottom: 20px;
    text-align: center;
  }

  section {
    padding: 100px 0 0;
  }

  .contenido {
    padding: 0 20px;
  }

  a.ver-mas {
    padding: 0 20px;
  }

  .foto-grande-centrada img {
    border-radius: 0;
  }
}

@media screen and (max-width: 500px) {
  .fix-posicion-mobile {
    width: 100%;
    background-position-x: -100vw;
  }
}
