.logo {
    text-decoration: none;
    margin-left: 70px;
    font-family: 'Sulphur Point';
    position: absolute;
    transform: translateY(-50%);
    height: 35px;
    user-select: none;
}

.sidebar_button {
    height: 40px;
    width: 40px;
    position: fixed;
    top: 5px;
    left: 10px;
    border-radius: 50%;
}

.sidebar_button svg {
    pointer-events: none;
    display: block;
    width: 25px;
    height: 25px;
    left: 50%;
    transform: translate(calc(50% - 5px), calc(50% - 5px));
}

.notification_button {
    position: fixed;
    right: 60px;
    top: 5px;
    height: 40px;
    left: unset;
    width: 40px;
    border-radius: 50%;
    user-select: none;
}

.notification_button svg {
    pointer-events: none;
    display: inherit;
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}

body {
    background-color: #000;
    margin: auto;
}

#overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 11;
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
}

a {
    text-decoration: none;
}

.brand-title {
    font-size: 8rem;
    font-family: 'ROGFont';
}

input {
    border: none;
    border-radius: 3px;
    height: 30px;
    overflow: hidden;
    padding-left: 6px;
    box-sizing: border-box;
    background-color: transparent;
}

.novisibility {
    visibility: hidden !important;
}

.nodisplay {
    display: none !important;
}

.allow_click {
    cursor: pointer;
}

.search_container {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    align-items: center;
    width: 36%;
    height: 50px;
    top: 0;
    left: 50%;
    transform: translateX(-50%)
}

.search_container input[type="text"] {
    border-radius: 15px;
    height: 30px;
    overflow: hidden;
    position: absolute;
    left: 0;
    width: calc(100% - 175px);
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    padding-left: 15px;
    padding-right: 15px;
}

.search_container input[type="submit"] {
    cursor: pointer;
    font-family: FontAwesome;
    font-size: 1.2em;
    border: none;
    border-radius: 20px;
    outline: none;
    width: 60px;
    height: 1.9em;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-left: 5px;
}

.search_container select {
    cursor: pointer;
    font-family: FontAwesome;
    font-size: 1.2em;
    border: none;
    border-radius: 10px;
    outline: none;
    width: 100px;
    height: 1.9em;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    user-select: none;
}

.me_icon {
    height: 40px;
    position: fixed;
    top: 5px;
    right: 5px;
    border-radius: 50%;
    cursor: pointer;
}

#user_profile {
    position: fixed;
    width: 300px;
    right: 0;
    top: 50px;
    margin: 10px;
    border-radius: 10px;
    display: none;
    flex-flow: column;
    z-index: 15;
    padding-bottom: 10px;
    user-select: none;
}

#user_profile p,
#user_profile a {
    padding-left: 15px;
    padding-top: 6px;
    padding-bottom: 6px;
    margin-top: 10px;
    margin-bottom: -2px;
    font-size: 16px;
    transition: 180ms;
}

#user_profile #logout {
    box-shadow: none;
    border: none;
    outline: none;
    background: none;
    text-align: left;
    font-size: 16px;
    padding-left: 15px;
    padding-top: 6px;
    padding-bottom: 6px;
    margin-top: 10px;
    margin-bottom: -2px;
    cursor: pointer;
    transition: 180ms;
}

#user_notification {
    position: fixed;
    width: 300px;
    right: 40px;
    top: 50px;
    margin: 10px;
    border-radius: 10px;
    display: none;
    flex-flow: column;
    z-index: 15;
    padding-bottom: 10px;
    user-select: none;
    overflow-y: scroll;
    max-height: 300px;
    max-height: 60%;
}

#user_notification .image_div {
    padding-left: 15px;
    padding-top: 6px;
    padding-bottom: 6px;
    margin-top: 10px;
    margin-bottom: -2px;
    font-size: 16px;
    transition: 180ms;
    color: #fff;
}

#user_notification .image_div img,
#user_notification .image_div p {
    width: 270px;
}

.login_desc {
    margin: 10px 20px;
    color: black;
}

.login_button {
    margin: 10px 20px;
}

