/* Theme Variables */
:root {
  --primary-bg: #141414;
  --primary-accent: #ffdc31;
  --primary-text: #ffffff;
  --button-hover: #e6c700;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Outfit", sans-serif;
  scroll-behavior: smooth;
}

.navbar {
  background: var(--primary-bg);
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar__container {
  display: flex;
  justify-content: space-between;
  height: 80px;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 50px;
  padding-left: 50px;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fas.fa-terminal {
  margin-right: 0.5rem;
  animation: blink 1s linear infinite;
  color: white;
}

#navbar__logo {
  background-color: #ff8177;
  background-image: linear-gradient(
    to top,
    #eeee0f 0%,
    #ffdc31 100%
  );
  background-size: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 2rem;
}

#navbar__logo span {
  background-color: #ff8177;
  background-image: linear-gradient(
    to top,
    #eeee0f 0%,
    #ffdc31 100%
  );
  background-size: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

.navbar__menu {
  display: flex;
  align-items: center;
  list-style: none;
  text-align: center;
}

.navbar__item {
  height: 80px;
}

.navbar__links,
.footer__link--items a,
.social__icon--link,
.social__logo,
.website__rights,
#footer__logo {
  color: var(--primary-text);
}

.navbar__links {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 1rem;
  height: 100%;
  white-space: nowrap;
}

.navbar__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  width: 100%;
}

.button,
.main__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  padding: 10px 20px;
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  border-radius: 4px;
  background-color: var(--primary-accent);
  color: #000;
}

.button:hover,
.main__btn:after {
  background-color: var(--button-hover);
  transition: all 0.3s ease;
}

.navbar__links:hover,
.footer__link--items a:hover {
  color: var(--button-hover);
  transition: all 0.3s ease;
}

@media screen and (max-width: 960px) {
  .navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0;
  }

  .navbar__menu {
    display: grid;
    grid-template-columns: auto;
    margin: 0;
    width: 100%;
    position: absolute;
    top: -1000px;
    opacity: 1;
    transition: all 0.5s ease;
    height: 50vh;
    z-index: -1;
  }

  .navbar__menu.active {
    background: #131313;
    top: 100%;
    opacity: 1;
    transition: all 0.5s ease;
    z-index: 99;
    height: 55vh;
    font-size: 1.6rem;
  }

  #navbar__logo {
    padding-left: 25px;
  }

  .navbar__toggle .bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background: #fff;
  }

  .navbar__item {
    width: 100%;
  }

  .navbar__links {
    text-align: center;
    padding: 2rem;
    width: 100%;
    display: table;
  }

  .navbar__btn {
    padding-bottom: 3rem;
  }

  .button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 80px;
    margin: 0;
  }

  #mobile-menu {
    position: absolute;
    top: 20%;
    right: 5%;
    transform: translate(5%, 20%);
  }

  .navbar__toggle .bar {
    display: block;
    cursor: pointer;
  }

  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Scroll Bar CSS */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(
    to right,
    #8e6d00 0%,
    #eeee0f 80%,
    #ffdc31 100%
  );
  z-index: 9999;
}

/* Main Content CSS */
.main {
  background-color: #141414;
}

.main__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-self: center;
  margin: 0 auto;
  height: 45vh;
  background-color: #141414;
  z-index: 1;
  max-width: 1300px;
  padding-right: 50px;
  padding-left: 50px;
}

.main__content {
  color: #fff;
  width: 100%;
}

.main__content h1 {
  font-size: 4rem;
  background-color: #ff8177;
  background-image: linear-gradient(
    to top,
    #8e6d00 0%,
    #eeee0f 80%,
    #ffdc31 100%
  );
  background-size: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

.main__content h2 {
  font-size: 4rem;
  margin-top: 10px;
  background-color: #ff8177;
  background-image: linear-gradient(-20deg, #eeee0f 0%, rgb(255, 255, 110) 100%);
  background-size: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}



.main__content p {
  margin-top: 1rem;
  font-size: 2rem;
  font-weight: 700;
}

.main__btn {
  font-size: 1rem;
  background-color: var(--primary-accent);
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  color: #000;
  margin-top: 2rem;
  cursor: pointer;
  position: relative;
  transition: all 0.35s;
  outline: none;
}

.main__btn a {
  position: relative;
  z-index: 2;
  color: #000;
  text-decoration: none;
}

.main__btn:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--button-hover);
  transition: all 0.35s;
  border-radius: 4px;
}

.main__btn:hover {
  color: #000;
}

.main__btn:hover:after {
  width: 100%;
}

.main__img--container {
  text-align: center;
}

#main__img {
  height: 80%;
  width: 80%;
  border-radius: 10px;
  filter: drop-shadow(0 0 4px white);
}

/* Discord Section */
.discord {
  background-color: #141414;
  padding: 40px;
  color: var(--primary-text);
  background-color: var(--primary-bg);
}

/* YouTube Section */
#youtube-section {
  padding: 40px;
  color: var(--primary-text);
  background-color: var(--primary-bg);
}

