.dm-sans-a {
  font-family: "DM Sans", serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}

html {
  /* background-color: black; */
  background: linear-gradient(to bottom, #07181f, #000000);

  /* background: radial-gradient(circle at bottom left, rgba(0, 255, 8, 0.4) 10%, transparent 40%); */
}
body {
  width: 100%;
}
.main-app-text {
  font-family: "DM Sans";
  font-size: 72px;
  padding-top: 10vh;
  padding-left: 5vw;
}

.main-section {
  background-color: #003f4f;
  height: 50vh;
}

.header {
  background: linear-gradient(
    to bottom,
    rgba(7, 24, 31, 0.3),
    rgba(0, 0, 0, 0.3)
  );
  padding: 3vh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  align-items: center;
  backdrop-filter: blur(40px);
  z-index: 1;
  font-family: "DM Sans";
  color: #ffffff;
  border-radius: 0px 0px 12px 12px;
}

.header-right {
  display: flex;
  flex-direction: row;
  gap: 2vh;
  color: #ffffff;
}

.header-logo {
  height: 5vh;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1vh;
  margin-left: 0;
  padding-left: 1vw;
}

.download-section {
  margin-top: 20vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100vw;
}

.img-section {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0; /* Remove gap between elements */
  margin-top: 11vh;
  background-color: transparent; /* Ensures parent div is transparent */
}
.text-overlay {
  position: absolute;
  top: 18vh;
  left: 10vw;
  width: auto;
  height: 10vh;
  gap: 0px;
  color: white;
  font-family: "DM Sans";
  font-size: 10vw;
  text-align: left;
}
.text-overlay h1 {
  margin: 0;
  padding: 0;
  font-family: "DM Sans";
  font-weight: 300;
}
.text-events {
  font-size: 16vw;
  color: #67d1ff;
  text-shadow: 0 0 30px #aee7ff;
}
.text-simpler {
  position: absolute;
  top: 8vh;
  font-size: 16vw;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.781);
}
.screen1 {
  width: 100vw;
  height: auto;
  background: none; /* Remove any potential background */
  display: block; /* Ensures the image is rendered properly */
  border: none;
}

.main-download-container {
  display: flex;
  flex-direction: row;
  gap: 5vw;
}

.download-button {
  color: #aee7ff;
  padding: 0px;
  background-color: transparent;
  border: none;
  font-family: "DM Sans";
  font-size: 16px;
  align-self: center;
}
.download-container {
  background-color: #0a374c;
  padding: 3vw;
  font-family: "DM Sans";
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-width: max-content;
  width: 30vw;
  align-items: center;
  justify-content: center;
  color: #aee7ff;
  border-radius: 20px;
  height: 5vh;
  margin-top: 5vh;
  box-shadow: 0 0 50px #0b41595a;
}

.apple-download-container {
  background-color: rgb(31, 31, 31);
  padding: 3vw;
  font-family: "DM Sans";
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-width: max-content;
  width: 30vw;
  align-items: center;
  justify-content: center;
  color: black;
  border-radius: 20px;
  height: 5vh;
  margin-top: 5vh;
  box-shadow: 0 0 50px rgba(47, 43, 43, 0.567);
}

.apple-download-container a {
  color: white;
}

.version-text {
  font-size: 12px;
  color: #6b8f9e;
  font-family: "DM Sans";
}

.apple-version-text {
  font-size: 12px;
  color: rgb(155, 155, 155);
  font-family: "DM Sans";
}
.about-section {
  font-family: "DM Sans";
  margin-top: 5vh;
  text-align: center;
  width: 100%;
}
.about-heading {
  color: #aee7ff;
  text-align: left;
  margin-left: 5vw;
  text-shadow: 0 0 20px #aee7ff86;
}
.about-text {
  color: #aee7ff;
  text-align: left;
  margin-left: 5vw;
  font-weight: 200;
  padding-right: 5vw;
}
.features-section {
  margin-top: 5vh;
  display: flex;
  flex-direction: column;
  font-family: "DM Sans";
}
.features-heading {
  color: #aee7ff;
  text-align: left;
  margin-left: 5vw;
  text-shadow: 0 0 20px #aee7ff86;
  margin-bottom: 1vh;
}
.features-text {
  color: #aee7ff;
  text-align: left;
  margin-left: 5vw;
  font-weight: 200;
  padding-right: 5vw;
}
.features-section h1 {
  margin-left: 5vw;
  text-align: left;
  color: #aee7ff;
  text-shadow: 0 0 20px #aee7ff86;
  margin-top: 0px;
}
.feature {
  background-color: #0f2027;
  padding-right: 5vw;
  padding-left: 5vw;
  padding-bottom: 2vw;
  border-radius: 20px;
  margin: 10px 0;
  display: flex;
  flex-direction: row;
  gap: 6vw;
  color: #aee7ff;
  width: 80vw;
  min-width: 85vw;
  max-width: 85vw;
  align-self: center;
}

.feature i {
  font-size: 24px;
  align-self: center;
}

.feature h2 {
  color: #aee7ff;
  font-weight: 500;
  margin: 0;
  margin-top: 2vh;
  margin-bottom: 0px;
}

.feature p {
  color: #aee7ff;
  font-weight: 150;
  padding: 0px;
}

.open-source-section {
  font-family: "DM Sans";
  margin-top: 5vh;
  text-align: left;
}
.open-source-section-heading {
  color: #aee7ff;
  text-align: left;
  margin-left: 5vw;
  text-shadow: 0 0 30px #aee7ffa6;
}
.open-source-section-text {
  color: #aee7ff;
  text-align: left;
  margin-left: 5vw;
  font-weight: 200;
  padding-right: 5vw;
}

