@import url('https://fonts.googleapis.com/css2?family=Comic+Relief:wght@400;700&display=swap');
:root {
  --primary: #ecf0f1;
  --accent: #e74c3c;
  --section-bg: #1e1e1e;
}

@font-face {
    font-family: trakr;
    src: url(ComicRelief-Regular.ttf);
  }
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: trakr;
}
html, body {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  overflow-y: scroll;
  background: url('trakr.png') center/cover fixed;
  color: var(--primary);
}
body {
  scroll-snap-type: y mandatory;
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 1);
  z-index: 1000;
}
.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.poster {
    width: 400px;
    border-radius: 10px;
    border: 5px solid;
    border-color: #ffe600;
}

.trakr {
    width: 300px;
    border-radius: 360px;
    border: 10px solid;
    border-color: #1e1e1e;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links li a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}
header.hero,
section.slide,
.footer-slide {
  height: 100vh;
  scroll-snap-align: start;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
}
header.hero .hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
header.hero .hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.btn {
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
}
.slide h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.slide p {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 1.5rem;
}
#contact form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
#contact input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--primary);
  border-radius: 5px;
  background: transparent;
  color: var(--primary);
}
#contact button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
}
.footer-slide p {
  font-size: 1rem;
}
footer a {
  color: var(--accent);
  text-decoration: none;
}
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    width: 200px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 1rem;
  }
  .nav-links.open {
    transform: translateX(0);
  }

  .slide p {
    font-size: 0.9rem;
    max-width: 600px;
    margin-bottom: 1.5rem;
  }

  .hamburger {
    display: block;
  }
  .poster {
    width: 300px;
  }
}