@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@800;900&display=swap");

h1 {
  font-family: "League Spartan", sans-serif;
}

.nav__active {
  color: #ecdb69;
}

.header-shadow {
  text-shadow: 8px 5px 0px #56aaff;
}
.header-shadow2 {
  text-shadow: 8px 5px 0px #79a5e9;
}

.circle-shadow {
  filter: drop-shadow(12px 12px 0px #754c96);
}

.carousel__wrapper {
  height: 100%;
  width: 1454px;
  overflow-x: scroll;
}

.carousel__content {
  display: flex;
  gap: 20px;
  width: 2400px;
  transition: transform 0.3s ease;
}

.carousel__item {
  width: 549px;
  border-radius: 40px;
  background-color: #754c96;
  color: #ebebeb;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.25vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.carousel__item img {
  width: 100%;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.carousel__caption {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px;
  height: 50%;
}

.carousel__caption > h3 {
  text-align: center;
}

.carousel__caption > p {
  font-size: 17px;
  align-self: end;
}

.carousel__item__button {
  background-color: #ebebeb;
  color: #bf6eff;
  border: none;
  border-radius: 40px;
  padding: 10px 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 40px;
  cursor: pointer;
  text-align: center;
  width: 182px;
  margin: 0 auto;
  transition: background-color 0.3s, color 0.3s;
}

.carousel__item__button:hover {
  background-color: #bf6eff;
  color: #ebebeb;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.carousel__wrapper::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.carousel__wrapper {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.acc1__icon.active {
  rotate: 180deg;
}

.acc__panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 24px;
  font-weight: 500;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.acc__panel.active {
  max-height: 1000px;
  padding: 20px;
}
.icon {
  transition: transform 0.3s ease-out;
}

.icon.rotate {
  transform: rotate(180deg);
}

.acc2__panel {
  max-height: 0;
  color: #21264c;
  overflow: hidden;
  font-size: 36px;
  font-weight: 600;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.acc2__panel.active {
  max-height: 1000px;
  padding: 20px;
}

/* Modal styles (adjust as needed) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  align-items: center;
  justify-content: center;
  width: 100vw; /* Full width */
  height: 100vh; /* Full height */
  background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
}

.modal-content {
  background-color: #ebebeb;
  margin: 0 auto;
  padding: 48px;
  border: 1px solid #888;
  border-radius: 48px;
  width: 80%; /* Could be more or less, depending on screen size */
}

.close {
  color: #aaa;
  float: right;
  font-size: 48px;
  font-weight: bold;
}

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