.heart {
  animation: sizeInOut 2s infinite;
  text-shadow: 0 0 30px #f44e4ead;
  display: inline-block;
}

@keyframes sizeInOut {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}
.visit-heading {
  color: #aee7ff;
  text-align: left;
  margin-left: 5vw;
  margin-top: 4vh;
  text-shadow: 0 0 30px #aee7ffa6;
}
.github-link {
  color: #aee7ff;
  text-align: left;
  margin-left: 5vw;
  font-weight: 200;
  padding-right: 5vw;
}
a {
  text-decoration: none;
  color: #aee7ff;
}
.release-section {
  font-family: "DM Sans";
  margin-top: 5vh;
  text-align: left;
  margin-bottom: 5vh;
}
.release-heading {
  color: #aee7ff;
  text-align: left;
  margin-left: 5vw;
  text-shadow: 0 0 30px #aee7ffa6;
}
.release-text {
  color: #aee7ff;
  text-align: left;
  margin-left: 5vw;
  font-weight: 200;
  padding-right: 5vw;
}
.release-list {
  list-style-type: none;
  padding: 0;
  margin-left: 5vw;
  margin-right: 5vw;
}
.release-item {
  background-color: #0f2027;
  margin: 2vw 0;
  padding: 10px;
  border-radius: 17px;
  padding-left: 15px;
  display: flex;
  height: 2vh;
  align-items: center;
}
.release-item.latest {
  background-color: #0f2027;
  border-color: #c3e6cb;
}
.release-item a {
  text-decoration: none;
  color: #aee7ff;
  font-size: 3vw;
}
.latest-badge {
  background-color: #17323d;
  color: white;
  padding: 2px 5px;
  border-radius: 5px;
  margin-left: 2vw;
  font-weight: 300;
  font-size: 2.5vw;
  display: flex;
  align-items: center;
}
.footer-section {
  background-color: #0f2027;
  padding: 2vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "DM Sans";
  color: #aee7ff;
  font-size: 12px;
  font-weight: 200;
  align-items: center;
  position: absolute;
  left: 0;
  width: 100%;
}

.footer-section a {
  text-decoration: underline;
}

.license-text {
  color: #aee7ff;
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-top: 2vh;
  font-weight: 200;
  align-self: center;
  align-items: center;
}

.license-text p {
  padding: 0px;
  margin: 0px;
}

.footer-links {
  display: flex;
  flex-direction: row;
  gap: 2vw;
  margin-top: 2vh;
  align-self: center;
  width: 100%;
  justify-content: space-around;
}
.footer-links a {
  color: #aee7ff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1vw;
}
.footer-text {
  margin-top: 2vh;
}
.contributors-section {
  font-family: "DM Sans";
  margin: 2vh 0;
  text-align: center;
  color: #aee7ff;
  overflow: hidden;
}

.contributors-heading {
  color: #aee7ff;
  text-align: left;
  margin-left: 5vw;
  text-shadow: 0 0 30px #aee7ffa6;
  margin-bottom: 2vh;
}

.scrolling-container {
  width: 100%;
  overflow: hidden;
  margin-left: 5vw;
}

.scroll-row {
  display: flex;
  white-space: nowrap;
  padding: 1.4vh 0;
  width: 100%;
  position: relative;
}

.scroll-row .contributor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 1vw;
  min-width: 150px;
  height: 20px;
  background-color: #0f2027;
  border-radius: 15px;
  /* box-shadow: 0 0 20px rgba(10, 55, 76, 0.5); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: rgba(0, 0, 0, 0);
}

.scroll-row .contributor:hover {
  transform: translateY(-5px);
}

.scroll-row .contributor a {
  color: #aee7ff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
}

.scroll-row .contributor a:hover {
  text-shadow: 0 0 10px #aee7ff;
}

/* Set up the scrolling container */
.scroll-row-content {
  display: flex;
  flex-shrink: 0;
}

/* Animation for scrolling */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% + 0px));
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(calc(-100% + 0px));
  }
  100% {
    transform: translateX(0);
  }
}

.scroll-left {
  display: flex;
}

.scroll-left .scroll-row-content {
  animation: scrollLeft 30s linear infinite;
}

.scroll-right {
  display: flex;
}

.scroll-right .scroll-row-content {
  animation: scrollRight 30s linear infinite;
}

/* Special styling for Anita and Lestlin */
.scroll-row .contributor a[href="#"] {
  font-weight: 500;
  color: #67d1ff;
  text-shadow: 0 0 5px rgba(103, 209, 255, 0.3);
}
/* Fix for overall width issues */
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevents horizontal scrolling */
}

/* Make all main sections take full width */
.about-section,
.features-section,
.open-source-section,
.contributors-section,
.release-section {
  width: 100%;
  box-sizing: border-box; /* Important - includes padding in width calculation */
  padding-left: 3vw;
  padding-right: 3vw;
}

/* Fix download section which already has 100vw but might need box-sizing */
.download-section {
  width: 100vw;
  box-sizing: border-box;
}

/* Fix the features section which has alignment issues */
.feature {
  width: auto; /* Remove fixed width */
  margin-left: 5vw;
  margin-right: 5vw;
  box-sizing: border-box;
}

/* Remove potential side overflow */
.text-overlay {
  box-sizing: border-box;
}

/* Fix scrolling container width */
.scrolling-container {
  width: calc(100% - 10vw); /* Adjust for the 5vw margins on both sides */
  margin-left: 5vw;
  margin-right: 5vw;
}

/* Footer full width fix */
.footer-section {
  width: 100%;
  box-sizing: border-box;
}
