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

:root {
  --step--2: clamp(0.7rem, calc(0.87rem + -0.14vw), 0.84rem);
  --step--1: clamp(0.94rem, calc(0.95rem + -0.01vw), 0.94rem);
  --step-0: clamp(1.06rem, calc(1.03rem + 0.19vw), 1.25rem);
  --step-1: clamp(1.2rem, calc(1.1rem + 0.47vw), 1.67rem);
  --step-2: clamp(1.35rem, calc(1.17rem + 0.88vw), 2.22rem);
  --step-3: clamp(1.51rem, calc(1.22rem + 1.45vw), 2.96rem);
  --step-4: clamp(1.7rem, calc(1.25rem + 2.25vw), 3.95rem);
  --step-5: clamp(1.91rem, calc(1.25rem + 3.35vw), 5.26rem);
  --step-6: clamp(2.15rem, calc(1.18rem + 4.86vw), 7.01rem);
  --blanco: #fff;
  --negro: #000;
  --azul-marino: #02002e;
}

img {
  max-width: 100%;
  height: auto;
}
.subrayado {
  text-decoration: underline;
}

/* Contenido interno */
.content-img {
  display: flex;
  justify-content: center;
  gap: 6rem;
  text-align: center;
  font-family: "Burgundia", serif;
  font-size: var(--step-2);
}

.content-img img {
  width: 30rem;
  border-radius: 10px;
}

.estudio-contable-desc {
  display: flex;
  flex-direction: column;
  color: white;
  letter-spacing: 0.3px;
  max-width: 1600px;
  margin: 0 auto;
  font-size: var(--step-1);
}

.estudio-contable-desc h1 {
  margin-bottom: 0;
}

body {
  font-family: "Garamond", serif;
  font-size: 1.5rem;
}

.modal-contenido {
  font-family: "Garamond", serif;
}

.cerrar {
  font-weight: normal;
}

li {
  margin: 0.5rem;
  font-size: 2rem;
  color: white;
}

.boton > li {
  font-size: var(--step-1);
}

.boton {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.boton-descarga {
  width: 1.5rem;
  height: 1.5rem;
}

.cuadro {
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 10px;
}

@keyframes resplandor {
  from {
    box-shadow: 0 8px 20px;
  }
  to {
    box-shadow: 0 12px 25px rgba(0, 123, 255, 0.6);
  }
}

@media (min-width: 768px) {
  .content-img {
    flex-direction: row;
  }

  .cuadro:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    animation: resplandor 1.2s infinite alternate;
  }

  .estudio-contable-desc {
    padding: 2rem;
  }
}

@media (max-width: 1200px) {
  .content-img {
    flex-direction: column;
    gap: 2rem;
  }
}
