/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hide scrollbar for Chrome, Safari, and Opera */
html::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge */
html {
  -ms-overflow-style: none;  /* IE and Edge */
}


/* Body Styling */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden; /* Prevent horizontal overflow */
  box-sizing: border-box;
}

body {
  font-family: Montserrat, sans-serif;
  background-color: #121212;
  color: #d7d7d7;
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: 20px;
  margin: 0;
  margin-bottom: 5px;
  color: #d7d7d7;
  -webkit-user-select: none; /* Safari */
  user-select: none;
}

h2 {
  font-size: 16px;
  margin: 0;
  color: grey;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  -webkit-user-select: none; /* Safari */
  user-select: none;
}

.main-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1;
  overflow-y: auto; /* Ensure main container scrolls if necessary */
}

.top-container {
  flex: 0 0 auto; /* Adjust the height as needed */
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  align-items: center;
  padding-top: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid #2e2e2e;
}

.navigation-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center; /* Ensure buttons are centered */
  padding-bottom: 0; /* No padding at the bottom */
}

.nav-button {
  background-color: inherit;
  border: none;
  color: grey;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  cursor: pointer;
  padding: 10px;
  margin-right: 10px;
  font-size: 14px;
  border-radius: .9em .9em 0 0;
  transition: ease 0.5s;
}

.nav-button.active, .nav-button:hover {
  background-color: #171717;
  color: #13c0f5;
}

.bottom-container {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 10px;
  background-color: #151515;
  border-radius: 5px;
  width: 100%;
  margin-top: 0; /* No margin at the top */
}

@media (max-width: 600px) {
  body {
    font-size: 14px; /* Adjust the base font size for better readability on small screens */
  }
  
  h1 {
      font-size: 18px; /* Adjust font size for mobile */
      text-align: center; /* Center align text for better readability on mobile */
  }

  h2 {
      font-size: 14px; /* Adjust font size for mobile */
      text-align: center; /* Center align text for better readability on mobile */
  }

  .main-container {
      overflow-y: auto; /* Ensure main container scrolls if necessary */
      padding-top: 5px;/* Add padding for better spacing on mobile */
  }

  .top-container {
      padding-top: 5px; /* Adjust padding for mobile */
      border-bottom: 1px solid #2e2e2e;
  }

  .navigation-buttons {
    flex-direction: row; /* Stack navigation buttons vertically on mobile */
    gap: 0.5rem; /* Adjust gap for better spacing on mobile */
}

.nav-button {
    font-size: 12px; /* Adjust font size for navigation buttons on mobile */
    padding: 8px; /* Reduce padding for better fit on mobile */
    margin-right: 0; /* Remove margin for better fit on mobile */
    border-radius: .5em .5em 0 0; /* Adjust border radius for better look on mobile */
}

  .bottom-container {
      background-color: #171717;
      padding: 8px; /* Adjust padding for mobile */
      border-radius: 5px; /* Maintain border radius for consistent look */
      margin-top: 0; /* Add margin at the top for spacing */
  }
}
