:root {
  --body-bg: #221e1f;
  --orange: #f19b2c;
  --orange-dark: #D35400;
  --green: #30ad63;
  --red: #e54d42;
}

* {
  box-sizing: border-box;
}

body {
  height: 100vh;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--body-bg);
  font-family: 'Inter', sans-serif;
  color: #fff;
  user-select: none;
}

h2 {
  font-weight: 400;
}

a {
  font-weight: 600;
  color: #fff;
}

#logo {
  position: absolute;
  left: 2rem;
  top: 1rem;
  z-index: 200;
}

#logo img {
  width: 10rem;
}

#cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 50%;
  margin-top: 2rem;
  gap: 10px;
  perspective: 500px;
}

.card {
  width: 300px;
  height: 150px;
  padding: 2rem;
  background-color: #D6CEC3;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: #111;
  font-size: 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
  transform: rotateX(0deg);
  transition: transform 0.2s;
  cursor: pointer;
}

.card:hover {
  transform: rotateX(10deg);
}

.card .icon {
  font-size: 3rem;
}

@media (max-width: 568px) {
  #cards {
    max-width: 80%;
    margin-top: 4rem;
  }
}
