* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    margin: 0;
    padding: 0;
    overflow: hidden;
    user-select: none;
}

main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

#scene img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#darkness {
    position: absolute;
    inset: 0;
    background: black;
    opacity: 1;
    pointer-events: none;
    z-index: 5;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 3s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    } to {
        opacity: 1;
    }
}

.fade-out {
    animation: fadeOut 2s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
