:root {
  --fuente-h1-cel: 1.2rem;
  --fuente-h1-web: 2rem;
  --fuente-h2-cel: 3rem;
  --fuente-h2-web: 4.5rem;
  --fuente-h3-cel: 2.2rem;
  --fuente-h3-web: 4rem;
  --fuente-h4-cel: 1.6rem;
  --fuente-h4-web: 2.2rem;
  --fuente-h5-cel: 1.2rem;
  --fuente-h5-web: 1.6rem;
  --fuente-parrafo-cel: 1.6rem;
  --fuente-parrafo-web: 1.8rem;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  background-color: #000;
  min-height: 100vh;
  width: 1fr;
  font-size: 16px; /* 1 rem = 10px */
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
label,
legend {
  color: #fff;
}

p, b {
  font-size: var(--fuente-parrafo-cel);
  font-family: AvenirNext, Arial, Helvetica, sans-serif;
  max-width: 100vw;
}

a {
  cursor: pointer;
  text-decoration: none;
  font-family: AvenirNext, Arial, Helvetica, sans-serif;
  font-size: var(--fuente-parrafo-cel);
}

img {
  max-width: 100%;
}

body {
  background: radial-gradient(ellipse at center, #46464a 0%, #050505 100%);
}

@media (min-width: 320px) {
  h2 {
    margin: 4rem 0 3rem;
    text-transform: capitalize;
    font-family: "Teko", sans-serif;
    font-size: 3rem;
    letter-spacing: 0.1rem;
    text-align: center;
  }

  h3 {
    text-transform: capitalize;
    margin: 4rem 0 1rem;
    font-family: "Teko", sans-serif;
    line-height: 3rem;
    font-size: var(--fuente-h3-cel);
    letter-spacing: 0.1rem;
  }

  h4 {
    font-family: "Roboto", sans-serif;
    text-transform: capitalize;
    font-size: var(--fuente-h4-cel);
    display: block;
    margin: 0.5rem auto;
  }

  h5 {
    font-family: "Roboto", sans-serif;
    text-transform: capitalize;
    font-size: var(--fuente-h5-cel);
    display: block;
    margin: 0.5rem auto;
    text-align: center;
  }

  article,
  main,
  aside {
    width: 90%;
    margin: 0 auto;
  }

  main {
    display: flex;
    flex-direction: column;
  }

  li,
  ul {
    color: #fff;
    margin-left: 1rem;
  }

  ul li{
    margin-bottom: 1rem;
  }

  .ul-a{
    font-size: 1.2rem;
  }

  .slick-dots li button:before {
    font-size: 0;
  }
  button {
    border: none;
    color: #fff;
    background-image: linear-gradient(30deg, #1e1e20, #697e81);
    border-radius: 20px;
    background-size: 100% auto;
    font-family: inherit;
    font-size: 17px;
    padding: 0.6em 1.5em;
    margin: 1rem 0;
    border: 0.1rem solid #000;
  }

  button:hover {
    background-position: right center;
    background-size: 200% auto;
    -webkit-animation: pulse 2s infinite;
    animation: pulse512 1.5s infinite;
    border: none;
    margin: 1.1rem 0;
  }
  button p {
    font-size: 1.4rem;
  }

  @keyframes pulse512 {
    0% {
      box-shadow: 0 0 0 0 #05bada66;
    }

    70% {
      box-shadow: 0 0 0 10px rgb(218 103 68 / 0%);
    }

    100% {
      box-shadow: 0 0 0 0 rgb(218 103 68 / 0%);
    }
  }

  .info-inscripcion b{
    color: #fff;
  }

  #inscripcion{
    margin-bottom: 2rem;
  }

  .medios-de-pago a{
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  #detalles a{
    text-decoration: underline;
    color: #f19d00;
  }

  .sub-ul li{
    list-style-type: none;
  }

  .circuito{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
  }
  .circuito img{
    max-height: 30rem;
  }

  .logos img{
    max-height: 2rem;
  }

  .boton-inscripcion{
    max-height: 10rem
  }
}

@media (min-width: 720px) {
  h1 {
    font-size: var(--fuente-h1-web);
  }

  h2 {
    font-size: var(--fuente-h2-web);
  }

  h3 {
    font-size: var(--fuente-h3-web);
  }

  p, b{
    font-size: var(--fuente-parrafo-web);
    line-height: 2.5rem;
  }

  a {
    font-size: var(--fuente-parrafo-web);
  }

  li {
    font-size: var(--fuente-parrafo-web);
  }

  .header-fondo {
    display: flex;
    justify-content: center;
  }

  header img {
    max-width: 90rem;
  }

  .slider {
    width: 40%;
  }

  .container-button {
    flex-direction: row;
    gap: 5rem;
    margin-top: 5rem;
  }

  button {
    width: 33rem;
  }

  .medios-de-pago{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
  }

  .medios-de-pago p{
    font-size: 1.6rem;
  }

  .boton-inscripcion{
    max-height: 15rem
  }
}
