:root {
  --tvglight: #15a0db;
  --tvgdark: #253d7b;
  --gris: #efefef;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 16px;
  /* 1rem = 10px */
  font-family: "Rubik", serif;
  background-color: #ffffff;
}

/* -- HEADER -- */
.header {
  background-image: url(../img/BACK.webp);
  background-size: cover;
  background-repeat: no-repeat;
  height: 55rem;
  margin-bottom: 5rem;
}

@media (max-width: 720px) {
  .header {
    height: 75rem;
  }
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--tvglight);
  height: 8rem;
}

.navbar-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.img-logo {
  height: 10rem;
  margin: 1rem 0rem -8rem 6rem;
}

@media (max-width: 720px) {
  .img-logo {
    margin: 1rem 0rem -8rem 2rem;
  }
}

.img-tvgmagazine {
  width: 30rem;
  height: 5rem;
  margin-right: 6rem;
}

.header-content {
  display: flex;
  justify-content: space-evenly;
}

@media (max-width: 720px) {
  .header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.header-text {
  display: block;
}

.h1-img {
  width: 60rem;
  margin: 7rem 0rem 0rem 6rem;
}

@media (max-width: 720px) {
  .h1-img {
    width: 35rem;
    margin: 10rem 0rem 0rem 4rem;
  }
}

.slogan {
  color: white;
  text-align: left;
  font-style: italic;
  font-weight: 600;
  font-size: 4rem;
  margin: 6rem;
}

@media (max-width: 720px) {
  .slogan {
    font-weight: 600;
    font-size: 3rem;
    margin: 5rem;
  }
}

.magazine {
  width: 50rem;
  margin: 7rem 0rem 0rem 0rem;
}

@media (max-width: 720px) {
  .magazine {
    width: 35rem;
    margin: 1rem 0rem 0rem 0rem;
  }
}

/* -- MAIN --- */
/* Estilo de la tabla para centrar el contenido */
.magazine-table {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 4rem 2rem 0;
  margin: 0 auto;
  max-width: 120rem;
}

@media (max-width: 1200px) {
  .magazine-table {
    width: 85% !important;
    padding: 3rem 2rem 0;
  }
}

@media (max-width: 720px) {
  .magazine-table {
    width: 85% !important;
    padding: 2rem 1.5rem 0;
  }
}

/* Estilo para el contenedor del visor */
.magazine-container {
  position: relative;
  width: min(100%, 90rem);
  margin: 0 auto;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 2rem 6rem rgba(24, 37, 74, 0.25);
  background-color: #000000;
}

.magazine-container::before {
  content: "";
  display: block;
  padding-top: 133.33%;
}

.magazine-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 720px) {
  .magazine-container::before {
    padding-top: 150%;
  }
}

/* Button */
.btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5rem 0rem;
}

.btn {
  font-size: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  background-color: var(--tvglight);
  padding: 1rem 4rem;
  border-radius: 3rem;
  border-color: transparent;
  gap: 2rem;
  cursor: pointer;
}

.btn:hover {
  background-color: #1075a0;
}

/* -- Footer -- */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--tvgdark);
  height: 15rem;
}

@media (max-width: 720px) {
  .footer {
    height: 30rem;
  }
}

.footer-content {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  max-width: 120rem;
  gap: 10rem;
}

@media (max-width: 720px) {
  .footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    max-width: 120rem;
    gap: 2rem;
  }
}

.text-footer {
  color: #ffffff;
  text-align: center;
}

.span-footer {
  color: var(--tvglight);
}

.logo-footer {
  height: 10rem;
  margin: 1rem;
}