.body {
   position: relative;
   justify-content: center;
    font-family: Georgia, "Times New Roman", serif;
    background-color: #ffffff;
    margin-top: 90px;
}

.button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 40px;
  width: 170px;
  background-color: #f2f3e9;
  border-radius: 50px;
  font-size: 16px;
  filter:
        drop-shadow(
        -1px 1px 2px rgba(0, 0, 0, 0.2)
        )
}

.button:hover {
     opacity: 0.5;
     transition: opacity 0.2s ease;
}

.button-container {
     display: flex;
    justify-content: center;      
    align-items: center;         
    gap: 20px;
    width: 100%;           
}

.button.hidden {
    opacity: 0;
    pointer-events: none;  
}

h1 {
    max-width: 800px;
    font-size: 30px;
    margin: 0 auto 20px auto;
    padding-left: -20px;
        text-align: center;
        color: rgb(77, 77, 221);
}

h2 {
    max-width: 800px;
    font-size: 20px;
    margin: 0 auto 60px auto;
    padding-left: -30px;
    font-style: italic;
        text-align: center;
}

p {
    max-width: 600px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
    font-size: 16px; 
    text-align: center;
}


.allplates {
    height: auto;
    width: auto;
   position: relative;
  top: -1300px;
   opacity: 0;
    transition: opacity 0.8s ease-in;
    }

.allplates.fade-in {
    opacity: 1;
}

.plate-selected .plate {
    opacity: 0.2;
     transition: opacity 0.5s ease;
}

.plate-selected .plate:hover {
    opacity: 1;
    transition: opacity 1.2s ease;
}

.plate {
    transition: transform 0.5s ease;
    cursor: pointer;
          filter:
        drop-shadow(
        3px 3px 5px rgba(0, 0, 0, 0.4)
        )
    }

.plate:hover {
    transform: scale(1.09);
}

.plate-ohnehover {
    pointer-events: none;
    }

.info{
   position: absolute; 
   font-family: Georgia, "Times New Roman", serif;    
    z-index: 20;
    font-size: 20px;  
    line-height: 1.6;    
}

.platedecke {
    position: absolute;
      top: 560px;
      left: -60px;
      height: 2100px;
      width: 108%;
       filter:
        drop-shadow(
        -7px 3px 3px rgba(0, 0, 0, 0.5)
        )
}

.plate1 {
    position: absolute;
      top: 660px;
      left: 250px;
      height: 300px;
}

.infoplate1 {
    left: 630px;
    top: 700px;        
    width: 400px; 
}

.plate2 {
    position: absolute;
      top: 450px;
      left: -20px;
      height: 260px;
     rotate: 20deg;
}

.plate3 {
    position: absolute;
      top: 450px;
      left: 1100px;
      height: 270px;
      rotate: 130deg;
}

.plate4 {
    position: absolute;
      top: 850px;
      left: 1200px;
      height: 240px;
    rotate: 160deg;
}

.plate5 {
    position: absolute;
      top: 600px;
      left: 600px;
      height: 150px;
}

.plate6 {
    position: absolute;
      top: 1300px;
      left: 650px;
      height: 310px;
    rotate: 70deg;
}

.infoplate6 {
      top: 1350px;
      left: 200px;     
    width: 400px; 
}

.plate7 {
    position: absolute;
      top: 920px;
      left: 40px;
      height: 200px;
}

.plate8 {
    position: absolute;
      top: 1100px;
      left: 1080px;
      height: 270px;
    rotate: 50deg;
}

.plate9 {
    position: absolute;
      top: 850px;
      left: 600px;
      height: 150px;
   
}

.plate10 {
    position: absolute;
      top: 690px;
      left: 800px;
      height: 340px;
}

.infoplate10 {
    left: 230px;
    top: 700px;        
    width: 500px; 
}

.plate11 {
    position: absolute;
      top: 1050px;
      left: 350px;
      height: 250px;
rotate: 340deg;}

.infoplate11 {
  display: none;
    left: 430px;
    top: 200px;        
    width: 500px; 
    rotate: -90deg;}


