:root {
    --dark: #141414;
    --light: white;
}


/*width*/
::-webkit-scrollbar {
width: 5px;
}
/*track*/
::-webkit-scrollbar-track {
background:rgba(255, 255, 255, 0);
border-color:rgba(255, 255, 255, 0);
}
/*thumb*/
::-webkit-scrollbar-thumb {
background:rgb(255, 255, 255);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: lores-12, sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    color: white;
    background-color: var(--dark);
    font-size: 1.25rem;
}

.start-section {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    text-align: center;
}

#start-text {
    max-width: 34ch;
    line-height: 1.4;
    margin-bottom: 48px;
    font-size: 1.5rem;
}

#start-button {
    background-color: transparent;
    color: inherit;
    font-size: 1.5rem;
    padding: 8px 16px;
    border: white solid 2px;
    cursor: pointer;
}

.intro-text-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-text {
    position: relative;
    font-size: 1.5rem;
}

.intro-text.hidden {
    position: absolute;
    left: -9999px;
    top: -9999px;
    pointer-events: none;
    opacity: 0;
}

.intro-text::after {
    position: absolute;
    right: -0.4rem;
    content: "";
    height: 100%;
    width: 1px;
    background-color: var(--light);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.about-text-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 100px 15px;
    min-height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about-text-box {
    overflow-y: scroll;
    height: 60vh;
    padding: 0 28px;
}

.about-text-box p {
    margin-bottom: 16px;
}

.about-text {
    line-height: 1.4;
    max-width: 40rem;

}

.please-wait-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background-color: var(--dark);
    z-index: 3;
    display: none;
}

.please-wait-text {
    margin-bottom: 48px;
    text-align: center;
}

.load-bar-box {
    height: 24px;
    width: 100%;
    max-width: 300px;
    border: solid 2px #fff;
    overflow: hidden;
}

.load-bar {
    width: 100%;
    height: 100%;
    background-color: #fff;
    animation: load 2s steps(6, jump-none) infinite;
}

@keyframes load {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}

.img-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.img-grid {
    width: 100%;
    height: 100vh;
    display: grid;
}

.selfie-img {
    width: 100%;
    height: 100%;
    transition: none;
    opacity: 0;
}

.spotlight-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.controls {
    position: fixed;
    display: grid;
    font-size: 1.5rem;
    z-index: 4;
}

.controls.intro .play-pause-button {
    display: none;
}

.about-button, .play-pause-button {
    background-color: var(--dark);
    border: white 2px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.play {
    display: none;
}

.about-button {
    margin-right: -2px;
}

.close-img-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    z-index: 5;
    font-size: 1.5rem;
}

.close-img-text {
    position: fixed;
    left: 0;
    top: 0;
    background-color: white;
    color: black;
    border: 3px solid black;
    padding: 10px 15px;
    font-weight: 700;
}

.tablet-close-img-text {
    display: none;
}

.tablet-message {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    background-color: var(--dark);
    top: 0;
    left: 0;
    z-index: 6;
    width: 100%;
    height: 100vh;
    padding: 0 1rem;
}

.tablet-message-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tablet-message h1 {
    font-size: 2rem;
    margin-bottom: 14px;
}

.tablet-message p {
    max-width: 29ch;
}



@media (max-width: 992px) {
    .tablet-message {
        display: flex;
    }
}