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

html,
body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    padding: 1rem;
}

.page {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#result {
    width: 100%;
    max-width: 90%;
    height: 2rem;
    font-size: 2rem;
    text-align: center;
    line-height: 1.2;
    resize: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

/* Textarea styling */
#word {
    width: 100%;
    max-width: 90%;
    height: 5rem;
    font-size: 4rem;
    text-align: center;
    line-height: 5rem;
    margin-bottom: 1rem;
    resize: none;
}

.stat {
    font-size: 2rem;
}

.splashButton {
    padding: 1rem;
    margin: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.05s ease, box-shadow 0.05s ease;
    transform: translateY(0px);
    box-shadow: 2px 2px 2px rgb(0, 0, 0, 0.4);
    background-color: #2196F3;
    color: #fff;
}
.splashButton:active {
    transform: translateY(2px);
    box-shadow: none
}
#btn-splashLogin {
    background-color: #2196F3;
    color: #fff;
}
#btn-skipLogin {
    background-color: #E91E63;
    color: #fff;
}

.header {
     font-size: 3rem;
     margin-bottom: 1rem;
}

#hamburger-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: right;
}

#hamburger-menu button {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
}

.menuIcon.material-symbols-outlined {
    font-size: 3rem;
}

.hamburger-item {
    float: right;
    font-size: 1.5rem;
    display: none;
}

.hamburger-item-button {
    height: 2rem;
}

#btn-hamburger {
    float: right;
    font-size: 2rem;
}

/* Button container */
.button-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

/* Button base style */
.button-container button {
    flex: 1 1 4rem;
    max-width: 12rem;
    padding: 1rem 0;
    font-size: 1.5rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.05s ease, box-shadow 0.05s ease;
    transform: translateY(0px);
    box-shadow: 2px 2px 2px rgb(0, 0, 0, 0.4);
}

.button-container button:active {
    transform: translateY(2px);
    box-shadow: none
}

/* Individual button colors */
#btn-der {
    background-color: #2196F3;
    color: #fff;
}

#btn-die {
    background-color: #e91e63;
    color: #fff;
}

#btn-das {
    background-color: #20e995;
    color: #fff;
}

#definitions {
    margin: 1rem;
}