* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Work Sans', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 1rem;
  background-color: #f2f2f2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

.logo {
  max-width: 250px;
  height: auto;
}

.hamburger {
  display: none;
  cursor: pointer;
  right: 1rem;
  top: 1rem;
  z-index: 100;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.top-menu {
  margin-top: 1rem;
}

.top-menu ul {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-menu li {
  margin: 0 0.5rem;
}

.top-menu a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
}

.top-menu a:hover {
  color: #007bff;
}

main {
  flex: 1;
}

.vid {
  width: 100%;
  height: calc(100vh - 50px); /* Video height fills the screen minus the footer height */
  object-fit: cover;
}

footer {
  background-color: #f2f2f2;
  padding: 10px;
  text-align: center;
  position: fixed;
  bottom: 0;
  padding-top: 0px;
  width: 100%;
  height: 50px;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  header {
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .hamburger {
    display: block;
  }

  .top-menu {
    position: fixed;
    right: -100%;
    top: 0;
    width: 100%;
    height: 35vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    transition: right 0.3s ease;
    z-index: 99;
  }

  .top-menu.active {
    right: 0;
  }

  .top-menu ul {
    flex-direction: column;
  }

  .top-menu li {
    margin: 1rem 0;
  }
}

@media screen and (min-width: 769px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .top-menu {
    margin-top: 0;
  }
}