h1, h2, h3, p, ol, ul {
    text-align: center;
}

body {
    background-color: black;
    color:white;
}
a {
    color:white;
}

.SignFont { font-family: 'Pirata One',Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
     margin: 5%;
     font-size: 4vw;
     color: rgba(0,0,0,0.7);
     /**text-shadow:
        2px 2px 2px rgba(0,0,0,0.7),
       -2px -2px 3px rgba(255, 200, 100, 1); */
    background: radial-gradient(circle at 30% 30%, rgba(255,200,100,1), #af6c0e 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: 0;

    text-shadow: 2px 2px 2px rgba(0,10,10,0.7);
    animation: flicker 1.5s infinite;
}

@keyframes flicker {
    0%   { filter: brightness(1); }
    10%  { filter: brightness(1.1); }
    20%  { filter: brightness(0.95); }
    30%  { filter: brightness(1.05); }
    40%  { filter: brightness(0.9); }
    50%  { filter: brightness(1.15); }
    60%  { filter: brightness(1); }
    70%  { filter: brightness(1.05); }
    80%  { filter: brightness(0.95); }
    90%  { filter: brightness(1.1); }
    100% { filter: brightness(1); }
}

.Chains {
    position: relative;
    width: 400px;        
    margin: 50px auto;   
    height: 200px;       
}

/* Chains */
.Chains::before,
.Chains::after {
    content: "";
    position: absolute;
    top: 0;             /* start from top of container */
    width: 6px;         /* chain thickness */
    height: 50px;       /* chain length */
    background-color: white;
    background-image: url(/textures/Rope001_1K-JPG_Color.jpg);
}

/* Left chain */
.Chains::before {
    left: 2%;            /* attach to left edge of container */
}

/* Right chain */
.Chains::after {
    right: 2%;           /* attach to right edge of container */
}

/* Signboard */
.FrontSign {
    width: 100%;                   /* fill container width */
    height: 150px; 

    background-image: radial-gradient(circle at 30% 30%, rgba(255,200,100,0.5), rgba(0,0,0,0.4) 80%),
    url("textures/worn_planks_diff_4k.jpg");
    box-shadow:inset 0 10px 15px rgba(10, 10, 10,0.5),
    inset 0 -5px 10px rgba(255,255,200,0.2),
    0 10px 15px rgba(0,0,0,0.5);
    /*animation:flicker 1.5s infinite;*/ 

    background-size: cover;
    background-position: center;
    overflow:hidden;
    border: 4px solid #3b2f2f;
    border-radius: 12px;
    display: flex;                 /* center text inside */
    justify-content: center;
    align-items: center;
    position: absolute;            /* attach to bottom of chains */
    top: 50px;                     /* chain length offset */
}

.DoorContainer {
    display:flex;
    justify-content: center;
    margin-top: 50px;
    perspective: 1000px;
}

.Door {
    width: 300px;
    height: 500px;
    background: url(/textures/Door.png);
    justify-content: center;
    border: 6px solid #3b2f2f;
    border-radius: 8px;
    position: relative;
    transition: transform 3s ease-in-out, opacity 2.3s ease-in;
    transform: perspective(1000px) rotateY(0deg);
    transform-origin: center left;
    opacity: 1;
}

.Door.open {
    transform: perspective(1000px) rotateY(120deg);
    opacity: 0;
}

#OpenTheDoor {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 24px;
    font-family: 'Pirata One', serif;
    font-size: 1.2rem;
    border: 2px solid #af6c0e;
    border-radius: 4%;
    background: #3b2f2f;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

#OpenTheDoor:hover{
    background: rgba(255,200,100,0.7);
    color: black;
}

.Scene {
    transform: translateY(100px) scale(0.8); /* start slightly smaller and lower */
    opacity: 0;
    transition: transform 2s ease-out, opacity 2s ease-out;
}

.Scene.moveIn {
    transform: translateY(0) scale(1); /* final position */
    opacity: 1;
}

.Scene.walkthrough {
    transform: translateY(-50px) scale(1.1); /* move “forward” and slightly bigger */
    opacity: 0;
    transition: transform 2s ease-in, opacity 2s ease-in;
}