*{
    margin: 0 0;
    box-sizing: border-box;
    font-family: "Lexend Deca";
}
.bg{
    background-image: url("../files/new_main_backg.png");
    background-size: cover;
    position: fixed;
    top: 0; left: 0;
    transform: scale(1.2);
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    filter: blur(15px);
    z-index: -1;
    animation-name: bgMainMove;
    animation-iteration-count: infinite;
    animation-duration: 180s;
    animation-timing-function: linear;
}
@keyframes bgMainMove {
    0%{transform: scale(1.2) translate(0%)}
    50%{transform: scale(1.45) translate(-2%, -2%)}
    100%{transform: scale(1.2) translate(0%)}
}

a{
    text-decoration: none;
}
.header img{
    height: 60px;
    
}
.header{
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    height: 60px;
    position: sticky;
    top: 0px;
    box-shadow: 0px 2px 10px mediumpurple;
    box-shadow-spread: 70px;
    background-color: #7574a2;
    z-index: 99;
}
.navbar{
    display: flex;
    z-index: 99;
    align-items: center;
    justify-content: center;
    flex: 1;
}
.navlinks{
    gap: 69px;
}
.navbar li:hover{
    display: flex;
    border-radius: 3px;
    background-color: #4c4f77;
    box-shadow: 0 0 20px #af89af;
    height: 43px;
    cursor: pointer;
}
.navbar li{
    display: flex;
    font-family: "Lexend Deca";
    font-weight: 800;
    width: auto;
    padding: 0 40px;
    height: 43px;
    justify-content: center;
    align-items: center;
}
.navbar a{
    color: rgb(255 247 247 / 0.73);
}
.user{
    display: flex;
    margin-left: auto;
    margin-right: 20px;
    padding: 5px 10px;
    font-family: "Lexend Deca";
    align-content: center;
    align-items: center;
    position: relative;
    font-weight: 500;
    box-shadow: 0 0 15px #af89af;
    background-color: rgb(255 255 255 / 0.7);
    height: 40px;
    width: fit-content;
    cursor: pointer;
}
#username_right_top_corner:hover{
    background-color: rgb(217 212 212 / 0.7);
}
#user_username{
    color: rgb(167 148 173);
}
.dropdown_menu_username{
    display: none;
    position: absolute;
    top: 41px;
    right: 0;
    height: 120px;
    width: 140px;
    text-align: center;
    justify-content: center;
    background-color: #b6b6ff;
    font-size: 1em;
    z-index: 10;
}
.dropdown_menu_username ul{
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 140px;
    list-style: none;
}
.dropdown_menu_username li{
    width: 140px;
    height: 40px;
    align-content: center;
    color: rgb(79 84 105);
    padding: 0;
    margin: 0;
}
.dropdown_menu_username li:hover{
    background-color: #aeaeee;
    width: 140px;
}
.dropdown_menu_username.visible{
    display: flex;
}
#plusik {
    color: #4f5469;
}
.navbar ul{
    display: flex;
}
main{
    display: grid;
    grid-template-columns: 20% 1fr 20%;
    align-items: start;
}
section{
    min-height: calc(100vh - 60px);
}
aside{
    position: sticky;
    top: 60px;
    font-family: "Lexend Deca";
    font-weight: 500;
    margin-top: 13px;
    margin-left: 7px;
}
.user-card{
    border: 1px solid rgb(180 180 255 / 0);
    display: flex;
    height: 38px;
    align-items: center;
    align-content: center;
    text-decoration: none;
}
.user-card a{
    color: rgb(204 185 210);
    border-radius: 3px;
    padding: 0px 5px;
}
.user-card:hover{
    background-color: rgb(207 145 236 / 0.35);
    margin-left: 0;
}
.user-card img{
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin-left: 4px;
    position: relative;
    object-fit: cover;
    overflow: hidden;
}
.user-card span{
    max-width: 120px;
    overflow: hidden;
    margin-left: 5px;
}
.user-card button{
    border: 1px solid rgb(180 180 255 / 0.35);
    margin-left: auto;
    margin-right: 7px;
    font-family: "Lexend Deca";
    font-weight: 600;
    background-color: rgb(243 243 243 / 0.29);
    color: rgb(157 157 203);
}
.follow-button:hover{
    cursor: pointer;
    transition: 0.2s 0.2s;
    background-color: rgb(255 255 255);
    color: rgb(153 50 204 / 0.69);
}
.post{
    padding: 19px;
    font-family: "Lexend Deca";
    font-weight: 399;
    background-color: rgb(182 182 255 / 0.18);
}
.post p {
    color: rgb(215 215 215);
    height: auto;
    margin-top: 5px;
    padding-bottom: 8px;
    background-color: rgb(181 187 234 / 0.09);
}
.post h3{
    color: rgb(215 215 215);
    height: auto;
    width: fit-content;
    padding-left: 5px;
    padding-right: 5px;
    background-color: rgb(92 95 128 / 0.7);
}
.comments{
    display: flex;
    background-color: #4c4f77;
    margin-top: 10px;
    justify-content: space-between;
    max-width: 30vw;
    width: fit-content;
    flex-direction: column;
}
.comments span{
    display: flex;
    gap: 10px;
    align-items: center;
    padding-left: 3px;
    color: rgb(204 185 210);
}
.comments p{
    background-color: #666a94;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 5px;
    word-break: break-word;
}
.comments-container{
    margin-top: 10px;
    max-height: 30vh;
    overflow: scroll;
}
.options{
    display: flex;
    border: 0.1px solid rgb(255 255 255 / 0.18);
    background-color: #494c70;
    margin: 2px;
    border-radius: 3px;
    height: 20px;
    justify-content: center;
    align-content: center;
    align-items: center;
    margin-left: auto;
    position: relative;
    color: #9595f5;
}

