/* ================================================== GLOBAL */

:root {
    --black: #191e18;
    --beige: #f6f4ce;
    --orange: #f27c57;
    --det: #fdfe86;
    --spi: #eea4ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    color: var(--black);
    font-family: sans-serif;
    position: relative;
}

button {
    color: var(--black);
    cursor: pointer;
}

button.square {
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    background-color: var(--orange);
    border: none;
    position: relative;
    z-index: 1;
    transition: .4s;
    box-shadow: 7px 7px 0px 0px rgba(25, 30, 24, .4);
}

button.square:hover {
    box-shadow: 3px 3px 0px 0px rgba(25, 30, 24, .4);
    transform: translate(4px, 4px);
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ================================================== SCREENS */

body > section {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    transition: .4s;
}

/* ================================================== MAIN GAME */

#main-game {
    background-color: var(--black);
}

/* ================================================== TITLE SCREEN */

#title-screen {
    background-color: var(--beige);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {font-size: 96px}

#title-screen button {
    margin: 60px 0 40px 0;
    padding: 12px 40px;
    font-size: 28px;
}

.credits {
    position: absolute;
    bottom: 5vh; left: 50%;
    transform: translateX(-50%);
}

/* ================================================== TOOLTIPS */

.tooltip-container {
    position: relative;
    cursor: help;
}

.tooltip {
    width: 15vw;
    max-width: 350px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid currentColor;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; right: 120%;
    opacity: 0;
    transition: .4s;
    pointer-events: none;
}

.tooltip-container:hover > .tooltip {opacity: 1}