/* Import Gothic Font */
@import url("https://fonts.googleapis.com/css2?family=Cinzel&display=swap");

/* General Styles */
body {
  font-family: "Cinzel", serif;
  background: url("https://media.istockphoto.com/photos/old-paper-texture-or-background-picture-id1272593295?b=1&k=20&m=1272593295&s=170667a&w=0&h=-QRd4J5M4I0LsxGL_Nctu_XwFyt6feTnICCEw9mR6ww=")
    repeat center center fixed;
  background-size: cover;
  color: #2c1b47;
  text-align: center;
  margin: 0;
  padding: 0;
  padding-top: 70px;
}

/* Header */
header {
  background: #2c1b47; /* Dark medieval color */
  color: #d4afef;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Title */
h1 {
  font-size: 2rem;
  margin: 0;
  font-weight: bold;
  flex-grow: 1;
}

/* Hamburger Menu */
.menu-toggle {
  font-size: 24px;
  background: none;
  border: none;
  color: #d4afef;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

/* Dropdown Navigation */
.nav-menu {
  background: rgba(220, 200, 180, 0.95);
  position: fixed;
  left: 10px;
  top: 50px;
  width: 200px;
  border: 3px solid #2c1b47;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 1100;
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
  height: 0;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out,
    height 0.5s ease-out;
}

/* Active Menu */
.nav-menu.active {
  transform: scaleY(1);
  opacity: 1;
  height: auto;
}

/* Menu Links */
.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  border-bottom: 1px solid #2c1b47;
}

.nav-menu a {
  display: block;
  padding: 12px;
  color: #2c1b47;
  text-decoration: none;
  font-size: 18px;
}

.nav-menu a:hover {
  background: #d4afef;
  color: #2c1b47;
}

/* Main Layout */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  max-width: 1500px auto;

  text-align: center;
  margin: 20px auto;
  width: 85%;
}

.facebook-link {
    font-size: 24px;  /* Adjust size */
    color: #2c1b47;  /* Match your theme */
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s ease-in-out;
}

.facebook-link:hover {
    color: #4267B2;  /* Facebook blue on hover */
    animation: flicker 0.5s infinite alternate;
}

.patreon-link {
    font-size: 24px;  /* Adjust size */
    color: #2c1b47;  /* Match your theme */
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s ease-in-out;
}

.patreon-link:hover {
    color: #F96854;  /* Patreon orange on hover */
    animation: flicker 0.5s infinite alternate;
}

.instagram-link {
    font-size: 24px;  /* Adjust size */
    color: #2c1b47;  /* Match your theme */
    text-decoration: none;
    margin-left: 15px;
    
    transition: color 0.3s ease-in-out;
}



.instagram-link:hover {
    color: #E4405F;  /* Instagram pink on hover */
    animation: flicker 0.5s infinite alternate;
}

.shop-link {
    font-size: 24px;  /* Adjust size */
    color: #2c1b47;  /* Match your theme */
    text-decoration: none;
    margin-left: 15px;
    
    transition: color 0.3s ease-in-out;
}



.shop-link:hover {
    color: #E4405F;  /* Instagram pink on hover */
    animation: flicker 0.5s infinite alternate;
}

.submission {
background-color: #2c1b47;
color: white;
text-align: center;
transition: color 0.3s ease-in-out;
}

.submission:hover {
color: #E4405F;  /* Instagram pink on hover */
animation: flicker 0.5s infinite alternate;
}
@keyframes flicker {
    0% { text-shadow: 0 0 5px rgba(106, 178, 255, 0.8); }
    50% { text-shadow: 0 0 20px rgba(106, 178, 255, 1), 0 0 40px rgba(129, 63, 129, 1); }
    100% { text-shadow: 0 0 5px rgba(106, 178, 255, 0.8); }
}


/* Image Sections */
.left-column,
.right-column {
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

/* Image Carousel */
.image-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid #2c1b47;
  border-radius: 10px;
}

/* Full-size images */
.image-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* First image is visible */
.image-carousel img:first-child {
  opacity: 1;
}

/* Center Content */
.center-column {
  width: 60%;
  text-align: center;
}



