* {
  margin: 0;
  padding: 0;
}
:root {
  --card-color-primary: #f7dd43;
  --card-tittle-border-color: #746615;
  --card-bg-color: #1d1c19;
  --bg: url(./assets/bg-yellow.svg);
}
body.blue {
  --card-color-primary: #338af3;
  --card-tittle-border-color: #338af3;
  --card-bg-color: #202024;
  --bg: url(./assets/bg-blue.svg);
}
body.green {
  --card-color-primary: #047c3f;
  --card-tittle-border-color: #047c3f;
  --card-bg-color: #1a1f1b;
  --bg: url(./assets/bg-green.svg);
}
ul {
  list-style: none;
}
body {
  background-color: #121214;
  background-image: var(--bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
body * {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  margin: 0 auto;
}
#app {
  width: fit-content;
  margin-top: auto;
  padding-top: 52px;
}

header {
  margin-bottom: 63px;
  text-align: center;
}
#cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.card {
  padding: 32px 23px;
  text-align: center;
  background: var(--card-bg-color);
  border-bottom: 2px solid var(--card-color-primary);
  border-radius: 6px;
}

.card h2 {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid var(--card-tittle-border-color);
  border-radius: 6px;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 53px;

  color: #f7dd43;
}
.card h2 span {
  color: #e1e1e6;
  font-size: 14px;
  text-transform: uppercase;
}
.card ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 270 px;
}
.card ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card ul li + li {
  padding-top: 24px;
  border-top: 1px solid #323238;
}
.card ul li strong {
  font-weight: 900;
  font-size: 25px;
  line-height: 125%;
  text-align: center;
  color: #e1e1e6;
}
.card ul li + li {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card h2:hover,
.card ul li strong:hover,
.card ul li img:hover {
  transform: scale(0.9);
}
.card h2,
.card ul li strong,
.card ul li img {
  transition: transform 0.3s;
}
.card {
  opacity: 0;
  animation: appear 0.7 forwards;
}

@keyframes appear {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  25% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.5;
  }
  75% {
    opacity: 0.75;
  }
  100% {
    opacity: 1;
  }
}
@media (min-width: 400px) {
  #cards {
    max-width: 930px;
    flex-direction: row;
    flex-wrap: wrap;
  }
}
