/* Styling for everything else not specified*/
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
          margin: 0;
          padding: 0;
          font-family: 'Kumbh Sans', sans-serif;
}

/* General styling for main section as inherited by base_generic.html */
.main {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  }

/* Navigation*/
.navbar {
  background: #131313;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  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;
}

#navbar__logo {
  color: #8F0;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 1.1rem;
}

.fa-gem {
  margin-right: 0.5rem;
}

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

.navbar__item {
  height: 80px;
}

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

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

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  padding: 4px 20px;
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  border-radius: 4px;
  background: #8F0;
  color: #131313;
}

.button:hover {
  background: #008080;
  transition: all 0.3s ease;
}

.navbar__links:hover {
  color: #8F0;
  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: 60vh;
    z-index: -1;
  }

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

  #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: 1.5rem;
    width: 100%;
    display: table;
  }

  .navbar__btn {
    padding-bottom: 2rem;
  }

  .button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    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);
  }
}

/* Hero section */

/* Base Styles */
:root {
  --primary-color: #008080;
  --secondary-color: #4837ff;
  --light-gray: #e0e0e0;
  --dark-gray: #131313;
  --white: #ffffff;
  --button-hover: #008080;
  --footer-bg: #008080;

  /* Typography scaling */
  --font-size-base: 16px; /* Default base size */
}

.main__container {
  background-size: cover; /* Ensures the GIF covers the entire screen */
  background-position: center; /* Centers the GIF */
  height: 80vh;
  align-items: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 1rem;
}

.hero-text {
  text-align: center;
  padding-bottom: 2rem;
  color: var(--white);

}

.hero-text h1 {
  padding-bottom: 1rem;
  font-size: 2rem;
}

.main__content {
  margin-top: 2rem;
}

.btn__player,
.btn__club {
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
  width: 100%;
  text-align: center;

}

.btn__player {
  background: #8F0;
  color: var(--dark-gray);
  margin-right: 1rem;

}

.btn__club {
  background: var(--secondary-color);
  color: var(--white);
  margin-left: 1rem;
}

.btn__player:hover,
.btn__club:hover {
  background: var(--primary-color);
  transition: all 0.3s ease;
  }

/* Mission section */
.main__text {
  display: flex;
  justify-content: center;
  flex-direction: column;
  background-color: white;
  width: 100%;
  padding: 2rem;
  text-align: center;
}

/* Section headings */
.mission-heading h2,
.usage-content h2,
.convert-container h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
}

.text-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  margin: 1rem 0.5rem;
}

.text-block {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  flex: 1;
  max-width: 18.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.text-block h4 {
  color: var(--dark-gray);
  margin: 1rem 0;
  font-weight: bold;
}

.usage__container {
  background-color: var(--light-gray);
  display: flex;
  align-items: stretch;
  width: 100%;
  flex-wrap: wrap;
}

.usage-content {
  flex: 1;
  padding: 1.4rem; /* Adds spacing inside the left section */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.usage-content p {
  font-size: 1rem;
  color: #555;
  margin: 0 0 1rem 0;
}

.usage-section {
  margin-top: 1.2rem;
}

.usage-section p {
  font-size: 0.9rem;
  color: #777;
  margin: 0 0 0.5rem 0;
}

.usage-image {
  flex: 1;
}

.usage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the container proportionally */
}

.main__convert {
  background-color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

.image-container {
  flex: 1;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the container proportionally */
}

.convert-container {
  flex: 1;
  padding: 1.4rem; /* Adds spacing inside the right section */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.convert-container p {
  font-size: 1rem;
  color: #555;
  margin: 0 0 1rem 0;
}

.convert-section {
  margin-top: 1.2rem;
}

.convert-section p {
  font-size: 0.9rem;
  color: #777;
  margin: 0 0 0.5rem 0;
}

.convert__btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color); /* Button background color */
  color: var(--white); /* Button text color */
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  text-align: center;
}

.convert__btn a {
  text-decoration: none;
  color: var(--white); /* Ensures link matches button color */
}

.convert__btn:hover {
  background-color: var(--secondary-color) /* Button hover color */
}

.footer {
  background-color: #ffffff;
  color: #000000;
  font-size: 0.95rem;
  border-top: 1px solid #e5e7eb; /* Light divider as backup for <hr> */
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: #e5e7eb;
  margin-bottom: 1rem;
}

.footer-link {
  color: #000000;
  text-decoration: none;
  margin-left: 1rem;
  transition: color 0.2s ease-in-out;
}

.footer-link:hover {
  color: #007bff; /* Bootstrap primary color */
}

.footer p {
  margin: 0;
}


/* Media Queries */
@media (max-width: 1024px) {
  .main__container {
    height: 80vh;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .btn__player,
  .btn__club {
    font-size: 1rem;
  }

  .main__text {
    padding: 1rem;
  }

  .text-container {
    gap: 1rem;
  }

  .text-block {
    padding: 1rem;
    max-width: 100%;
  }

  .usage__container,
  .main__convert {
    flex-direction: column;
  }

  .usage-content,
  .convert-container {
    text-align: center;
    padding: 1rem;
  }

  .usage-image img,
  .image-container img {
    height: 90%;
  }
}

@media (max-width: 768px) {
  .main__container {
    height: 80vh;
    padding: 1rem;
  }

  .hero-text h1 {
    font-size: 1.2rem;
  }

  .btn__player,
  .btn__club {
    margin: 0.5rem 0;
    width: auto;
  }

  .main__text {
    padding: 1rem;
  }

  .text-container {
    flex-direction: column;
    gap: 1rem;
  }

  .usage__container,
  .main__convert {
    flex-direction: column;
  }

  .usage-content,
  .convert-container {
    padding: 1rem;
  }

  .usage-image img,
  .image-container img {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .main__container {
    height: auto;
  }

  .hero-text h1 {
    font-size: 1rem;
  }

  .btn__player,
  .btn__club {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .text-block {
    padding: 1rem;
  }

  .usage-image img,
  .image-container img {
    height: 60%;
  }

  .footer {
    padding: 0.5rem;
  }
}