
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.25rem;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  background-color: #A6998A;
  font-family: "IM Fell French Canon", serif;
  font-weight: 400;
  font-style: normal;
  color: #f0e5d3;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

.content {
  width: 100%;  /* Adjust the width as needed */
  max-width: 1200px;  /* Prevent it from getting too wide on large screens */
  padding: 20px;
  box-sizing: border-box; /* Include padding in the width */
  text-align: left; /* Adjust text alignment */
  margin-top: 50px; /* Space to account for the fixed navbar */
  margin-left: auto; 
  margin-right: auto;
  font-size: 1.5rem;
  display: flex; 
  flex-direction: column; /* Stack content vertically */
  align-items: center;
}

p {
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
  padding: 20px;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 65px;
  padding: 1.5rem 3rem;
  background-color: #0D0D0D;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

nav a {
  font-weight: 200;
  text-decoration: none;
  color: #efefef;
  font-size: 1.33rem;
  padding: 0.5rem 1rem;
}

nav a:hover {
  color: #aacc83;
}

.hamburger {
  display: none;
  position: absolute;
  top: 1rem;
  right: 3rem;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  cursor: pointer;
}

.bar {
  width: 30px;
  height: 4px;
  background-color: #efefef;
  border-radius: 5px;
}

#animations {
  position: relative;
  width: 100vw;
  height: auto;  /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;  /* Keeps the video in the background */
}

video {
  width: 80vw;
  height: auto;
  border-radius: 25px;
  box-shadow: 1rem 1rem 1rem rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
  color: #ffffff;
  background-color: rgb(0, 0, 0);
  text-align: center;
  padding: 2em;
  width: relative; /* Ensure footer spans full width */
}

footer a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

/* Scroll Animation */
.reveal {
  position: relative;
  transform: translateY(100px);
  opacity: 0;
  transition: all 1s ease;
}

.reveal.active {
  transform: translateY(0);
  opacity: 1;
}

/* Desktop Styles */
@media only screen and (min-width: 768px) {
  nav {
    justify-content: space-between;
  }

  nav a {
    font-size: 1.5rem;
  }

  .hamburger {
    display: none; /* Hide hamburger on desktop */
  }

  .nav-logo {
    margin-right: 40px; /* Adjust as needed */
  }

  .nav-links {
    display: flex;
    justify-content: space-evenly; /* Space the links evenly across the navbar */
    width: 100%;
  }
}

/* Center content on smaller screens */
@media only screen and (max-width: 768px) {
  body {
    align-items: center; /* Centers content on mobile */
  }

  .content {
    width: 90%;  /* Make content container take more space on mobile */
    padding: 10px; /* Reduce padding */
    text-align: center; /* Center content text on mobile */
    margin-left: auto;  /* Center align */
    margin-right: auto;
    align-items: center;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    justify-content: space-between;
  }

  .hamburger {
    display: flex; /* Show hamburger on mobile */
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    right: 0;
    background-color: rgba(21, 21, 21, 1);
    width: 100%;
    text-align: center;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.5rem;
    padding: 1rem 0;
  }
}

/* For Mobile Devices */
@media only screen and (max-width: 480px) {
  nav {
      grid-template-columns: 1fr;
      padding: 1rem;
  }

  .navbar-toggle {
      display: block;
  }

  .navbar-menu {
      display: none;
  }

  .navbar-menu.active {
      display: block;
  }
  
}