.plate12 {
    position: absolute;
      top: 1200px;
      left: -70px;
      height: 320px;
}

.plate13 {
    position: absolute;
      top: 1450px;
      left: 1020px;
      height: 330px;
      rotate: 140deg;
}

.plate14 {
    position: absolute;
      top: 1590px;
      left: 260px;
      height: px;
      rotate: 210deg;
}

.plate16 {
    position: absolute;
      top: 1340px;
      left: 330px;
      height: 190px;
    
}

.plate17 {
    position: absolute;
      top: 1700px;
      left: -20px;
      height: 230px;
      rotate: 220deg;
    
}

.plate18 {
    position: absolute;
      top: 1840px;
      left: 920px;
      height: 250px;
      rotate: -40deg;
}

.plate19 {
    position: absolute;
      top: 1650px;
      left: 760px;
      height: 140px;
}

.plate20 {
    position: absolute;
      top: 1930px;
      left: 240px;
      height: 320px;
      rotate: -5deg;
}

.plate21 {
    position: absolute;
      top: 1900px;
      left: 630px;
      height: 180px;
      rotate: 80deg;
}

.plate22 {
    position: absolute;
      top: 2100px;
      left: 1100px;
      height: 200px;
}

.plate23 {
    position: absolute;
      top: 2140px;
      left: 740px;
      height: 250px;
}

.plate24 {
    position: absolute;
      top: 2450px;
      left: 630px;
      height: 480px;
}


.imprint {
  justify-content: center;
position: relative;
max-width: 800px;
margin: 60px auto;
      top: 2550px;
text-align: center;
font-style: italic;
font-size: 14px;
line-height: 1.6;
}





.hidden {
    display: none !important;
}

/* Start Screen */
.start-screen {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.gallery-button {
    height: 40px;
    width: 170px;
    background-color: #f2f3e9;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    filter: drop-shadow(-1px 1px 2px rgba(0, 0, 0, 0.2));
    transition: opacity 0.2s;
}

.gallery-button:hover {
    opacity: 0.5;
}

/* Gallery Container */
.gallery-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: white;
    overflow: hidden;
}

/* Control Buttons */
.control-button {
    position: absolute;
    top: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f2f3e9;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    filter: drop-shadow(-1px 1px 2px rgba(0, 0, 0, 0.2));
    transition: opacity 0.2s;
}

.control-button:hover {
    opacity: 0.5;
}

.back-button {
    left: 24px;
}

.upload-wrapper {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
}

.upload-button {
    position: static;
}

input[type="file"].hidden {
    display: none;
}

/* Recipe Cards Container */
.recipes-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.recipe-card {
    position: absolute;
    cursor: grab;
    transition: transform 0.2s;
}

.recipe-card.dragging {
    cursor: grabbing;
    transform: rotate(2deg) scale(1.05) !important;
    transition: none;
    z-index: 1000 !important;
}

.recipe-wrapper {
    position: relative;
}

/* Tape */
.tape {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
    user-select: none;
}

.tape img {
    width: 180px;
    opacity: 0.74;
}

.tape.rotated {
    top: -32px;
}

.tape.rotated img {
    width: 160px;
}

.tape:not(.rotated) {
    top: -24px;
}

/* Recipe Image Container */
.recipe-image-wrapper {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.2s;
}

.recipe-image-wrapper:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.recipe-image-inner {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.recipe-image {
    position: absolute;
    user-select: none;
    max-width: none;
    pointer-events: none;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.lightbox-content {
    position: relative;
    max-width: 512px;
    width: auto;
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background-color: white;
}

.lightbox-title {
    font-size: 18px;
    color: #333;
    font-style: italic;
    font-family: Georgia, "Times New Roman", serif;
}

.lightbox-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lightbox-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #f2f3e9;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    filter: drop-shadow(-1px 1px 2px rgba(0, 0, 0, 0.2));
    transition: opacity 0.2s;
}

.lightbox-btn:hover {
    opacity: 0.5;
}

.lightbox-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