.options span{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    height: 20px;
    
}
.options:hover{
    cursor: pointer;
    background-color: #373741;
}
.dropdown_menu ul{
    display: flex;
    flex-direction: column;
    padding: 0;
    width: fit-content;
    align-items: center;
}
.dropdown_menu{
    display: none;
    position: absolute;
    background-color: #d0d0ee;
    width: fit-content;
    margin: 2px 0 0 0;
    padding: 0;
    top: 100%;
    right: 0;
}
.dropdown_menu li{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    list-style: none;
    padding: 3px;
}
.dropdown_menu.visible{
    display: block;
}
.dropdown_menu li:hover{
    background-color: rgb(180 180 255 / 0.78);
    color: rgb(83 74 96 / 0.75);
}
.input_bar{
    display: flex;
    height: 30px;
    margin-top: 0px;
    align-items: center;
    background-color: #4c4f77;
    position: sticky;
    top: 0;
    z-index: 27;
}
.send_input{
    display: flex;
    box-shadow: none;
    align-items: center;
    border: none;
    font-family: "Lexend Deca";
    background-color: #d0d0ee;
    width: 50vw;
    height: 30px;
    flex: 1;
    outline: none;
    padding-left: 10px;
    padding-right: 10px;
}
.button_send {
    position: relative;
    bottom: 1px;
    align-items: center;
    box-shadow: none;
    border: 1px solid;
    border-radius: 0;
    height: 30px;
    background: rgb(180 180 255 / 0.35);
    cursor: pointer;
    color: rgb(204 185 210);
    top: 0.1px;
 }
