.banner {
  background-color:#e8e6e6;
  padding: 10px;
  text-align: center;
  border-radius: .5em;
}

.banner h1 {
  margin: 0;
  color: #5d739e;
  background-color: transparent;
  font-family: 'Almarai', sans-serif;

}


.search {
  background-color: #5d739e;
  padding: 20px;
  text-align: left;
  border-style: solid;
  border-color: #e8e6e6;
  


}

footer {
  background-color: #d3d3d3;
}

.navbar-item {
  background-color: #FEC844;
  padding: 10px;
  text-align: center;
  border-radius: .5em;
  color: #ffffff;
  text-decoration: none;
  font-family: "JetBrains Mono", monospace

}

.navbar-item:hover {
  background-color: #f3dca1;
  color: #ffffff;
}

.navbar-item1 {
  background-color: #1B418C;
  padding: 10px;
  text-align: center;
  border-radius: .5em;
  color: #ffffff;
  text-decoration: none;
  font-family: "JetBrains Mono", monospace

}

.navbar-item1:hover {
  background-color: #306de7;
  color: #ffffff;
}

.navbar-item4 {
  background-color: #E3B324ec;
  padding: 10px;
  text-align: center;
  border-radius: .5em;
  color: #ffffff;
  text-decoration: none;
  font-family: "JetBrains Mono", monospace

}

.navbar-item4:hover {
  background-color: #f6df9a;
  color: #ffffff;
}

.navbar-item3 {
  background-color: #C8D1D6;
  padding: 10px;
  text-align: center;
  border-radius: .5em;
  color: #ffffff;
  text-decoration: none;
  font-family: "JetBrains Mono", monospace
}

.navbar-item3:hover {
  background-color: #949799;
  color: #ffffff;
}

.navbar-item2 {
  background-color: #0C1D3F;
  padding: 10px;
  text-align: center;
  border-radius: .5em;
  color: #ffffff;
  text-decoration: none;
  font-family: "JetBrains Mono", monospace
}

.navbar-item2:hover {
  background-color: #285abf;
  color: #ffffff;
}

.generate {
  background-color: #E3B324ec;
  padding: 20px;
  text-align: center;
  border-radius: .5em;
  color: #ffffff;
  border-color: #000000; 
  margin: 0;
} 

.generate:hover {
  background-color: #fbd76dec;
  border-color: #000000;
  color: white;


}

.submit {
  background-color: #ffffff;
  padding: 20px;
  text-align: center;
  border-radius: .5em;
  color: #5a647b
}

.submit:hover {
  background-color: #C8D1D6;
  border-color: #ffffff;
  color: white;
}

.content {
  background-color: #5d739e;
  color: rgb(255, 255, 255);
  padding: 10px;
  text-align: center;
  border-radius: .5em;
}

.dark-mode .passwordText {
  background-color: black;
}

.passwordlabel {
  color: #ffffff;
  position: absolute;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
}

.buttony {
  background-color: #ffffff;
  padding: 10px;
  text-align: center;
  border-radius: .5em;
  color: #5a647b
}
.survey-item label {
  color: white;
  font-weight: bolder;
}
.survey-item .itemcss {
  color: white;
  font-weight: normal;
}
.survey-item .itemcss:hover {
  color: black;
}

button {
  margin: 0;
  width: clamp(50px, 80vw, 150px);
  border-radius: .5em;
  text-align: center;
  color: #ffffff;
  background-color: #E3B324;
  padding: 10px;
  font-family: "JetBrains Mono", monospace;
}

button:hover {
  background-color: #f2d682;
  color: white;
}


.dark-mode {
  background-color: black;
  color: white;
}

.dark-mode button {
  color: #ffffff;
  background-color: #4e433b;
  border-color: white;
}

.dark-mode button:hover {
  background-color: #4e433bc0;
}

.dark-mode .banner {
  background-color: black;
}

.dark-mode .banner h1 {
  color: white;
}

.dark-mode .search {
  background-color: black;
  border-color: #4e433b;
}

.dark-mode .content {
  background-color: #4e433b;
}

.dark-mode .content .generate {
  background-color: #4e433b;
  color: white;
}

.dark-mode .content .generate:hover {
  background-color: #000000c0;
}

.dark-mode .content .submit {
  background-color: #4e433b;
  color: white;
}

.dark-mode .content .submit:hover {
  background-color: #4e433bc0;
}

