body {padding: 0;border: 0;margin: 0;background-color: #eee;overflow: hidden;}
::-webkit-scrollbar {width: 0;}
::-webkit-scrollbar:horizontal {height: 0;}

#topbar {position: absolute;width: 100vw;height: 7vh;left: 0;top: 0;z-index: 1000;}
#topbar .waves-effect {position: absolute;width: 7vh;height: 7vh;}
#topbar .waves-effect img {position: absolute;width: 4vh;height: 4vh;left: 1.5vh;top: 1.5vh;}
#menu {left: 0;top: 0;}
#logo {position: absolute;width: calc(100vw - 35vh) !important;height: 7vh;left: 7vh;top: 0;font-size: 3vh;display: flex;justify-content: center;align-items: center;}
#video_page {width: 0 !important;height: 0 !important;right: 28vh;top: 0;}
#search {right: 21vh;top: 0;}
#submit {right: 14vh;top: 0;}
#message {right: 7vh;top: 0;}
#user {right: 0;top: 0;}
#new_message_num {
    position: absolute;width: 3.5vh;height: 2.5vh;right: 7.5vh;bottom: 1vh;
    font-size: 2vh;border-radius: 0.7vh;display: flex;justify-content: center;align-items: center;z-index: 998;pointer-events: none;
}

#choicebar {
    position: absolute;width: 100vw;height: 5.5vh;left: 0;top: 7vh;
    border-bottom: 1px solid #e0e0e0;overflow-y: hidden;overflow-x: auto;display: flex;padding: 0.9vh 0.5vh;z-index: 999;
}
#choicebar .waves-effect  {
    position: relative;height: 100%;left: 0;top: 0;
    font-size: 2.2vh;margin-left: 0.5vh;margin-right: 0.5vh;padding-left: 1vh;padding-right: 1vh;border-radius: 0.7vh;display: flex;justify-content: center;align-items: center;white-space: nowrap;flex-shrink: 0;
}
#choicebar .waves-effect.selected {background-color: #81d4fa;color: white !important;padding-left: 1.3vh;padding-right: 1.3vh;}

#blogbar {
    position: absolute;width: 100vw;height: 87.5vh;left: 0;top: 12.5vh;
    display: flex;flex-wrap: wrap;align-content: flex-start;overflow-x: hidden;overflow-y: auto;
}
.blog_card {position: relative;width: 100vw;height: 16vh;left: 0;top: 0;cursor: pointer;border-bottom: 1px solid #e0e0e0;}
.blog_avatar {position: absolute;width: 7vh;height: 7vh;left: 1vh;top: 1vh;}
.blog_avatar img {position: absolute;width: 100%;height: 100%;left: 0;top: 0;object-fit: cover;}
.blog_title {
    position: absolute;width: calc(100% - 10vh);height: 3vh;left: 9vh;top: 1vh;
    font-size: 2.4vh;overflow: hidden;white-space: nowrap;display: flex;align-items: center;
}
.blog_subtitle {
    position: absolute;width: calc(100% - 10vh);height: 4vh;left: 9vh;top: 4vh;
    font-size: 2.2vh;overflow: hidden;white-space: nowrap;display: flex;align-items: center;
}
.blog_content {
    position: absolute;width: calc(100% - 10vh);height: 7vh;left: 9vh;top: 8vh;
    font-size: 2.4vh;overflow: hidden;word-wrap: break-word;overflow-wrap: break-word;word-break: break-all;white-space: pre-wrap;
}
#bottom {position: relative;width: 98vw;height: 4vh;left: 0;top: 0;}

#mask {position: absolute;width: 100vw;height: 100vh;left: 0;top: 0;background-color: rgba(0, 0, 0, 0.2);z-index: 1001;}

#sidebar {
    position: absolute;width: 80vw;height: 100vh;left: -80vw;top: 0;z-index: 1002;
    display: flex;flex-wrap: wrap;align-content: flex-start;
}
#cover {position: relative;width: 100%;height: 22vh;left: 0;top: 0;}
#cover img {width: 100%;height: 100%;object-fit: cover;}
.sidebar_button {position: relative;width: 100%;height: 6vh;left: 0;top: 0;}
.sidebar_button img {position: absolute;width: 4vh;height: 4vh;left: 1vh;top: 1vh;}
.sidebar_button span {position: absolute;width: calc(100% - 7vh);height: 4vh;left: 6vh;top: 1vh;font-size: 2.2vh;display: flex;align-items: center;}

.toast {background-color: #81d4fa !important;color: white !important;}