.btn-style {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  gap: 0.5rem;
  text-transform: capitalize;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.5;
  border-radius: 0.5rem;
}
.btn-style.yellow {
  background-color: #f2c523;
  color: #1a1a1a;
  fill: #1a1a1a;
}
.btn-style.green {
  background-color: #12533f;
  color: #fbf8f2;
  fill: #fbf8f2;
}
.btn-style.white {
  background-color: #fbf8f2;
  color: #1a1a1a;
  fill: #1a1a1a;
}
.btn-style.red {
  background-color: #700005;
  color: #fbf8f2;
  fill: #fbf8f2;
}
.btn-style:hover .btn-box-ctr .btn-box {
  transform: rotateZ(180deg) scale(0.5);
}
.btn-style .btn-box-ctr {
  width: 1rem;
  height: 1rem;
  display: grid;
  place-items: center;
}
.btn-style .btn-box-ctr .btn-box {
  width: inherit;
  height: inherit;
  border-radius: 0.125rem;
  transition: transform 0.8s cubic-bezier(0.47, 1.64, 0.41, 0.8);
}

.width-wrap {
  margin: 0 auto;
  max-width: 1720px;
  padding: 2.5rem 1.5rem;
}
@media (min-width: 768px) {
  .width-wrap {
    padding: 5rem 4rem;
  }
}
@media (min-width: 1024px) {
  .width-wrap {
    padding: 7.5rem 6rem;
  }
}

* {
  transition: all 0.2s ease;
}