.button_send:hover{
    background-color: rgb(180 180 255 / 0.78);
    color: rgb(83 74 96 / 0.75);
}
.delete-options{
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 150px;
    margin: 0;
    padding: 0;
    background-color: #2f2b48;
    position: relative;
}
.delete-options p{
    background: none;
    width: auto;
    text-align: center;
}
.delete-options-buttons{
    display: flex;
    justify-content: space-between;
    color: rgb(255 255 255);
    cursor: pointer;
}
.delete-options-buttons button{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1em;
    width: 50%;
    height: 35px;
    border: 1px solid rgb(79 84 105 / 0.35);
    margin: 0;
    padding: 0;
}
#buttonYesCSS{
    background-color: rgb(60 215 60);
}
#buttonNoCSS{
    background-color: rgb(217 59 60);
}
#buttonNoCSS:hover{
    background-color: rgb(162 41 42);
    color: rgb(0 0 0 / 0.41);
    cursor: pointer;
}
#buttonYesCSS:hover{
    background-color: rgb(40 147 40);
    color: rgb(0 0 0 / 0.41);
    cursor: pointer;
}
.attachment{
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}
.pfp{
    border-radius: 50%;
    width: 30px;
    height: 30px;
    object-fit: cover;
    overflow: hidden;
}
#no_posts{
    display: none;

}
.post a{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    width: fit-content;
    font-family: "Lexend Deca";
    padding-right: 10px;
    border-radius: 100px;
    font-weight: 400;
    color: rgb(204 185 210);
    background-color: rgb(181 187 234 / 0.26);
}
.button_post{
    border: 1px solid rgb(255 255 255 / 0.56);
    border-radius: 4px;
    width: fit-content;
    padding-left: 15px;
    padding-right: 15px;
    background: rgb(180 180 255 / 0.35);
    cursor: pointer;
    color: rgb(204 185 210);
}
.button_post:hover{
    background-color: rgb(180 180 255 / 0.78);
    color: rgb(83 74 96 / 0.75);
}
.post a:hover{
    background-color: rgb(180 180 255 / 0.78);
}
article{
    display: grid;
    position: sticky;
    top: 60px;
    padding: 0 8px;
    font-family: "Lexend Deca";
    font-weight: 400;
    z-index: 9;

}
.trending{
    border: 1px solid;
    border-radius: 10px;
    padding: 3px 10px;
    margin-top: 8px;
    background-color: #9989cc;
}
.trending a{
    color: rgb(204 185 210);
}
h3{
    margin-top: 8px;
    color: rgb(151 116 155);
}
.trending p{
    color: rgb(255 255 255 / 0.16);
}
.trending:hover{
    /*background-color: rgb(238 221 250);*/
    background-color: rgb(207 145 236 / 0.81);
}

