/* styles/main.css */

/* Import Medieval Font */
@import url('https://fonts.googleapis.com/css2?family=MedievalSharp&display=swap');

.parchment-scroll {
  background: url('https://www.publicdomainpictures.net/pictures/380000/velka/pergament-papier-alt-vintage.jpg') no-repeat center center;
  background-size: cover;
  padding: 20px;
  border: 1px solid #d4af37;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Animated Background */
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'MedievalSharp', 'Arial', sans-serif;
  overflow: hidden;
  background: url('../assets/img/bg-parchment.webp') no-repeat center center fixed;
  background-size: cover;
}

.box {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

main {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
}

.container-fluid {
  background: linear-gradient(45deg, #1e3c72, #742552);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.background-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.overlay-content {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  text-align: center;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
}

/* Highlight the active link */
.nav-link.active {
  color: #0d6efd; /* Bootstrap's primary color */
  font-weight: bold;
}

/* Space out text below icons */
.nav-link div {
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

header {
  background: url('../assets/img/parchment-head.png') no-repeat center center;
  background-size: 100% 100%; 
}

footer.subpage {
  background: url('../assets/img/parchment-foot.png') no-repeat center center;
  background-size: 100% 100%; 
}

/* Options for background-size:
   cover: The background image will cover the entire header, maintaining its aspect ratio.
   contain: The background image will be scaled to fit within the header, maintaining its aspect ratio.
   auto: The background image will be displayed at its original size.
   100% 100%: The background image will be stretched to fit the header dimensions.




