/* General Layout */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Playfair Display', serif;
  background: url('../afbeeldingen/jungle.jpg') center/cover fixed no-repeat;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32"><text y="24" font-size="24">🦊</text></svg>') 16 16, auto;
  
}


/* Navigation Bar */
nav {
  position: sticky;
  top: 0;
  z-index: 1100;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 1em 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  margin: 0 1em;
}

/* Navigation list */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2em;
  padding: 0 20px;
  margin: 0;
  position: relative;
}

nav li {
  position: relative;
  padding: 0 1em;
}

nav li::before {
  content: "|";
  color: #666;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

nav li:last-child::after {
  content: "|";
  color: #666;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

nav li a {
  color: #2c2c2c;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

nav li a:hover {
  color: #f08a5d;
  text-shadow: 2px 2px 5px rgba(240, 138, 93, 0.8);
}

/* Header */
header {
  text-align: center;
  color: #333;
  font-weight: bold;
  font-size: 2em;
  margin: 1em auto 2em;
  padding: 2em;
  border-radius: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* Main */
main {
  flex: 1;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 2em 1em;
  background: rgba(253, 242, 233, 0.3);
  text-align: center;
  font-size: 1em;
  color: #333;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  flex-wrap: wrap;
}

.footer-icon {
  cursor: pointer;
  font-size: 1.5em;
  transition: transform 0.2s;
}
.footer-icon:hover {
  transform: scale(1.3);
}

.pause-btn {
  background: #fff;
  border: 2px solid #f08a5d;
  border-radius: 50%;
  padding: 0.5em;
  font-size: 1.2em;
  cursor: pointer;
}
.pause-btn:hover {
  background: #ffe0d3;
  transform: scale(1.2);
}

/* Title */
h1 {
  text-align: center;
  font-size: 5.5em;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(65, 34, 190, 0.9) radial-gradient(circle, rgba(193, 18, 18, 0.2), rgba(60, 187, 79, 0.9));
  border-radius: 90px;
  padding: 0.5em 1em;
  width: fit-content;
  margin: 0.3em auto 1em;
}

/* Paragraph inside video/image boxes */
animal-card p {
  font-size: 1.2em;
  position: absolute;
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(21, 18, 18, 0.8);
  line-height: 1.4;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1em 1.5em;
  box-sizing: border-box;
  margin: 0;
}

/* Contact Page Styles */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 2em;
  gap: 2em;
}

.contact-info,
.contact-form {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  padding: 2em;
  width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-info h2,
.contact-form h2 {
  font-size: 2em;
  color: #3e3e3e;
  margin-bottom: 0.5em;
}

.contact-info p {
  font-size: 1.2em;
  color: #333;
  line-height: 1.5;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: bold;
  margin-top: 1em;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  margin-top: 0.3em;
  padding: 0.8em;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1em;
  background-color: #fffdf9;
}

.contact-form button {
  margin-top: 1.5em;
  padding: 0.8em;
  font-size: 1.1em;
  border: none;
  border-radius: 12px;
  background-color: #f08a5d;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #d7744e;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-info,
  .contact-form {
    width: 90%;
  }

 nav {
    transform: scale(3);
    transform-origin: top center; /* Keeps it anchored to the top */
  }

  nav ul {
    flex-direction: row;
    justify-content: space-around;
    gap: 0.5em;
    padding: 0;
  }

  nav li {
    padding: 0 0.5em;
    border-bottom: none;
    size: 200%;
  }

  nav li::before,
  nav li:last-child::after {
    content: '|';
  }

  nav li a {
    font-size: 0.9rem;
  }

  header {
    font-size: 1.3em;
    padding: 1em 0.5em;
  }

  .footer-icon {
    font-size: 1.3em;
  }

  .pause-btn {
    font-size: 1em;
    padding: 0.3em;
  }

  h1 {
    font-size: 2.5em;
    padding: 0.3em 0.5em;
    border-radius: 40px;
    margin: 10px auto;
  }

  p {
    font-size: 1em;
    padding: 0.8em 1em;
  }
}
