
:root {
  --imgSize: 85%;
}


html {

  font-family: Montserrat, Helvetica Neue, Sans-Serif;

}

.app-name {
  font-size: 36px;
  font-weight: bold;
}


body {
  display: flex;
  flex-direction: column; /* Stack sections in a column */
  justify-content: center;
  align-items: center;
  margin: 0;
  background-color: #f5f5f5;
  overflow-x: hidden;
  min-height: 100vh;
}


main {
  flex: 1; /* Pushes footer to the bottom */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

section {
  display: flex;
  flex-direction: column;
  margin-top: -30px;
}

.container {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  max-width: 65%;
  gap: 20px;
  margin: 0 auto; /* Centers the container horizontally */
}


.buttons {
  display: flex;
  gap: 10px; /* Adjust spacing between buttons */
  justify-content: center;
}

.text {
  font-size: 20px;
  font-weight: 500;
}

.text-small {
  font-size: 18px;
  font-weight: lighter;
  color: rgb(54, 54, 54);
}

.text-header {
  font-size: 36px;
  font-weight: bold;
}

.image {
  cursor: pointer;
  max-width: 1200px;
  height: auto;
  display: block; /* Avoids extra space below inline images */
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  transform-origin: center center;
}

.image:hover {
  transform: scale(1.05);
  filter: drop-shadow(-10px 10px 15px rgba(99, 99, 99, 0.7));
}

@keyframes image-move {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-5px);
  }
}

img {
  max-width: var(--imgSize);
  max-height: 100%;
}

@media (max-width: 500px) {
  .container {
    flex-direction: column;
    max-width: 85%;
  }
  .image {
    order: 2; /* Move image below text */
    margin: 0px;
    width: 100%;
  }
}



/* Modal Styles */

#modalText {
  text-align: left;
}

.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden; /* Start as invisible */
  transition: opacity 0.3s ease, visibility 0s 0.3s; /* Fade and delay visibility change */
}

.modal.show {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease, visibility 0s 0s; /* Instant visibility change */
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  width: 50%;
  border-radius: 10px;
  text-align: center;
  position: relative;
  opacity: 0; /* Start content as hidden */
  transition: opacity 0.3s ease; /* Transition for content fade */
}

.modal.show .modal-content {
  opacity: 1; /* Fade in the content */
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}




/* HEADER */

header {
  font-size: 24px;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  color: white;
  width: 100%;
}

.header-content {
  margin-left: 10vw;
  font-weight: bold;
  display: flex;
  align-items: center;
  color: green;
}

.header-link {
  text-decoration: none; /* Removes underline */
  color: inherit; /* Keeps text color unchanged */
  display: inline-block; /* Ensures it behaves like a div */
}

header img {
  width: 50px;
  height: 50px;
  margin-right: 16px;
}

.app-name {
  margin-right: 20px;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  font-size: 24px;
}

.nav-links a {
  color: black;
  text-decoration: none;
}

.menu-icon {
  color: black;
  display: none;
  font-size: 1.8em;
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 5px;
}

.dropdown-menu a {
  color: white;
  text-decoration: none;
  padding: 10px;
  display: block;
}

.app-buttons-header {
  display: flex;
  gap: 10px; /* Adjust spacing between buttons */
  justify-content: center;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .app-buttons-header {
    display: none;
  }
  .menu-icon {
    display: block;
  }
}











/* FOOTER */

footer {
  background-color: #1a1a1a;
  color: rgb(228, 228, 228);
  padding: 16px 32px;
  text-align: center;
  width: 100%;
  margin-top: auto; /* Forces footer to bottom */
}

/* Ensure the footer is visible at the bottom of the page */
.footer-content {
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  flex-wrap: wrap; /* Maintain wrap */
  width: 100%; /* Ensure footer takes full width */
}

.footer-content div {
  display: flex; /* Maintain flex layout */
  justify-content: center; /* Center links horizontally */
}

footer div a {
  color: #007BFF;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #0056b3;
}



/* privacy policy and terms of service */

#markdown-content {
  padding: 25px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
#markdown-content pre {
  white-space: pre-wrap;
  overflow-x: auto;
}
#markdown-content table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
}
