:root {
  --color-neon-green: #caff11;
  --color-purple: #986297;
  --color-pink: #ed9bc4;
  --color-yellow: #ffc11e;
  --color-teal: #195555;
  --color-white: #ffffff;
  --color-magenta: #c80082;
  --color-light-yellow: #f7ee6a;
  --color-blue: #3860aa;
  --color-black: #000000;
  --color-neon-pink: #ff1493;
  --color-dark-pink: #cf6297;
  --color-orange: #dc4f00;
  --color-light-green: #bed276;
  --color-sky-blue: #75d0f1;
}

@font-face {
  font-family: "FucXed";
  src: url("../fonts/FUCXEDCAPSLatin.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "FucXedLatin";
  src: url("../fonts/FUCXEDCAPSLatin.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Crimson Text";
  src: url("CrimsonText-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "Crimson Text", serif;
  background-color: #e0f7fa;
  margin: 0;
  padding: 0;
  color: #333;
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

header {
  background-color: #004d40;
  color: #ffffff;
  padding: 20px;
  text-align: center;
  position: relative;
  animation: slideDown 1s ease-in-out;
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}

header img {
  position: absolute;
  top: 10px;
  left: 10px;
  height: auto;
  width: 100px;
  max-height: 80px;
}

@keyframes rotateIn {
  0% {
    transform: rotate(-360deg);
  }
  100% {
    transform: rotate(0);
  }
}

h1,
h2,
h3 {
  font-family: "FucXed", sans-serif;
  text-transform: uppercase;
  color: #004d40;
  animation: fadeIn 2s ease-in-out;
}

nav {
  display: flex;
  justify-content: center;
  background-color: #00796b;
}

nav a {
  color: #ffffff;
  padding: 14px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: #004d40;
}

.container {
  padding: 20px;
  background-color: #ffffff;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  animation: fadeIn 2s ease-in-out;
}

.button {
  background-color: #004d40;
  border: none;
  color: #ffffff;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
  background-color: #00251a;
  transform: scale(1.05);
}

.sources {
  font-size: 0.9em;
  color: #333;
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #004d40;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #00796b;
}

.footer {
  background-color: #004d40;
  color: #ffffff;
  text-align: center;
  padding: 20px;
}

.nav-links {
  display: flex;
  justify-content: center;
}

.nav-links a {
  color: #ffffff;
  padding: 14px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.nav-links a:hover {
  background-color: #004d40;
}

.mobile-menu-button {
  display: none;
}

@media (max-width: 768px) {
  header img {
    display: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #004d40;
    position: absolute;
    top: 60px; /* Adjust based on header height */
    right: 0;
    width: 100%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Ensure menu is on top */
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 10px;
    text-align: center;
    background-color: #004d40;
    color: #ffffff;
    text-decoration: none;
  }

  .nav-links a:hover {
    background-color: #00251a;
  }

  .mobile-menu-button {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
    padding-top: 7px;
  }
}

.title {
  color: var(--color-yellow);
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #004d40;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box; /* Ensures padding is included in the width */
}

.button-container {
  width: 100%; /* Ensures the container takes full width */
  text-align: center; /* Center-aligns the button */
}

@media (max-width: 768px) {
  .button {
    padding: 10px; /* Adjust padding if needed for smaller screens */
  }
}
