/* General reset and styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Bebas Neue', sans-serif;
  color: #ffffff;
  overflow-x: hidden;
  background-color: #000000;
}

header {
  position: absolute;
  width: 100%;
  z-index: 10;
}

.hidden {
  display: none;
}

/* Main container styles */
#main-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
}

.logo {
  width: 50%;
  display: inline-block;
}

.content-box {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  max-width: 600px;
  padding: 1rem;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 1rem;
  text-align: center;
}

.resource-content-box {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  max-width: 600px;
  padding: 1rem;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 1rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.resource-logo {
  width: 100%;
  max-width: 200px;
  margin-bottom: 1rem;
}

.resource-link,
#contact-box a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}

.resource-link:hover,
#contact-box a:hover {
  opacity: 0.5;
  text-decoration: underline;
}

/* Navigation styles */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0.5rem 2rem;
  border-radius: 8px;
}

.nav-link {
  font-family: 'Bebas Neue', sans-serif;
  background-color: transparent;
  color: #ffffff;
  font-size: clamp(1.2rem, 1.5vw, 2rem);
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  border: none;
  outline: none;
  background: none;
  padding-left: 1rem;
  padding-right: 1rem;
  position: relative;
}

.nav-link:hover {
  opacity: 0.5;
  text-decoration: underline;
}

.circle-divider {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #ffffff;
  margin: 0;
  vertical-align: middle;
}

/* Social media icon styles */
.social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  transition: 0.3s;
  font-size: 32px;
}

.social-icon:hover {
  opacity: 0.5;
}

/* Background styles */
#background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: #000000;
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Responsive styles */
@media (max-width: 767px) {
  .logo {
    width: 90%;
  }

  .content-box {
    width: 90%;
    max-width: 90%;
  }

  .resource-content-box {
    width: 90%;
    max-width: 90%;
  }

  .resource-logo {
    width: 80%;
    max-width: 80%;
  }

  .nav-link {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
  }

  #main-container {
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
  }

  #background-container {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background-color: #000000;
  }

  #overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }

  #bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }
}
