html {
  background-color: #2a2a2a;
  color: white;
}

body {
  font-family: sans-serif;
  margin: 0rem;
}

main {
  display: flex;
}

.left {
  background-color: #1a1a1a;
  padding: 1rem;
  min-height: 100vh;
}

.left-inner {
  position: sticky;
  top: 2em;
  left: 0;
  width: 350px;
}

.right {
  flex-grow: 1;
}


form {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 300px;
}

button {
  padding: 0.5rem;
  background-color: #01aaf3;
  color: white;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
}


#badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.badge {
  background: url(./front.svg);
  background-position: center;
  width: 204px;
  height: 322px;
  border-radius: 1rem;
  background-color: #1e1e1e;
  color: white;
  text-align: center;
  padding: 0;
  position: relative;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

.badge img.profile {
  width: 90px;
  height: 100px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin: 5.2em auto 0;
  border: 7px solid white;
}

.badge h2 {
  font-size: 1rem;
  font-weight: bold;
  margin: 0.5rem 0 0.25rem;
}

.badge p {
  margin: 0;
}

.badge small {
  opacity: 0.6;
}

.badge .footer {
  font-size: 1.2rem;
  font-weight: bold;
  color: #5b5b5b;
  position: absolute;
  transform: rotate(90deg);
  right: -72px;
  top: 160px;
  letter-spacing: 6px;
}

.badge.back {
  transform: scale(1, -1)
}

.badge.back h2 {
  text-transform: uppercase;
}

input,
select,
textarea {
  background: #191919;
  border: 1px solid #5f5f5f;
  border-radius: 5px;
  padding: .5em;
  color: white;
}