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

.cursor-logo {
  position: absolute;
  width: 50px;
  height: auto;
  pointer-events: none;
  z-index: 3;
}

.container {
  background-image: url(photos/background.jpg);
  background-size: 100% auto;
  background-repeat: repeat-y;
}
.subtitle {
  font-size: 34px;
  padding-bottom: 20px;
  color: #fff;
  font-family: "Dancing Script", cursive;
  text-align: center;
}

/* Header */

header {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: -30px;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  font-family: "Dancing Script", cursive;
  text-decoration: none;
  color: #fff;
  font-size: 1.4rem;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #edc531;
}

.logo img {
  height: 130px;
}

.header-text {
  font-family: "Dancing Script", cursive;
  font-size: 3.5rem;
  font-style: italic;
  color: #fff;
}

.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #edc531;
  cursor: pointer;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 60%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  text-align: center;
  padding-top: 60px;
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu li {
  padding: 15px 0;
}
.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
}
.mobile-menu.show {
  right: 0 !important;
  display: flex !important;
}

@media (max-width: 800px) {
  .left,
  .right {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .logo img {
    height: 100px;
  }
}

/* Header */

/* Projects */

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

.image-container img {
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  background-color: rgb(115, 151, 115);
  width: 300px;
  height: 300px;
}

/* Projects */

/* About */

.about {
  text-align: center;
  font-family: "Dancing Script", cursive;
  color: #fff;
}

.about h2 {
  padding-top: 10px;
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 20px auto;
  max-width: 80%;
}

.box {
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #fff;
  padding: 20px;
  text-align: left;
  position: relative;
  border-radius: 5px;
}
.box p {
  color: #fff;
  font-family: "Courier New", Courier, monospace;
}

.top-box {
  border-top-right-radius: 70px;
  border-bottom-left-radius: 70px;
}

.bottom-box {
  border-bottom-right-radius: 70px;
  border-top-left-radius: 70px;
}

/* About */

/* Join */

.join {
  padding: 20px 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.join-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;
  scrollbar-width: none;
  background-color: rgba(47, 43, 39, 0.7);
  padding: 20px 20px;
}

.join-container::-webkit-scrollbar {
  display: none;
}

.join-container img {
  height: 150px;
  width: auto;
  max-width: 250px;
  margin-right: 20px;
  border-radius: 8px;
}

.arrow {
  position: absolute;
  top: 50%;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  border: none;
  cursor: pointer;
  padding: 20px 15px;
  font-size: 24px;
  border-radius: 5px;
  z-index: 10;
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

.arrow:hover {
  color: #edc531;
}

/* Join */

/* Counter */
.counter {
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
  background-color: rgba(47, 43, 39, 0.7);
  font-family: "Courier New", Courier, monospace;
  padding: 40px 20px;
  gap: 20px;
}

.stats-container {
  border: 2px dotted #fff;
  min-width: 200px;
  width: 250px;
  height: 120px;
  position: relative;
  padding: 20px;
  margin-bottom: 40px;
}

.stats-container h4 {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 16px;
  color: #fff;
}

.icon {
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 30px;
}

.counter-field {
  font-size: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-shadow: white 1px 0 10px;
}

/* Counter */

/* Home arrow */

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #edc531;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: black;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s, transform 0.3s;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.back-to-top:hover {
  transform: scale(1.1);
}

/* Home arrow */

/* Footer - contact */

.footer {
  background-color: rgba(47, 43, 39, 0.7);
  color: white;
  text-align: center;
  padding: 40px 20px;
  font-size: 16px;
  font-family: "Courier New", Courier, monospace;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding-bottom: 20px;
}

.footer-container h3 {
  margin-bottom: 25px;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 250px;
  margin: 15px;
}

.footer-left ul {
  list-style: none;
  padding: 0;
}

.footer-left ul li {
  margin: 8px 0;
}

.footer-left a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}

.footer-left a:hover {
  color: #ff9900;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

.contact-info {
  display: flex;
  flex-direction: column;
  margin-top: 15px;
}

.contact-info i {
  margin-top: 10px;
}

.contact-info p {
  margin-top: 10px;
}

.footer-right iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  font-size: 14px;
}

.footer .author a {
  font-weight: bold;
  color: #e6ccb2;
  text-decoration: none;
}

.footer .author a:hover {
  color: #ff9900;
}

/* Footer - contact */

@media (max-width: 800px) {
  .carousel {
    width: 80%;
  }
  .carousel-button {
    font-size: 30;
  }
  .prev {
    left: 2px;
  }
  .next {
    right: 2px;
  }
  .box p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .stats-container {
    width: 80%;
    height: 130px;
    margin-bottom: 60px;
  }
  .stats-container h4 {
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .about-container {
    margin: 5px auto;
  }
}

@media (max-width: 480px) {
  .stats-container {
    width: 90%;
    height: 120px;
    margin-bottom: 45px;
  }

  .stats-container h4 {
    font-size: 13px;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
