:root {
  --lumatitle: goldenrod;
  --portal-shadow: drop-shadow(0 0 6px #5405d3); 
  --magic-footer: rgba(255, 255, 255, 0.6);
  --footer-glow: 0 0 5px rgba(255, 255, 255, 0.8);
  --glow-shadow: 0 0px 12px rgba(212, 203, 212, 0.54);
  --luma-text: Simple Print, cursive;
   --star-sparkles: radial-gradient(circle, white, gold, goldenrod, purple, transparent);
}  

@keyframes sparkleFade {
  0% {
    opacity: 1;
    transform: translate3d(-50%, -50% 0) scale(0.7);
  }
  100% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(3);
  }
}

body {
    background: url('images/sternencover.png') repeat-y center top, var(--background);
    background-size: 100% auto, cover;
    background-attachment: fixed;
    background-repeat: repeat-y;
    background-position: center top;
    background-blend-mode: lighten;  
  cursor: url('images/star-cursor.png'), auto;
}

section {
      padding: 2rem 6rem ;
      }

.luma-text {
      margin: auto;
      max-width: 1400px; 
      font-family: var(--luma-text);
      font-weight: 400; /*400 oder 700*/
      font-size: 2rem;
      line-height: 2rem;
      text-align: center;
    } 

h1 {font-family: Sylvar, cursive;
  font-size: 1.4rem;
  text-align: center;
  font-weight: 400;
  color: var(--lumatitle);
  }

.sparkle {
 position: absolute;
    width: 3px;
    height: 3px;
    background: var(--star-sparkles);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.9;
    transform: translate(-50%, -50%);
   animation: sparkleFade 2s ease-out forwards;
    z-index: 9999;
}

.ivy-side {
  position: fixed;
  bottom: 0;
  width: 75px;
  height: 100%;
  background-repeat: repeat-y;
  background-size: contain;
  z-index: 1;
  pointer-events: none;
}
.ivy-left {
  /*left: 0 px;*/
  background-image: url('images/ivy_darkL.png');
  /*top: 0 px;*/
}
.ivy-right {
  /*right: 0;*/
  background-image: url('images/ivy_rightL.png');
  /*top: 0 px;*/
}

.book-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.book-tile {
  width: 160px;
  
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}
.book-tile:hover {
  transform: scale(1.05);
}
.book-tile img {
  width: 100%;
  background-color: var(--navbackground);
  border-radius: 8px;
  box-shadow: var(--glow-shadow);
}
.book-tile span {
  display: block;
  margin-top: 0.5rem;
  font-family: Sylvar, cursive;
  font-weight: 400;
  color: var(--lumatitle);
}

.magic-button {
  width: 80px;
  padding: 1rem 1rem;
  animation: twinkle 2s infinite ease-in-out;
  cursor: pointer;
  filter: var(--luma-glow); 
  border: none;   
}
img.magic-button:hover {
 filter: var(--turquoise-shadow);   
}

.magic-footer {
  text-align: center;
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--magic-footer);
  background: transparent;
  margin-top: 8rem;
}
.magic-footer a {
  color: var(--magic-footer);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.magic-footer a:hover {
  color: var(--magic-footer);
  text-shadow: var(--footer-glow);
}

/* Smartphone */
@media (max-width: 480px) { 
     
section {
      padding: 2rem 3rem ;
      }
.luma-text {
    font-size: 1.5rem;
    line-height: 1.3rem;
    text-align: center;
  }
h1 {
    font-size: 1rem;
    line-height: 1.3rem;
  }
.magic-button {
  width: 45px;
  }  
.ivy-side { 
  width: 40px;
  position: fixed;
}
}
  
/* Tablets */
@media (min-width: 481px) and (max-width: 899px) {  }
  
/* Desktop */  
@media (min-width: 900px) {  }  


