@import url("https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Almendra:ital,wght@0,400;0,700;1,400;1,700&display=swap");

:root {
  --color-bg: #1d191a;
  --color-bg-darker: #161313;
  --color-bg-red: #220802;
  --color-text: #f5f3eb;
  --color-text-trans: rgb(245, 243, 235, 0.8);
  --color-link: rgba(237, 231, 228, 0.8);
  --border-thin: 1px solid rgba(245, 243, 235, 0.2);
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  background-color: var(--color-bg-darker);
  color: var(--color-text);
  font-family: "Cormorant", Georgia, "Times New Roman", Times, serif;
}

button,
h1,
h2,
h3,
h4 {
  font-family: "Almendra", serif !important;
  /* letter-spacing: 0.5em; */
  transition: all 0.2s ease;
  padding: 0;
  margin: 0;
}

header {
  height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-text {
  margin: 0 !important;
  margin-top: 3rem !important;
  max-width: 60vw;
}

header a {
  color: var(--color-link);
}

h1 {
  font-size: clamp(24px, 6vw, 58px);
  text-align: center;
}

h3 {
  margin-top: 2rem;
}

.layout {
  max-width: 800px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  /* padding: 40px; */
  padding-bottom: 0px;
  margin: auto;
  gap: 10px;
  min-height: 65vh;
}

.page-content {
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 2px;
}

.page-content p {
  font-size: 1.2rem;
  line-height: 1.8rem;
  font-family: "Oranienbaum";
  letter-spacing: 1px;
  margin: 10px 0 !important;
}

.type-right {
  text-align: right !important;
}

.type-right p {
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

.sangria {
  text-indent: 2em;
}

.tachado {
  text-decoration: line-through;
}

q {
  quotes: "«" "»";
  display: inline;
  font-style: italic;
  font-size: 1rem;
  line-height: 1rem;
}
q::before {
  content: open-quote;
}
q::after {
  content: close-quote;
}

/* backgrounds */
.bg-color {
  background-color: #1d191a; /* #191617; */
  padding: 1.5rem 2rem;
  border-radius: 4px;
}

.bg {
  background-position: top center;
  background-size: contain;
  background-repeat: repeat;
}

.bg-cover {
  background-size: cover;
  background-repeat: no-repeat;
}

.bg-box {
  background-position: center;
  background-size: cover;
}

.bg-header {
  background-size: auto;
  background-repeat: no-repeat;
}

.bg-vera-header {
  background-image: url("../assets/logo-dark.webp");
}

.bg-vera-header-inv {
  background-image: url("../assets/logo-dark-inv.webp");
}

.bg-lab-2026-header {
  background-image: url("../assets/lab.webp");
}

.bg-lab-2026-cover {
  background-image: url("../assets/lab2026-feb-cover.webp");
}

.bg-lab-2024-cover {
  background-image: url("../assets/lab2024-cover.webp");
}

.bg-lab-2024-header {
  background-image: url("../assets/lab2024-bg.webp");
}

.bg-poesia {
  background-image: url("../assets/vera.webp");
}

.bg-ultrajadores {
  background-image: url("../assets/ultrajadores.webp");
}

.contain-repeat {
  background-size: contain !important;
  background-repeat: repeat !important;
}

.bg-zines {
  background-image: url("../assets/zines-cover.webp");
}

.fanzine-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  /* margin: 2rem auto; */
  padding-bottom: 3rem;
  border-bottom: var(--border-thin);
}

.fanzine-container:last-child {
  border-bottom: none;
}

.fanzine-container h2 {
  font-size: 1.5rem;
  font-family: "Almendra", serif !important;
  letter-spacing: 2px;
  align-self: center;
  margin-bottom: 2rem;
}

.fanzine-container p {
  font-size: 1.2rem;
  line-height: 1.8rem;
  font-family: "Oranienbaum";
  letter-spacing: 1px;
}

.fanzine-container ul {
  padding-left: 20px !important;
  font-size: 1.2rem;
  line-height: 1.8rem;
  font-family: "Oranienbaum";
  letter-spacing: 1px;
}

.fanzine-container .afiche img {
  width: 300px;
}

.texto-abyecto {
  font-size: 1.2rem;
  line-height: 2rem;
  font-family: "Oranienbaum";
  letter-spacing: 1px;
  text-align: justify;
}

.main-desc {
  font-size: 1.2rem;
  line-height: 1.8rem;
  font-family: "Oranienbaum";
  letter-spacing: 1px;
  margin: auto;
  text-align: justify;
}

.quote {
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.8rem;
  font-family: "Oranienbaum";
  letter-spacing: 1px;
  margin: auto;

  text-align: right;
}

.quote .autor {
  display: block;
  text-align: right;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.filter {
  filter: brightness(80%);
}

.color-trans {
  color: var(--color-text-trans) !important;
}

.flex-col {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.flex-row {
  display: flex;
  align-items: center;
}

.space-between {
  justify-content: space-between;
}

.larger {
  font-size: larger;
}

.box-container {
  width: 80vw;
  margin: auto;
  align-items: center;
  gap: 2rem;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}

.box-container a {
  text-decoration: none;
}

.box {
  border: 1px solid rgba(245, 243, 235, 0.2);
  padding: 1rem;
  border-radius: 4px;
  width: 25vw;
  aspect-ratio: 2/1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  transition:
    transform 0.3s ease,
    border 0.3s ease;
}

.box h2 {
  margin: auto;
  color: var(--color-text-trans);
}

.box:hover {
  border: 1px solid rgba(245, 243, 235, 0.8);
  transform: scale(1.05);
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  align-items: center;
  font-size: small;
  color: rgba(237, 231, 228, 0.6);
  padding: 10px;
  margin: 20px 0;
}

footer a {
  text-decoration: none;
  color: rgba(237, 231, 228, 0.5);
}

footer a:hover {
  text-decoration: none;
  color: rgba(237, 231, 228, 0.8);
}

footer p {
  padding: 0;
}

footer img {
  width: 80px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-darker);
  padding: 1rem;
  border-radius: 4px;
}

.credits {
  display: flex;
  flex-direction: column;
  text-align: right;
  padding-top: 1rem;
  border-top: rgba(245, 243, 235, 0.2) 1px solid;
}

.credits p {
  font-style: italic;
  font-size: 0.8rem;
  margin: 0 !important;
  padding: 0 !important;
}

.credits a {
  color: var(--color-link);
}

.nav {
  display: flex;
  position: absolute;
  padding: 1rem;
  top: 0;
  right: 0;
  left: 0;
}

.nav a {
  text-decoration: none;
  color: var(--color-link);
  display: flex;
  align-items: center;
  gap: 0;
}

.nav a:hover {
  color: var(--color-text);
}

/* Media queries */
@media (max-width: 600px) {
  .layout {
    padding: 40px 20px;
    min-height: 60vh;
  }

  header {
    padding: 0 20px;
    height: 40vh;
  }

  .header-text {
    margin: 0 !important;
    margin-top: 3rem !important;
    max-width: 100%;
  }

  .header-desc {
    height: 80vh !important;
  }

  .bg-color {
    padding: 0.5rem 1.5rem;
  }

  h1 {
    font-size: clamp(20px, 8vw, 48px);
  }

  .page-content {
    margin: 10px auto;
  }

  .page-content p {
    font-size: 1rem;
    line-height: 1.6rem;
  }

  .title-2 {
    margin: 20px auto !important;
    margin-top: 40px !important;
  }

  .back {
    margin-bottom: 20px;
  }

  footer {
    text-align: center;
    height: 20vh;
  }

  ul {
    padding-left: 10px !important;
  }

  .box {
    width: 250px;
  }

  .fanzine-container .afiche img {
    width: 250px !important;
  }
}