/* Intro Section */
.intro {
  text-align: left;
  padding: 40px;
  background: rgba(220, 200, 180, 0.9);
  border: 3px solid #2c1b47;
  border-radius: 10px;
  margin: 20px auto;
  /*width: 85%; /* Matches About & Events */
  height: auto; /* Matches Image Columns */
  /*font-size: 1.5rem; /* Increased for readability */
  font-weight: bold;
  display: flex;
  align-items: top; /* Centers text vertically */
  justify-content: center; /* Centers text horizontally */
  box-sizing: border-box; /* Ensures padding doesn’t affect width */
}

/* Headings */
h2 {
  font-size: 1.8rem;
  color: #3a1d6e;
}

h3 {
  font-size: 1.8rem;
  color: #3a1d6e;
  padding-top: 70px;
}

/* Events Section */
#events,
#patreon, #merch {
  text-align: center;
  padding: 20px;
  background: rgba(220, 200, 180, 0.9);
  border: 3px solid #2c1b47;
  border-radius: 10px;
  margin: 20px auto;
  width: 85%;
}

#merch {
  text-align: left;
}

/* Google Calendar */
.calendar-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.calendar-container iframe {
  max-width: 100%;
  border-radius: 8px;
}

/* About Section */
#about1,
#patreon {
  text-align: left;
  padding: 20px;
  background: rgba(220, 200, 180, 0.9);
  border: 3px solid #2c1b47;
  border-radius: 10px;
  margin: 20px auto;
  width: 85%;
  font-weight: bold;
}

.merch-container {
    text-align: left; /* Centers the text */
    display: inline-block;
    padding: 10px;
}

.image-container, .image-container2, .image-container3, .image-container4, .image-container5, .image-container6 {
    overflow: hidden; /* Ensures the enlarged image doesn’t overflow */
    text-align: center;
    display: inline-block;
}

.image-container img, .image-container3 img, .image-container4 img, .image-container5 img {
    display: block;
    text-align: left; /* Aligns the image to the left */
    margin-left: 0; /* Ensures it stays on the left */
    transition: transform 0.3s ease-in-out; /* Smooth transition */
    transform-origin: 50% 30%; /* Adjust to control the zoom focus */
}


.image-container2 img, .image-container6 img {
    display: block;
    text-align: left; /* Aligns the image to the left */
    margin-left: 0; /* Ensures it stays on the left */
    transition: transform 0.3s ease-in-out; /* Smooth transition */
    transform-origin: 50% 50%; /* Adjust to control the zoom focus */
}

.image-container img:hover {
    transform: scale(3.5); /* Increase size to 1.5x on hover */
}
.image-container2 img:hover, .image-container3 img:hover {
    transform: scale(2.8); /* Increase size to 1.5x on hover */
}
.image-container6 img:hover {
    transform: scale(1.5); /* Increase size to 1.5x on hover */
}

.shop-item {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.shop-item img {
  
  
  display: block;
}

.shop-item .description {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(44, 27, 71, 0.8); /* dark semi-transparent background */
  color: #fff;
  padding: 10px;
  font-size: 1rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.shop-item:hover .description {
  opacity: 1;
}
.centered-text {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px; /* Adds spacing between text and image */
}


/* Mobile */
@media (max-width: 768px) {
  h1,
  h2,
  h3 {
    font-size: 4vw;
  }

  /* Ensure the main content takes full width */
  main {
    flex-direction: column;
    width: 100%;
    padding: 20px;
    font-size: 4vw;
    box-sizing: border-box;
  }

  /* Hide Left & Right Columns */
  .left-column,
  .right-column {
    display: none;
  }

  /* Center Column (Intro) should take full width */
  .center-column {
    width: 100%;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
  }
  .facebook-link, .instagram-link, .patreon-link, .shop-link {
        font-size: 4vw; /* Smaller size for mobile */
  }  

  /* Make "Intro" match "About" and "Events" */
  .intro {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 10px auto;
    text-align: left;
    background: rgba(220, 200, 180, 0.9);
    border: 3px solid #2c1b47;
    border-radius: 10px;
    font-weight: bold;
    box-sizing: border-box;
    font-size: 4vw;
  }

  /* Fix the About & Events Sections */
  #about1,
  #events,
  #patreon {
    width: 85%;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 30px auto;
    text-align: left;
    background: rgba(220, 200, 180, 0.9);
    border: 3px solid #2c1b47;
    border-radius: 10px;
    font-weight: bold;
    box-sizing: border-box;
    font-size: 4vw;
  }

  /* Ensure the menu fits on mobile */
  .nav-menu {
    width: 100%;
    left: 0;
    top: 60px;
  }
}