#youtube-section h2 {
  font-size: 4rem;
  margin-top: 10px;
  background-color: #ff8177;
  background-image: linear-gradient(-20deg, #eeee0f 0%, rgb(255, 255, 110) 100%);
  background-size: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  margin-bottom: 20px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.video-card {
  background-color: #1e1e1e;
  padding: 10px;
  box-shadow: 0 0 4px 2px var(--primary-accent);
  border: none;
  border-radius: 8px;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .main__container {
    display: grid;
    grid-template-columns: auto;
    align-items: center;
    justify-self: center;
    width: 60%;
    margin: 0 auto;
    height: 40vh;
  }

  .main__content {
    text-align: center;
    margin-bottom: 4rem;
  }

  .main__content h1 {
    font-size: 2.5rem;
    margin-top: 2rem;
  }

  .main__content h2 {
    font-size: 3rem;
  }

  .main__content p {
    margin-top: 1rem;
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .main__container {
    height: 30vh;
  }
  
  .main__content h1 {
    font-size: 2.5rem;
    margin-top: 3rem;
  }

  .main__content h2 {
    font-size: 3rem;
  }

  .main__content p {
    margin-top: 2rem;
    font-size: 1.5rem;
  }

  .main__btn {
    padding: 12px 36px;
    margin: 2.5rem 0;
  }
}

/* Services Section CSS */
.services {
  background: #141414;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
}

.services h1 {
  background-color: #ff8177;
  background-image: linear-gradient(
    to right,
    #8e6d00 0%,
    #eeee0f 80%,
    #ffdc31 100%
  );
  background-size: 100%;
  margin-bottom: 4rem;
  font-size: 2.5rem;
  -webkit-background-clip: text;
  background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  text-align: center;
}

.services__container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.editing__card {
  margin: 1rem;
  height: 525px;
  width: 400px;
  border-radius: 8px;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(17, 17, 17, 0.6) 100%
    ),
    url("/images/timeline.png");
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

.twiviabot__card {
  margin: 1rem;
  height: 525px;
  width: 400px;
  border-radius: 8px;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(17, 17, 17, 0.6) 100%
    ),
    url("/images/twiviabot.png");
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

.services h2 {
  position: absolute;
  top: 350px;
  left: 30px;
  text-shadow: 0 0 10px #141414, 0 0 20px #e9e9e9, 0 0 30px #e9e9e9,
    0 0 40px #e9e9e9;
}

.services__card p {
  position: absolute;
  top: 400px;
  left: 30px;
  text-shadow: 0 0 10px #141414, 0 0 20px #141414, 0 0 30px #141414,
    0 0 40px #141414;
}

.services__card button {
  color: #000;
  padding: 10px 20px;
  border: none;
  outline: none;
  border-radius: 4px;
  background: var(--primary-accent);
  position: absolute;
  top: 440px;
  left: 30px;
  font-size: 1rem;
  cursor: pointer;
}

.services__card:hover {
  transform: scale(1.075);
  transition: 0.2s ease-in;
  cursor: pointer;
}

.twiviabot__card:hover {
  box-shadow: 0 0 10px 3px #0098b0;
  transition: 0.2s ease-in;
}

.editing__card:hover {
  box-shadow: 0 0 10px 3px #0098b0;
  transition: 0.2s ease-in;
}

@media screen and (max-width: 960px) {
  .services {
    height: 150vh;
  }

  .services h1 {
    font-size: 2rem;
    margin-top: 6rem;
  }
}

@media screen and (max-width: 480px) {
  .services {
    height: 150vh;
  }

  .services h1 {
    font-size: 2rem;
    margin: 15px;
  }

  .services__card {
    width: 300px;
  }

  .twiviabot__card {
    width: 300px;
  }

  .editing__card {
    width: 300px;
  }
}

/* Footer CSS */

.footer__container {
  background-color: #141414;
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#footer__logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 2rem;
}

.footer__links {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
}

.footer__link--wrapper {
  display: flex;
}

.footer__link--items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 16px;
  text-align: left;
  width: 160px;
  box-sizing: border-box;
}

.footer__link--items h2 {
  margin-bottom: 16px;
}

.footer__link--items > h2 {
  color: #fff;
}

.footer__link--items a {
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer__link--items a:hover {
  transition: 0.3s ease-out;
}

/* Social Icons */
.social__icon--link {
  font-size: 24px;
}

.social__media {
  max-width: 1000px;
  width: 100%;
}

.social__media--wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1000px;
  margin: 40px auto 0 auto;
}

.social__icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 240px;
}

.social__logo {
  justify-self: flex-start;
  margin-left: 20px;
  cursor: pointer;
  text-decoration: none;
  font-size: 2rem;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.website__rights {
}

@media screen and (max-width: 820px) {
  .footer__links {
    padding-top: 2rem;
  }

  #footer__logo {
    margin-bottom: 2rem;
  }

  .website__rights {
    margin-bottom: 2rem;
  }

  .footer__link--wrapper {
    flex-direction: column;
  }

  .social__media--wrap {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  .footer__link--items {
    margin: 0;
    padding: 10px;
    width: 100%;
  }
}

/* Video Page */

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* This ensures the video is always beneath your page content */
}

