@font-face {
    font-family: OpenSauceOne;
    src: url(assets/fonts/OpenSauceOne-Bold.ttf);
    font-weight: bold;
  }
  
  @font-face {
    font-family: OpenSauceSans;
    src: url(assets/fonts/OpenSauceSans-Regular.ttf);
  }
  
  @font-face {
    font-family: Agrandir Grand;
    src: url(assets/fonts/agrandir-grand-medium.ttf);
    font-weight: medium;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    z-index: 0;
  }
  
  html, body {
    overflow-x: hidden;
  }
  
  body, h1, p, button {
    margin: 0;
    padding: 0;
    font-family: 'Arsenal', sans-serif;
  }
  
  header {
    background-color: #176240;
    color: white;
    background-color: transparent;
    transition: background-color 0.3s;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
    padding: 10px 0;
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }
  
  .hlogo img {
    height: auto;
    max-width: 170px;
    margin-left: 50px;
    transition: transform 1s ease-in-out;
  }
  
  .hlogo img:hover {
    animation: spin 6s linear infinite;
  }
  
  @keyframes spin {
    0% {
      transform: rotateY(0deg);
    }
    17% {
      transform: rotateY(360deg);
    }
    100% {
      transform: rotateY(360deg);
    }
  }
  
  .nav-bar {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
  }
  
  .nav-bar li {
    margin-top: 10px;
    display: inline-block;
    margin: 0 40px;
  }
  
  .nav-bar li:last-child {
    margin-right: 80px;
  }
  
  .nav-bar a {
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    font-family: 'OpenSauceOne', sans-serif;
    font-weight: bold;
    font-size: 15px;
  }
  
  .active-link {
    color: #FFDE59;
  }
  
  .nav-bar a:focus {
    outline: none;
    text-decoration: none;
  }
  
  .nav-bar a:hover {
    text-decoration: none;
    color: #FFDE59;
  }
  
  #hero {
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: url('assets/img/1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
    z-index: 2;
    transition: background-image 1s ease-in-out; /* Smooth transition for background image */
  }
  
  .hero-text {
    margin-top: 45px;
    text-align: center;
    position: absolute;
    z-index: 2;
  }
  
  .hero-text h1 {
    margin-top: -12px;
    font-family: 'Rubik Mono One', sans-serif;
    font-size: 4em;  /* Reduced from 5.5em due to new font */
    margin-bottom: 0.01em;
    word-spacing: 0.1em;  /* Adjusted spacing for readability */
    background: linear-gradient(270deg, rgb(255, 238, 0), rgb(255, 226, 38), rgb(255, 120, 2), rgb(255, 255, 0), rgb(255, 238, 0));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 500% 500%;
    animation: gradient 5s linear infinite;
}
  
  @keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  .changing-word {
    border-right: 2px solid white;
    animation: blink 0.75s step-end infinite;
    white-space: nowrap;
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: white }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

  .hero-text p {
    margin-top: 15px;
    font-family: 'OpenSauceSans', sans-serif;
    font-size: 2em;
    margin-bottom: 2em;
  }
  
  .hero-button {
    margin-top: 25em;
    position: relative;
    background-color: transparent;
    border: 2px solid #ffcc00;
    border-radius: 50px;
    padding: 0.8em 6em;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    font-family: 'OpenSauceOne', sans-serif;
    font-weight: bold;
  }
  
  .hero-button:hover {
    background-color: #ffcc00;
    color: #10472e;
    font-weight: bolder;
  }


 /* ABOUT SECTION */

.about-section {
  margin-top: 100vh;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: whitesmoke;
  background-size: cover;
  background-position: center;
  display: flex;
  }
  
  .about-text {
    flex: 1;
    padding: 20px;
    font-family: 'OpenSauceOne', sans-serif;
    margin-top: 50px;
  }

  
  .faq {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    font-size: 1.5em;
    font-weight: bold;
    color: whitesmoke;
    background-color: #173562;
    border: none;
    cursor: pointer;
    padding: 10px;
    text-align: left;
    width: 100%;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    color: black;
    background-color: #FFDE59;
}

.faq-answer {
    margin-top: 10px;
    display: none;
    font-size: 1.2em;
    color: black;
    padding-left: 10px;
    border-left: 3px solid #173562;
}

.faq-answer p {
    margin: 0;
}

.faq-item.active .faq-answer {
    display: block;
}
  
  .creator-info {
    display: flex;
    align-items: center;
  }
  
  .creator-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
  }
  
  .cta-button {
    display: inline-block;
    background-color: #176240;
    color: whitesmoke;
    padding: 10px 20px;
    font-size: 1.5em;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
  }
  
  .cta-button:hover {
    color: black;
    background-color: #FFDE59;
  }
  
  .about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1%;
    max-width: 700px;
    height: auto;
    margin-top: -30px;
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
}



