:root{
  --first: #ff0027;
  --second: #ee001e;
  --third: #d3001d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: white;
  font-family: 'Roboto', sans-serif;
}

header {
  margin: 0 auto;
  padding: 2em 0;
  background: var(--first);
  width: 100%;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* height: 50vh; */
}

.hero img {
  width: 100%;
  max-width: 300px;
  /* animation: titulo 2s ease-in-out infinite alternate; */
}


main {
  background: var(--first);
}

.info-detalle {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 5vw;
  margin-bottom: 2rem;
}

.info-detalle .video {
  width: 100%;
}

.info-detalle .video video {
  width: 100%;
  height: auto;
}

.info-detalle .galeria {
  display: grid;
  grid-template-rows: .2fr .3fr .3fr;
  width: 100%;
  padding: 3rem;
  row-gap: 1rem;
  text-align: center;
}

.info-detalle .galeria .main-pic{
  background: #555555;
  color: white;
  border: outset 5px white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-detalle .galeria .main-pic h2 {
  font-size: 3rem;
}

.info-detalle .galeria .main-pic h2 span {
  display: block;
}

.info-detalle .galeria .grilla {
  display: grid;
  grid-template: repeat(3, 1fr) / repeat(3, 1fr);
  gap: 10px;
  padding: 0 1rem;
}

.info-detalle .galeria .grilla .item {
  background: #080000;
  color: #7c7576;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-detalle .texto {
  padding: 1rem;
}

.info-detalle .texto p {
  font-size: 1.1rem;
  line-height: 1.6rem;
  opacity: 0;
}

.info-detalle .texto p.animada {
  animation: bloques 1s ease forwards;
}



.info-detalle .texto .margin-top {
  margin-top: 2rem;
}

.info-detalle .texto a {
  padding: 1rem 2rem;
  font-size: 1.2rem;
  display: inline-block;
  border-radius: 15px;
  margin: 1rem;
  text-decoration: none;
  color: white;
  background: #ac696a;
}


.info-detalle .texto a:nth-last-child(1) {
  background: #ff424e;
}

.info-detalle .texto .correo {
  font-size: 2rem;
  margin: 3rem 0;
}
.info-detalle .texto .correo a {
  background: var(--second);
  font-size: 3rem;
}

.colaborar {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  min-height: 20vh;
}

.colaborar p, .colaborar div{
  flex: 1;
}

.colaborar p {
  font-size: 1.5rem;
  padding: 5rem;
  line-height: 2rem;
}

.colaborar div {
  text-align: center;
}

.colaborar div a {
  text-transform: uppercase;
  color: white;
  background: var(--third);
  padding: 1rem 6rem;
  text-decoration: none;
  font-size: 2rem;
  border-radius: 20px;
}

.sponsors .flex {
  background: var(--third);
  padding: 2em;
  display: flex;
  justify-content: space-evenly;
}

.sponsors .titulo {
  font-size: 3rem;
  text-align: center;
  padding: 1rem;
  text-transform: uppercase;
}

.sponsors .titulo span {
  color: #ffe100;
}

footer {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

footer div {
  flex: 1;
  padding: 2rem;
}

footer div img {
  width: 100%;
  max-width: 20vw;
}

/* ANIMACIONES */
@keyframes titulo {
  from {
    transform: scale(0.7);
  }
  to {
    transform: scale(1.2);
  }
}

@keyframes bloques {
  from {
    transform: translateY(1000px);
    opacity: .7;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* MEDIAS QUERIES */
@media screen and (max-width: 500px) {
  .info-detalle {
    grid-template-columns: 1fr;
    padding: 1rem;
    column-gap: 0;
  }
  .info-detalle .galeria {
    padding: .5rem;
  }

  .sponsors .titulo {
    font-size: 2rem;
    padding: 1rem;
  }

  .sponsors .flex {
    padding: 3rem;
    flex-direction: column;
  }

  .sponsors .flex img {
    width: 100%;
    margin: 1rem;
  }

  .colaborar {
    flex-direction: column;
    min-height: 20vh;
  }


  .colaborar p {
    font-size: 1rem;
    padding: 1rem 2rem;
  }


  .colaborar div a {
    display: inline-block;
    padding: .5rem 2rem;
    font-size: 1rem;
    border-radius: 20px;
    margin-bottom: .5rem;
  }

  .info-detalle .texto a {
    display: block;
    width: 90%;
    text-align: center;
  }

  .info-detalle .texto p {
    font-size: 1rem;
    line-height: 1.3rem;
  }

  .info-detalle .texto .correo {
    font-size: 1.8rem;
    margin: 3rem 0;
  }
  .info-detalle .texto .correo a {
    font-size: 2rem;
  }

}

@media screen and (min-width: 1480px) {
  .info-detalle .galeria {
  grid-template-rows: .2fr .4fr .4fr;
  padding: 4rem;
}
}