* {
  margin: 0;
  padding: 0;
  color: black;
  user-select: none; 
  -webkit-user-drag: none;
}
:root {
  --widget-color: #d6d6d6;
  --widget-color-dark: #bebebe;
}
div{
  overflow: hidden;
}
html{
  height: 100vh;
}
body{
  height: 100vh;
  margin:0;
  overflow: hidden;
  font-family: 'Be Vietnam Pro', sans-serif;
}
#links a{
    display: inline-flex;
    text-decoration: none;
    background-color: var(--widget-color);
    border-radius: 15px;
    font-size: 18px;
    height:100%;
    align-items: center;
    padding: 0 20px;
    margin: 0 8px;
}
#links a:hover{
    background-color: var(--widget-color-dark);
}
#links{
    left: 50%;
    top: 10px;
    transform: translate(-50%,0);
    height: 50px;
    display: flex;
    justify-content: center;
    position: absolute;
    z-index: 1;
}
#favico{
    height: 50px;
    aspect-ratio: 1 / 1;
    background-color: var(--widget-color);
    border-radius: 15px;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}
#favico img{
    height: 60%;
    display: inline;
    object-fit: contain;
    cursor: pointer;
    margin: 20%;
    aspect-ratio: 1 / 1;
    filter: invert();
}
#homepage{
    overflow: auto;
    width: 100%;
    height: 100%;
    position: absolute;
}
#homepage div{
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    margin: 10px 10px;
}
#homepage div div{
    width: fit-content;
}
#homepage div p{
    background-color: rgb(238, 238, 238);
    display: inline;
    border-radius: 15px;
    width: fit-content;
    font-size: 15px;
    max-width: 35vw;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
    padding: 10px;
}
#blogpage{
  height: 100vh;
  overflow-y: auto;
  position: absolute;
  width: 100%;
  height: 100%;
}
#navbtns{
 display: flex;
  justify-content: center;
  padding: 20px 0;
  align-items: center;
}
#navbtns span{
    font-size: 16px;
}
#navbtns button{
    padding: 8px 14px;
  margin: 0 8px;
  border-width: 0;
  border-radius: 5px;
  font-size: 14px;
}

.hang-right{
    align-self: self-end;
    margin-left: 0;
    margin-right: 20px;
}
.post{
    background-color: #d6d6d6;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    width: 40vw;
    margin-left: 50%;
    transform: translate(-50%,0);
}
.post .media-wrapper{
    width: 100%;
    position: relative;
    aspect-ratio: 1 / 1;
}
.post .media-wrapper > *{
    position: absolute;
}
.post .media-wrapper > button{
  top: 50%;
  transform: translate(0,-50%);
  border-radius: 0;
  border-width: 0;
  padding: 10px 5px;
  font-size: 20px;
  font-weight: 600;
}
.post .media-wrapper > .left{
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.post .media-wrapper > .right{
    right: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.post .profile_box{
    align-items: center;
    background-color: rgb(236, 236, 236);
    display: flex;
}
.post .profile_box img{
    height: 35px;
    margin: 5px;
    border-radius: 100%;
    aspect-ratio: 1 / 1;
}
.post .profile_box p{
    font-size: 17px;
    margin-left: 5px;
    font-weight: 600;
}
.post p.desc{
    font-size: 17px;
    white-space: normal;
    padding: 10px 10px 0 10px;
    margin: 0;
}
.post p.date{
    font-size: 14px;
    color: rgb(104, 104, 104);
    text-align: right;
    margin: 5px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.post .media-wrapper .media{
    width: 100%;
    object-fit: cover;
    height: 100%;
}