/* Title Screen */
#titleScreen {
    position: fixed;
    width: calc(100vw + 100px);
    height: calc(100vh + 100px);
    background-color: #000;
    left: -50px;
    top: -50px;
    z-index: 10001;
}

#titleCredits {
    font-size: 36pt;
    color: #333;
    font-weight: 700;
    text-shadow:
        -1px -1px 0 #ddd,
        1px -1px 0 #ddd,
        -1px 1px 0 #ddd,
        1px 1px 0 #ddd;
    text-align: center;
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
}

#titleScreen > .areaBackground {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    filter: brightness(0.8);
    background-color: #ddd;
    background-image: url(../assets/backgrounds/titlescreen.png);
    background-size: 100% 100%;
    z-index: -1;
    animation: circle 40s linear infinite;
}

#titleScreen > h1 {
    font-size: 128pt;
    color: #202020;
    text-shadow:
        -4px -4px 0 #eee,
        4px -4px 0 #eee,
        -4px 4px 0 #eee,
        4px 4px 0 #eee;
    margin-top: 100px;
    text-align: center;
}

#titleScreen > h3 {
    font-size: 48pt;
    color: #404040;
    text-shadow:
        -2px -2px 0 #eee,
        2px -2px 0 #eee,
        -2px 2px 0 #eee,
        2px 2px 0 #eee;
    margin-top: 10px;
    text-align: center;
}

/* Changelog */
#changelogContainer {
    width: 500px;
    height: 10vh;
    position: fixed;
    left: calc(50vw - 250px);
    top: calc(50vh + 125px);
    background-color: #40404060;
    backdrop-filter: blur(24px);
    border-radius: 20px;
    border: 2px solid #00000020;
    transition: height 0.5s ease-in-out;
    overflow: hidden;
}

#changelogContainer.open {
    height: max(calc(40vh - 75px), 100px);
}

#changelogButton {
    width: 100%;
    height: 10vh;
    background-color: #00000000;
    border: none;
    border-radius: 20px;
    transition: background-color 0.2s ease-in-out;
    font-size: 48pt;
}

#changelogButton:hover {
    background-color: #00000020;
}

#changelogContent > h4 {
    font-size: 24pt;
    margin-top: 8px;
    font-weight: 400;
}

#changelogContent > p {
    transform: scaleY(1.2);
}

#changelogContent {
    box-sizing: border-box;
    overflow-y: scroll;
    padding: 0 16px 16px 16px;
    font-size: 16pt;
    line-height: 0.9;
    height: calc(30vh - 75px);
}

/* Play button */
#playButton {
    position: absolute;
    left: calc(50% - 200px);
    top: calc(50% - 75px);
    width: 400px;
    height: 150px;
    font-size: 64pt;
    background-color: #00000070;
    backdrop-filter: blur(24px);
    border: 2px solid #00000020;
    border-radius: 20px;
    transition:
        background-color 0.3s ease-in-out,
        transform 0.3s ease-out;
}

#playButton:hover {
    background: #00000078;
    transform: scale(1.02);
}