.video-background video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.coming-soon {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 0 10px #141414, 0 0 20px #e9e9e9, 0 0 30px #e9e9e9,
    0 0 40px #e9e9e9;
}

.temp__filler {
  height: 800px;
  background-color: #191919;
}

/* TwiviaBot Page */

#markdown__content {
  padding: 50px;
  text-decoration: none;
  color: #fff;
  background-color: #141414;
  width: 100%;
  max-width: 1300px;
}

#twiviabot {
  margin-bottom: 10px;
  background-color: #ff8177;
  background-image: linear-gradient(to top, #74ed69 0%, #35b9ea 100%);
  background-size: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

#commands {
  margin-top: 20px;
  margin-bottom: 10px;
  text-decoration: underline;
}

#resources {
  margin-top: 20px;
  margin-bottom: 10px;
  text-decoration: underline;
}

#markdown__content li {
  list-style: none;
  margin-top: 5px;
  margin-left: 10px;
}

#markdown__content a {
  text-decoration: none;
  color: #00afb9;
}

#markdown__content h3 {
  text-decoration: none;
  margin-top: 20px;
}

#markdown__content ul {
  margin-top: 10px;
}

.markdown__container {
  display: flex;
  align-items: center;
  justify-self: center;
  justify-content: center;
  margin: 0 auto;
  background-color: #141414;
  z-index: 1;
  width: 100%;
  padding-right: 50px;
  padding-left: 50px;
}

#markdown__content pre {
  margin: 20px;
}

#markdown__content code {
  color: #bbbbbb;
  background-color: #191919;
  font-variant: small-caps;
  padding: 3px;
}

.markdown__container img {
  margin-top: 15px;
  width: 100%;
  max-width: 500px;
  height: 70%;
}

#markdown__content strong {
  text-decoration: underline;
}

@media screen and (max-width: 960px) {
  .markdown__container {
    padding-left: 10px;
    padding-right: 10px;
    transition: 0.2s ease-in;
  }
}

@media screen and (max-width: 480px) {
  .markdown__container {
    padding-left: 5px;
    padding-right: 5px;
    transition: 0.2s ease-in;
  }
}

/* Contact Page CSS */
.contact {
  background: #141414;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 70vh;
}

.contact h1 {
  background-color: #ff8177;
  background-image: linear-gradient(
    to right,
    #8e6d00 0%,
    #eeee0f 80%,
    #ffdc31 100%
  );
  background-size: 100%;
  margin-top: 4rem;
  margin-bottom: 4rem;
  font-size: 2.5rem;
  -webkit-background-clip: text;
  background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  text-align: center;
}

.contacts__container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.contact__card {
  margin: 1.5rem;
  height: 150px;
  width: 150px;
  border-radius: 33px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

.contact__card:hover {
  box-shadow: 0 0 10px 3px #ffdc31;
  transform: scale(1.075);
  transition: 0.3s ease-in;
  cursor: pointer;
}

@media screen and (max-width: 960px) {
  .contact {
    height: 70vh;
  }

  .contact h1 {
    font-size: 2.5rem;
    margin-top: 4rem;
    padding: 25px;
  }

  .contact__card {
    height: 140px;
    width: 140px;
  }
}

@media screen and (max-width: 480px) {
  .contact {
    height: 60vh;
  }

  .contact h1 {
    font-size: 2rem;
    margin: 15px;
  }

  .contact__card {
    height: 130px;
    width: 130px;
  }
}

/* 404 Page CSS */
.error-page {
  background-color: #141414;
  text-align: center;
  padding-top: 50px;
  height: 100vh; /* Set the height to 100% of the viewport height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-page h1 {
  font-size: 60px;
  background-image: linear-gradient( to left, #7fc4b8 0%, #00afb9 0%, #00a4b5 21%, #0098b0 52%, #0081a7 78%, #005866 100% );
  background-size: 100%;
  margin-bottom: 4rem;
  -webkit-background-clip: text;
  background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

.error-page p {
  color: #0098b0;
  margin-bottom: 1rem;
}

.error-page a {
  color: #0098b0;
  text-decoration: none;
}

/* YouTube CTA Section */
.youtube-cta {
  margin-top: 30px;
  text-align: center;
}

.youtube-cta h3 {
  font-size: 2rem;
  background-color: #ff8177;
  background-image: linear-gradient(
    to top,
    #8e6d00 0%,
    #eeee0f 80%,
    #ffdc31 100%
  );
  background-size: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  margin-bottom: 20px;
  font-weight: 700;
}

.youtube-cta .button {
  display: inline-block;
  padding: 12px 36px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  color: #000;
  background-color: var(--primary-accent);
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.youtube-cta .button:hover {
  background-color: var(--button-hover);
  color: #000;
}
#navbar__logo img {
  height: 72px;
  vertical-align: middle;
  filter: drop-shadow(0 0 4px white);
  margin-right: 8px;
}