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

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

div#page {
    width: 100%;
    height: 100%;
    padding: 5px;
    display: flex;
    flex-direction: column;
    background-color: #fffdd0;
}

header#header {
    margin: 5px;
    padding: 5px;
    border-radius: 20px;
    height: 100px;
    flex-grow: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #f5ef7c;
}

header#header > h1 {
    margin: 5px;
    margin-left: 22px !important;
    font-family: "m-plus-rounded-1c-extrabold";
    font-size: 45px;
    line-height: 45px;
    color: #8f8800;
}

div#content {
    margin: 5px;
    border-radius: 35px;
    padding: 10px;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    display: flex;
    flex-direction: row;
    background-color: #f8f4a6;
}

div#description {
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    flex-direction: column;
}

div#description > div {
    margin: 10px;
    padding: 16px;
    border-radius: 20px;
    font-family: "m-plus-rounded-1c-medium", "Courier New", Courier;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: 0;
    background-color: #f8f7cc;
}

div#description > div:last-child {
    flex-grow: 1;
}

div#description > div > ul > li {
    margin-left: 24px;
}

div#game-stuff {
    margin: 10px;
    border-radius: 20px;
    padding: 5px;
    width: 300px;
    resize: horizontal;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    background-color: #f9f9bc;
}

div#game-stuff > div {
    width: 100%;
    height: 100px;
}

div#game-stuff > div > textarea {
    margin: 5px;
    line-height: 16px;
    border: solid 2.5px;
    outline: none;
    padding: 7.5px;
    border-radius: 13px;
    border-color: #ccc65a;
    resize: none;
    background-color: #f8f7d2;
    transition: background-color 0.3s;
}

div#game-stuff > div > textarea:hover {
    background-color: #fdfada;
}

div#game-stuff > div > textarea:focus {
    background-color: #fdfde4;
}

div#game-stuff > div {
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: stretch;
}

div#join-code-div > textarea#join-code-inp {
    margin-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    height: 36px;
    width: 86px;
    transition: 0.3s;
}

div#game-stuff > div > p {
    margin-left: 4px;
    line-height: 20px;
    font-size: 20px;
    font-family: "m-plus-rounded-1c-extrabold";
    text-align: center;
    padding: 0 7.5px 0 7.5px;
    height: fit-content;
    flex: 1 1 0;
    transition: 0.3s;
}

div#name-div > textarea#name-inp {
    height: 36px;
}

div#join-code-div > div {
    background-color: #ccc65a;
    margin-left: 0;
    margin-right: 4px;
    border-radius: 0 10px 10px 0;
    height: 36px;
    width: fit-content;
    transition: 0.3s;
}

div#join-code-div > div:hover {
    background-color: #dad57b;
}

div#join-code-div:has(div:hover) > textarea#join-code-inp {
    border-color: #dad57b;
}

div#join-code-div > div > button {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: none;
    border-radius: 10px;
    outline: none;
}

div#join-code-div > div:hover {
    background-color: #dad57b;
}

div#join-code-div > div > button > svg {
    margin-right: 4px;
    color: #fff982;
}
