@font-face {
    font-family: 'nova';
    src: url();
}

html, body {
    color: white;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
    background-color: #1e1e1e;
    padding: 0;
    margin: 0;
    --primary-aqua: #4EEAFF;
    --primary-blue: #4987FF;
    --primary-purple: #A449FF;
}

h1 {
    font-size: 2em;
    font-weight: 900;
}

h3 {
    padding: 0;
    margin: 0;
}

h4 {
    padding: 0;
    margin: 0;
}

ul {
    list-style: none;
    padding: 0.4em 2em;
    display: flex;
}

li {
    font-size: 1em;
    font-weight: 700;
    padding: 0 1em;
}

a {
    color: white;
    display: flex;
    text-decoration: none;
}

button {
    color: white;
    font-size: 1em;
    font-weight: 700;
    background-color: var(--primary-aqua);
    border: none;
    border-radius: 0.4em;
    padding: 0.4em 1em;
}

.rowcontainer {
    display: flex;
    align-items: center;
}

.imgcontainer {
    display: flex;
    align-items: center;
    justify-content: center;
}

main {
    width: 100vw;
    position: relative;
    display: flex;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* HOME */

#home {
    flex: 16 1 auto;
}

#home .container {
    padding: 1em 4em;
    user-select: none;
}

#home .container video {
    width: 100%;
    padding: 0;
    margin: 0;
}

/* CC CONTAINER */

.home-cc-container {
    width: 92vw;
    display: flex;
    overflow: scroll;
}

.home-cc-container::-webkit-scrollbar {
    display: none;
}

.home-ccbox {
    min-width: 200px;
    max-width: 200px;
    border-radius: 1em;
    padding: 2em 1em;
    margin: 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 200ms ease-out;
}

.home-ccbox:hover {
    background-color: var(--primary-blue);
    transition: 125ms ease-in;
}

.cc-live {
    border: red solid 4px;
    border-radius: 999px;
    transition: 200ms ease-out;
}

.home-ccbox:hover .cc-live img {
    border: var(--primary-blue) solid 6px;
    transition: 125ms ease-in;
}

.home-ccbox img {
    width: 100px;
    height: 100px;
    border-radius: 999px;
}

.cc-live img {
    border: #1e1e1e solid 6px;
}

.home-ccbox h4 {
    margin: 1em 0 0;
}

.home-ccbox > .tagrow {
    justify-content: center;
    flex-wrap: wrap;
}

.home-ccbox > .tagrow a {
    margin: 4px;
}

/* FOLLOWINGS */

#followings h2 {
    padding: 0 2em;
}

.home-ccbox-row {
    width: 200px;
    border-radius: 1em;
    padding: 1em;
    margin: 0 12px;
    display: flex;
    align-items: center;
    transition: 200ms ease-out;
}

.home-ccbox-row:hover {
    background-color: var(--primary-blue);
    transition: 125ms ease-in;
}

.home-ccbox-row img {
    width: 48px;
    height: 48px;
    border-radius: 999px;
}

.home-ccbox-row h4 {
    margin: 0 0 0 1em;
}

/* HOME COMMUNITY */

.home-commubox {
    width: 480px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1em;
    padding: 1em;
}

.home-commu-header .home-ccbox-row {
    padding: 8px;
}

.home-commu-header .ccpfpbox {
    border: red solid 3px;
}
.home-commu-header .ccpfpbox img {
    width: 36px;
    height: 36px;
}

.home-commu-header .cc-live img {
    border: #1e1e1e solid 3px;
}

.home-commu-content {
    margin-top: 1em;
}

/* STREAM */

.stream-container {
    height: 540px;
    background-color: black;
    display: flex;
    justify-content: center;
}

.stream {
    width: 960px;
    height: 540px;
    background-color: wheat;
}

/* CC AREA */

.cc-container {
    display: flex;
}

.stream-info {
    width: 360px;
}

.streamer-profile {
    height: 120px;
    padding: 0 1em;
    display: flex;
    align-items: center;
}

.pfp {
    width: 100px;
    height: 100px;
    display: flex;
}

.pfp img {
    border-radius: 999px;
}

.pfinfo {
    padding: 0 1em;
}

.pfinfo p {
    color: gray;
    font-size: 0.8em;
}

.streamer-profile h4, .streamer-profile p {
    padding: 0;
    margin: 0;
}

.streamtitle {
    padding: 1em;
}

.stream-info h3 {
    padding: 0;
    margin: 0;
}

.tagrow {
    display: flex;
    padding: 0;
    margin-top: 12px;
}

.tagrow a {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 2px 12px;
    margin-right: 8px;
}

.tagrow p {
    font-size: 0.8em;
    padding: 0;
    margin: 0;
}

/* SUBTITLE AREA */

.subtitle-container {
    width: 50vw;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.streamer-speaking {
    width: 100%;
    display: flex;
    justify-content: start;
}

.other-speaking {
    width: 100%;
    display: flex;
    justify-content: end;
}

.subtitle {
    box-sizing: border-box;
    padding: 0 2em;
}

/* CHAT AREA */

.chatbox {
    height: 92vh;
    display: flex;
    flex-direction: column;
    position: right;
}

.chatbox-top {
    height: 6vh;
    background-color: gray;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatarea {
    width: 360px;
    height: 80vh;
    background-color: antiquewhite;
}

.chatbox-bottom {
    height: 6vh;
    background-color: gray;
}

/* COMMUNITY */