* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Regular';
  src: url('../fonts/raleway.medium.ttf');
}

@font-face {
  font-family: 'Medium';
  src: url('../fonts/raleway.bold.ttf');
}

@font-face {
  font-family: 'Bold';
  src: url('../fonts/raleway.heavy.ttf');
}

body {
  font-family: 'Regular';
  line-height: 1.6;
  color: #282560;
  background-color: #fff;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: transparent;
  color: #282560;
  padding: 0.5em 0;
  transition: background-color 0.3s, position 0.3s;
  z-index: 1000;
}

header.scrolled {
  background-color: white;
  position: fixed;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2em;
}

.logo img {
  width: 23%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #282560;
  font-size: 2em;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.6em;
}

.nav-links li {
  font-family: 'Bold';
  letter-spacing: 0.1em;
}

.nav-links a {
  text-decoration: none;
  color: #282560;
  font-size: 1em;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 0.5em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #DE4935;
  transition: width 0.3s ease, visibility 0.3s;
  visibility: hidden;
}

.nav-links a:hover::after {
  width: 100%;
  visibility: visible;
}

.join-contact-section {
  background-color: #fff;
  text-align: center;
  padding: 1em;
}

.quote {
  width: 100%;
  height: auto;
  padding: 2em 1em;
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 90px;
}

.quote p {
  width: 70%;
  font-size: 1.8em;
  font-family: 'Medium';
  color: #bababa;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.1em;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 2em auto;
  gap: 2em;
  flex-wrap: wrap;
}

.text-content {
  width: 100%;
  max-width: 600px;
  text-align: left;
  margin-bottom: 2em;
}

.text-content h4 {
  font-family: 'Regular';
  font-size: 0.8em;
  color: #bababa;
  margin-bottom: 0.8em;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.text-content h1 {
  font-family: 'Medium';
  font-size: 2em;
  line-height: 1.3em;
  color: #282560;
  margin-bottom: 1em;
}

.text-content p {
  font-size: 1em;
  font-family: 'Regular';
  color: #bababa;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.fa {
  padding: 15px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
}

.fa:hover {
  opacity: 0.7;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-twitter {
  background: #55ACEE;
  color: white;
}

.fa-instagram {
  background: #125688;
  color: white;
}

.form-section {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.form-section h2 {
  font-family: 'Medium';
  font-size: 1.8em;
  color: #282560;
  margin-bottom: 1em;
}

.form-section label {
  font-family: 'Regular';
  display: block;
  font-weight: bold;
  color: #bababa;
  margin-bottom: 5px;
  text-align: left;
}

.form-section input[type="text"],
.form-section input[type="email"],
.form-section textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  font-size: 16px;
}

.form-section button {
  padding: 0.75em 1em;
  background-color: #DE4935;
  color: white;
  font-size: 1em;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  font-family: 'Medium';
  letter-spacing: 0.2em;
  margin-top: 20px;
  width: 100%;
}

.form-section button:hover {
  background-color: #1f1f3e;
}


footer {
  background-color: #0A1F44;
  color: white;
  text-align: center;
  padding: 1em 0;
  font-family: 'Medium';
  letter-spacing: 0.2em;
}
@media (max-width: 768px) {
  header {
      position: fixed;
      background-color: white;
  }

  .hamburger {
      display: block;
  }

  .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      position: absolute;
      top: 60px; /* Adjust based on header height */
      left: 0;
      background-color: white;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .nav-links.active {
      display: flex;
  }

  .nav-links li {
      margin-left: 0;
      margin-bottom: 1em;
      padding: 1em;
      text-align: center;
  }
  .logo img {
      width: 25%;
  }

  .slide h1 {
      font-size: 1.2em; 
  }

  .slide p {
      font-size: 0.6em; 
  }

  .slide {
      padding-left: 16px; 
  }
  .hero{
      margin-top: 5rem;
  }
  .hockey-heading{
      font-size: 0.6em; 
  }
  .about-container{
      display: flex;
      flex-direction: column;
  }
  .event-container{
      display: flex;
      flex-direction: column;
  }
  .wrapper-class{
      justify-content: center;
      align-items: center;
      display: flex;
      flex-direction: column;
      max-width: 90vw;
      position: relative;
      left: 1.4rem;
  }
  .orange-container{
      font-size: 0.8em; 
  }

  .slide button {
      padding: 0.5em 1em; 
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  header {
      position: fixed;
      background-color: white;
  }

  .hamburger {
      display: block;
  }

  .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      position: absolute;
      top: 60px;
      left: 0;
      background-color: white;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      gap: 0em;
  }

  .nav-links.active {
      display: flex;
  }

  .nav-links li {
      margin-left: 0;
      margin-bottom: 1em;
      padding: 1em;
      text-align: center;
  }

  .logo img {
      width: 25%;
  }

  .slide h1 {
      font-size: 1.2em; 
  }

  .slide p {
      font-size: 0.6em; 
  }

  .slide {
      padding-left: 16px; 
  }
  .hero{
      margin-top: 5rem;
  }
  .hockey-heading{
      font-size: 0.6em; 
  }
  .about-container{
      display: flex;
      flex-direction: column;
  }
  .event-container{
      display: flex;
      flex-direction: column;
  }
  .wrapper-class{
      justify-content: center;
      align-items: center;
      display: flex;
      flex-direction: column;
      max-width: 90vw;
      position: relative;
      left: 1.4rem;
  }
  .orange-container{
      font-size: 0.8em; 
  }
  footer {
    background-color: #0A1F44;
    color: white;
    text-align: center;
    padding: 1em 0;
    font-family: 'Medium';
    letter-spacing: 0.2em;
    bottom: 0;
    font-size: 0.5em;
}
}
