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

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

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


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: 500px;
}

.hero p {
  padding: 1rem;
  margin: 2rem;
}

.hero h2 {
  margin: 1rem;
}
.hero form input[type="submit"] {
  background-color: var(--second);
  padding: .5rem 2rem;
  border: solid 1px;
  color: white;
  border-radius: 5px;
}

.hero form input[type="text"] {
  border-radius: 5px;
  padding: .5rem;
  width: 25vw;
}

.botones {
  display: flex;
  flex-direction: column;
  align-items: center ;
  height: auto;
  background: var(--second);
  padding: 3rem 1rem;
  margin-top: 1rem;
}

.botones h3, .botones h2 {
  font-size: 1.5rem;
  text-transform: uppercase;
}

.botones h2 {
  margin-top: 1rem;
  font-size: 6rem;
  /* margin-bottom: 2rem; */
}

.botones h2 span {
  color: #ffe100;
}

.botones div h3 {
  font-size: 2em;
  margin-bottom: 1rem;
}

.botones div div.tarjeta {
  margin-bottom: 2rem;
}

.botones div h4 {
  font-size: 1.5rem;
  margin-bottom: .5rem;
  color: #ffe100;
}

.botones div p>a{
  display: inline-block;
  background: var(--third);
  color: white;
  padding: .5rem 1rem;
  margin-top: .5rem;
  font-size: 1.2rem;
  text-align: center;
  text-decoration: none;
}

.botones .enlaces {
  display: flex;
  justify-content: space-evenly;
  /* width: 80%; */
}

.botones .enlaces div {
  width: 200px;
  height: 200px;
  margin: 3rem;
  border-radius: 50%;
  border: solid 8px #ff6669;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;  
  text-align: center;
  font-size: 1.5rem;
  padding: 1rem;
}

.botones .enlaces a {
  text-transform: uppercase;
  color: #8c8c8c;
  text-decoration: none;
  font-weight: bolder;
}

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

.info-corona {
  text-align: center;
  padding: 0 2rem;
}
.info-corona h2 {
  padding: 2rem 1rem;
  font-size: 6rem;
}

.info-corona p {
  font-size: 1.2rem;
  line-height: 1.5rem;
  margin: 2rem 1rem;
}

.container {
  background: var(--second);
  width: 100%;
  padding: .2rem;
}
.container>div {
  margin: 2rem 0;
}
.container div h3 {
  text-align: center;
}

.container .map {
  width: 1200px;
  height: 600px;
  margin: 0 auto;
  color: #000;
  border: solid 5px #8c8c8c;
}

.container .map2 {
  width: 400px;
  height: 400px;
  margin: 0 auto;
  color: #000;
}

.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;
  width: 100%;
}

.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;
}

.layer {
  position: absolute;
  background: rgba(0,0,0,.8);
  justify-content: center;
  align-items: flex-start;
  display: none;
}

.layer.visible {
  display: flex;
  top: 0;
  /* visibility: visible; */
  bottom: 0;
  left: 0;
  right: 0;
  transition: .2s ease all;
  height: 200vh;
}

.modal {
  width: 60%;
  position: relative;
  color: #000;
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-sizing: border-box;
  height: auto;
}

.modal-body {
  background: #fff;
  width: 100%;
  /* min-height: 50vh; */
  
}

/* .modal h2 {
  font-size: 2;
  padding: 1rem 0;
} */

.modal .cierre {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #a9a9a9;
  font-size: 2rem;
  cursor: pointer;
  padding: .5rem;
}

.modal h2 {
  width: 100%;
  text-align: center;
  padding: 1rem 0;
  text-transform: uppercase;
}

.modal .card {
  width: 100%;
  padding: 2rem;
  border-bottom: solid 1px var(--second);
  display: grid;
  gap: 15px;
  grid-template: 1fr 1fr / 1fr 2fr;
  grid-template-areas: "titulo linefirst"
                        "titulo linesecond";
}

.modal .card .titulo {
  grid-area: titulo;
  font-size: 1.8rem;
  color:#85686e;
}

.modal .card .linefirst {
  grid-area: linefirst;
  display: grid;
  grid-template-columns: 1fr .4fr .4fr;
  justify-items: start;
  /* gap: 5px; */
}

.modal .card .linesec {
  grid-area: linesecond;
  display: grid;
  grid-template-columns: 1fr .4fr .4fr;
  justify-items: start;
  /* gap: 5px; */
}

.modal .card span {
  color: #878787;
  font-size: 1.5rem;
}

.ubicacion {
  background: #216e44;
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
}

.llamada {
  background: #fb2527;
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
}

 .reanimador {
  margin-top: .5rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.reanimador .titulo {
  font-size: 1.8rem;
  color:#85686e;
}


.reanimador a {
  text-decoration: none;
  font-size: 1.1rem;
  color: white;
  background-color: var(--third);
  border-radius: 5px;
  align-self: center;
  justify-self: center;
  text-align: center;
  padding: .5rem;
} 
.reanimador img {
  max-width: 80px;
}



@media screen and (max-width: 450px) {
  header {
    padding: 1em 0;
  }


  .hero img {
    max-width: 300px;
  }

  .hero p {
    padding: 1rem;
    margin: .5rem;
  }

  .hero h2 {
    margin: .5rem;
  }
  .hero form input[type="submit"] {
    padding: .5rem 1rem;
  } 

  .hero form input[type="text"] {
    padding: .5rem;
    width: 70vw;
  }
  .botones {
    padding: 3rem 1rem;
    margin-top: .5rem;
  }

  .botones h3, .botones h2 {
    font-size: .8rem;
  }

  .botones h2 {
    font-size: 1.8rem;
    /* margin-bottom: 2rem; */
  }
  .botones .enlaces {
    flex-direction: column;
    
    /* width: 80%; */
  }

  .botones .enlaces div {
    width: 150px;
    height: 150px;
    margin: .6rem;
    font-size: 1rem;
  }

  .info-corona {
    padding: 0 1rem;
  }

  .info-corona h2 {
    padding: 2rem 1rem;
    font-size: 3rem;
  }

  .info-corona p {
    font-size: .8rem;
    line-height: 1rem;
    margin: 2rem 1rem;
  }

  .container .map {
    width: 350px;
    height: 250px;
    margin: 1rem auto;
  }
  .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;
  }

  .modal {
    width: 100%;
    padding: 0;
    border-radius: unset;
  }

  .modal .card {
    grid-template-areas: "titulo titulo"
                         "linefirst linefirst"
                         "linesecond linesecond";
    padding: .5rem;
  }

  .modal h2 {
    font-size: 1rem;
  }

  .modal .card span {
    font-size: .8rem;
  }
  .modal .card h3 {
    font-size: 1.5rem;
  }

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

  .reanimador img {
    max-width: 50px;
    margin-left: 1rem;
  }

  .llamada, .ubicacion {
    padding: .5rem;
  }
  
}