body{
    font-family: 'Open Sans', sans-serif;
    background-color: #f2f2f2;
}
*{
    cursor: none;
}
h1{
    font-family: 'Open Sans', sans-serif;
    font-weight: lighter;
    font-size: 40px;
    line-height: 1;
}
h2{
    font-family: 'Open Sans', sans-serif;
    font-weight: lighter;
    font-size: 30px;
    margin-bottom: 30px;
}

h3{
    font-family: 'Open Sans', sans-serif;
    font-weight: lighter;
    font-size: 20px;
    margin-bottom: 20px;
}
a{
    color: #05A2FE;
}

a:hover{
    color: #06A3FF;
}

a:active{
    color: #05A2FE;
}
input{
    width: 80%;
    padding: 10px;
    border: 0;
    background-color:transparent;
    outline: none;
    border-bottom: solid 1px #000;
    margin-bottom: 10px;
    font-size: 20px;
}
textarea{
    width: 80%;
    padding: 10px;
    border: 0;
    background-color:transparent;
    outline: none;
    border-bottom: solid 1px #000;
    margin-bottom: 10px;
    font-size: 20px;
}
.btn{
    background-color: #ffffff;
    border: none;
    color: #000000;
    width: 85%;
    padding-left: 5px;
    height: 30px;
    font-size: 20px;
    transition: all 0.3s ease;
}
.btn:hover{
    padding-left: 8px;
    width: calc(85% - 3px);
}
#dialog{
    position: fixed;
    top: 0;
    z-index: 2;
    backdrop-filter: blur(10px);
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    --animate-duration: 0.2s;
    align-items: center;
}
#dialog_box{
    background-color: #ffffff;
    width: 400px;
    max-height: 300px;
    position: fixed;
    display: block;
    padding: 20px;
}

#dialog_content div:hover{
    background-color: #05A2FE;
    color: #ffffff;
}
#dialog_title{
    font-size: 40px;
    font-weight: lighter;
    font-size: 40px;
    font-family: 'Open Sans', sans-serif;
    line-height: 0;
}
#nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 20vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1;
    border: none;
}
#about{
    text-align: center;
    margin-top: 20px;
    word-wrap: anywhere;
    word-break: break-all;
    position: relative;
}

#musicplayer{
    position: fixed;
    bottom: 0;
    display:block;
    line-height:1;
}

#musicplayer img{
    width: 5vw;
    height: 5vw;
    z-index: 998;
    bottom: 5px;
}
#avatar{
    border-radius: 50%;
    width: 15vw;
    height: 15vw;
}
#music_info{
    width: 18vw;
    display:flex;
}

#music_progress_bar{
    width: 100%;
    display: flex;
    height: 5px;
    background-color: #aaaaaa;
}

#main{
    max-width: 80vw;
    width: 80vw;
}
.post_block{
    background-color: #ffffff;
    margin-left: 20vw;
    width: 80vw;
    max-width: 75vw;
    height: 30vh;
    overflow: hidden;
    text-overflow:ellipsis;
    position: relative;
    padding: 10px;
    word-break: break-all;
    word-wrap: anywhere;
    margin-bottom: 20px;
    border-radius: 10px;
}
.post_block h1{
    word-break: break-all;
    word-wrap: anywhere;
    line-clamp: 1;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    text-overflow:ellipsis;
}
.post_block p{
    line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow:ellipsis;
    word-break: break-all;
    word-wrap: anywhere;

}
.post_content{
    background-color: #ffffff;
    margin-left: 20vw;
    width: 80vw;
    max-width: 75vw;
    overflow: hidden;
    text-overflow:ellipsis;
    position: relative;
    padding: 10px;
    word-break: break-all;
    word-wrap: anywhere;
    margin-bottom: 20px;
    border-radius: 10px;
}

.comment{
    background-color: #fff;
    overflow: hidden;
    width:90%;
    text-overflow:ellipsis;
    position: relative;
    padding: 10px;
    word-break: break-all;
    word-wrap: anywhere;
    margin-bottom: 20px;
    border-radius: 10px;
}
.comment:hover{
    background-color: #f2f2f2;
}
.comment_header{
    display: flex;
    text-decoration: none;
    align-items: center;
}
.comment_header img{
    width: 3vw;
    height: 3vw;
    border-radius: 50%;
}
textarea{
    width: 80%;
    padding: 10px;
    border: 0;
    background-color:transparent;
    outline: none;
    border-bottom: solid 1px #000;
    margin-bottom: 10px;
    font-size: 30px;
}
.comment_header p{
    margin-left: 10px;
    font-size: 20px;
}
.post_block div{
    position: absolute;
    bottom: 1vw;
}
#nav_content {
    float: bottom;
    position: fixed;
    bottom: 0;
    margin-bottom: 9vw;
}

