/*///////////////////////////////////////////////////////*/
/* Body Styling */
/*///////////////////////////////////////////////////////*/
body {
  margin: 0;
  padding: 0;
  font-family: 'Arials', sans-serif;
  color: #333;
  background-color: #f7f7f7; /* Some pages use rgba(0, 0, 0, 0.6) */
}

/*///////////////////////////////////////////////////////*/
/* Hero Section */
/*///////////////////////////////////////////////////////*/
.hero {
  background-image: url('./lighthouse.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-top: 20px;
  margin-bottom: 0;
}

.hero h2 {
  font-size: 1.2rem;
  margin-top: 5px;
  margin-bottom: 20px;
}

/*///////////////////////////////////////////////////////*/
/* Left Menu */
/*///////////////////////////////////////////////////////*/
.left-menu {
  position: fixed;
  top: 6px;
  left: 20px;
  display: block;
  background-color: transparent;
  padding: 10px;
  border-radius: 5px;
  opacity: 1;
  z-index: 9999;
}

.left-menu img {
  width: 30px;    
  height: 30px;   
  border-radius: 12px; 
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  padding: 5px;  
}

/*///////////////////////////////////////////////////////*/
/* Top Menu */
/*///////////////////////////////////////////////////////*/
.menu {
  position: fixed;
  top: 6px;
  right: 65px;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  background-color: transparent;
  padding: 10px;
  border-radius: 15px;
  z-index: 9999;
  opacity: 1;
}

.menu a {
  margin-left: 20px;
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  padding: 8px 10px;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 15px;
}

.menu a:hover {
  color: #333;
  background-color: #fff;
  border-radius: 15px;
  transition: background-color 0.3s ease, color 0.3s ease; 
}

.menu .support-science {
  color: #FFD700;
  font-weight: bold;
  white-space: nowrap; 
  display: inline-block;
  text-align: center; 
}

/*///////////////////////////////////////////////////////*/
/* Hamburger Button */
/*///////////////////////////////////////////////////////*/
.hamburger-button {
  position: fixed;
  top: 15px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  border: none;
  border-radius: 15px;
  color: white;
  font-size: 1.1rem;
  padding: 8px;
  cursor: pointer;
  z-index: 9999;
}

.hamburger-button:hover {
  background-color: #fff;
  color: #333;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/*///////////////////////////////////////////////////////*/
/* Footer */
/*///////////////////////////////////////////////////////*/
footer {
  background-color: #333;
  color: white;
  padding: 0px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  flex-wrap: wrap;
}

.footer-left a, .footer-right a {
  color: #fff;
  text-decoration: none;
}

.footer-left a:hover, .footer-right a:hover {
  text-decoration: underline;
}

/*///////////////////////////////////////////////////////*/
/* Media Query for Smaller Screens */
/*///////////////////////////////////////////////////////*/
@media (max-width: 768px) {  
  .menu {
    top: 50px;
    right: 10px;
    flex-direction: column; /* Stack menu items vertically */
    align-items: flex-end; /* Align items to the right */
  }

  .menu a {
    margin-left: 0; /* Remove the horizontal spacing */
    margin-bottom: 10px; /* Add some vertical space between items */
  }

  .about, .section {
    flex-direction: column;
    text-align: center;
  }

  .about img, .section img {
    width: 100%; 
    height: auto; 
    max-width: 300px; 
    margin-bottom: 20px; 
  }

  .about-text, .section-text {
    width: 100%;
    padding: 0;
  }
} 

  /*///////////////////////////////////////////////////////*/
  /* Newsletter */
  /*///////////////////////////////////////////////////////*/
      .newsletter {
        position: fixed;
        bottom: 60px;
        right: 20px;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 20px;
        border-radius: 15px;
        color: white;
        opacity: 0;
        transition: opacity 1.5s ease;
        z-index: 9999;
      }

      .newsletter form {
        display: flex;
        flex-direction: column;
      }

      .newsletter input[type="email"] {
        padding: 10px;
        margin-top: 10px;
        border-radius: 10px;
        border: none;
      }

      .newsletter button {
        padding: 10px;
        background-color: #FFD700;
        color: black;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        margin-top: 10px;
      }

      .newsletter button:hover {
        background-color: #fff;
        color: #333;
      }

      .newsletter #dismissNewsletter {
        background-color: #333;
        color: white;
      }

      .newsletter #dismissNewsletter:hover {
        background-color: #fff;
        color: #333;
      }

      .scroll-up {
        position: relative;
        z-index: 1;
        transition: transform 1s ease-out;
      }

      .scrolled {
        margin-top: -300px;
		transition: margin-top 1.5s ease;
      }
