@font-face {
  font-family: 'CASLON ANTIQUE ITALIC';
  src: url('./fonts/CAS_ANTI.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'CASLON ANTIQUE';
  src: url('./fonts/CAS_ANTN.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}



body {
  background-color: #336699;
  margin: 0;
  position: relative;
  color: white;
  font-family: 'CASLON ANTIQUE', 'Times New Roman', Times, serif;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('./images/dark-coverbook.png');
  background-size: cover;
  background-position: center;
  opacity: 0.4; /* adjust transparency here */
  pointer-events: none;
  z-index: -1;
}


.navbar {
  font-family: 'CASLON ANTIQUE', Georgia, 'Times New Roman', Times, serif;
  padding: 5px 10px 0px 10px;
  display: flex;
  font-weight: bold;
  width: 100%;
  gap: 25px;
}

.hero {
  display: flex;
  flex-direction: column;
  background: url('images/mainRitual22.JPG') center/cover no-repeat;
  background-clip: padding-box;
  background-position: 0% 70%;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.hero-overlay {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.3); 
  border-radius: 6px;
  padding: 0 0.5%;
  margin-bottom: 5px;
  width: fit-content; 
  color: #ffffff;
}

.date, .time {
  font-family: 'Franklin Gothic Medium', Arial, sans-serif;
  font-size: 1.5rem;
}

.info, .board, .links, .vendor-info, .sponsors {
    text-align: center;
    padding: 20px;
    margin-top: 1px;
    color: rgba(255, 255, 255, 1);
    justify-content: center;
}

.info-header {
  font-size: 3rem;
}

.board {
  font-weight: bold;
}

.board-members, .emeritus {
  max-width: 100%;
  gap: 15px;
  align-items: center;
  justify-content: center;
  font-weight: 100;
}

.profile {
  height: 450px;
  max-width: 100%;
  overflow: hidden;
}

.profile-pic, .link-pic {
  height: 350px;
  width: 320px;
  border: 2mm solid #336699;
  border-radius: 12px;
  background-color: #000000;
}

.board-members img, .link-list img, .emeritus img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  /* display: block; */
}

.link-list img {
  object-fit: contain;
}

.hide-profile {
  display: none;
}

.mission-title {
  font-size: 1.8rem;
  font-family: 'CASLON ANTIQUE', Georgia, 'Times New Roman', Times, serif;
}


#mission-statement, .sponsor {
  font-family: 'Franklin Gothic Medium', Arial, sans-serif;
  max-width: 75vw;
  display: inline-block;
  text-align: justify;
}


.get-involved, .find-us, .archives {
  text-align: left;
  padding: 20px 20px 0px 20px;
  color: white;
  margin-top: 1px;
}

.get-involved {
  height: 700px;
}

.archives {
  margin-bottom: 200px;
}

.countdown {
  text-align: center;
  padding: 20px;
  background-color: #F2DFCB;
  margin-top: 1px;
  margin-bottom: 50px;
}

.counter-break {
  display: none;
}

.get-involved .cards {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  margin-top: 10px;
}

.card {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  border: 2px solid gold;
  border-radius: 12px;
  width: 280px;
  height: 470px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  text-align: center;
  justify-content: center;
  font-family: serif;
  font-weight: bold;
  transition: transform 0.2s ease;
  box-shadow: -6px 10px 7px black;
  perspective: 1000px;
}

.card-text {
  font-family: 'Amarante';  
  font-size: 2.2rem;
  color: rgb(191, 164, 13);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  backface-visibility: hidden;
  z-index: 1;
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .4s ease-in-out;
  transform-style: preserve-3d;
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  top: 0;
  left: 0;
}

.card-front {
  z-index: 1;
  transform: rotateY(0deg);
}

.card-back {
  z-index: 2;
  transform: rotateY(180deg);
  opacity: 0.3;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.section-divider {
  width: 50vw;            
  height: 6px;
  background-color: #ffffff; 
  border: none;
  margin-left: 0;         
  margin-top: 20px;
  margin-bottom: 20px;
}

.find-us-elements {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
}

.insta-block, .fb-block {
    /* display: grid; */
    /* background-color: #33669944; */
    /* width: 50vw; */
    /* height: auto; */
    justify-content: center;
    border-radius: 20px;
    box-shadow: -10px 10px 12px #000000;
}

.map-block {
  width: 100%;
  max-width: 50vw;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map {
  max-width: 100%;      
  height: auto;         
  display: block;
  border-radius: 10px;  
  box-shadow: -10px 10px 12px #000000;

}

a:link {
  color: #ffffff;        /* unvisited link */
  text-decoration: none;
}

a:visited {
  color: #eeeeee;      /* visited link */
}

a:hover {
  color: #000000;         /* mouse over link */
  text-decoration: underline;
}

a:active {
  color: orange;      /* clicked link */
}

footer {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 125px;
    font-size: 1rem;
    background-color: #336699;
    padding: 10px;
}

footer a:link {
  color: #342f9a;
  font-family: "Orbitron", sans-serif;


}

footer a:visited {
  color: #342f9a; 
  font-family: "Orbitron", sans-serif;
   
}

footer a:hover {
  color: #000;    
  text-decoration: underline;
  font-family: "Orbitron", sans-serif;

}

.volunteer-quote {
  max-width: 650px;
  color: white;
  font-family: 'Franklin Gothic Medium', Arial, sans-serif;
}

.volun-app {
  padding: 20px;
  margin-top: 1px;
}

.volunteer-applications, .vendor-application {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px; 
  padding: 40px;
  flex-wrap: wrap; 
}


.volunteer-hero {
  display: flex;
  flex-direction: column;
  background: url('images/volunteer3.jpg') center/cover no-repeat;
  background-clip: padding-box;
  min-height: 20vw;
  background-position: 0% 50%;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

#about-hero, .community-hero, .vendor-hero, .reminder-hero {
  background: url('images/philly.jpg') center/cover no-repeat;
  height: 350px;
  max-width: 100%;
  max-height: 50%;
}

.community-hero {
  background: url('images/community22.JPG') center/cover no-repeat;
  height: 450px;
}

.vendor-hero {
  background: url('images/vendorImage22.JPG') center/cover no-repeat;
  max-height: 600px;
  height: 450px;
  background-position: 0 60%;
}

.reminder-hero {
  background: url('images/labyrinth.JPG') center/cover no-repeat;
  background-position: 0 80%;
}

.board-name, .link-name {
  font-family: 'CASLON ANTIQUE ITALIC', Georgia, 'Times New Roman', Times, serif;
  font-size: 2rem;
  margin-top: 25px;
}

.board-title {
  font-style: italic;
  font-size: 1rem;
  margin-top: 8px;
}

.hyperlink a:link, .hyperlink a:visited{
  font-weight: bolder;
  color: gold;
  text-decoration: underline 0.5mm;
}

.hyperlink a:hover {
  color: blue;
}

.links {
  padding: 20px;
  max-width: 100%;
  padding: 20px;
}

.link-title {
  padding: 20px;
  text-align: justify;
}

.link-pic:hover {
  border: 2mm solid gold;
}

.betwixt {
  background-color: black;
}

.paganprideproject {
  background-color: white;
}

.workshop-description, .sponsor-desc {
  text-align: left;
  padding: 10px 40px 0px 40px;
  font-family: 'Franklin Gothic Medium', Arial, sans-serif;
}

.workshop-hero {
  background: url('./images/workshops22.JPG') center/cover no-repeat;
  height: 450px;
}

#about-title {
  margin-bottom: 0px;
  font-family: 'CASLON ANTIQUE';
}

.instagram-media {
    box-shadow: -10px 10px 12px #000000;
}

.insta {
  box-shadow: -10px 10px 12px #000000;
}


.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;   /* centers img + caption */
}

.swiper-slide img {
  display: block;
  max-width: 100%;
  height: auto;
}

.swiper-slide p {
  margin-top: 0.5rem;
  text-align: center;
}

.schedule img {
  max-height: 350px;
}

.event-details {
  display: flex;
  flex-direction: row;
}





















/* MOBILE RESPONSIVE CSS */

@media (max-width: 926px) {

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 5px 0px 5px;
    gap: 2px;
  }

  .hero {
    padding: 30px 10px;
  }

  .hero-overlay {
    width:auto;
  }

  .info {
    font-size: 1.4rem;
  }

  .get-involved .cards {
    position: relative;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .card {
    width: 180px;
    height: 300px;
  }

  .card-inner {
    width: 100%;
    height: 100%;
    font-size: 1.2rem;
    background-size: auto;
  }

  .card-text {
    font-size: 0.8rem;
  }

  .find-us {
    margin-top: 350px;
  }

  .find-us-elements {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
  }

  .insta-block,
  .map-block {
    width: auto;
    max-width: 70vw;
  }

  .countdown {
    display: flex;
    flex-direction: column;
    position: static;
    margin-top: 30px;
    font-size: 1.5rem;
    padding: 20px 0;
    text-align: center;
    border-radius: 12px;
    color: black;
  }

  .counter-break {
    display: block
  }

  .volunteer-quote {
  font-size: 1rem;
}

  .board-members, .link-list, .emeritus {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    }

  .vendor-hero {
    height: 450px;
    background-position: 60% 60%;
  }

  .vendor-info {
    text-align: justify;
    padding: 40px 30px;
  }

  h2 {
    font-size: 2rem;
    text-align: left !important;

    }

  .hero h1 {
    font-size: 3rem;
    font-weight: bold;
    color: white;
  }

  .vendor-title {
    text-align: left;
    font-size: 2rem;
  }

  .vendor-instructions, .reminder {
    padding: 10px 15px;
    text-align: left;
    font-size: 1rem;
    font-family: 'Franklin Gothic Medium', Arial, sans-serif;
  }

  .volunteer-h2 {
    font-size: 2rem
  }

  .get-involved h2 {
    font-size: 1.4rem;
  }

  .workshop-hero {
    max-width: 450px;
  }

  .workshop-information {
    text-align: left;
    font-size: 2rem;;
  }

  .card-image {
    max-width: 100%;
    display: block;
    border-radius: 8px;
  }

  #about-title {
    font-family: 'CASLON ANTIQUE';  
  }

  .subtext {
    font-size: 1rem;
  }

  .sponsor {
    font-size: 1rem;
  }

  .workshop-description, .sponsor-desc {
    font-size: 1rem;
  }

  .volun-app {
    font-size: 1rem;
  }

  .navbar {
    font-size: 1rem;
  }

  .submit-payment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
  }

  .payment-button {
    padding: 50px;
    max-width: 100%;
  }

  #reminder-header {
    margin-top: 5%;
  }

  .app-status {
    color: #000000;
    background-color: #F2DFCB;
    padding: 8px;
    font-weight: bolder;
    font-size: 2rem;
    text-align: center;
    margin: 0px 15px;
    border-radius: 12px;
  }

  .socials {
    display: flex;
    flex-direction: row-reverse;
    padding: 0 10px 0 0;

  }

  .socials img {
    max-width: 20px;
    max-height: 20px;
    margin-top: 5px;
  }

  .sponsor {
    display: flex;
    flex-direction: column;
    max-width: 100vw;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
  }

  .sponsor img {
    max-width: 90vw;
    border-radius: 12px;
  }

  .link-pic {
    height: 350px;
    width: 320px;
    border: 2mm solid #336699;
    border-radius: 12px;
    background-color: #000000;
}

  .link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    text-align: left;
  }

  .link.board-title {
    text-align: left;
  }

  .sponsor-container {
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    max-width: 100vw;
    object-fit: contain;
    padding: 10px 10px;
    justify-items: center;
  }

  .sponsor img {
    max-width: 70vw;
    max-height: 563px;
    border: 0.5rem double white;
    box-shadow: 10px 10px 8px 4px black;
  }

   .swiper {
    width: 100%;
    height: auto;
    margin-top: 10px;
    margin-bottom: 30px;
}

  .swiper-wrapper {
    display: flex;
    align-items: center;
  }

  .swiper-slide {
    display: flex !important;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .swiper-slide img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
  }

  .schedule img {
  /* max-width: 50vw; */
  max-height: 250px;
  margin-left: 5vw;
}


}