footer{
    display: grid;
    border: 1px solid #595959;
    padding: 10px;
    justify-content: center;
    font-family: "Lexend Deca";
    background-color: #7574a2;
    font-weight: 400;
    color: rgb(180 180 180 / 0.66);
}
footer p{
    justify-content: center;
    padding-left: 100px;
}
footer a{
    display: flex;
    justify-content: center;
    font-family: "Lexend Deca";
    font-weight: 700;
    text-decoration: none;
    color: rgb(180 180 180 / 0.66);
}
.post_modal_container{
    display: none;
    margin-top: 10px;
    justify-content: center;
    align-items: center;
    z-index: 104;
    width: 100vw;
    height: 100vh;
}
.create_post_post{
    display: flex;
    width: 70vw;
    flex-direction: column;
    justify-content: center;
    height: 77vh;
    z-index: 105;
    background-color: #af89af;
    position: fixed;
    bottom: 200px;
    top: 63px;
}
.create_post_post input{
    display: flex;
    width: 98%;
    border: none;
    outline: none;
    margin: 10px 1% 0 1%;
    padding-left: 10px;
    height: 38px;
}
#forma_1{
    margin-bottom: 10px;
}
.post_exp{
    margin: 6px;
}
.attachment_post_create{
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px dashed white;
    width: auto;
    border-radius: 10px;
    padding: 3px;
}
.attachment_post_create label{
    display: flex;
    width: 100%;
    height: 100%;
    padding: 3px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    cursor: grab;
}
.attachment_post_create label:active{
    cursor: grabbing;
}
#attachment_post{
    display: none;
}
#kartinka_polzovatelia{
    height: 600px;
    z-index: 200;
    object-fit: cover;
}
#paragraph_create{
    background-color: rgb(255 255 255 / 0);
    color: #ffffff;
}
.buttons_create_post{
    display: flex;
    padding: 5px;
    justify-content: center;
    gap: 10px;
    align-items: center;
}
.buttons_create_post button{
    margin: 0;
    border: none;
    width: 32.5%;
    padding: 3px;
    background-color: rgb(182 182 255);
    color: #4f5469;
}
.buttons_create_post button:hover{
    background-color: rgb(156 156 241);
    cursor: pointer;
}
#reset_pic{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    background-color: rgb(205 205 255);
    border: none;
    color: #ff4768;
}
#reset_pic:hover{
    background-color: rgb(156 156 241);
}
.post_options{
    display: flex;
    border: 1px solid rgb(255 255 255 / 0.17);
    background-color: #494c70;
    margin: 2px;
    border-radius: 3px;
    height: 20px;
    width: 20px;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    position: relative;
    bottom: 30px;
    color: #9595f5;
}
.dropdown_option_post{
    display: none;
    margin: 1px 0 0 0;
    background-color: #c3c5e1;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 21px;
    right: 0;
    height: 80px;
    width: 100px;
}
.dropdown_option_post.visible{
    display: flex;
}
.dropdown_option_post ul{
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 5px;
    list-style: none;
    align-items: center;
    justify-content: center;
}
.dropdown_option_post li{
    display: flex;
    width: 100px;
    height: 40px;
    font-size: 1.1em;
    justify-content: center;
    align-items: center;
} 
.dropdown_option_post li:hover{
    background-color: rgb(180 180 255 / 0.78);
    color: rgb(83 74 96 / 0.75);
}
.post_options:hover{
    cursor: pointer;
    background-color: #373741;
}
.syka_margin{
    display: flex;
    width: 100%;
    margin-top: 3px;
    flex-direction: column;
    align-items: center;
}
.input_edit{
    display: flex;
    outline: none;
    width: 95%;
}
.button_post_edit{
    position: relative;
    bottom: 1px;
    align-items: center;
    box-shadow: none;
    border: 1px solid;
    border-radius: 0;
    height: 30px;
    width: 95%;
    background: rgb(180 180 255 / 0.35);
    cursor: pointer;
    color: rgb(204 185 210);
    top: 0.1px;
    margin-top: 3px;
    margin-bottom: 3px;
}
.button_post_edit:hover {
    background: rgb(167 167 252 / 0.87);
}
.description_text_area{
    margin-top: 3px;
    resize: vertical;
    outline: none;
    width: 95%;
    max-height: 250px;
}
.update_pfp{
    display: none;
    flex-direction: column;
    width: 50vw;
    height: 70vh;
    justify-content: space-between;
    align-content: center;
    position: fixed;
    margin-left: 25vw;
    margin-top: 13vh;
    top: 10px;
    z-index: 100;
    border-radius: 10px;
    background-color: #b5bbea;
}
.update_pfp.visible{
    display: flex;
}
.update_pfp input{
    display: none;
    height: 90%;
    width: 100%;
    border: 2px dashed white;
}
.pfp_drag_to{
    display: flex;
    border: 2px dashed white;
    height: 90%;
    margin: 4px;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
}
.pfp_drag_to:hover{
    cursor: pointer;
}
.pfp_update span{
    display: flex;}
.pfp_buttons{
    display: flex;
    align-content: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    height: 10%;
    width: 100%;
    ;
}
.pfp_buttons button{
    width: 16.666666vw;
    height: 100%;
    border: none;
    background-color: rgb(128 133 198 / 0.73);
}
.pfp_buttons button:hover{
    background-color: rgb(110 114 171 / 0.73);
}
.pfp_update{
    border-radius: 0 0 0 10px;
}
.pfp_cancel{
    border-radius: 0 0 10px 0;
}
#pfp_preview{
    display: none;
    width: 100%;
    max-height: 90%;
}