* {
    margin: 0; padding: 0; box-sizing: border-box; color: white; font-family: "Roboto", sans-serif;
    outline: none; border: none; background: transparent;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #101010;
}

#menu {
    width: 100vw;
    height: 40px;
    position: relative;
    border-bottom: 1px solid white;
}

#sections {
    width: 100vw;
    height: calc(100vh - 40px);
    position: relative;
}

.section {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;

    display: none;
}

#sec0 {
    display: block;
}

/* ================== Menu ================== */

#menu_code, #menu_leave {
    position: absolute;
    height: 100%;
    padding: 0 20px;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    text-transform: uppercase;
    cursor: pointer;
}

#menu_leave {
    font-size: 18px;
    left: auto;
    right: 0;
    cursor: pointer;
    text-transform: none;
}

/* ================== Section 0 (Landing) ================== */

#sec0 h2 {
    width: 100%;
    height: 50px;
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: normal;
    font-size: 40px;
}

#sec0 .container {
    width: 100%;
    height: calc(100% - 70px);
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#sec0 .inner {
    width: 400px;
    max-width: 90vw;
    margin: 0 auto;
    margin-bottom: 80px;
}

#sec0 .container p {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 23px;
    user-select: none;
}

#sec0 .container input {
    width: 100%;
    height: 40px;
    border-bottom: 1px solid white;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 16px;
    font-family: monospace;
}

#sec0_input_color, #sec0_button_join {
    margin-bottom: 50px !important;
}

#sec0 .container button {
    margin-top: 15px;
    width: 100%;
    height: 40px;
    background-color: #252525;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
}

#sec0 .container button:hover {
    box-shadow: 3px 3px 4px black;
}

#sec0_input_color {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#sec0_input_color .color {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    cursor: pointer;
}

#sec0_input_color .selected {
    border: 1px solid white;
}

/* ================== Section 1 (Chat) ================== */

#sec1 {
    overflow: hidden;
}

#sec1_chat {
    width: 100%;
    height: calc(100% - 50px);
    overflow-y: auto;
}

.sec1_msg {
    width: calc(100% - 40px);
    margin: 0 auto;
    margin-top: 10px;
}

.sec1_msg .sec1_msg_author {
    width: 100%;
    height: 20px;
    font-size: 15px;
    color: orange;
}

.sec1_msg .sec1_msg_entries {
    width: 100%;
    padding-left: 10px;
}

.sec1_msg .sec1_msg_entry {
    width: 100%;
    display: flex;
    margin-top: 2px;
}

.sec1_msg .sec1_msg_entry_content {
    width: calc(100% - 50px);
}

.sec1_msg .sec1_msg_entry_content p {
    display: inline-block;
}

.sec1_msg .sec1_msg_entry_content a {
    color: lightblue;
    cursor: pointer;
    margin: 0 4px;
}

.sec1_msg .sec1_msg_entry_timestamp {
    width: 50px;
    color: gray;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-family: monospace;
    user-select: none;
}

#sec1_bottom {
    width: 100%;
    height: 50px;
    display: flex;
    border-top: 1px solid white;
}

#sec1_input {
    height: 100%;
    width: calc(100% - 80px);
    border-right: 1px solid white;
    padding: 0 20px;
    font-size: 16px;
}

#sec1_send {
    height: 100%;
    width: 80px;
    font-size: 16px;
    cursor: pointer;
}

#sec1_send:hover {
    background-color: #151515;
}

.sec1_msg_color_blue {
    color: #3790ff !important;
}

.sec1_msg_color_red {
    color: #ff0303 !important;
}

.sec1_msg_color_green {
    color: #4dff03 !important;
}

.sec1_msg_color_yellow {
    color: #fbff03 !important;
}

.sec1_msg_color_orange {
    color: #ffb100 !important;
}

.sec1_msg_color_pink {
    color: #ff00eb !important;
}