/* ASSESSMENT SECTION STYLING */

.assessment-section {
  z-index: 1111;
  margin-top: 200vh;
  position: relative;
  width: 100%;
  min-height: 610vh; /* Ensure it spans at least the full viewport height */
  background-color: #173562;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column; /* Ensure content stacks vertically */
  justify-content: flex-start; /* Align content to the top */
}

.assessment-section .container {
  max-width: 1400px;
  margin: 0 auto;
}

.assessment-logo {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.assessment-logo img {
  max-width: 100%; /* Ensure it scales with the container */
  width: 550px; /* Adjust the size as needed */
  height: auto; /* Maintain aspect ratio */
}

.assessment-section h2 {
  margin-top: -10px;
  font-size: 2em;
  text-align: center;
  margin-bottom: 20px;
  color: whitesmoke;
}

.assessment-section #persona-title {
  color: #ffcc00;
  font-weight: bold;
}

.persona-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.persona-selector label {
  color: whitesmoke;
  margin-right: 10px;
  font-size: 1.1em;
}

.persona-selector select {
  padding: 10px;
  font-size: 1em;
  border: 1px solid whitesmoke;
  border-radius: 5px;
}

.instructions {
  margin-bottom: 20px;
  text-align: center;
}

.instructions p {
  font-size: 1.2em;
  color: whitesmoke;
}

#assessment-form {
  background-color: whitesmoke;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative; /* Ensure the progress tracker is positioned correctly */
  margin-bottom: 50px;
}


.category {
  margin-bottom: 30px;
  border: 2px solid #173562; /* Add border to categories */
  border-radius: 10px;
  padding: 20px;
}

.category h3 {
  font-size: 1.5em;
  color: #173562;
  margin-bottom: 20px;
}

.question {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #ccc; /* Add border to questions */
}

.question label {
  display: block;
  font-size: 1.25em;
  margin-bottom: 10px;
  color: #333;
}

.rating-options {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.rating-options label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.rating-options input[type="radio"] {
  margin-bottom: 5px;
  width: 20px; /* Adjust the width */
  height: 20px; /* Adjust the height */
}

.fact {
  background-color: #FFDE59;
  padding: 10px;
  border-left: 4px solid #176240;
  margin-top: 10px;
  border-radius: 5px;
}

.fact p {
  font-size: 1.4em;
  margin: 0;
  color: #333;
}

.fact p:nth-of-type(2) {
    margin-top: 5px;
    font-size: 1.2em; /* Adjust the font size as needed */
    margin-bottom: 8px;
}

/* Style the photo gallery inside the .fact box */
.fact .photo-gallery {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.fact .photo-gallery img {
    width: 30%; /* Adjust the width as needed */
    height: auto;
    object-fit: cover; /* Ensure the images cover the area without distortion */
    border-radius: 5px; /* Optional: Add border radius for rounded corners */
    border: 2px solid #176240; /* Add border with color and width */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for better appearance */
}

.fact.hidden {
  display: none;
}

.btn-cta {
  display: inline-block;
  background-color: #176240;
  color: #fff;
  padding: 10px 20px;
  font-size: 1em;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  margin-bottom: 30px;
}

.btn-cta:hover {
  color: black;
  background-color: #ffcc00;
}

.results {
  text-align: center;
  margin-top: 20px;
}

.results.hidden {
  display: none;
}

.results h3 {
  font-size: 1.5em;
  color: whitesmoke;
}

.results p {
  font-size: 1.2em;
  color: whitesmoke;
}

/* New styles for the results section */
.results-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.results h3 {
  font-size: 2em;
  color: #173562;
  margin-bottom: 20px;
}

.results table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.results table th,
.results table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
  font-size: 1.2em;
}

.results table th {
  background-color: #173562;
  color: whitesmoke;
}

.results table td {
  background-color: whitesmoke;
  color: #333;
}

.results p {
  font-size: 1.2em;
  color: #333;
  margin-bottom: 10px;
}

.results .btn-cta {
  margin-top: 20px;
}

/* Styles for the score container */
.score-container {
  background-color: whitesmoke;
  color: whitesmoke;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.score-container p {
  margin: 10px 0;
  font-size: 1.3em;
}

#humor-feedback {
    font-size: 1.3em;
    font-weight: bold;
    color: #10472e;
  }

#feedback {
  font-size: 1.4em;
  font-weight: bold;
}

/* INFOHUB SECTION STYLING */

.infohub-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #176240;
  text-align: center;
  padding: 20px; /* Add padding to the section */
}

