body {
  margin: 0;
  min-height: 100vh;
  background: #211949;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #e5c925;
  font-weight: 400;
  font-style: normal;
}

h1 {
  font-size: 50px;
}

p {
  text-align: center;
  padding-left: -20px;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5vmin;
  overflow: hidden;
  /* transform: skew(5deg); */
}

.subtitulo {
  padding-bottom: 10px;
}

.pat2 {
  float: right;
  padding-left: 10px;
  margin-right: 300px;
}

.part1 {
  float: left;
  padding-right: 10px;
  margin-left: 300px;
}

.botao {
  justify-content: center;
}

.botaopoema {
  width: 100px;
  height: 50px;
  margin-top: 10px;
  margin-right: 100%;
  margin-bottom: 40px;
}

/* cards da página principal */
.card {
  flex: 1;
  transition: all 1s ease-in-out;
  height: 75vmin;
  position: relative;
}

.card__head {
  color: #e5c925;
  background: #211949;
  padding: 0.5em;
  transform: rotate(-90deg);
  transform-origin: 0% 0%;
  transition: all 0.5s ease-in-out;
  min-width: 100%;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 1em;
  white-space: nowrap;
}

.card:hover {
  flex-grow: 10;
}

.card:hover img {
  filter: grayscale(0);
}

.card:hover .card__head {
  text-align: center;
  top: calc(100% - 2em);
  color: #e5c925;
  background: #21194986;
  font-size: 2em;
  transform: rotate(0deg) skew(-5deg);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 1s ease-in-out;
  filter: grayscale(100%);
}

.card:not(:nth-child(8)) {
  margin-right: 1em;
}



/* animação */


h2 {
  position: relative;
  font-size: 70px;
  color: #211949;
  white-space: nowrap;
  text-transform: uppercase;
}

h2::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 0, 5vw;
  height: 120%;
  color: #e5c925;
  border-right: 2px solid #e5c925;
  overflow: hidden;
  animation: animate 10s linear;
}

@keyframes animate {

  0%,
  10% {
    width: 0%;
  }

  70%,
  100% {
    width: 100%;
  }
}

/* botão bonitooooo */
a {
  text-decoration: none;
}

button {
  position: absolute;
  /*top: 50%;*/
  /*left: 50%;*/
  /*transform: translate(-50%, -50%);*/
  font-size: medium;
  font-family: 'Arial Narrow bold', sans-serif;
}

.glow-on-hover {
  width: 220px;
  height: 50px;
  border: none;
  outline: none;
  color: #29235c;
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  margin-bottom: 20px;
}

.glow-on-hover:before {
  content: '';
  background: linear-gradient(45deg, #ffd533, #f9b233, #674394, #29235c, #ffd533);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
}

.glow-on-hover:active {
  color: #211949;
}

.glow-on-hover:active:after {
  background: transparent;
}

.glow-on-hover:hover:before {
  opacity: 1;
}

.glow-on-hover:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #ffd533;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}

/* SONS */
audio {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4vw;
}

/* Media Queries */
@media (max-width: 1024px) {
  .pat2 {
    margin-right: 150px;
  }

  .part1 {
    margin-left: 150px;
  }

  .container {
    margin: 5vmin;
  }

  h2 {
    font-size: 6vw;
  }
}

@media (max-width: 426px) {
  body {
    flex-direction: column;
    padding: 10px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size:5vw;
  }

  .pat2,
  .part1 {
    float: none;
    margin: 10px 0;
    padding: 0;
  }

  .botaopoema {
    margin-right: 0;
  }

  .container {
    flex-direction: column;
    margin: 2vmin;
  }

  .card {
    height: 50vmin;
    margin: 5px 0;
  }

  .card__head {
    font-size: 0.8em;
  }

  .card:hover .card__head {
    font-size: 1.5em;
  }
}