@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
  }

  ::selection{
    background-color: #5EAB70;
    color: white;
  }
  ::-webkit-scrollbar{
    width: 8px;
  }
  ::-webkit-scrollbar-track{
    background-color: #f9f1ec;
  }
  ::-webkit-scrollbar-thumb{
    border-radius: 1rem; 
    background-color: #5EAB70;
  }
  ::-webkit-scrollbar-thumb:hover{
    border-radius: 1rem;
    background-color: #32704E;
  }

  :root {
    --primary: #5eab70;
    --secondary: #32704E;
    --light: #f3f4f6;
    --dark: #1f2937;
  }  

  #preloader{
    background: url(loader/loader.gif) #ffffff  no-repeat center center;
    background-size: 10%;
    height: 100vh; 
    width: 100%;
    position: fixed;
    z-index: 9999;
} 

@media screen and (max-width: 612px) {
    #preloader{
        background: url(loader/loader.gif) #ffffff  no-repeat center center;
        background-size: 40%;
        height: 100vh;
        width: 100%;
        position: fixed;
        z-index: 9999;
    } 
}

body{
  background-color: #fff;
}

header {
  left: 0;
  top: 0;
  width: 100%;
  z-index: 1;
  padding: 20px;
  background: rgba(0, 255, 42, 0.2);
  backdrop-filter: blur(17px);
  -webkit-backdrop-filter: blur(17px);
  position: fixed; 
}

header .navbar {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo img{
  width: 45px;
  height: 45px;
}

.navbar .menu-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
}
.navbar .menu-links li a {
  color: #000000;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s ease;
}

.navbar .menu-links li a:hover {
  color: #5eab70;
}
.navbar .menu-links .join-btn a {
  border: 1.5px solid #000000;
  padding: 8px 15px;
  border-radius: 4px;
}
.navbar .menu-links .join-btn a:hover {
  color: #fff;
  border-color: transparent;
  background: #5eab70;
}

.navbar #hamburger-btn {
  color: #000000;
  cursor: pointer;
  display: none;
  font-size: 1.7rem;
}
.navbar #close-menu-btn {
  position: absolute;
  display: none;
  color: #000;
  top: 20px;
  right: 20px;
  cursor: pointer;
  font-size: 1.7rem;
}

@media screen and (max-width: 612px) {
  header.show-mobile-menu::before {
    content: "";
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    backdrop-filter: blur(5px);
  }
  .navbar .menu-links {
    height: 100vh;
    max-width: 300px;
    width: 100%;
    background: #fff;
    position: fixed;
    left: -300px;
    top: 0;
    display: block;
    padding: 75px 40px 0;
    transition: left 0.2s ease;
  }
  header.show-mobile-menu .navbar .menu-links {
    left: 0;
  }
  .navbar .menu-links li {
    margin-bottom: 30px;
  }
  .navbar .menu-links li a {
    color: #000;
    font-size: 1.1rem;
  }
  .navbar .menu-links .join-btn a {
    display: none;
  }
  .navbar :is(#close-menu-btn, #hamburger-btn) {
    display: block;
  }
}  

.bg{
  background: #5eab70;
}

.bg-color{
  color: #5EAB70;
}

footer {
  background: var(--dark);
  color: white;
  padding: 4rem 5% 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-links h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}