@font-face {
  font-family: 'Glycerin';
  src: url('../font/glycerin-regular.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

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

body {
  font-family: 'Glycerin';
  color: #333;
  background-color: #f0f0f0;
}

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

.logo img {
  height: 70px;
}

.language-button {
  position: absolute;
  right: 40px;
  top: 40px;
}

.language-button .lang-switch-btn {
  background-color: #e7e2d4;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid #44693d;
  border-radius: 50px;
  color: #44693d;
}

.language-button .lang-switch-btn:hover {
  background-color: #a5af7d;
  color: white;
}

.title {
  position: relative;
  background-color: #e7e2d4;
  padding: 300px 20px;
  text-align: center;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.text-overlay {
  position: relative;
  z-index: 1;
}

.title h1 {
  font-size: 90px;
  margin-bottom: 10px;
  color: white;
}

.title h2 {
  font-size: 40px;
  color: white;
}

.about {
  position: relative;
  padding: 40px 20px;
  color: white;
}

.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(167, 179, 80, 0.8);
  z-index: 1;
}
.about-text {
  font-size: 28px;
  text-align: center;
  line-height: 1.6;
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 20px;
  position: relative;
  z-index: 2;
}

.about-text p {
  padding-top: 30px;
}

.social-media {
  background-color: #fff;
  padding: 200px 20px;
  text-align: center;
  background-image: url('../images/leaf.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
}

.social-media h3 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #44693d;
  padding-bottom: 30px;
}

.instagram-grid {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.instagram-post img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

footer {
  background-color: #eed584;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 20px;
  padding: 100px 0px;
}
.newsletter h4 {
  font-size: 20px;
  padding-bottom: 30px;
  color: #44693d;
  max-width: 100%;
}
.newsletter form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter input {
  font-family: 'Glycerin';
  color: #44693d;
  padding: 20px;
  font-size: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 28px;
  border: 2px solid #44693d;
  border-radius: 15px;
  background-color: #eed584;
  padding-left: 20px;
}

.newsletter button {
  font-family: 'Glycerin';
  padding: 10px 2px;
  background-color: #44693d;
  color: white;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 200px;
  font-size: 20px;
}

.contact-info p {
  font-size: 20px;
  color: #44693d;
  padding-bottom: 10px;
}

.volunteer h4 {
  color: #44693d;
  font-size: 20px;
  padding-bottom: 10px;
}

.bottom-footer {
  background-color: #44693d;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-block: 30px 20px;
}

.bottom-footer p {
  color: #eed584;
  font-size: 17px;
  padding-left: 20px;
  margin-bottom: 0;
}

.social-media-icons {
  display: flex;
  padding-right: 70px;
}

.social-media-icons a {
  margin-left: 10px;
}

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

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

@media (max-width: 1200px) {
  .about-text {
    padding-inline: 100px;
  }

  .contact-info,
  .volunteer {
    padding-top: 20px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .newsletter input,
  .newsletter button {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .about-text {
    padding-inline: 30px;
  }

  .newsletter input,
  .newsletter button {
    max-width: 100%;
  }

  .bottom-footer p {
    padding-left: 0;
    margin-bottom: 20px;
  }

  .social-media-icons {
    justify-content: center;
    padding-right: 0;
  }
}