.infohub-section h2 {
  font-family: 'Rubik Mono One', sans-serif;
  margin-top: 30px;
  font-size: 3em;
  color: whitesmoke;
  margin-bottom: 20px;
}

.presentation-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Increase gap between items */
  justify-content: center;
  padding: 20px; /* Add padding to the gallery */
  margin: 0 20px; /* Add margin to the sides of the viewport */
}

.gallery-item {
  flex: 1 1 calc(33.333% - 40px); /* Adjust to leave space on sides */
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  border: 2px solid yellow; /* Add solid yellow border */
  border-radius: 10px; /* Add rounded corners */
  margin: 12px; /* Add margin to ensure items are not touching */
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  border-radius: 10px; /* Ensure image corners match the container */
}

.gallery-item:hover img {
  transform: scale(1.1); /* Add hover animation */
}

.gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative; /* Change to relative */
  top: 0;
  left: 0;
  z-index: 1; /* Ensure the link is above the image */
}

.emergency-hotlines {
  margin-top: 20px;
}

.emergency-hotlines, .evacuation-centers, .useful-links, .social-media-links {
  margin-bottom: 20px;
  width: 100%;
  max-width: 1000px;
}

.emergency-hotlines h3, .evacuation-centers h3, .useful-links h3, .social-media-links h3 {
  margin-bottom: 20px;
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 1.9em;
  color: whitesmoke;
}

/* Style for Facebook posts */
.fb-post {
  border: 2px solid yellow; /* Add solid yellow border */
  border-radius: 10px; /* Add rounded corners */
  overflow: hidden; /* Ensure content stays within rounded corners */
  padding: 10px; /* Optional: Add padding inside the border */
  max-width: 100%; /* Ensure it scales with the container */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.useful-links ul, .social-media-links ul {
  list-style-type: none;
  padding: 0;
}

.useful-links li, .social-media-links li {
  margin-bottom: 10px;
}

.useful-links a, .social-media-links a {
  display: block;
  padding: 10px;
  background-color: #173562; /* Different shades of blue */
  border: 2px solid #ffcc00;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.useful-links a:hover, .social-media-links a:hover {
  background-color: #ffcc00;
  color: #173562;
  border-color: #173562;
  font-weight: bold;
  text-decoration: none;
}

/* Contact Section Styling */

.contact-section {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: white;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 150px;
}

.contact-section h3 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #238559;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 1.2em;
  color: #238559;
  background-color: #f0f0f0;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #238559;
  width: 300px;
  text-align: center;
}

.contact-item i {
  font-size: 2em;
  color: #238559;
}

.contact-item a {
  text-decoration: none;
  color: #238559;
  transition: color 0.3s;
}

.contact-item a:hover {
  text-decoration: none;
  font-weight: bold;
  color: #1e90ff;
}


/* FOOTER */
.footer {
  position: relative;
  width: 100%;
  max-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px 50px;
  flex-direction: column;
  background: linear-gradient(270deg, #3586ff, #3586ff, #176240, #176240, #3586ff, #3586ff);
  background-size: 300% 300%;
  animation: Gradient 12s linear infinite;
}

.footer__logo img {
  display:flex;
  justify-content: center;
  align-items: center;
  width: 30%; /* Adjust the width as needed */
  height: auto;
  margin-left: 515px;
  margin-bottom: -20px;
  margin-top: -30px;
}

@keyframes Gradient {
  0% {
    background-position: 0% 50%;
  }
  16.66% {
    background-position: 50% 50%;
  }
  33.33% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 150% 50%;
  }
  66.66% {
    background-position: 200% 50%;
  }
  83.33% {
    background-position: 250% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.social-icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 3rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}
.social-icon__link:hover {
  transform: translateY(-10px);
  color: #FFDE59;
}

.menu__link {
  font-size: 2rem;
  color: #fff;
  margin: 0 10px;
  display: flex;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu__link:hover {
  opacity: 1;
  text-decoration: none;
  color: #FFDE59;
}

.copyright {
  color: #fff;
  font-weight: 230;
  list-style: none;
  width: 100%;
  text-align: center;
}

.wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
/*background: url("https://i.ibb.co/wQZVxxk/wave.png"); */
  background: url("https://i.ibb.co/LQh9P3V/Pngtree-blue-ocean-waves-papercut-6888658.png"); 
  background-size: 1000px 100px;
}

.wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 4s linear infinite;
}

.wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animate 4s linear infinite !important;
}

.wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 3s linear infinite;
}

.wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animate 3s linear infinite;
}

@keyframes animateWaves {
  0% {
    background-position-x: 1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

@keyframes animate {
  0% {
    background-position-x: -1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}
