:root{
    --font-heading: 'Zen Kaku Gothic Antique', sans-serif;
}
html{
    font-family:var(--font-heading);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
header{
    background-color:  #17202a ;
    height: 12vh;
    justify-content: space-between;
}
header h1 {
    color: #f1c40f;
    margin-left: 2rem;
    margin-bottom: 1rem;
    padding: 2rem;
}
header img{
  position: absolute;
  margin-top: -7rem;
  margin-left: 80%;
  height: 5rem;
  width: 5rem;
  object-fit: contain;
}
h2{
    text-align: center;
}
.container { 
    display: grid;
    margin: 4rem;
}
section{ 
    margin: 2rem;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 2rem;
    background-color: #e7e6e6;
    max-width: 100%;
}
form{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 1rem;

}
button{
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    background-color: #f1c40f ; 
    border: none;
    color: black;
    font-weight: bold;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 12px;
}
button:hover{
    cursor: pointer;
    display: block;
    color: #E50914;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
input{
    width: 50%;
    padding: 12px 20px;
    margin: 8px 0;
    border: none ;
    border-radius: 4px;
    background-color: white;
    box-shadow: rgba(67, 71, 75, 0.2) 0px 8px 24px;
    font-family: var(--font-heading);
    font-size: 20px;
}
.title{
    text-align: center;
    margin-top: 1rem;
}
/*footer*/
.foot-pag{
  width: 100%;
  background: #BA8B02;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #181818, #BA8B02);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #181818, #BA8B02); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  padding: 2rem;
  text-align: center;
}
.foot-pag .grup-one{
  width: 100%;
  max-width: 100;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 50px;
  padding: 45px 0px;
}
.foot-pag .grup-one .box figure{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.foot-pag .grup-one .box h2{
  color: #17202a;
  margin-bottom: 25px;
  font-size: 20px;
}
.foot-pag .grup-one .box p{
  color: #17202a;
  margin-bottom: 25px;
  font-size: 20px;
}
.foot-pag .grup-one .red-social a{
  display: inline-block;
  text-decoration: none;
  width: 45px;
  height: 45px;
  color: #17202a;
  line-height: 45px;
  transition: all 300ms ease;
}
.foot-pag .grup-one .red-social a:hover{
  color: #E50914;
}
.foot-pag .grup-two{
  color: #17202a;
  text-align: center;
  padding: 15px 10px;
}

@media (max-width: 680px) {
    section{
        display: grid;
    }
    header img{
      position: absolute;
      margin-top: -6rem;
      margin-left: -5%;
      height: 3rem;
      width: 7rem;
      object-fit: contain;
    }

}

/* index  */
.index{
  background-color: #17202a;
  width: 100%;
  height: 100vh;
}
aside{
  display: grid;
  grid-template-rows: 1fr 1fr ;
  margin:100px;
  place-items:center;
}
.card__item{ 
  box-shadow: rgba(223, 219, 15, 0.2) 0px 8px 24px;
  border-radius: 1rem;
  width: 50rem;
  height: 40vh;
  text-align: center;
  cursor: pointer;

}

.card__item h1{
  margin-left: 2rem;
  margin-bottom: 1rem;
  padding: 2rem;
  text-align: center;
  font-size: xx-large;
  color: #f1c40f;
}
.card__item img {
  height: 7rem;
  width: 7rem;
  object-fit: contain;
  padding: 1rem;
}
@media (max-width: 680px) {
  aside{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    font-size: small;
    align-items: center;
  }
  .card__item{ 
    box-shadow: rgba(182, 184, 187, 0.2) 0px 8px 24px;
    border-radius: 1rem;
    width: 100%;
    height: 40vh;
    overflow: hidden;
  }
  .card__item h1{
    font-size: x-large;
    text-align: center;
  }
}