* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: sans-serif;
  color: #fff;
  background-color: #242625;
}

.hero {
  width: 100%;
}

.faculty-logo {
  position: absolute;
  top: 30px;
  right: 30px;
  width: min(20%, 120px);
}
.hero-content * {
  color: #fff;
  text-shadow: 
    0 0 4px rgba(0, 0, 0, 1),
    0 0 8px rgba(0, 0, 0, 1),
    0 0 12px rgba(0, 0, 0, 1);
}
#image-carousel-main img {
  border-radius: 10% / 50%;
}

.first-slide-title {
  padding: 120px 5% 0;
  font-family: "heading-now";
  font-size: clamp(200px, 25vw, 500px);
  line-height: 0.9;
  letter-spacing: 2px;
}
.invitationTextShort {
  padding: 0 5%;
  text-align: center;
  margin-top: 15px;
}
#image-carousel-main .splide__pagination, .gallery .splide__pagination {
  bottom: auto;
}

.first-slide-text1 {
  padding: 0 5%;
  font-family: "Oswald", sans-serif;
  font-size: clamp(24px, 5vw, 60px);
  font-style: italic;
  margin-bottom: 0.5em;
}
.imagesContainer {
  width: 100%;
  bottom: 0;
  z-index: 1;
  position: relative;
  background: linear-gradient(360deg, #246fb0, transparent);
}
.imagesWrapper {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}
.whiteImage {
  filter: brightness(0) invert(1);
}
.heroContentWrapper {
  background-color: #000;
  background-image: url(./assets/blob.jpg);
  background-position: right;
  background-repeat: no-repeat;
  background-size: 30vw;
  background-position-y: 200px;
}
.heroContentWrapper img {
  width: min(16vw, 300px)
}
.hero-content p {
  font-size: clamp(16px, 10vw, 32px);
  line-height: 1.3;
  color: #ffffff;
}

#three-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.info-section {
  min-height: 100vh;
  background-color: #242625;
  color: #ffffff;
  padding: 50px 60px;
  line-height: 1.6;
  z-index: 1;
  font-size: 20px;
  position: relative;
}
.pdfLink {
  display: flex;
  justify-content: center;
}
.pdfLink a:link {
  color: #fff;
}
.pdfLink a:visited  {
  color: rgb(139 27 191);
}
.pdfLink a:hover  {
  color: gray;
}
.pdfLink a:active   {
  color: gray;
}
.info-section h3 {
  margin-bottom: 20px;
}
.info-section p {
  margin-top: 40px;
}
.info-section .qrCodeWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.info-section .qrCodeWrapper > img {
  width: fit-content;
  max-width: 100%;
  max-height: calc(100% - 30px);
}
.info-section .qrCodeWrapper {
  height: 300px;
}
.info-content {
  text-align: justify;
  word-spacing: 4px;
}
.info-content-last-paragraph {
  text-align: end;
}
.info-content-title, .info-content-last-paragraph {
  font-size: 32px;
  text-align: center;
}
.text-indent {
  text-indent: 2rem;
}
.blob {
  position: absolute;
  top: -50px;
  right: 0;
  width: 150%;
  height: 50vw;
  z-index: -1;
}
.gallery {
  padding: 15px 20px;
  width: 100%;
  margin: 0 auto;
  color: #000;
  background-color: #242625;
  color: #fff
}

.gallery-title {
  text-align: center;
  font-size: 34px;
}

.splide {
  width: 100%;
  margin: 0 auto;
}

.splide__slide {
  text-align: center;
  padding: 10px;
  display: flex !important;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  min-height: 450px;
}

.splide__slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.splide__desc {
  font-size: 20px;
  margin: 5px 0 0;
}

@media (max-width: 768px) {
  .splide__slide img {
    max-height: 450px;
    object-fit: contain;
  }
}

@media (min-width: 768px) {
  section.splide:not(#image-carousel-main) .splide__slide {
    display: flex !important; 
    flex-direction: column;
    justify-content: flex-start;
    align-items: center; 
  }

  section.splide:not(#image-carousel-main) .splide__slide img {
    height: 450px; 
    width: auto;
    object-fit: cover;
    object-position: center;
    display: block !important;
  }
  .gallery img:hover {
    cursor: pointer;
  }
}

@media (max-width: 820px) {
  .info-section .qrCodeWrapper {
    height: 300px;
  }
  .hero-content {
    top: 20%;
    left: 16px;
  }
  .info-section {
    padding: 16px 16px 46px;
  }
  .info-content {
    font-size: 16px;
  }
  .info-content-title, .info-content-last-paragraph {
    font-size: 24px;
  }
  .blob {
    top: 16px;
  }
  .heroContentWrapper {
    background-size: 50vw;
  }
}

.modal {
  display: none;
  visibility: hidden;
}

.modal.is-open {
  z-index: 5;
  position: absolute;
  display: block;
  visibility: visible;
}

.modal {
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir,
               helvetica neue, helvetica, ubuntu, roboto, noto,
               segoe ui, arial, sans-serif;
}

.modal__overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__container {
  background-color: #d3d3d3;
  padding: 30px;
  max-width: calc(100vw - 10px);
  max-height: 100vh;
  border-radius: 4px;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal__header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.modal__title {
  margin: 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #00449e;
}

.modal__close {
  background: transparent;
  border: 0;
  font-size: 20px;
}

.modal__header .modal__close:before {
  content: "\2715";
}

.modal__content {
  line-height: 1.5;
  color: rgba(0,0,0,0.8);
}

.modal__btn {
  font-size: .875rem;
  padding: .5rem 1rem;
  background-color: #ff0000;
  color: rgba(0,0,0,0.8);
  border-radius: .25rem;
  border: none;
  cursor: pointer;
  will-change: transform;
  transition: transform .25s ease-out;
}

.modal__btn:focus,
.modal__btn:hover {
  transform: scale(1.05);
}

.modal__btn-primary {
  background-color: #00449e;
  color: #fff;
}
#modalImg {
  width: 100%;
  max-height: calc(100vh - 100px) !important;
  object-fit: contain;
  object-position: center;
}
body.modal-open {
  overflow: hidden;
  position: relative;
}