.facilitiesheader {
  position: relative;
  background: url("../en/facilities/images/facbanner.png") no-repeat center center;
  background-size: cover;
  height: 100vh;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.facilitiesheader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.facilitiesheader h1 {
  position: relative;
  z-index: 2;
  font-weight: bolder;
  text-align: center;
  font-size: 128px;
  color: #f2c523;
  margin: 0;
}

.facilities {
  overflow-y: hidden;
}

.schoolmap {
  position: relative;
  background-color: white;
  overflow-y: hidden;
}
.schoolmap img {
  min-width: 1720px;
  margin: 0 auto;
}

.facilitybuttons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.facility-btn {
  position: absolute;
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: bold;
  color: #700005;
  background: #f2c523;
  padding: 10px 15px;
  border-radius: 5px;
  box-shadow: 0 0 15px black;
  transition: 0.15s all;
  transition: transform 0.2s ease;
}
.facility-btn:hover {
  transform: scale(0.9);
}

.facility-btn:hover {
  background: #700005;
  transform: scale(1.1);
  text-decoration: underline;
  color: #f2c523;
}

.courtyard-btn {
  top: 550px;
  left: 500px;
}

.comlab-btn {
  top: 450px;
  left: 300px;
}

.classroom-btn {
  top: 200px;
  left: 350px;
}

.library-btn {
  top: 475px;
  left: 850px;
}

.basketball-btn {
  top: 150px;
  left: 700px;
}

.auditorium-btn {
  top: 200px;
  left: 1250px;
}

.scilab-btn {
  top: 350px;
  left: 1150px;
}

.classes-btn {
  top: 450px;
  left: 1250px;
}

.facilitydescriptions {
  position: fixed;
  margin: 0 auto;
  width: 87%;
  max-width: 1720px;
  max-height: 550px;
  top: 120px;
  left: -96px;
  right: -96px;
  transform: translate(0);
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  z-index: 999;
  pointer-events: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 15px;
  background-color: #700005;
  box-shadow: 10px 10px 20px black;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.facilitydescriptions::-webkit-scrollbar {
  display: none;
}

.facilitydescriptions.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.facilitydescriptions.closing {
  transform: translate(0, 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.closebutton {
  position: sticky;
  top: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  margin-left: auto;
  display: block;
  background-color: #f2c523;
  font-size: 40px;
  font-weight: bolder;
  border-radius: 15px;
  z-index: 1000;
  box-shadow: 0px 0px 25px black;
  transition: 0.2s all;
  transition: transform 0.2s ease;
}
.closebutton:hover {
  transform: scale(0.9);
}

.closebutton:hover {
  background: #f2c523;
  color: #700005;
  transform: rotateZ(180deg) scale(1.2);
  transition: 0.2s all;
}

.facilitydesc {
  margin-inline: auto;
  margin-top: -40px;
  margin-bottom: 40px;
  padding-inline: 40px;
}
.facilitydesc img {
  margin: 0 auto;
  width: 100%;
  max-width: 1440px;
  max-height: 500px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 25px;
}

.facilitytext {
  margin: 0 auto;
  padding-inline: 40px;
}
.facilitytext h1 {
  width: 100%;
  margin: 20px 0;
  font-size: 3.5rem;
  line-height: 1.1;
  color: white;
}
.facilitytext h2 {
  width: 100%;
  margin: 20px 0;
  font-size: 2rem;
  line-height: 1.4;
  color: white;
}
.facilitytext p {
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.5;
  color: white;
}

@media (max-width: 1440px) {
  .facilitydescriptions {
    width: 87%;
    max-width: 1420px;
    max-height: 700px;
    top: 120px;
    left: -96px;
    right: -96px;
    transform: translate(0);
    opacity: 0;
  }
  .closebutton {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 20px;
    border-radius: 10px;
  }
  .facilitydesc {
    margin-top: -10px;
    margin-bottom: 10px;
    padding-inline: 20px;
  }
  .facilitydesc img {
    height: 450px;
    border-radius: 15px;
  }
  .facilitytext {
    padding-inline: px;
  }
  .facilitytext h1 {
    margin: 10px 0;
    font-size: 3rem;
    line-height: 1;
  }
  .facilitytext h2 {
    margin: 10px 0;
    font-size: 2.5rem;
    line-height: 1;
  }
  .facilitytext p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.5;
  }
}
@media (max-width: 1024px) {
  .facilitiesheader h1 {
    font-size: 96px;
  }
  .facilitydescriptions {
    width: 87%;
    max-width: 1004px;
    max-height: 700px;
    top: 120px;
    left: -96px;
    right: -96px;
    transform: translate(0);
  }
  .closebutton {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 20px;
    border-radius: 10px;
  }
  .facilitydesc {
    margin-top: -10px;
    margin-bottom: 10px;
    padding-inline: 20px;
  }
  .facilitydesc img {
    height: 400px;
    border-radius: 15px;
  }
  .facilitytext {
    padding-inline: 10px;
  }
  .facilitytext h1 {
    margin: 10px 0;
    font-size: 2.5rem;
    line-height: 1;
  }
  .facilitytext h2 {
    margin: 10px 0;
    font-size: 2rem;
    line-height: 1.4;
  }
  .facilitytext p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.5;
  }
}
@media (max-width: 768px) {
  .facilitydescriptions {
    width: 87%;
    max-width: 728px;
    max-height: 800px;
    top: 120px;
    left: -96px;
    right: -96px;
    transform: translate(0);
  }
  .facilitydesc {
    margin-top: -20px;
    margin-bottom: 20px;
    padding-inline: 20px;
  }
  .facilitydesc img {
    height: 350px;
    border-radius: 15px;
  }
  .closebutton {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 20px;
    border-radius: 10px;
  }
  .facilitytext {
    padding-inline: 20px;
  }
  .facilitytext h1 {
    margin: 10px 0;
    font-size: 2rem;
    line-height: 1.4;
  }
  .facilitytext h2 {
    margin: 10px 0;
    font-size: 1.5rem;
    line-height: 1.4;
  }
  .facilitytext p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.5;
  }
}
@media (max-width: 480px) {
  .facilitiesheader h1 {
    font-size: 48px;
  }
  .facilitydescriptions {
    width: 87%;
    max-width: 480px;
    max-height: 900px;
    top: 120px;
    left: -96px;
    right: -96px;
    transform: translate(0);
  }
  .facilitydesc {
    margin-top: -10px;
    margin-bottom: 10px;
    padding-inline: 10px;
  }
  .facilitydesc img {
    height: 300px;
    border-radius: 15px;
  }
  .closebutton {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 15px;
    border-radius: 5px;
  }
  .facilitytext {
    padding-inline: 20px;
  }
  .facilitytext h1 {
    margin: 10px 0;
    font-size: 24px;
  }
  .facilitytext h2 {
    margin: 10px 0;
    font-size: 18px;
  }
  .facilitytext p {
    max-width: 100%;
    font-size: 12px;
  }
}/*# sourceMappingURL=facilities.css.map */