.accordion {
  width: 90%;
  max-width: 1000px;
  margin: 2rem auto;
}

.accordion-item {
  background-color: #fff;
  color: #111;
  margin: 1rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.33);
}

.accordion-item-header {
  padding: 2rem 3rem 2rem 1rem;
  min-height: 3.5rem;
  line-height: 1.25rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 33%,
    rgba(240, 240, 240, 1) 67%,
    rgba(255, 255, 255, 1) 100%
  );
  border-radius: 0.5rem;
}

.accordion-item-header::after {
  content: "\002B";
  color: #3d77a5;
  font-size: 2rem;
  position: absolute;
  right: 1rem;
}

.accordion-item-header.active::after {
  content: "\2212";
}

.accordion-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.accordion-item-body-content {
  padding: 1rem;
  line-height: 1.5rem;
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, #330066, transparent) 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 33%,
    rgba(233, 233, 233, 1) 100%
  );
  border-radius: 0 0 0.5rem 0.5rem;
}

.imgwrapper {
  position: relative;
}

.imgwrapper img {
  display: block;
  margin: 0 auto;
  width: 67%;
  height: auto;
  cursor: pointer;
  border: solid 2px #333;
  border-radius: 15px;
  transition: box-shadow 0.2s;
}

.imgwrapper img:hover {
  box-shadow: 0px 0px 8px #9966cc;
}

p.img-description {
  margin: 0.5rem auto 1.5rem;
  padding: 0;
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
}

#fullFloorPlanBG {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999;
}

#fullFloorPlan {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0 auto;
  text-align: center;
  z-index: 1000;
}

#fullImage {
  padding: 2rem;
  max-width: 95%;
  max-height: 95%;
  opacity: 0;
  animation: grow 0.5s ease-in-out forwards;
}

@keyframes grow {
  0% {
    transform: scale(0.3);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

#closeButton {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}
#closeButton:hover {
  color: #3d77a5;
}

@media (max-width: 1200px) {
  .imgwrapper img {
    width: 80%;
  }
}

@media (max-width: 992px) {
  .imgwrapper img {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .accordion {
    width: 100%;
    margin: 1rem auto;
  }
}

@media (max-width: 576px) {
  .img-description {
    font-size: 0.75rem;
  }
}
