:root {

}

body{
  min-width:420px !important;
}

/*section{
  min-width:515px !important;
}*/

.text-shadow{
  text-shadow: 1px 1px 1px rgba(10,10,10,0.8);
}

.text-right{
  text-align: right;
}

/* Example of overriding Bootstrap's primary color */
.btn-primary, .btn-primary:hover {
  color: var(--bs-white);
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

/* Example of overriding Bootstrap's secondary color */
.text-muted {
  color: var(--bs-secondary);
}

/* Example of overriding Bootstrap's info color */
.alert-info {
  color: var(--bs-white);
  background-color: var(--bs-info);
  border-color: var(--bs-info);
}

a {
  color: var(--bs-tertiary);
}

a:hover, a:active {
  color: var(--bs-tertiary);
}

.hidden{
  display: none !important;
}

#page{
  padding-top:72px;
  min-height:850px;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin:0px auto;
  max-width:1480px;
  overflow:hidden;
}
.page-inner{
  padding-top:50px; 
}

/* --------------------------------END OVERRIDES -------------------------------------*/

.dice {
  width: 60px;
  height: 60px;
  margin-left:20px;
  border: 1px solid black;
  position: relative;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 3px;
  border:1px solid rgba(150,150,150,0.25);
  display: inline-block;
  text-shadow: 0px 0px 2px black;
  box-shadow: 0px 0px 10px black;
}

.dice #diceNumber {
  margin-top:10px;
  font-size: 24px;
  display: inline-block;
  font-family: var(--bs-body-font-family);
}

.hr-overlap {
    position: relative; /* Relative positioning for the container */
    text-align: center; /* Center align the content */
}

.hr-overlap hr {
    position: relative; /* Ensures the z-index applies correctly */
    z-index: 1; /* Lower z-index so the dice appears on top */
}

.hr-overlap .dice {
    position: absolute; /* Absolute positioning to overlap the hr */
    top: 50%; /* Position halfway down the parent */
    left: 50%; /* Position halfway across the parent */
    transform: translate(-50%, -50%); /* Adjust position to center the dice */
    z-index: 2; /* Higher z-index to be on top of the hr */
    /* Your existing dice styles */
    margin-left:-10px;
}

.hr-overlap #diceNumber {
    /* Styles to center the number within the dice if needed */
    /* Example: line-height, text-align, etc. */
}

.card-badge{
  width: 60px;
  height: 60px;
  margin-left:20px;
  border: 1px solid black;
  position: relative;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 30px;
  border:1px solid rgba(150,150,150,0.25);
  display: inline-block;
  text-shadow: 0px 0px 2px black;
  box-shadow: 0px 0px 10px black;
}

.card-badge-square{
  width: 60px;
  height: 60px;
  margin-left:20px;
  border: 1px solid black;
  position: relative;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 2px;
  border:1px solid rgba(150,150,150,0.25);
  display: inline-block;
  text-shadow: 0px 0px 2px black;
  box-shadow: 0px 0px 10px black;
}
.card-badge.overlap-top{
  margin-left:-16px;
  z-index:100;
}
.card-badge-square.overlap-bottom{
  z-index:50;
  margin-left:-10px;
}

.form-note{
  font-size:1rem;
}

.card{
  box-shadow: 0px 0px 10px rgba(10,10,10,0.5);
}

.speshfont{
  font-family: var(--bs-font-sans-serif) !important;
}
.mainfont{
  font-family: var(--bs-body-font-family) !important;
}

.card-badge span, .card-badge-square span{
  margin-top:10px;
  font-size: 24px;
  display: inline-block;
  font-family: var(--bs-body-font-family);
}
.centered-list{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-list{
  list-style-type: none;
  padding:0px;
}
li.redacted{
  margin-left:auto;
  margin-right:auto;
  margin-bottom:1px;
  margin-top:2px;
  background-color:black !important;
  padding:5px !important;
  width:70%;
}

.rounded-lg{
  border-radius:10px;
}

.shadowed{
  box-shadow:0px 0px 10px rgba(20,20,20,0.8);
}
.text-glow{
  text-shadow: 
        1px 1px 10px rgba(220, 220, 220, 0.9),
        -1px -1px 10px rgba(220, 220, 220, 0.9),
        1px -1px 10px rgba(220, 220, 220, 0.9),
        -1px 1px 10px rgba(220, 220, 220, 0.9);
}
.text-pop{
  text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.9),
        -1px -1px 2px rgba(0, 0, 0, 0.9),
        1px -1px 2px rgba(0, 0, 0, 0.9),
        -1px 1px 2px rgba(0, 0, 0, 0.9);
}

