#title-container {
    text-align: center;
    display: none;
}

#title-container.active {
    display: block !important;
}

.title-container h1 {
    font-size: 80px;
    margin: 20px 0;
    user-select: none;
}

.fs-desktop-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
    user-select: none;
    transition: all 0.125s ease-in-out;
    z-index: 100;
}

.fs-desktop-btn:hover {
    transform: scale(1.1);
}

h1,
h2 {
    color: rgb(207, 47, 47) !important;
    -webkit-text-stroke: 0.5px #000;
    letter-spacing: 3px !important;
}

h1 {
    font-size: 80px;
    letter-spacing: 6px !important;
    -webkit-text-stroke: 1px #000;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 28px;
    letter-spacing: 2px !important;
    text-shadow: #000 2px 2px 4px;
}

.start-content {
    text-align: center;
}

.start-hint {
    color: white;
    font-family: 'Rye', sans-serif;
    font-size: 24px;
    animation: pulse 2s infinite;
    text-shadow: #000 2px 2px 4px;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.mobile-button {
    width: 60px;
    height: 60px;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-button:active {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(0.95);
}

button,
.mobile-button,
.menu-button {
    cursor: pointer;
}

.menu-screen {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
}

.menu-screen h2 {
    font-size: 40px;
    margin: 0;
    user-select: none;
}

.menu-screen h3 {
    font-size: 24px;
    margin-top: 0;
    user-select: none;
}

.menu-screen.active {
    display: flex;
}

.menu-btn {
    background: none;
    color: white;
    font-family: 'Rye', sans-serif;
    font-size: 28px;
    padding: 15px 40px;
    cursor: pointer;
    border-radius: 10px;
    border: none;
    min-width: 300px;
    letter-spacing: 2px;
    transition: all 0.125s ease;
    user-select: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: #000 1px 1px 4px;
    gap: 10px;
}

.menu-btn .button-icon {
    display: none;
    width: 32px;
    height: 32px;
    transition: opacity 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.menu-btn:hover .button-icon {
    display: inline-block;
}

.menu-btn:hover {
    transform: scale(1.1);
    color: rgb(207, 47, 47);
    text-shadow: #000 2px 2px 4px;
    font-weight: bold;
}

.menu-btn.locked {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

.menu-btn.locked:hover {
    transform: none;
    color: white;
    font-weight: normal;
}

.help-content {
    display: flex;
    gap: 20px;
    color: white;
    font-family: 'Rye', sans-serif;
    width: 100%;
    user-select: none;
}

.help-column {
    flex: 1;
}

.help-column {
    text-align: center;
}

.help-column h3 {
    font-size: 32px;
    margin-bottom: 10px;
    color: rgb(207, 47, 47);
}

.help-column p {
    font-size: 16px;
    margin: 8px 0;
    letter-spacing: 2px;
    font-weight: bold;
    text-shadow: #000 1px 1px 4px;
}

#imprint-screen {
    overflow-y: hidden;
}

.imprint-content {
    color: white;
    font-family: 'Rye', sans-serif;
    max-width: 600px;
    text-align: center;
    user-select: none;
    overflow-y: auto;
}

.imprint-content h3 {
    font-size: 24px;
    color: rgb(207, 47, 47);
    text-shadow: #000 2px 2px 4px;
}

.imprint-content p {
    font-size: 16px;
    margin: 4px 0;
    letter-spacing: 1px;
    text-shadow: #000 2px 2px 4px;
}

.settings-options {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

.setting-option {
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: transform 0.125s ease;
    padding: 20px;
    border-radius: 10px;
    min-width: 260px;
    max-width: 260px;
    max-height: 184px;
    letter-spacing: 2px;
    transition: all 0.125s ease;
    pointer-events: auto;
}

.setting-option:hover {
    transform: scale(1.1);
}

.setting-option img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.setting-option p {
    color: white;
    font-family: 'Rye', sans-serif;
    font-size: 18px;
    margin: 0;
    text-shadow: #000 2px 2px 4px;
}

.setting-option #mute-icon {
    font-size: 60px;
    display: block;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.portrait-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.90);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

.portrait-warning.active {
    display: flex;
}

.portrait-warning-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: rotate 2s infinite;
}

@keyframes rotate {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-90deg);
    }
}

.portrait-warning h2 {
    font-size: 32px;
    color: rgb(207, 47, 47) !important;
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 20px;
}

.portrait-warning p {
    font-size: 20px;
    color: white;
    max-width: 400px;
}

.menu-overlay-back-btn {
    font-size: 24px;
    font-family: 'Rye', sans-serif;
    color: white;
    text-shadow: #000 1px 1px 4px;
    border: none;
    background: none;
    cursor: pointer;
    user-select: none;
    transition: all 0.125s ease;
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 1000;
}

.menu-overlay-back-btn .button-icon {
    display: none;
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}

.menu-overlay-back-btn:hover {
    transform: scale(1.1);
    color: rgb(207, 47, 47);
    text-shadow: #000 1px 1px 4px;
    font-weight: bold;
}

.menu-overlay-back-btn:hover .button-icon {
    display: inline-block;
}

.menu-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../img/background/bg-menu.png') center/cover;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: background 0.125s ease;
}

.menu-overlay.start-screen-bg {
    background: url('../img/9_intro_outro_screens/start/startscreen_1.png') center/cover;
}