.home_container_body {
    display: grid;
    gap: 10px;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, 350px);
    margin: 10px 20px 20px 20px;
    top: 50px;
    transform: translateY(80px);
}

.home_container,
.home_container_live {
    /* border: 1px solid ghostwhite; */
    transition: 180ms;
    height: 300px;
    user-select: none;
    color: #fff;
}

.user_container,
.user_container_live {
    /* border: 1px solid ghostwhite; */
    height: 400px;
    user-select: none;
}

.archive_container:hover,
.home_container_live:hover {
    border-radius: 10px;
}

.user_container:hover,
.user_container_live:hover {
    border-radius: 10px;
}

.home_container_live,
.user_container_live {
    /* border: 1px solid aquamarine; */
}

.home_title {
    margin-left: 50px;
    margin-right: 10px;
    position: absolute;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 290px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transform: translateY(-16px);
}

.home_title_id {
    font-size: 10px;
}

.home_user {
    margin-left: 50px;
    font-size: 12px;
    transform: translateY(-5px);
}

.search_user {
    font-size: 15px;
    text-align: center;
    transform: translateY(-12px);
}

.search_user_description {
    font-size: 12px;
    text-align: center;
    transform: translateY(14px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live_user {
    margin-left: 77px;
    font-size: 16px;
    transform: translateY(-59px);
}

.home_user_img {
    border-radius: 50%;
    width: 40px;
    transform: translateY(4px);
    margin-left: 4px;
    z-index: 10;
}

.search_user_img {
    border-radius: 10px;
    width: 100%;
    z-index: 10;
}

.live_user_img {
    margin-left: 30px;
}

.home_live {
    margin: 10px 0 5px 10px;
    font-weight: bold;
}

.header {
    height: 50px;
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
}

.header_me {
    float: right;
    margin: 0 20px 0 0;
    position: relative;
    user-select: none;
}

.live_container_body {
    top: 50px;
    transform: translateY(80px);
}

.live_title {
    margin: 10px 30px;
}

.live_video {
    display: block;
    aspect-ratio: 16/9;
    background-color: black;
    overflow: hidden;
}

.live_video_player {
    width: 100%;
    height: 100%;
}

.live_video_player_rotated {
    -webkit-transform: rotate(-90deg) scale(1.8, 1.78);
}

@media screen and (min-width: 1017px) {
    .live_video {
        width: calc(100% /1.5);
    }
}

.live_comment {
    margin-left: 30px;
    transform: translateY(-60px);
}

.live_comment input {
    width: 200px;
}

.user_profile_body {
    width: 45%;
    position: absolute;
    text-align: center;
}

.user_profile_body .user_description,
.user_profile_body .user_description_space {
    text-align: left;
    transform: translateX(-50%);
    left: 50%;
    position: absolute;
}

.user_profile_body .user_description_space {
    position: relative;
}

.user_profile_body .user_links_url {
    color: #fff;
    text-decoration: underline;
}

.user_profile_body .user_links_url:hover {
    color: #9d9d9d;
    text-decoration: underline;
}

.sidebar {
    position: fixed;
    width: 300px;
    height: 100%;
    left: 0;
    top: 50px;
    display: none;
    flex-flow: column;
    z-index: 15;
    transform: translateX(-300px);
}

.sidebar_open {
    display: flex;
    transform: translateX(0px);
    animation: 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s 1 normal forwards running sidebar
}

.sidebar_close {
    display: flex;
    transform: translateX(-300px);
    animation: 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s 1 normal forwards running sidebar_close
}

.sidebar a {
    padding-left: 15px;
    padding-top: 6px;
    padding-bottom: 6px;
    margin-top: 10px;
    margin-bottom: -2px;
    font-size: 16px;
    transition: 180ms;
}

.thumbnail {
    width: 100%;
    border-radius: 10px;
    height: 195.75px;
    border: 0px;
}

.live_text_body {
    z-index: 1;
    background-color: rgb(255, 0, 0);
    margin: 6px;
    height: 24px;
    width: 64px;
    position: absolute;
    border-radius: 2px;
    user-select: none;
}

.archive_text_body {
    background-color: rgb(13, 0, 255);
}

.live_text_body .thender img {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
}

.live_text_body p {
    margin: auto;
    position: absolute;
    text-decoration: none;
    display: unset;
    left: 20px;
    top: 50%;
    font-family: "Roboto", "Arial", sans-serif;
    font-style: italic;
    font-weight: bold;
    transform: translateY(-50%) rotateY(45deg);
    animation: live_anim 4s 1s infinite linear;
    color: #fff;
}

.archive_text_body p {
    left: 5px;
    transform: translateY(-50%);
    animation: unset;
}

.live_text_body p:nth-of-type(2) {
    left: 30px;
    animation: live_anim 4s 1.8s infinite linear;
}

.live_text_body p:nth-of-type(3) {
    left: 35px;
    animation: live_anim 4s 2.6s infinite linear;
}

.live_text_body p:nth-of-type(4) {
    left: 45px;
    animation: live_anim 4s 3.4s infinite linear;
}

.live_text_comment {
    position: absolute;
    height: 30px;
    width: calc(100% / 3 - 20px);
    box-sizing: border-box;
    vertical-align: baseline;
    top: 0;
    right: 0;
    display: grid;
    gap: 5px;
    grid-template-columns: 2fr 1fr;
}

.live_text_comment input,
.live_text_comment button {
    width: 100%;
    height: 100%;
    margin: 0;
}

.live_comments_comment_commentText,
.live_comments_comment_commentText a {
    user-select: text;
}

.commenttoggle {
    position: absolute;
    width: calc(100% / 3 - 20px);
    box-sizing: border-box;
    vertical-align: baseline;
    bottom: 0;
    right: 0;
    display: grid;
    gap: 5px;
    grid-template-columns: 1fr 1fr;
}

.live_comments {
    position: absolute;
    height: calc(100% - 90px);
    width: calc(100% / 3 - 20px);
    overflow-y: scroll;
    overflow-x: hidden;
    border: 1px solid #fff;
    box-sizing: border-box;
    vertical-align: baseline;
    top: 40px;
    right: 0;
}

#live_comments .live_comments_comment {
    padding: 10px;
    display: flex;
    opacity: 1;
    vertical-align: baseline;
    animation: comment-opacity 0.2s forwards linear;
    font-family: "Helvetica Neue", Helvetica, Arial, Verdana, Roboto, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif !important;
}

#online_users .live_comments_comment {
    padding: 10px;
    display: flex;
    opacity: 1;
    vertical-align: baseline;
    font-family: "Helvetica Neue", Helvetica, Arial, Verdana, Roboto, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif !important;
}

