@font-face {
  font-family: 'Phantom Sans';
  src:
    url('https://assets.hackclub.com/fonts/Phantom_Sans_0.7/Regular.woff') format('woff'),
    url('https://assets.hackclub.com/fonts/Phantom_Sans_0.7/Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Phantom Sans';
  src:
    url('https://assets.hackclub.com/fonts/Phantom_Sans_0.7/Italic.woff') format('woff'),
    url('https://assets.hackclub.com/fonts/Phantom_Sans_0.7/Italic.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Phantom Sans';
  src:
    url('https://assets.hackclub.com/fonts/Phantom_Sans_0.7/Bold.woff') format('woff'),
    url('https://assets.hackclub.com/fonts/Phantom_Sans_0.7/Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
body {
  margin: 0;
  font-family: 'Phantom Sans', 'Inter', Arial, sans-serif;
  background: #17171d;
  color: white;
}

a {
  color: #5bc0de;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #252429;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav h2 {
  color: #ec3750;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 30px;
  width: 30px;
}

.nav a {
  color: #8492a6;
  margin-left: 20px;
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover {
  color: white;
}

.hero {
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  color: white;
}

.hero p {
  color: #8492a6;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 10px auto 0;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  background: #ec3750;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  margin: 20px 8px 0;
  transition: padding 0.2s, background 0.2s;
}

.btn:hover {
  padding: 16px 34px;
  background: #d62f45;
}

.center {
  text-align: center;
}

.container {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

.container a {
  color: #338eda;
}

.list li {
  margin: 10px 0;
  /* color: #8492a6; */
}

.list li strong {
  color: white;
  font-size: 110%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 30px;
}

.card, .tile {
  background: #252429;
  border: 1px solid #3c3b42;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  transition: padding 0.2s, margin 0.2s;
}

.card, .img {
  padding: 20px;
}

.tile {
  padding: 0;
}

.tile iframe {
  width: 100%;
  height: 180px;
  border: none;
}

.tile img {
  width: 100%;
}

.card:hover, .tile:hover {
  padding-top: 24px;
  padding-bottom: 24px;
  margin-top: -4px;
  margin-bottom: -4px;
  border-color: #ec3750;
}

.tile:hover {
  padding-top: 4px;
  padding-bottom: 4px;
}

.tile p {
  padding: 10px;
  color: #8492a6;
}

.tile {
  color: white;
  text-decoration: none;
}

h1, h2, h3 {
  color: white;
  text-align: center;
}

footer {
  text-align: center;
  padding: 20px;
  color: white;
  width: 100%;
}

footer img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
  position: absolute;
  left: 0;
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    align-items: center;
  }
}