/* DESKTOP SCREENS */

@media (min-width: 927px) {
  .countdown {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    font-weight: bold;
    color: black;
    padding: 20px 0;
    font-size: 2rem;
    z-index: 1000;
    text-align: center;
    border-radius: 12px;
  }

  .find-us-elements {
        margin-bottom: 250px;

  }

  .subtext, .volunteer-quote {
    font-size: 1.5rem;
  }

   
  .board-members, .link-list, .emeritus {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
  }

  .emeritus {
    /* margin-top: 150px; */
  }

  .vendor-hero {
  height: 450px;
  background-position: 0 60%;
  }

  .vendor-info {
  text-align: justify;
  }

  section.info p.h2, section.board p.h2, section.vendor-info .mission-title, section.links h2, section.sponsors h2 {
    text-align: left;
    color: white;
  }

  section.links h2, section.board h2, section.sponsors h2  {
    font-size: 3rem;
  }

  section.board h2 {
    text-align: left;
  }

  .hero h1 {
    font-size: 5rem;
    font-weight: bold;
    color: white;
  }

  .vendor-title {
    text-align: left;
    font-size: 3rem;
  }

  .vendor-instructions, .reminder {
    padding: 40px 150px;
    font-size: 1.5rem;
    font-family: 'Franklin Gothic Medium', Arial, sans-serif;

  }

  .volunteer-h2 {
    font-size: 3rem
  }

  .get-involved h2, .find-us h2, .archives h2 {
    font-size: 3rem;
  }

  .workshop-hero {
    height: 450px;
    background-position: 0 50%;
  }

  .workshop-information {
    text-align: left;
    font-size: 3rem;
  }

  .workshop-description, .sponsor-desc {
    padding: 10px 40px 0px 40px;
    font-family: 'Franklin Gothic Medium', Arial, sans-serif;
    font-size: 1.5rem;
  }

  .card-image {
    max-width: 100%;
    display: block;
    border-radius: 8px;
  }

  .subtext {
    font-size: 1.5rem;
  }

  .sponsor {
    font-size: 1.5rem;
  }

  .volun-app {
    font-size: 1.5rem;
  }

  .navbar {
    font-size: 1.5rem;
    background-color: #336699;
  }

   .submit-payment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 50px;
  place-items: center;
  }

  .payment-button {
    padding: 0 50px;
    max-width: 50%;
  }

  #reminder-header {
    margin-top: 5%;
    margin-left: 10px;
  }

  #paypal-title {
    font-size: 1.5rem;
  }

  .app-status {
    color: #000000;
    background-color: #F2DFCB;
    padding: 8px;
    font-weight: bolder;
    font-size: 2rem;
    text-align: center;
    margin: 0px 150px;
    border-radius: 12px;

  }

 .insta-block,
  .map-block {
    width: 40vw;
    max-width: none;
  }

  .link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
  }

  .socials {
    display: flex;
    flex-direction: row-reverse;
    padding: 0 10px 0 0;

  }

  .socials img {
    max-width: 30px;
    max-height: 30px;
  }

  .archive-container {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    max-width: 50%;
    padding: 15px 15px;
  }

  .carousel {
    display: flex;
    align-items: center;
    gap: 15px;
  }


  .carousel img {
    max-width: 500px;
    max-height: 500px;
  }

  .prev, .next {
    font-size: 2rem;
  }

  .sponsor-container {
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 100vw;
    object-fit: contain;
    padding: 20px 40px;
    justify-items: center;
  }

  .sponsor img {
    max-width: 40vw;
    max-height: 563px;
    border: 0.5rem double white;
    box-shadow: 10px 10px 8px 4px black;
  }

  .fly-in {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
  }

  .cards {
    position: relative;
  }

  .fly-in.show {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    transition-delay: 300ms;
    transition-duration: 1500ms;
  }

  .hidden {
    opacity: 0;
  }

  .swiper {
  width: 50%;
  height: auto;
  margin-top: 10px;
  margin-bottom: 30px;
}

  .swiper-wrapper {
    display: flex;
    align-items: center;
  }

  .swiper-slide {
    display: flex !important;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .swiper-slide img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
  }

  .lightbox {
  display: none; /* hidden until triggered */
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8); /* dark overlay */
}

.lightbox-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.lightbox-close:hover {
  color: #ccc;
}

.link .board-title {
    text-align: left;
    max-width: 70%;
  }

.schedule img {
  max-height: 350px;
  margin-left: 10vw;
}





}