.live_comments_comment_UserName {
    color: #0bffb6;
}

@keyframes comment-opacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes live_anim {
    0% {
        transform: translateY(-50%) rotateY(0deg);
    }

    20% {
        transform: translateY(-50%) rotateY(360deg);
    }

    100% {
        transform: translateY(-50%) rotateY(360deg);
    }
}

@keyframes sidebar {
    0% {
        transform: translateX(-300px);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes sidebar_close {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-300px);
    }
}

@media screen and (max-width: 1016px) {
    .live_video {
        width: 100%;
        aspect-ratio: 1/1;
    }

    .video-controls-container {
        width: 100% !important;
    }

    .logo {
        margin-left: 10px;
    }

    .sidebar {
        transform: unset;
        flex-flow: row;
        bottom: 0;
        top: unset;
        height: 50px;
        width: 100%;
        display: grid;
        grid-auto-columns: 1fr;
        grid-auto-flow: column;
    }

    .sidebar a {
        display: grid;
        align-items: center;
        justify-content: center;
        height: 50px;
        padding-left: unset;
        padding-top: unset;
        padding-bottom: unset;
        margin-top: unset;
        margin-bottom: unset;
        font-size: 80%;
    }

    .search form {
        top: 50px;
        position: absolute;
        width: calc(100% - 20px);
        height: 50px;
    }

    .live_comments,
    .live_text_comment,
    .sidebar_button,
    .commenttoggle {
        display: none !important;
    }

    .home_container_body {
        transform: translateY(95px);
    }
}