* {
  padding: 0;
  margin: 0;
  font-family: "Roboto", sans-serif;
}

.typing h1 {
    width: 23ch;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #fff;
    animation: typing 2s steps(23), blink .6s infinite step-end alternate;
}

@keyframes typing {
    from { width: 0 }
}

@keyframes blink {
    50% { border-color: transparent }
}

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #121212;
  border-bottom: 1px solid #373737;
}

.logo a {
  display: flex;
  user-select: none;
  padding: 20px;
}

.logo img {
  height: 150px;
  max-width: 300px;
  transition: all 0.2s;
}

.logo img:hover {
  filter: grayscale(1);
  transition: all 0.2s;
}

body {
  background: #121212;
}

/* Header */

/* End Header */

/* Main */
main {
  display: flex;
  justify-content: center;
  margin-top: 46px;
  margin-bottom: 90px;
}

.main-container {
  max-width: 990px;
  width: 100%;
  margin: 0 7px;
  padding: 0 10px; /* antes não tinha! */
}

.main-raffle {
  border: 1px solid #373737;
  border-radius: 12px;
  margin-bottom: 32px;
}

.main-image {
  display: flex;
}

.main-image img {
  width: 100%;
  max-height: 400px;
  border-radius: 12px 12px 0 0;
  object-fit: cover;
  user-select: none;
}

.info {
  background-color: #121212;
  border-radius: 0 0 12px 12px;
}

.info:hover {
  background-color: #373737;
}

.info a {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: #f6f6f6;
  text-decoration: none;
  padding: 18px;
}

.main-description h4 {
  font-size: 16px;
  font-weight: 500;
}

.main-description p {
  font-size: 15px;
  margin-top: 4px;
  margin-bottom: 10px;
}

.available {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #038503;
  background-color: #cefae0;
  text-transform: uppercase;
  border-radius: 15px;
  user-select: none;
  padding: 5px 16px;
  animation: available-animation 2.5s infinite;
  animation-timing-function: ease-in-out;
}

@keyframes available-animation {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.unavailable {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #850303;
  background-color: #facece;
  text-transform: uppercase;
  border-radius: 15px;
  user-select: none;
  padding: 5px 16px;
  animation: unavailable-animation 2.5s infinite;
  animation-timing-function: ease-in-out;
}

@keyframes unavailable-animation {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.go-to img {
  height: 24px;
  filter: invert(100%) sepia(5%) saturate(596%) hue-rotate(213deg)
    brightness(113%) contrast(93%);
  user-select: none;
}

.sc {
  border: 1px solid #373737;
  border-radius: 0;
  margin-bottom: -1px;
}

.sc:first-child {
  border-radius: 12px 12px 0 0;
}

.sc:last-child {
  border-radius: 0 0 12px 12px;
}

.group-info {
  display: flex;
  align-items: center;
}

.raffle-image {
  display: flex;
}

.raffle-image img {
  width: 100%;
  min-width: 150px;
  max-height: 90px;
  border-radius: 12px;
  object-fit: cover;
  user-select: none;
  margin-right: 16px;
}

@media (max-width: 901px) {
  .main-description h4 {
    font-size: 14px;
  }

  .main-description p {
    font-size: 13px;
  }

  .available,
  .unavailable {
    font-size: 10px;
  }
}

@media (max-width: 550px) {
  .raffle-image img {
    margin: 0 0 16px 0;
  }

  .group-info {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 550px) {
  main {
    margin-top: 15px;
    margin-bottom: 30px;
  }
}

.main-container {
  padding: 0 10px; /* antes não tinha! */
}

.main-raffle {
  margin-bottom: 20px; /* antes 32px */
}

@media (max-width: 550px) {
  .info a {
    padding: 14px; /* antes 18px */
  }

  .main-description h4 {
    font-size: 15px;
  }

  .main-description p {
    font-size: 13px;
  }
}

footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  padding: 20px 0;
  font-size: 14px;
  color: #777;
}

footer a {
  color: #777;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
}

footer a:hover {
  opacity: 1;
  color: #333;
}

footer span.separator {
  color: #ccc;
}

/* Main */
