@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

@font-face {
  font-family: afacad;
  src: url("../assets/fonts/Afacad-Regular.ttf");
}

@font-face {
  font-family: amsterdam;
  src: url("../assets/fonts/Amsterdam.ttf");
}

body {
  background-image: url("../assets/bg.jpeg");
  background-size: cover;
  background-attachment: local;
  height: 100vh;
  width: 100%;
  color: white;
  margin: 0;
  position: relative;
  /* -ms-overflow-style: none; 
  scrollbar-width: none;  */
  overflow: hidden;
}

.container {
  top: 0px;
  background-color: rgba(19, 19, 19, 0.9);
  min-height: 100%;
  width: 50%;
  position: relative;
}

::-webkit-scrollbar {
  display: none;
}

h1 {
  font-family: amsterdam;
  text-align: center;
  font-size: 2rem;
}

a.shrine-name {
  display: block;
  color: white;
  font-family: amsterdam;
  text-align: center;
  font-size: 2.6rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  cursor: pointer;
  width: auto;
}

h2 {
  text-align: center;
  margin: 0;
  padding: 0;
}

.press-f {
  font-family: "DM Sans";
  cursor: pointer;
  color: rgba(255, 255, 255);
  opacity: 0.7;
  font-size: 1.5rem;
  transition: ease-in-out 0.1s;
  font-weight: 300;
  width: auto;
}

p {
  font-family: "DM Sans";
  text-align: center;
  color: rgba(255, 255, 255, 0.374);
  font-size: 0.8rem;
  margin: 0;
  padding: 0;
  font-weight: 200;
}

.attribution {
  font-style: normal;
}

.shrine-img {
  width: 380px;
  filter: drop-shadow(0 0 0.5rem rgba(128, 128, 128, 0.744));
  cursor: pointer;
}

.falling-image {
  position: absolute;
  width: 150px;
  height: 150px;
  pointer-events: none;
  animation: fall 2s linear forwards;
}

@keyframes fall {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  5% {
    transform: translateY(-15px);
    opacity: 1;
  }
  10% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

.confetti {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color);
  opacity: 0.8;
  border-radius: 2px;
  animation: confetti-fall 0.8s ease-out forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x-move), var(--y-move)) rotate(720deg);
    opacity: 0;
  }
}

#bg-music-btn {
  cursor: pointer;
  font-size: 1.5rem;
  color: #fcf2e37a;
  position: absolute;
  top: 1rem;
  right: 0rem;
}

#bg-music-btn:hover {
  color: #fcf2e3;
  transition: 0.2s ease-in-out;
}

.nav-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  cursor: pointer;
}

.nav-link p {
  font-size: 0.9rem;
  color: #fcf2e350;
}

.nav-link p:hover {
  color: #fcf2e3;
  transition: 0.2s ease-in-out;
}

.extra-link {
  font-size: 0.9rem;
  color: #fcf2e390;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  width: auto;
  font-family: "DM Sans";
}

.extra-link i {
  font-size: 0.7rem;
}

.extra-link:hover {
  color: #fcf2e3;
}

/*--------------------------extra page-------------------------------*/

.accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-color: #b5b5c0;
  border: none;
}

.accordion-item {
  border: none;
}

.accordion-item:first-of-type > .accordion-header .accordion-button,
.accordion-item:last-of-type > .accordion-header .accordion-button.collapsed {
  border-radius: 25px;
}

.accordion-button,
.accordion-button:not(.collapsed) {
  background-color: #616479;
  box-shadow: none;
  color: white;
  border-radius: 25px;
  margin-bottom: 10px;
  font-family: "DM Sans";
  font-size: 1.2rem;
  font-weight: 500;
}

.accordion-button:focus,
.accordion-button:not(.collapsed):focus {
  box-shadow: none;
  outline: 0;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M2 5l6 6 6-6' fill='none' stroke='%23ffffff40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important;
}

hr.dotted {
  border-top: 5px dotted #616479;
  opacity: 100%;
}

.about-img {
  width: 25%;
  margin-right: 1rem;
}