#mainNav, #homeNav{
  min-width: 420px !important;
}

#mainNav .navbar-nav .nav-item a:link{
  color:#fff;
}

#mainNav .navbar-nav .nav-item a:visited, #mainNav .navbar-nav .nav-item a:hover{
  color: var(--bs-primary);
}

.prax-card-container{
  border:1px solid rgba(120,120,120,0.4);
  box-shadow: 0px 0px 40px rgba(200,200,200,0.2);
}
.elements-card-container{
  border:2px solid rgba(120,120,120,0.8);
  box-shadow: 0px 0px 20px rgba(20,20,20,0.8);
  border-radius: 10px;
}
.animals-card-container{
  border:1px solid rgba(20,20,20,0.8);
  box-shadow: 0px 0px 30px rgba(20,20,20,0.8);
  border-radius: 20px;
}
.elements-card-text{
  border:2px solid rgba(120,120,120,0.8);
  border-radius: 10px;
  text-shadow:0px 0px 5px rgba(30,30,50,1);
}
.animals-card-text{
  border:1px solid rgba(20,20,20,0.8);
  border-radius: 0px 0px 10px 10px;
  text-shadow:0px 0px 5px rgba(30,30,50,1);
}

.card-index-container{
  border:1px solid rgba(200,200,200,0.3);
}

.prax-card-image{
  position: relative;
  border:1px solid rgba(50,50,50,0.5);
  /*box-shadow: inset 0px 0px 10px rgba(240,240,240,0.5);*/
}
.elements-card-image{
  position: relative;
  border:1px solid rgba(120,120,120,0.8);
  box-shadow: inset 0px 0px 10px rgba(240,240,240,0.5);
  border-radius: 10px 10px;
}
.animals-card-image{
  position: relative;
  border:1px solid rgba(20,20,20,0.8);
  border-bottom: 1px solid rgba(20,20,20,0.8);
  /*box-shadow: inset 0px 0px 10px rgba(240,240,240,0.5);*/
  border-radius: 20px 20px 0px 0px;
}

.elements-card-image img{
  border-radius: 10px 10px;
}
.animals-card-image img{
  border-radius: 20px 20px 0px 0px;
}

.icon-overlay {
  position: absolute;
  bottom: 0;
  margin-bottom: 20px;
  padding-bottom: 10px;
  padding-top: 10px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.icon-overlay.animals{
  position: relative;
  margin-bottom: 0px;
  padding-bottom: 5px;
  box-shadow: inset 0px 0px 10px rgba(140,140,140,0.4);
}

.card-icon {
  margin-right: 20px; /* Add spacing between images */
  max-width: 80px; /* Limit the maximum width of the images */
  position: relative;
  z-index: 150;
}

.card-image {
  margin-right: 20px; /* Add spacing between images */
  max-width: 80px;
}

@media (max-width: 768px) {
  /* Apply styles for screens smaller than 768px (e.g., mobile devices) */
  .icon-overlay {
    position: relative;
    margin-bottom: 10px;
    padding-bottom: 5px;
    padding-top: 5px;
    flex-wrap: wrap; /* Allow items to wrap to new lines */
    justify-content: flex-start; /* Align items to the left */
  }

  .card-icon {
    margin-right: 15px; /* Add spacing between images */
    max-width: 60px; /* Limit the maximum width of the images */
    position: relative;
    z-index: 150;
  }
  .card-badge.overlap-top{
    margin-left:-16px;
    z-index:100;
  }
  .card-badge-square.overlap-bottom{
    z-index:50;
    margin-left:-10px;
  }

  .card-image {
    margin-right: 10px; /* Reduce spacing between images on smaller screens */
    max-width: 50px; /* Adjust maximum width of images on smaller screens */
  }
  .card-badge{
    /*width: 40px;
    height: 40px;*/
    margin-top:0px;
  }
  .card-badge-square{
    /*width: 50px;
    height: 50px;*/
    margin-left:20px;
  }
  .dice {
    width: 40px;
    height: 40px;
  }
  .dice #diceNumber {
    margin-top:0px;
    font-size: 24px;
  }
}
@media (min-width: 992px) {
  .card-image {
    margin-right: 10px; /* Reduce spacing between images on smaller screens */
    max-width: 90px; /* Adjust maximum width of images on smaller screens */
  }

}


