body {
  font-family: 'Cooper Hewitt', sans-serif;
  margin: 10pt;
  padding: 10pt;
  background-color: lightblue;
}

.title {
  font-size: 50px;
  color: darkslateblue;
  text-align: center;
  margin-top: 20px;
}

.italic {
  font-style: italic;
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
  color: darkslateblue;
  border: 2px solid white;
  border-radius: 10px;
  background-color: white;
  font-weight: bolder;
  font-size: 25pt;
}

#banner {
  background-image: url('IMG/107476.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: top;
  color: white;
  padding: 30px;
}

.navbar {
  background-color: darkslateblue;
  overflow: hidden;
  text-align: center;
  padding: 10px;
}

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.navbar ul li {
  display: inline;
  margin: 10px;
}

.navbar ul li a {
  display: inline-block;
  text-decoration: none;
  color: white;
  padding: 10px 16px;
}

.navbar ul li a:hover {
  font-weight: bold;
}

.section {
  padding: 20px;
  margin-bottom: 20px;
}

.trials-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border: 2px solid white;
  padding: 20px;
  background-color: #8f99fb; /* Light mode background color */
}

.trials1 {
  display: flex;
  flex-direction: column;
   justify-content: space-between;
}

.trials2 {
  display: flex;
  flex-direction: column;
   justify-content: space-between;
}
.trials-container > * {
  margin: 0 10px;
}

.media-container-two {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #EFB896; /* Light mode background color */
  border: 2px solid white;
  padding: 20px;
  text-align: center;
}

.media-container-two > * {
  margin: 0 10px;
}

.video-one {
  width: 100%;
  height: auto;
}

.button {
  background-color: white;
  color: darkslateblue;
  border-color: darkslateblue;
  font-weight: bold;
  padding: 10px;
  text-align: center;
}

.header {
  color: white;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  background-image: linear-gradient(darkslateblue, lightblue);
}

.paragraph {
  color: white;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: bold;
  font-size: 15pt;
  text-align: center;
}

.paragraph-one {
  color: darkslateblue;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: bold;
  font-size: 15pt;
  text-align: center;
  border: 2px solid white;
  border-radius: 10px;
  background-color: white;
}

.button-container {
  text-align: center;
  margin-top: 20px;
}

.entire-mct-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-content: center;
}

.CC-story {
  display: flex;
  flex-direction: column;
  align-content: center;
  text-align: center;
  border: 2px solid white;
  border-radius: 10px;
  background-color: white;
  font-size: 20pt;
  max-height: 50%;
  margin: 50px;
}

.header-three {
  color: darkslateblue;
  font-style: italic;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
text-align: center;
}

.navbar-container {
  background: radial-gradient(white, darkslateblue);
  padding: 10px 20px;
  border-radius: 10px;
  overflow: hidden;
}

#brand {
  width: 75%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  color: #fff;
  font-size: 1.5em;
  text-decoration: none;
}

.navbar-toggler {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.navbar-toggler .icon-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #fff;
  margin: 4px 0;
  transition: background-color 0.3s;
}

.navbar-toggler.active .icon-bar {
  background-color: #333;
}

.navbar-nav {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.navbar-nav li {
  margin: 0 10px;
}

.navbar-nav li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  transition: color 0.3s;
}

.navbar-nav li a:hover {
  color: #333;
}

@media (max-width: 768px) {
  .navbar-toggler {
    display: block;
  }

  .navbar-nav {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: 'Merriweather', serif;
    z-index: 1000;
  }

  .navbar-nav.active {
    display: flex;
  }

  .navbar-nav li {
    margin: 10px 20px;
  }
}

/* Dark Mode Styles */
.dark-mode {
  background: #04043e;
  color: white;
}

.dark-mode .title,
.dark-mode .italic {
  color:#04043e ;
}

.dark-mode #banner {
  background-image: url('IMG/img5.png'); 
  /* Dark mode banner image */
}

.dark-mode .navbar {
  background-color: #04043e;
}

.dark-mode .navbar ul li a {
  color: white;
}

.dark-mode .navbar ul li a:hover {
  color: #e7dc72;
}

.dark-mode .trials-container {
  background-color: #2b1b1b;
  border-color: white;
}

.dark-mode .paragraph,
.dark-mode .paragraph-one {
  color: white;
}

.dark-mode .button {
  background-color: #2b1b1b;
  color: white;
}

.dark-mode .header {
  background-image: linear-gradient(white, #04043e);
}

.dark-mode .video-one {
  border: 2px solid white;
}

.dark-mode .nav-button {
  background-color: #2b1b1b;
  color: #e7dc72;
  font-family: 'Times New Roman', Times, serif;
}

.dark-mode .paragraph-one{
  color: #04043e;
}

#form-container {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  display: flex;
  flex-direction: row; /* Ensure items are laid out horizontally */
  justify-content: space-evenly; /* Distribute items evenly across the container */
  align-items: center; /* Center items vertically */
}

#form {
  flex: 1; /* Take up equal space */
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#request-form {
  text-align: center;
}

#request-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

#request-form input[type="text"],
#request-form input[type="email"],
#request-form input[type="submit"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid;
  border-color: darkslateblue;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

#request-form input[type="submit"] {
  background-color: #82A67D;
  color: white;
  cursor: pointer;
}

#request-form input[type="submit"]:hover {
  background-color: #45a049;
}

#signatures-list {
  font-size: 18px;
  line-height: 1.6;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

#why-sign {
  flex: 1; /* Take up equal space */
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  color: darkslateblue;
  font-size: 20px;
  text-align: center;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

#why-sign h2 {
  color: darkslateblue;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 10px;
}

#why-sign p {
  font-size: 16px;
  line-height: 1.6;
}

#form-container,
#form,
#request-form,
#request-form label,
#request-form input[type="text"],
#request-form input[type="email"],
#request-form input[type="submit"],
#signatures-list,
#why-sign {
  background-color: white !important;
  color: darkslateblue !important;
}

#why-sign {
  color: darkslateblue !important;
}

/* Add this style to highlight invalid input */
.invalid-input {
  border: 2px solid red;
}

    .section.show {
        opacity: 1;
        transform: translateY(0);
    }



/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    background: transparent;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.animate {
    animation: scaleAndRotate 1s ease-in-out;
}

@keyframes scaleAndRotate {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

.modal-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}


.animate {
    animation: scaleAndRotate 1s ease-in-out;
}

@keyframes scaleAndRotate {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}


/* Fade-in animation styles */
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}