.about-text-container {
  width: 72%;
  display: flex;
  align-items: center;
}

.extra-text {
  color: #b5b5c0;
  font-family: "DM Sans";
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: justify;
}

.build-img {
  width: 100%;
  cursor: pointer;
}

.nui-img {
  width: 25%;
  margin-right: 1.5rem;
  border-radius: 50%;
  border: white solid 5px;
}

.nui-text-container {
  width: 50%;
  display: flex;
  align-items: center;
}

.footer-btn {
  background-color: transparent;
  color: #b5b5c0d2;
  width: 25%;
  border: #b5b5c0d2 solid 2px;
  border-radius: 5px;
  font-family: "DM Sans";
}

.footer-btn:hover {
  background-color: #b5b5c0d2;
  color: black;
  border: #b5b5c0d2 solid 2px;
  transition: ease-in-out 0.2s;
}

.fic-container {
  background-color: black;
  border-radius: 15px;
  color: #b5b5c0;
  padding: 20px 20px 20px 20px;
  border: #b5b5c052 2px solid;
  margin-bottom: 10px;
}

.fic-container p {
  color: #b5b5c0;
  font-weight: 300;
  font-size: 0.9rem;
  text-align: left;
}

.fic-title a {
  color: white;
  text-decoration: underline dotted;
  text-decoration-color: #b5b5c0bc;
  font-weight: 600;
}

.tags-label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.821);
}

/*------------------------gallery------------------------*/

.gallery-container {
  padding: 0px !important;
}

.gallery-thumbnail {
  display: block;
  flex-grow: 1;
  flex-shrink: 1;
  height: 11.25rem;
  width: 11.25rem;
  object-fit: cover;
  object-position: 25% 50%;
  margin: 3px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  border: 5px solid white;
  border-radius: 5px;
}

.gallery-thumbnail:hover {
  transform: scale(1.05);
}

/*-----------------------Modal----------------------------*/

.modal-open {
  padding-right: 0px !important;
  overflow: hidden !important;
  height: 100% !important;
}

.modal {
  padding-right: 0px !important;
  scrollbar-width: none;
  --bs-modal-width: 800px;
  cursor: pointer;
  color: white;
  font-size: 30px;
}

.modal.show {
  max-height: 100vh;
}

.modal-content {
  background: none;
  border: none;
  cursor: default;
}

.modal-image-container {
  background-color: white;
  border: 5px solid white;
  color: #616479;
  border-radius: 5px;
}

.modal-image-container p {
  color: #616479;
  font-weight: 300;
  margin-top: 5px;
}

.modal-image {
  display: block;
  object-fit: contain;
  width: auto;
  max-height: 85vh;
  margin: 0;
}

.modal-row {
  align-items: center;
}

.modal-cross {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.8rem;
  color: white;
  z-index: 1057; /* one above the arrows */
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.modal-cross:hover {
  opacity: 1;
}

.modal-arrow {
  position: absolute;
  top: 50%;
  font-size: 1.5rem;
  color: white;
  z-index: 1056;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

.modal-arrow:hover {
  opacity: 1;
}

.modal-arrow-left {
  left: 15px;
  padding: 0.5rem 0.9rem 0.5rem 0.7rem;
}

.modal-arrow-right {
  right: 15px;
  padding: 0.5rem 0.7rem 0.5rem 0.9rem;
}

#modal-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-nav-container {
  background-color: black;
}

/*--------------------------Responsiveness-------------------------------*/

@media only screen and (max-width: 1200px) {
  .container {
    width: 80%;
  }
}

@media only screen and (max-width: 770px) {
  .about-img,
  .nui-img {
    width: 50%;
    margin: auto;
  }

  .about-text-container,
  .nui-text-container {
    width: 100%;
  }

  .gallery-thumbnail {
    height: 6rem;
    width: 6rem;
  }

  .footer-btn {
    width: 70%;
  }
}

@media only screen and (max-width: 500px) {
  .container {
    width: 90%;
  }

  h1 {
    padding-top: 20px;
    font-size: 1.4rem;
  }

  a.shrine-name {
    font-size: 2rem;
  }
}
