@import url('https://fonts.googleapis.com/css2?family=UnifrakturCook:wght@700&display=swap');

body {
    background-color: #121214;           /* Very dark almost black */
	background: 
      linear-gradient(rgba(18,18,20,0.75), rgba(18,18,20,0.75)),
      url('https://hyndzia.xyz/space.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    color: #bbb6b6;                     /* Muted grayish off-white */
    font-family: 'Inter', sans-serif;
	
}

.wrapper {
    transform: scale(0.85);
    transform-origin: top center;
}


   .back-link {
      position: fixed;
      top: 15px;
      left: 15px;
      font-family: 'UnifrakturCook', cursive;
      font-size: 1.5rem;
      color: #A30000;
      text-decoration: none;
      background-color: rgba(18, 18, 18, 0);
      padding: 8px 12px;
      border-radius: 8px;
      #box-shadow: 0 0 15px #A30000;
      z-index: 1000;
      cursor: pointer;
      transition: background-color 0.3s ease, color 0.3s ease;
      user-select: none;
    }

    .back-link:hover {
      background-color: #A30000;
      color: #121212;
    }

.gif-box {
    background-color: rgba(163, 0, 0, 0);          /* Very dark, muted deep red-brown */
    padding: 1.5rem 2rem;
    border-radius: 1.25rem;
    text-align: center;
    max-width: 320px;
    margin: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;

    transform: scale(1.8);
    transition: transform 0.3s ease;
    
}

.gif-box img {
    display: block;
    max-width: 100%;
    max-height: 320px;
    border-radius: 0.75rem;
    object-fit: contain;
    margin-bottom: 1rem;

    transform: scale(1);
    transition: transform 0.3s ease;
    box-shadow: 0 0 15px rgba(163, 0, 0, 0.7);
}

/* Hover zoom effect 
.gif-box:hover {
    transform: scale(2);
}
*/

.gif-box.hover-enabled:hover img {
  transform: scale(1.25);
}

.gif-box.active img {
    transform: scale(1.45); 
}

.gif-box.active.hover-enabled:hover img {
  transform: scale(1.45);
}

button {
    margin-top: 4.5rem;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    background-color: rgba(0, 0, 0, 0.55);           /* Dark muted blood red */
    color: #A30000;
    cursor: pointer;
    font-family: 'UnifrakturCook', cursive;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    min-width: 100px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: rgba(163, 0, 0, 0.7);
    color: #121212;
}
button:active {
    transform: scale(0.90);

}



/* Responsive tweaks for smaller screens */
@media (max-width: 480px) {
    .gif-box {
        max-width: 90vw;
        padding: 1.25rem 1.5rem;
        /* Reset transform scale to 1 for smaller screens */
        transform: scale(1.1);
        /* Optional: center content better */
        margin: 1rem auto;
    }

    .gif-box img {
        max-height: 220px;
        margin-bottom: 0.75rem;
        /* Always start scaled normal on small screens */
        transform: scale(1.1);
        transition: transform 0.3s ease;
        box-shadow: 0 0 10px rgba(163, 0, 0, 0.7);
    }

    /* Reapply hover and active scaling on smaller screens */
    .gif-box.hover-enabled:hover img {
        transform: scale(1.2);
    }
    .gif-box.active img {
        transform: scale(1.2);
    }

    button {
        width: 100%;
        min-width: unset;
        padding: 0.75rem;
        font-size: 1rem;
	transform: scale(1.1)
    }
}

