body {
  /* Nav bar */
  margin: 0;
  background-color: #e9e1cf;
}
.navbar ul {
  list-style-type: none;
  background-color: white;
  padding: 0px;
  margin: 0px;
  display: flex;
  justify-content: flex-end;
}
.navbar a {
  color: maroon;
  text-decoration: none;
  padding: 15px;
  display: block;
  text-align: center;
  font-family: "Lato", sans-serif;
  font-size: 18px;
}
.navbar a:hover {
  background-color: #f9e6e6;
  color: black;
}
.logo img {
  /*Logo */
  width: 150px;
  height: auto;
}
.Menu {
  /*Nav bar and log */
  display: flex;
  justify-content: space-between;
  background-color: white;
  padding: 5px 4%;
}

li.dropdown {
  display: inline-block;
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  z-index: 1;
}

.dropdown-content a {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-family: "Lato", sans-serif;
  font-weight: bolder;
}

.dropdown-content a:hover {
  background-color: #f9e6e6;
}

.dropdown:hover .dropdown-content {
  display: block;
}
.slider-container {
  display: flex;
  justify-content: center;
  margin-top: 80px;
  transition: opacity 0.4s ease;
  padding-top: 100px;
}
.slider-list {
  display: flex;
  gap: 25px;
}
.slider-item {
  width: 120px;
  height: 120px;
  background-color: #4f3222;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}
.slider-item:hover {
  transform: scale(1.1);
}
.letter {
  font-size: 48px;
  font-weight: bold;
  color: #e9e1cf;
}
.card-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background-color: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 999;
  width: 70%;
  max-width: 700px;
  text-align: center;
  transition: transform 0.3s ease;
}
.card-popup.show {
  transform: translate(-50%, -50%) scale(1);
}

.card-popup h2 {
  margin-bottom: 20px;
  color: #4f3222;
  font-family: "Ubuntu", sans-serif;
}

.card-popup p {
  font-size: 18px;
  line-height: 1.6;
  color: #21443e;
  font-family: "Inter", sans-serif;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #444;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  display: none;
}

.overlay.show {
  display: block;
}
.blurred {
  opacity: 0.3;
  filter: blur(3px);
  pointer-events: none;
  transition: all 0.3s ease;
}
.thegang {
  /* padding-left: 600px; */
  padding-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.typewriter {
  overflow: hidden;
  white-space: nowrap;
  width: fit-content;
  animation: typing 2s steps(12), blink 0.6s step-end infinite;
  font-family: "Lato", sans-serif;
  font-size: 50px;
  color: #4f3222;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 10.5ch;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
.place {
  padding-top: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 
  padding-left: 700px;
   */
}
/*
  #mic-button {
   padding-left: 500px;
    top: -150px; 
    left: 20px;
    z-index: 1000;
    position: absolute;
    
  }
    */
#mic-icon {
  width: 55px;
}
#mic-icon.active {
  animation: micDisco 1.5s infinite ease-in-out;
  cursor: pointer;
}
@keyframes micDisco {
  0% { filter: drop-shadow(0 0 5px #ff0080); transform: scale(1); }
  20% { filter: drop-shadow(0 0 5px #ff8c00); transform: scale(1.1); }
  40% { filter: drop-shadow(0 0 5px #ffff00); transform: scale(1); }
  60% { filter: drop-shadow(0 0 5px #00ff00); transform: scale(1.1); }
  80% { filter: drop-shadow(0 0 5px #00bfff); transform: scale(1); }
  100% { filter: drop-shadow(0 0 5px #ff00ff); transform: scale(1.1); }
}


#mic-icon.active {
  animation: micDisco 2s infinite ease-in-out;
  cursor: pointer;
}
