* {
    box-sizing: border-box;
}

html {
    font-family: Mulish;
}

body {
    margin: 0;
    background-color: #48464e;
    color: whitesmoke;
}

body > section {
    display: flex;
    padding: .5rem;
    gap: 1rem;
}
body > section * {
    flex: 4;
}

body > section nav {
    text-align: center;
    flex: 1;
    height: calc(100vh - 1rem);
    display: flex;
    flex-direction: column;
    min-width: 150px;
    font-size: 1.25rem;
}

body > section nav > * {
    flex: none;
}

body > section nav > *:first-child {
    flex: 1;
}

main {
    border-radius: 1rem 5rem;
    background-color: #091423;
}
#avatar {
    max-width: 100%;
    aspect-ratio: 1;
    border-radius: 5rem 1rem 1rem 1rem;
    background-color: purple;
    margin: 0 auto 1rem;
}

nav a {
    text-decoration: none;
    color: black;
}
nav ul {
    padding: 0;
    margin: 1rem 0 0;
    line-height: 2rem;
}

nav li {
    list-style: none;
}

body > section main {
    padding: 1rem;
}

p {
    font-size: 1.25rem;
    color: whitesmoke;
}

#modal p {
    color: black;
}

button {
 cursor: pointer;
}


button.main {
    display: block;
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
    margin: 0 auto 1rem;
    text-transform: uppercase;
    font-weight: 700;
    border: none;
    border-radius: .5rem;
}

button.pos {
    background-color: forestgreen;
    color: white;
}

#modalWrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

#modal {
    position: relative;
    display: block;
    margin: auto;
    background-color: whitesmoke;
    padding: 2rem;
    border-radius: 3rem .5rem 3rem .5rem;
}

#modalExit {
    position: absolute;
    display: flex;
    top: -1rem;
    right: 1rem;
    height: 2rem;
    width: 2rem;
    color: white;
    background-color: darkred;
    align-items: center;
    cursor: pointer;
    border-radius: .25rem;
}

#modalExit > * {
    display: block;
    margin: auto;
}

.flexRow {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.flexRow .small {
    flex: 2;
}

.flexRow .smaller {
    flex: 1;
}

.flexRow .small input {
    min-width: 100px;
}

.flexRow .smaller input {
    min-width: 50px;
}


.flexRow input {
    margin: 0;
    min-width: 200px;
}

.flexRow > * {
    flex: 3;
}

input {
    width: 100%;
    display: block;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    padding: 0.5rem;
    position: relative;
}

.level1 {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9); /* Lightest shadow */
}

.level2 {
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8); /* Slightly darker */
}

.level3 {
    box-shadow: 8px 8px 12px rgba(0, 0, 0, 0.7); /* More pronounced */
}

.level4 {
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.6); /* Darkest shadow */
}

.levelminus3 {
    box-shadow: inset -10px 0px 12px rgba(0, 0, 0, 0.5);
}

