@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

* {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  font-style: normal;
}

body {
    scroll-behavior: smooth;
    background-image: url('./assets/images/bg.png');
}

/* HERO */

header {
  width: 100%;
  height: 100vh;
  position: relative;
}

header video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  overflow: hidden;
}

header .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center horizontally and vertically */
    color: rgb(255, 255, 255); /* Or your desired text color */
    text-align: center;
    z-index: 1; /* Ensure text appears above the video */
  }

/* NAVBAR */
#navbar {
    position: sticky;
    padding: 20px;
    top: 0;
    overflow: hidden;
    background-color: #252424;
    z-index: 5;
  }

/* NAVBAR ICON */
#navicon {
  width: 40%;
  height: 40%;
  position: absolute;
  left: 50%;
  top: 7px;
  content: "";
  margin-left: -50px;
  margin-right: 50px;
}
/* MOBILE */
@media screen and (max-width:850px) {
  #navicon {display:none}
  #navbar a {font-size: 20px; padding: -5px;}
  .leftbtn {padding: -700px; float: center; justify-content: center;}
}

@media screen and (max-width:400px) {
  #navicon {display:none}
  #navbar a {font-size: 13px; padding: -5px; float: center; justify-content: center; margin-right: 1px; margin-left: 25px;}
  .leftbtn {padding: 10px; float: center; justify-content: center; margin-left: -20px; margin-right: 100px;}
}

.border {
  border-radius: 50%;
}
  
/* NAVBAR LINKS */
#navbar a {
    float: left;
    display: block;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    text-indent: 1%;
  }
  
#navbar a:hover {
    text-decoration: underline;
}

.leftbtn {
  float: right;
  display: block;
}
.leftbtn:hover {
  color: #000000;
}

/* NAVBAR MOBILE (hamburger) */
.navbar-toggle {
  display: none;
  background-color: #1e1e1e;
  color: #ffffff;
  border: none;
  font-size: 1rem;
  font-family: Bebas Neue;
  padding: 1rem;
  border-radius: 0;
  width: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 2;
  text-align: center;
  position: sticky;
  top: 0;
}

/* RESPONSIVE */
@media screen and (max-width: 850px) {
  .navbar-toggle {
    display: block;
    position: sticky;
    top: 0;
    z-index: 3;
  }

  #navbar {
    position: sticky;
    top: 3.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #252424;
    overflow: hidden;
    max-height: 0;
    padding: 0;
    border: none;
    transition: max-height 0.4s ease, padding 0.3s ease;
    z-index: 999;
  }

  #navbar.show {
    max-height: 500px;
    padding: 1rem 0;
  }

  #navicon {
    display: none;
  }

  #navbar a {
    width: 100%;
    text-align: center;
    margin: 0.3rem 0;
  }

  .leftbtn {
    display: flex;
    justify-content: center;
    margin: 0.3rem 0;
  }

  .leftbtn a {
    display: inline-block;
    min-width: 120px;
    max-width: 200px;
    width: auto;
    padding: 0.5rem 1.2rem;
    text-align: center;
  }

  #navbar:not(.show) .leftbtn {
    display: none;
  }
}

/* PAGE CONTENT */
.page-content {
  padding: 16px;
  background-image: url('/assets/images/bg.png');
  background-size: 300px;
  background-repeat: repeat;
  background-position: center;
  background-blend-mode: darken;
  background-color: rgba(0, 0, 0, 0.781);
}

/* FOOTER */

.bottom-link {
  text-decoration: none;
  color:#b4b4b4
}

.bottom-link:hover {
  text-decoration: underline;
  color:#e4e4e4
}

.social-img {
  width: 24px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.socials a:hover .social-img {
  transform: scale(1.2) rotate(5deg);
  filter: brightness(1.3);
}

/* DOCS */
.doc-container {
  display: flex;
  width: 100%;
  min-height: 100vh;
  background-color: #121212;
  color: #eee;
  border-radius: 15px;
}

/* SIDEBAR PHONE */
.sidebar-toggle {
  display: none;
  background: #1e1e1e;
  color: #50c8ff;
  padding: 0.5rem 1rem;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 8px;
  position: fixed;
  top: 3.6rem; 
  left: 1rem;
  z-index: 1; 
}

.sidebar-toggle.hide {
  display: none !important;
}

.doc-sidebar {
  width: 240px;
  background-color: #1e1e1e;
  padding: 1rem;
  border-right: 1px solid #333;
  position: sticky;
  top: 5rem;
  align-self: flex-start;
  height: 100vh;
  overflow-y: auto;
  border-radius: 15px;
  transition: transform 0.3s ease;
  z-index: 2;
}

.doc-sidebar h2 {
  font-size: 1.2rem;
  color: #50c8ff;
  margin-bottom: 1rem;
}

.doc-nav {
  list-style: none;
  padding-left: 0;
}

.doc-nav li {
  margin-bottom: 0.5rem;
}

.doc-nav a {
  color: #ccc;
  text-decoration: none;
  display: block;
  padding: 0.3rem 0;
  transition: all 0.2s;
}

.doc-nav a:hover {
  color: #eb811e;
  transform: translateX(4px);
}

/* MOBILE DOCS */
@media (max-width: 1142px) {
  .sidebar-toggle {
    display: block;
  }

  .doc-sidebar {
    position: fixed;
    top: 3.4rem;
    left: 0;
    height: calc(104vh - 4.5rem);
    transform: translateX(-100%);
    border-radius: 0;
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);
  }

  .doc-sidebar.open {
    transform: translateX(0);
  }
}

.doc-content {
  flex-grow: 1;
  padding: 2rem;
  overflow-y: auto;
}

.doc-content h1,
.doc-content h2{
  color: #eb811e;
}

.doc-content h3{
  color: #f05b21;
}

.doc-content img {
  max-width: 100%;
  border-radius: 6px;
  margin: 1rem 0;
}

.doc-content.empty {
  background: url('/assets/images/DocBG.jpg') center center no-repeat;
  background-size: cover;
  background-blend-mode: overlay;
  opacity: 0.9;
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
}

.doc-content.empty p {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 600;
  max-width: 1000px;
  background-color: #0000005e;
  border-radius: 15px;
  padding: 2rem;
  padding-top: 5px;
  text-align: center;
  margin: auto;
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .doc-content.empty {
    background-position: center;
    padding: 1.5rem;
  }

  .doc-content.empty p {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .doc-content.empty {
    padding: 1rem;
  }

  .doc-content.empty p {
    font-size: 25px;
  }
}

/* DOC FONT */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

.titillium-web-extralight {
  font-family: "Titillium Web", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.titillium-web-light {
  font-family: "Titillium Web", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.titillium-web-regular {
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.titillium-web-semibold {
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.titillium-web-bold {
  font-family: "Titillium Web", sans-serif;
  font-weight: 1000;
  font-style: normal;
}

.titillium-web-black {
  font-family: "Titillium Web", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.titillium-web-extralight-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.titillium-web-light-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.titillium-web-regular-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.titillium-web-semibold-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.titillium-web-bold-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 700;
  font-style: italic;
}

/* CREDITS (SPECIAL THANKS) */
.user-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.user-card {
  display: flex;
  align-items: center;
  background-color: #2b2b2b;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: #ddd;
  width: 500px;
}

.user-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.8rem;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: bold;
  font-size: 1rem;
}

.user-description {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .user-card {
    width: 380px;
  }
}

@media (max-width: 388px) {
  .user-card {
    width: 230px;
  }
  .user-name {
    font-size: 12px;
  }
  .user-description {
    font-size: 12px;
  }
}