.dark-mode footer {
  background-color: rgb(99, 68, 50);
}

.dark-mode footer .button {
  background-color: #4e433b;
  color: white;
}

.dark-mode footer .button:hover {
  background-color: #4e433bc0;
}

.dark-mode p {
  color:  rgb(0, 0, 0);
}

.dark-mode .password {
  color: white;
}

.dark-mode .popup-content {
  background-color: black;
  color: white;
}

.dark-mode .final-result button {
  background-color: #4e433b;
  color: white;
}

.dark-mode .final-result button:hover {
  background-color: #4e433bc0;
}

.dark-mode b {
  color:  rgb(99, 68, 50);
}

.dark-mode .survey-item .itemcss:hover {
  color: black;
}

.dark-mode .navbar-item {
  background-color: #4e433b;
}

.dark-mode .navbar-item:hover {
  background-color: #8b7768;
}

.dark-mode .navbar-item1 {
  background-color: #8f5a3b;
}


.dark-mode .navbar-item1:hover {
  background-color: #b3714d;
}

.dark-mode .navbar-item2 {
  background-color: #634432;
}

.dark-mode .navbar-item2:hover {
  background-color: #9c6a4d;
}

.dark-mode .navbar-item3 {
  background-color: #974e24;
}

.dark-mode .navbar-item3:hover {
  background-color: #cc6b32;
}

.dark-mode .navbar-item4 {
  background-color: #553f33;
}

.dark-mode .navbar-item4:hover {
  background-color: #966f5a;
}

.dark-mode .about-section {
  background-color: rgb(83, 64, 52);
}

.dark-mode .about-section p {
  color: #9da2ad;
}

.dark-mode .Stats-tittle p {
  color: white;
}

.light-mode {
  background-color: white;
  /* background-image:url("/static/blue with gold.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; */

  color: black;
}


.title1 {
  margin: 0;
  color: #ffffff;
  padding: 10px;
  text-align: center;
  border-radius: .5em;
  background-color: #41537e;

}

.dark-mode .title1 {
  margin: 0;
  color: #ffffff;
  padding: 10px;
  text-align: center;
  border-radius: .5em;
  background-color:  rgb(99, 68, 50);
}

.title1:hover {
  background-color: #6b7faf;
  color: white;
}


.popup-content {
  background-color: white;
  color: black;
}

.final-result button {
  border-color: #5a647b;
}

.final-result button:hover {
  background-color: #5a647bc0;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: 200ms ease-in-out;
  border: 1px solid black;
  border-radius: 10px;
  z-index: 10;
  background-color: white;
  width: 500px;
  max-width: 80%;
}

.dark-mode .modal {
  background-color: #2e2e2e;
  border: 1px solid white;
}

.modal.active {
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid black;
}

.modal-header .title {
  font-size: 1.25rem;
  font-weight: bold;
}

.modal-header .close-button {
  cursor: pointer;
  border: none;
  outline: none;
  font-size: 1.25rem;
  font-weight: bold;
  background-color: #41537e;
}

.dark-mode .modal-header .close-button {
  background-color: rgb(99, 68, 50);
  cursor: pointer;
  border: none;
  outline: none;
  font-size: 1.25rem;
  font-weight: bold;
}



.modal-body h3,
p {
  padding: 10px 15px;
  color: #285abf;
}

.dark-mode .modal-body h3,
p {
  color: rgb(99, 68, 50);
}

#overlay {
  position: fixed;
  opacity: 0;
  transition: 200ms ease-in-out;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .5);
  pointer-events: none;
}

#overlay.active {
  opacity: 1;
  pointer-events: all;
}

.passwordText {
  display: inline-block;
  color: #41537e;
  font-weight: 500px;
  font-size: 20px;
}

.dark-mode .passwordText {
  display: inline-block;
  color: rgb(99, 68, 50);
  font-weight: 500px;
  font-size: 20px;
}

.marquee-container {
  height: 30px;
  overflow:hidden;
  line-height: 30px;
  color: #41537e;

  .marquee {
    animation: marquee 35s linear infinite;
  white-space: nowrap;
  transform: translateX(100%);
  width: fit-content;
  }


  .marquee2 {
    animation-delay: 15s;
  }

  b {
    padding-left: 10px;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(-100%);
  }
}

clipping-Box {
  overflow: hidden;
}