@media only screen and (max-device-width: 480px) {
    #body{
        margin: 0;
        border: 0;
        padding: 0;
    }
    #nav{
        position: relative;
        width: 100%;
        margin: 0;
        border: 0;
        height: 50vh;
    }
    .post_content h2{
        word-break: break-all;
        word-wrap: anywhere;
        line-clamp: 1;
        overflow: hidden;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        text-overflow:ellipsis;
        font-size: 60px;
    }
    .post_content h3{
        word-break: break-all;
        word-wrap: anywhere;
        line-clamp: 1;
        overflow: hidden;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        text-overflow:ellipsis;
        font-size: 30px;
    }
    .post_content input{
        width: 100%;
        padding: 10px;
        border: 0;
        background-color:transparent;
        outline: none;
        border-bottom: solid 1px #000;
        margin-bottom: 10px;
        font-size: 30px;
    }
    #avatar{
        width: 50vw;
        height: 50vw;
    }
    #about h1{
        font-size: 80px;
    }
    #about p{
        font-size: 30px;
    }
    #main{
        margin-top: 20px;
        max-width: 100vw;
        width: 100vw;
        align-items: center;
        position: relative;
    }
    .post_block{
        background-color: #ffffff;
        width: 100vw;
        max-width: 90vw;
        left: 50%;
        transform: translateX(-50%);
        height: 20vh;
        overflow: hidden;
        text-overflow:ellipsis;
        position: relative;
        padding: 10px;
        margin-left: 0;
        word-break: break-all;
        word-wrap: anywhere;
        border-radius: 10px;
    }
    .post_content{
        background-color: #ffffff;
        margin-left: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        max-width: 90vw;
        overflow: hidden;
        text-overflow:ellipsis;
        position: relative;
        padding: 10px;
        word-break: break-all;
        word-wrap: anywhere;
        margin-bottom: 20px;
        border-radius: 10px;
    }
    .comment{
        background-color: #fff;
        overflow: hidden;
        width:90%;
        text-overflow:ellipsis;
        position: relative;
        padding: 10px;
        word-break: break-all;
        word-wrap: anywhere;
        margin-bottom: 20px;
        border-radius: 10px;
    }
    .comment:hover{
        background-color: #f2f2f2;
    }
    .comment_header{
        display: flex;
        text-decoration: none;
        align-items: center;
    }
    .comment_header p{
        margin-left: 10px;
        font-size: 30px;
    }
    .comment_header img{
        width: 10vw;
        height: 10vw;
        border-radius: 50%;
    }
    .post_block p{
        font-size: 30px;
    }
    .post_block div{
        font-size: 30px;
        height:35px;

    }
    #canvas{
        display: none;
    }
    #musicplayer{
        display: none;
    }
    #nav_content{
        display: none;
    }
    #dialog_box{
        width: 90%;
    }
    #dialog_content div{
        font-size: 30px;
        height: 50px;
    }
    #dialog_title{
        font-size: 80px;
    }
    #dialog_content{
        font-size: 40px;
    }
    h1{
        font-size: 60px;
    }
    h2{
        font-size: 40px;
    }
}

::-webkit-scrollbar {
    width: 10px;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: #333333;
    border-radius: 5px;
    margin-right: 3px;

}

::-webkit-scrollbar-track {
    background: transparent;
}

#dot{
    height: 5px;
    width: 5px;
    border-radius: 50%;
    background-color: #000;
    padding:0;
    margin:0;
    position: fixed;
    z-index: 999;
}
@keyframes color_change {
    0% {
        color: #ff0000;
        line-height: 1;
    }
    14% {
        color: #ff7f00;
        line-height: 1.2;
    }
    28% {
        color: #ffff00;
        line-height: 1.4;
    }
    42% {
        color: #00ff00;
        line-height: 1.6;
    }
    56% {
        color: #0000ff;
        line-height: 1.8;
    }
    70% {
        color: #4b0082;
        line-height: 2;
    }
    84% {
        color: #8b00ff;
        line-height: 2.2;
    }
    100% {
        color: #ff0000;
        line-height: 2.4;
    }
}
@keyframes background_color_changer {
    0% {
        background-color: #ff0000;
    }
    14% {
        background-color: #ff7f00;
    }
    28% {
        background-color: #ffff00;
    }
    42% {
        background-color: #00ff00;
    }
    56% {
        background-color: #0000ff;
    }
    70% {
        background-color: #4b0082;
    }
    84% {
        background-color: #8b00ff;
    }
    100% {
        background-color: #ff0000;
    }
}