:root {
  --site-ink: #757575;
  --event-ink: #65473F;
  --site-cream: #fff8d7;
  --site-mint: #80d1c6;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  list-style: none;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
}

a { color: inherit; }
body { background-color: var(--site-mint); }

#main {
  width: 88%;
  margin-top: 56px;
  margin-bottom: 40px;
  max-width: 390px;
}

#profile { padding: 0; margin-bottom: -22px; }
#profile img { display: block; width: 100%; height: auto; }

#events {
  width: 88%;
  margin: 8px auto 12px;
  padding: 18px 16px 16px;
  border-radius: 22px;
  background: var(--site-cream);
  text-align: center;
}

#events h1 {
  color: var(--event-ink);
  font-size: 1.4rem;
  text-transform: lowercase;
  letter-spacing: 0.06em;
  margin-top: 0;
  margin-bottom: 12px;
}

.event-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: 18px;
  padding: 11px 14px;
  color: var(--site-cream);
  background: var(--event-ink);
  text-align: center;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.event-button + .event-button { margin-top: 10px; }
.event-button strong { display: block; margin: 0; font-size: 1.15rem; }

.event-ticket {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding-left: 14px;
  padding-right: 14px;
  border-radius: 999px;
}

.event-ticket strong { grid-column: 2; }

.event-logo {
  grid-column: 1;
  justify-self: center;
  display: block;
  width: 36px;
  height: 36px;
  margin: 0;
  background: var(--site-cream);
  -webkit-mask: url('/assets/charaselect/logos/charaselect.svg') center / contain no-repeat;
  mask: url('/assets/charaselect/logos/charaselect.svg') center / contain no-repeat;
}

.event-button:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.20), 0 6px 8px rgba(0,0,0,0.16);
}

.event-coming {
  min-height: 36px;
  padding: 6px 12px;
  margin-top: 10px;
  margin-bottom: -5px;
  cursor: default;
  color: var(--event-ink);
  background: transparent;
  border: 0;
  transform: translateY(5px);
}

.event-coming strong { color: rgba(101, 71, 63, .70); }
.event-coming:hover { box-shadow: none; }

#social { width: 100%; text-align: center; }

.social-link {
  display: inline-block;
  border-radius: 100px;
  color: var(--site-cream);
  margin: 0 5% 10px 5%;
  text-align: center;
  font-weight: bolder;
  font-size: 3rem;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.social-link:hover {
  text-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

#links > a > li {
  border-radius: 20px;
  width: 72%;
  padding: 10px;
  color: var(--site-ink);
  background: var(--site-cream);
  margin-bottom: 20px;
  text-align: center;
  font-weight: bolder;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

#links > a > li:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

i { font-size: inherit; text-align: inherit; }

@media (max-width: 420px) {
  #main { margin-top: 34px; }
  #events { width: 94%; }
  #links > a > li { width: 82%; }
}
