/* Copia de la página "Mantenimiento" del WordPress anterior (Bricks + Automatic.css).
   Los clamp() son los mismos valores fluidos que generaba Automatic.css. */

@font-face {
  font-family: "Nunito Sans";
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/nunito-sans-latin-300.woff2") format("woff2");
}

@font-face {
  font-family: "Lora";
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/lora-latin-500.woff2") format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 1rem = 10px, como en el sitio anterior: los rem de abajo salen de ahí. */
html {
  font-size: 62.5%;
}

body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.6rem, calc(0.2083333333vw + 1.5333333333rem), 1.8rem);
  line-height: 1.5;
  color: #fff;
  background-color: #95726a;
}

.portada {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-block: clamp(4.8rem, calc(4.375vw + 3.4rem), 9rem);
  padding-inline: clamp(1.6rem, calc(4.5833333333vw + 0.1333333333rem), 6rem);
  background: url("/img/coming-up-bg.jpg") center center / cover no-repeat;
}

/* Velo de color sobre la foto. */
.portada::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(149, 114, 106, 0.7);
  pointer-events: none;
}

.contenido {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2.4rem, calc(0.625vw + 2.2rem), 3rem);
  width: 1280px;
  max-width: 100%;
  text-align: center;
}

h1 {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.7648rem, calc(2.420898645vw + 1.9901124336rem), 5.0888626992rem);
  line-height: 1.2;
  text-wrap: pretty;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.redes {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 2rem;
}

.redes a {
  display: flex;
  align-items: center;
  height: 6rem;
  color: #fff;
}

.redes a:focus-visible,
.enlace:focus-visible {
  outline: 0.2rem solid #fff;
  outline-offset: 0.4rem;
}

.redes svg {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  fill: currentColor;
}

.enlace {
  color: #fff;
}

@media (max-width: 767px) {
  .contenido {
    padding-inline: 2rem;
  }
}

@media (max-width: 478px) {
  .portada {
    background-position: bottom right;
  }

  .redes {
    justify-content: center;
    column-gap: clamp(2.4rem, calc(0.625vw + 2.2rem), 3rem);
  }
}