#card{
  padding:6rem 0;
}

.card-title{
  text-shadow: 0px 0px 2px rgba(30,30,30,0.9);
}

/* 5.12. TAGS */
.tag {
    display: inline-block;
    margin-top: 3px;
    margin-bottom: 3px;
    margin-right: 5px;
    padding: 6px 15px;
    color: rgba(230,230,230,0.8);
    background-color: rgba(50,50,50,0.7);
    border-radius: 4px;
    font-size: 16px;
    line-height: 22px;
}

/*.tag:before {
    content: "\f02b";
    margin-right: 5px;
    font-family: "Font Awesome\ 5 Free";
    font-weight: 700;
}*/

.tag-fire:before { color: #ff4040; }
.tag-earth:before { color: #009378; }
.tag-air:before { color: #e16123; }
.tag-water:before { color: #2bb3c0; }

.tag.taxonomy{ margin-right: 0px; text-shadow:1px 1px 1px rgba(10,10,10,0.7) }
.tag.taxonomy.kingdom{ border-radius: 4px 0px 0px 4px; background-color: rgba(238,96,85,0.7); border: 1px solid rgba(238,96,85,1); }
.tag.taxonomy.phylum{ border-radius: 0px; background-color: rgba(255,155,133,0.7); border: 1px solid rgba(255,155,133,0.7);}
.tag.taxonomy.class{ border-radius: 0px; background-color: rgba(255,217,125,0.7); border: 1px solid rgba(255,217,125,0.7); }
.tag.taxonomy.order{ border-radius: 0px; background-color: rgba(170,246,131,0.7); border: 1px solid rgba(170,246,131,0.7);}
.tag.taxonomy.family{ border-radius: 0px; background-color: rgba(96,211,148,0.7); border: 1px solid rgba(96,211,148,0.7);}
.tag.taxonomy.genus{ border-radius: 0px 4px 4px 0px; background-color: rgba(121,173,220,0.7); border: 1px solid rgba(121,173,220,0.7); }
.tag.taxonomy.species{ margin-left:5px; border-radius: 4px; background-color: rgba(209,166,255,0.7); border: 1px solid rgba(209,166,255,0.7);}

.primary-grad{
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
}
.mystery-grad{
  background: linear-gradient(135deg, var(--bs-blue) 0%, var(--bs-purple) 100%);
}
.spirit-grad{
  background: linear-gradient(135deg, var(--bs-indigo) 0%, var(--bs-pink) 100%);
}
.science-grad{
  background: linear-gradient(135deg, var(--bs-green) 0%, var(--bs-cyan) 100%);
}
.balanced-grad{
  background: linear-gradient(135deg, var(--bs-orange) 0%, var(--bs-yellow) 100%);
}
.mystical-grad{
  background: linear-gradient(135deg, var(--bs-purple) 0%, var(--bs-teal) 100%);
}
.deep-mystery-grad{
  background: linear-gradient(135deg, var(--bs-blue) 0%, var(--bs-dark) 100%);
}
.warm-vibrant-grad{
  background: linear-gradient(135deg, var(--bs-red) 0%, var(--bs-orange) 100%);
}

/* darker grads */

.water-grad{
  background: linear-gradient(135deg, var(--bs-blue) 0%, var(--bs-dark) 100%);
}
.dark-indigo-grad{
  background: linear-gradient(135deg, var(--bs-indigo) 0%, var(--bs-dark) 100%);
}
.spirit-grad{
  background: linear-gradient(135deg, var(--bs-purple) 0%, var(--bs-dark) 100%);
}
.dark-teal-grad{
  background: linear-gradient(135deg, var(--bs-teal) 0%, var(--bs-dark) 100%);
}
.air-grad{
  background: linear-gradient(135deg, var(--bs-cyan) 0%, var(--bs-dark) 100%);
}
.fire-grad{
  background: linear-gradient(135deg, var(--bs-dark) 0%, #2A0703 100%);
}
.earth-grad{
  background: linear-gradient(135deg, #006400 0%, var(--bs-dark) 100%);
}

.water-grad{
  background: linear-gradient(135deg, var(--bs-blue) 0%, var(--bs-dark) 100%);
}
.air-grad{
  background: linear-gradient(135deg, var(--bs-cyan) 0%, var(--bs-dark) 100%);
}
.fire-grad{
  background: linear-gradient(135deg, var(--bs-dark) 0%, #2A0703 100%);
}
.earth-grad{
  background: linear-gradient(135deg, #006400 0%, var(--bs-dark) 100%);
}
.rainbow-grad{
  background: rgb(212,156,250);
  background: linear-gradient(140deg, rgba(212,156,250,1) 0%, rgba(119,128,226,1) 25%, rgba(154,255,154,1) 50%, rgba(250,249,141,1) 76%, rgba(255,151,151,1) 100%);
}

.water-grad-dark{
  background: linear-gradient(135deg, #00090c 0%, #000d1c 100%);
}
.air-grad-dark{
  background: linear-gradient(135deg, #000909 0%, #001818 100%);
}
.fire-grad-dark{
  background: linear-gradient(135deg, #080100 0%, #1b1300 100%);
}
.earth-grad-dark{
  background: linear-gradient(135deg, #000d08 0%, #0f1e01 100%);
}

@keyframes shimmer {
  0%, 100% {
    background-position: -100% 0;
  }
  50% {
    background-position: 100% 0;
  }
}

.rainbow-grad-dark::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, 
              rgba(255, 255, 255, 0) 0%, 
              rgba(255, 255, 255, 0) 25%, 
              rgba(255, 255, 255, 0.5) 50%, 
              rgba(255, 255, 255, 0) 75%, 
              rgba(255, 255, 255, 0) 100%);
  animation: shimmer 11s linear infinite;
  background-size: 200% 100%;
  mix-blend-mode: overlay;
  opacity: 1;
}


.rainbow-grad-dark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(131, 77, 155, 0.3) 0%, rgba(58, 63, 139, 0.3) 20%, rgba(60, 125, 60, 0.3) 40%, rgba(155, 124, 70, 0.3) 60%, rgba(125, 75, 75, 0.3) 80%, rgba(131, 77, 155, 0.3) 100%);
  background-size: 300% 300%;
  animation: MoveGradient 8s ease infinite;
}

@keyframes MoveGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/*.rainbow-grad-dark {
  background: linear-gradient(140deg, rgba(131, 77, 155, 1) 0%, rgba(58, 63, 139, 1) 25%, rgba(60, 125, 60, 1) 50%, rgba(155, 124, 70, 1) 76%, rgba(125, 75, 75, 1) 100%);
}
.rainbow-grad-dark-half{
  background: linear-gradient(140deg, rgba(131, 77, 155, 0.5) 0%, rgba(58, 63, 139, 0.5) 25%, rgba(60, 125, 60, 0.5) 50%, rgba(155, 124, 70, 0.5) 76%, rgba(125, 75, 75, 0.5) 100%);
}*/


.greater-elements {
    background: linear-gradient(45deg, #FFD700, #FFCC00, #FFA500);
}
.catalysts {
    background: linear-gradient(45deg, #FF4500, #FF6347, #FF0000);
}
.foundations {
    background: linear-gradient(45deg, #1E90FF, #4682B4, #0000FF);
}
.connectors {
    background: linear-gradient(45deg, #C0C0C0, #A9A9A9, #808080);
}
.adapters {
    background: linear-gradient(45deg, #20B2AA, #3CB371, #2E8B57);
}
.shapeshifters {
    background: linear-gradient(45deg, #8A2BE2, #9400D3, #9932CC);
}
.illuminators {
    background: linear-gradient(45deg, #E6E6FA, #D8BFD8, #DDA0DD);
}
.hidden-powers {
    background: linear-gradient(45deg, #FF00FF, #DA70D6, #EE82EE);
}
.deep-secrets {
    background: linear-gradient(45deg, #FFA500, #FF8C00, #FF7F50);
}
.reactors {
    background: linear-gradient(45deg, #9400D3, #8A2BE2, #9932CC);
}


/* Strength: Deep reds to signify power and endurance */
.Strength-bg {
    background: linear-gradient(90deg, #2a2a2a, #3a2a2a);
}

/* Dexterity: Agile greens for quickness and adaptability */
.Dexterity-bg {
    background: linear-gradient(90deg, #2a2a2a, #2a3a2a);
}

/* Wisdom: Calm blues representing depth and intelligence */
.Wisdom-bg {
    background: linear-gradient(90deg, #2a2a2a, #2a2a3a);
}

/* Constitution: Sturdy browns for resilience and hardiness */
.Constitution-bg {
    background: linear-gradient(90deg, #2a2a2a, #3a3a2a);
}

/* Charisma: Captivating purples for charm and allure */
.Charisma-bg {
    background: linear-gradient(90deg, #2a2a2a, #3a2a3a);
}

/* Spirit: A subtle rainbow gradient for ethereal and mystical vibes */
.Spirit-bg {
    background: linear-gradient(90deg, #2a2a2a, #3a2a2a, #2a3a2a, #2a2a3a, #3a3a2a, #3a2a3a);
}




/* Elemental Arcana (Greater Elements) - Ethereal Gold */
.elemental-arcana-circle {
    background: radial-gradient(circle, #FFD700, #FFCC00, #FFA500);
}
/* Alkali Metals - Vibrant Red */
.alkali-metals-circle {
    background: radial-gradient(circle, #FF4500, #FF6347, #FF0000);
}
/* Alkaline Earth Metals - Calming Blue */
.alkaline-earth-circle {
    background: radial-gradient(circle, #1E90FF, #4682B4, #0000FF);
}
/* Transition Metals - Shimmering Silver */
.transition-metals-circle {
    background: radial-gradient(circle, #C0C0C0, #A9A9A9, #808080);
}
/* Post-Transition Metals - Muted Teal */
.post-transition-circle {
    background: radial-gradient(circle, #20B2AA, #3CB371, #2E8B57);
}
/* Metalloids - Iridescent Purple */
.metalloids-circle {
    background: radial-gradient(circle, #8A2BE2, #9400D3, #9932CC);
}
/* Nonmetals - Deep Forest Green */
.nonmetals-circle {
    background: radial-gradient(circle, #228B22, #006400, #2E8B57);
}
/* Noble Gases - Luminous Lavender */
.noble-gases-circle {
    background: radial-gradient(circle, #E6E6FA, #D8BFD8, #DDA0DD);
}
/* Lanthanides - Mystic Magenta */
.lanthanides-circle {
    background: radial-gradient(circle, #FF00FF, #DA70D6, #EE82EE);
}
/* Actinides - Radiant Orange */
.actinides-circle {
    background: radial-gradient(circle, #FFA500, #FF8C00, #FF7F50);
}
/* Halogens - Vibrant Violet */
.halogens-circle {
    background: radial-gradient(circle, #9400D3, #8A2BE2, #9932CC);
}


.login-box{
  box-shadow: 0px 0px 20px rgba(20,20,20,0.7);
}

.bg-image {
  width: 100%;
  /*height: 400px;*/
  background-image: url("/assets/img/cardbg-dark.jpg");
  background-size: cover;
  background-repeat: no-repeat; 
  background-position: center center; 
  background-color: rgba(0, 0, 0, 0.5);
  /*border-top:5px solid rgba(150,150,150,0.1);
  border-bottom:5px solid rgba(150,150,150,0.1);*/
  box-shadow: inset 0px 0px 10px black;
}
.bg-image.default-card{
  background-image: url("/assets/img/cardbg-dark.jpg");
  
}
.bg-image.earth-card{
  background-image: url("/assets/img/cardbg-earth.jpg");
}
.bg-image.air-card{
  background-image: url("/assets/img/cardbg-air.jpg");
}
.bg-image.water-card{
  background-image: url("/assets/img/cardbg-water.jpg");
}
.bg-image.fire-card{
  background-image: url("/assets/img/cardbg-fire.jpg");
}

.bg-image.space{
  background-image: url("/assets/img/bg-masthead.jpg");
}

.paperback{
  background-image: url("/assets/img/paper-texture.jpg");
}
.paperback-dark{
  background-image: url("/assets/img/paper-texture-dark.jpg");
}
.paperback-xdark{
  background-image: url("/assets/img/paper-texture-xdark.jpg");
}

.fernback{
  background-image: url("/assets/img/fern-texture-dark.jpg");
  background-size: cover;
  background-repeat: no-repeat; 
  background-position: center center; 
}
.fernback-full{
  background-image: url("/assets/img/fern-texture-full.jpg");
  background-size: cover;
  background-repeat: no-repeat; 
  background-position: center center;
}

hr{
  margin: 3rem 30%;
  color: rgba(200,200,200,0.5);
  background-color: rgba(250,250,250,0.2);
  border: 1px solid rgba(50,50,50,0.5);
  opacity: 0.5;
}

#spread-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.deck {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
    min-height: 574px;
    aspect-ratio: 300 / 574;
    border-radius: 20px;
    border: 1px solid rgba(150,150,150,0.2);
    box-shadow: 0px 0px 20px rgba(10,10,10,0.8);
    position: relative;
    cursor: pointer;
    margin: 10px;
    flex-grow: 1;
    flex-shrink: 1;
}

@media (max-width: 600px) {
    .deck {
        max-width: auto; 
        min-height: auto;
        aspect-ratio: auto; 
    }
    /*.small-card{
        transform: scale(0.8);
        transform-origin: center;
    }*/
    .middle-card{
        /*transform: scale(0.5);
        transform-origin: center;*/
      max-width: auto !important;
      min-height: auto !important;
      aspect-ratio: 300 / 574 !important;
      font-size: 13px;
      margin:1px !important;
    }
    .deck.middle-card {

    }
    .middle-cards.deck{
      flex:1;
      margin:0px;
    }
}

.middle-cards {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.deck.portrait {
  max-width: 300px;
  min-height: 574px;
  aspect-ratio: 300 / 574;
}
.deck.landscape {
  max-width: 574px !important;
  min-height: 300px !important;
  aspect-ratio: 574 / 300 !important;
}

.small-card{
  background-position: center;
  background-repeat: no-repeat;
  /*width: 100%;*/
  height: auto;
  padding:20px;
  aspect-ratio: 574 / 300;
}

.small-card.landscape{
  background-size: cover;
  /*height: 100%;*/
}
.small-card.portrait{
  background-size: cover;
  /*height: 100%;*/
}

.small-card-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 1em;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.9),
        -1px -1px 2px rgba(0, 0, 0, 0.9),
        1px -1px 2px rgba(0, 0, 0, 0.9),
        -1px 1px 2px rgba(0, 0, 0, 0.9);
    margin: 0;
    padding: 10px 0;
    opacity: 1;
    font-weight: bold;
}

.small-card-title::after {
    content: '';
    display: block;
    height: 1px;
    background-color: white;
    width: 50%;
    margin: 8px auto 0;
    mix-blend-mode: color-dodge;
    opacity: 0.2;
}

.deck .inner-elements{
  padding: 50px 10px;
  position: absolute;
  width: 100%;
    height: 100%;
  /*background-color: rgba(30,30,30,0.7);*/
}
.deck .inner-elements h4{
  text-shadow: 0px 0px 5px rgba(10,10,10,0.9);
}

/* Shared styles for front and back faces */
.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    backface-visibility: hidden;
    transition: transform 0.6s;
}

.card-face img {
    border-radius: 20px;
    width: 100%; /* Ensure the image stretches horizontally */
    height: 100%; /* Ensure the image stretches vertically */
    object-fit: cover; /* Ensures the image scales and crops proportionally to fill the container */
    display: block; /* Remove any inline display quirks */
}


/* Overlay container */
.card-face .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2; /* Ensure it layers over the image */
    opacity: 1; /* Hidden by default */
    pointer-events: none; /* Prevent interaction with overlay */
    /*transition: opacity 0.3s ease-in-out;*/
}

/* Overlay text */
.card-face .overlay-text {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Show overlay on back face */
.card-face.back:hover .overlay {
    opacity: 1; /* Display overlay on hover */
    pointer-events: auto;
}

/* Front face setup */
.card-face.front {
    transform: rotateY(180deg);
}

/* Back face setup */
.card-face.back {
    transform: rotateY(0deg);
    
}

/* Flipped state */
.deck.flipped .front {
    transform: rotateY(0deg);
}

.deck.flipped .back {
    transform: rotateY(-180deg);
}


.cardback{
  background-repeat: no-repeat;
  background-position: center center;
  max-width:300px;
  min-height:574px;
}

.cardback.blank{

}

.deck.spread .front {
    background-image: url('/assets/img/cardfront-dark.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.deck.prime .front {
    background-image: url('/assets/img/cards/cardfront.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.deck.elements .front {
    background-image: url('/assets/img/cards/cardfront.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.deck.animals .front {
    background-image: url('/assets/img/cards/cardfront.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.deck.dark-indigo-grad .front {
    background-image: url('/path/to/your/dark-indigo-grad-card-image.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.fadedOut {
    opacity: 0;
    transition: opacity 1s;
}

.fadeAble {
    transition: opacity 1s;
}

.progress .currentLevel{
  position: absolute;
  text-shadow: 1px 1px 1px rgba(10,10,10,0.9);
  font-weight: bold;
  font-size: 14px !important;
}

.achievement-badge {
  width: 250px;
  flex: 0 0 auto;
  border-radius: 10px;
  border:2px solid rgba(210,210,210,0.3);
  box-shadow: 0px 0px 10px rgba(10,10,10,0.8);
  /*background: rgb(216,217,242);*/
  background: linear-gradient(135deg, rgba(216,217,242,0.56) 0%, rgba(194,191,167,0.47) 100%);
  /*background: rgb(151,146,230);
  background: linear-gradient(90deg, rgba(151,146,230,1) 0%, rgba(141,141,218,1) 36%, rgba(111,140,207,1) 100%);*/
}

.achievement-badge.bronze{
  background: rgb(184,131,93);
  background: linear-gradient(130deg, rgba(184,131,93,1) 0%, rgba(230,196,164,1) 19%, rgba(184,131,93,1) 37%, rgba(184,131,93,1) 63%, rgba(150,99,62,1) 74%, rgba(184,131,93,1) 83%, rgba(184,131,93,1) 100%);
}

.achievement-badge.silver{
  background: rgb(205,205,205);
background: linear-gradient(130deg, rgba(205,205,205,1) 0%, rgba(237,237,237,1) 19%, rgba(205,205,205,1) 37%, rgba(205,205,205,1) 63%, rgba(158,158,158,1) 74%, rgba(205,205,205,1) 83%, rgba(185,185,185,1) 100%);
}

.achievement-badge.gold{
  background: rgb(255,217,86);
  background: linear-gradient(130deg, rgba(255,217,86,1) 0%, rgba(255,242,194,1) 19%, rgba(250,215,90,1) 37%, rgba(255,211,42,1) 63%, rgba(230,191,43,1) 74%, rgba(255,217,71,1) 83%, rgba(255,223,99,1) 100%);
}

.achievement-badge.rainbow{
  background: rgb(212,156,250);
  background: linear-gradient(140deg, rgba(212,156,250,1) 0%, rgba(119,128,226,1) 25%, rgba(154,255,154,1) 50%, rgba(250,249,141,1) 76%, rgba(255,151,151,1) 100%);
}


.achievement-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px; 
}


.achievement-name {
  margin-top: 8px;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(230,230,230,0.5);
}

.achievement-description {
  font-size: 1rem;
  min-height: 36px;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(230,230,230,0.5);
}

.notification-bubble {
    position: absolute;
    top: 20px;
    right: 10px;
    width: 20px;
    height: 20px;
    background-color: red;
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    font-weight: bold;
}

.nav-item {
    position: relative;
}

.cardback.path{
  min-height:auto !important;
}
.path{
  cursor: pointer;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 10px;
}

.image-grid .image {
    background: url('/assets/img/spread1.jpg') no-repeat center center;
    background-size: cover;
}

/* Positioning images according to your pattern */
.image-grid.fiveStar .image:nth-child(1) { grid-column: 2; grid-row: 1; }
.image-grid.fiveStar .image:nth-child(2) { grid-column: 1; grid-row: 2; }
.image-grid.fiveStar .image:nth-child(3) { grid-column: 2; grid-row: 2; }
.image-grid.fiveStar .image:nth-child(4) { grid-column: 3; grid-row: 2; }
.image-grid.fiveStar .image:nth-child(5) { grid-column: 2; grid-row: 3; }


.image-grid.threeRow {
    grid-template-columns: repeat(3, 1fr); /* 3 columns in a row */
    grid-template-rows: 1fr; /* Single row */
}

.image-grid.threeRow .image {
    grid-column: auto; /* Automatic placement */
    grid-row: auto;
}

#storeButton .btn{
  margin-top:12px;
  padding: .6rem .8rem !important;
  font-size: 1.1rem !important;
}

.fortuneContainer h2, .fortuneContainer h1, .fortuneContainer h3, .fortuneContainer h4{
  margin-top:50px;
}

.jumbotron{
}

#gameBoard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 400px;
    margin: auto;
}

.glyph {
    width: 100px;
    height: 100px;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
}

#interlocker{
}

/* Base Grid Layout */
.interlocker-grid {
    transition: gap 0.5s ease;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Establishes a 3x3 grid */
    gap: 5px;
    max-width: 300px; /* Adjust based on your layout needs */
    margin: 20px auto;
    background-color: #ddd;
    padding: 10px;
}

/* Grid Item Styling */
.interlocker-grid .grid-item {
    transition: border 0.5s ease;
    cursor: pointer;
    background-color: #f0f0f0;
    aspect-ratio: 1 / 1; /* Keeps items square */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #bbb;
}

.interlocker-grid .grid-item.selected, .interlocker-selector-item.selected {
    background-color: rgba(94, 96, 206, 0.5);
}

.interlocker-grid .grid-item:hover {
    background-color: rgba(94, 96, 206, 0.5);
}

.interlocker-grid .grid-item img {
    transition: width 0.5s ease, height 0.5s ease;
    width: 80%;
    height: 80%;
}

.interlocker-grid.solved {
    gap: 0;
}

.interlocker-grid.solved .grid-item {
    border: none;
}

.interlocker-grid.solved .grid-item img{
    width: 100%;
    height: 100%;
}

/* Selector Styling */
.interlocker-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; 
    margin: 20px auto;
    max-width: 600px;
    justify-content: center;
}

.interlocker-selector .interlocker-selector-item {
    width: 80px;
    height: 80px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7f7f7;
    border: 2px solid white;
}

.interlocker-selector .interlocker-selector-item img {
    max-width: 90%;
    max-height: 90%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .interlocker-grid {
        grid-template-columns: repeat(3, 1fr); /* Ensure the 3x3 grid layout persists */
        gap: 5px;
        max-width: 90%;
    }

    .interlocker-selector {
        justify-content: space-between;
    }

    .interlocker-selector .interlocker-selector-item {
        width: 18%; /* Adjust based on layout needs */
        height: auto; /* Adjust based on layout needs */
        aspect-ratio: 1 / 1;
    }
}

@media (max-height: 500px) {
    /* Adjustments for landscape orientation or very small screens */
    .interlocker-grid, .interlocker-selector {
        max-width: 100%;
    }
}


#product .card {
    border: none;
    overflow: hidden;
}

.thumbnail_images ul {
    list-style: none;
    justify-content: center;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.thumbnail_images ul li {
    margin: 5px;
    padding: 10px;
    border: 2px solid #eee;
    cursor: pointer;
    transition: all 0.5s;
}

.thumbnail_images ul li:hover {
    border: 2px solid #000;
}

.main_image {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #eee;
    height: 400px;
    width: 100%;
    overflow: hidden;
}

.heart {
    height: 29px;
    width: 29px;
    background-color: #eaeaea;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content p {
    font-size: 12px;
}

.ratings span {
    font-size: 14px;
    margin-left: 12px;
}

.colors {
    margin-top: 5px;
}

.colors ul {
    list-style: none;
    display: flex;
    padding-left: 0px;
}

.colors ul li {
    height: 20px;
    width: 20px;
    display: flex;
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
}

.colors ul li:nth-child(1) {
    background-color: #6c704d;
}

.colors ul li:nth-child(2) {
    background-color: #96918b;
}

.colors ul li:nth-child(3) {
    background-color: #68778e;
}

.colors ul li:nth-child(4) {
    background-color: #263f55;
}

.colors ul li:nth-child(5) {
    background-color: black;
}

.right-side {
    position: relative;
}
