:root {
  --primary: #66a7c5;
  --secondary: #000000;
  --primary-text: #000000;
  --secondary-text: #ffffff;

  --tidal: #000000;
  --khinsider: #66a7c5;
  --qobuz: #000000;
  --text-light: #ffffff;
  --text-dark: #000000;
  --underline-height: 3px;
  --transition: all 0.3s ease;
}

html {
  font-family: 'Inter', sans-serif;
}

html,
body {
  min-height: 100vh;
}

html,
body,
main,
footer {
  width: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.service-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
  text-decoration: none;

  .arrow {
    text-decoration: none;
  }

  .link-text {
    text-decoration: underline;
  }
}
.description {
  margin: 15px;
}
.service-links a {
  color: inherit;
  font-weight: 600;
  font-size: 18px;
  position: relative;
  display: flex;
  align-items: center;
}

.link-text {
  position: relative;
  padding-bottom: 6px;
}

.link-text::before {
  content: '';

  left: 0;
  bottom: 0;
  width: 100%;
  height: var(--underline-height);
  background: currentColor;
  opacity: 0.3;
  border-radius: 2px;
  transition: var(--transition);
}

.service-links a:hover .link-text::before {
  opacity: 1;
  height: 5px;
}

.arrow {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 14px;
  margin-left: 8px;
  opacity: 0;
  transform: translateX(-5px);
  transition: var(--transition);
}
.service-links a:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

.bottom-links {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bottom-links a {
  color: inherit;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto;
}
.bottom-links a::before {
  font-size: 16px;
}

.bottom-links.discord a::before {
  font-family: 'Font Awesome 6 Brands';
  content: '\f392';
}

.bottom-links.status a::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  content: '\f0e7';
}

.bottom-links.donate a::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  content: '\f004';
}

.bottom-links a:hover::after {
  opacity: 1;
  height: 2.5px;
}

.bottom-links a:hover {
  text-decoration: underline;
}

main {
  flex: 1;
  display: flex;
  align-items: stretch;

  .content {
    overflow: hidden;
    width: 100%;
    display: flex;

    .app {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 40px 20px;
      box-sizing: border-box;
    }
  }
}

footer {
  display: flex;
  height: 50px;

  .bottom-links {
    flex: 1;
  }
}

footer .bottom-links:nth-child(even),
main .app:nth-child(even) {
  background: var(--primary);
  color: var(--primary-text);
}

footer .bottom-links:nth-child(odd),
main .app:nth-child(odd) {
  background: var(--secondary);
  color: var(--secondary-text);
}

@media (max-width: 768px) {
  main {
    .content {
      flex-direction: column;
      overflow: auto;
    }
  }

  footer .bottom-links:nth-child(even) {
    background: var(--secondary);
    color: var(--secondary-text);
  }

  footer .bottom-links:nth-child(odd) {
    background: var(--primary);
    color: var(--primary-text);
  }
}
