body {
    margin: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #000;
}

.scene-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.image-container {
    position: absolute;
    top: 54%;
    left: 74%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.toggle-checkbox {
    display: none;
}

.shake-image {
    max-width: 100%;
    max-height: 80vh;
    transform-origin: bottom center;
    transition: transform 0.5s ease;
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(8deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-6deg); }
    100% { transform: rotate(0deg); }
}

.toggle-checkbox:checked + .image-label .shake-image {
    animation: shake 2.5s ease;
}
#content {
    display: flex;
    align-items: left;
    justify-content: center;
    position: fixed;
    top: 5%;
    left: -50%;
    z-index: 1;
}

#content #heading {
    left: 0;
    display: flex;
    width: 30%;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    border-radius: 2px;
    background: var(--bg, #fbfbfb);
    box-shadow: 0 4px 32px #b1b1b140;
    background: rgba(255, 255, 255, 0.8);
}

#content #heading h1 {
    color: var(--bk-text, #000);
    text-align: center;
    font-family: "PT Astra Serif";
    font-size: 64px;
    font-style: italic;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -1px;
    margin: 0;
}

#content #heading p {
    vertical-align: middle;
    color: var(--bk-text, #000);
    font-family: "PT Astra Serif";
    line-height: 120%;
    font-size: 24px;
    box-sizing: border-box;
}
@media only screen and (min-width: 1700px){

}
@media only screen and (max-width: 1480px){
  #content {
      left: -45%;
  }
  #content #heading {
      left: 0;
      width: 30%;
      padding: 20px;
  }

}
@media only screen and (max-width: 1280px){
  #content {
      left: -45%;
  }
  #content #heading {
      left: 0;
      width: 30%;
      padding: 20px;
  }
  #content #heading p {
      font-size: 22px;
  }
}
@media only screen and (max-width: 1024px){
  #content {
      left: -40%;
  }
  #content #heading {
      left: 0;
      width: 35%;
      padding: 20px;
  }
  #content #heading p {
      font-size: 20px;
  }
}
@media only screen and (max-width: 768px){
  #content {
      left: -40%;
  }
  #content #heading {
      left: 0;
      width: 35%;
      padding: 16px;
  }
  #content #heading p {
      font-size: 18px;
  }
}

@media only screen and (min-width: 480px){
  #content-mobile #heading-mobile {
    display:none;
  }
}
@media only screen and (max-width: 480px){
  #content #heading {
    display: none;

  }

  .scene-container {
      position: relative;
      width: 100vw;
      height: 40vh;
  }
  .image-container {
      z-index: 1;
  }
  .background {
      position: relative;
    }

  #content-mobile #heading-mobile {
    position: relative;
    z-index: 2;
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    border-radius: 2px;
    background: var(--bg, #fbfbfb);
    box-shadow: 0 4px 32px #b1b1b140;

  }
  #content-mobile #heading-mobile h1 {
      color: var(--bk-text, #000);
      text-align: center;
      font-family: "PT Astra Serif";
      font-size: 64px;
      font-style: italic;
      font-weight: 400;
      line-height: 100%;
      letter-spacing: -1px;
      margin: 0;
  }
  #content-mobile #heading-mobile p {
      vertical-align: middle;
      color: var(--bk-text, #000);
      font-family: "PT Astra Serif";
      line-height: 120%;
      font-size: 24px;
      box-sizing: border-box;
  }
}
