*{
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif; 
    box-sizing: border-box;
}


:root {
    --body-color: #efefef;
    --nav-color: #62C6F2;
    --bg-color: #fff;
    --commentContainer-color: #fff;
    --caption-color: #000;
}
.dark-theme {
    --body-color: #0a0a0a;
    --nav-color: #000;
    --bg-color: #000;
    --commentContainer-color: #312e2e;
    --caption-color: #fff;
}

body {
    background: var(--body-color);
    transition: background 0.3s;
}
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--nav-color);
    padding: 5px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo {
    width: 160px;
    margin-right: 45px;
    font-size: 25px;
    color: white;
    font-weight: bold;
    
}
.nav-left, .nav-right {
    display: flex;
    align-items: center;

}
.nav-left ul li {
    list-style: none;
    display: inline-block;
}
.nav-left ul li img {
    width: 28px;
    margin: 0 15px;
}
.nav-user-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}
.nav-user-icon {
    margin-left: 30px;
}
.search-box {
    background: #efefef;
    width: 350px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0 15px; 
}
.search-box img {
    width: 18px;
}
.search-box input {
    width: 100%;
    background: transparent;
    padding: 10px;
    outline: none;
    border: 0;
}
.online {
    position: relative;
}
.online::after {
    content: '';
    width: 7px;
    height: 7px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #41db51;
    position: absolute;
    top: 0;
    right: 0;
}

.container {
    display: flex;
    justify-content: space-between;
    padding: 13px 5%;
}
.left-sidebar {
    flex-basis: 25%;
    position: sticky;
    top: 70px;
    align-self: flex-start;
}
.right-sidebar {
    flex-basis: 25%;
    position: sticky;
    top: 70px;
    align-self: flex-start;
    background: var(--bg-color);
    padding: 20px;
    border-radius: 4px;
    color: #626262;
}
.main-content {
    width: 47%;
}
.imp-links a, .shortcut-links a {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    color: #626262;
    width: fit-content;
}
.imp-links a img {
    width: 25px;
    margin-right: 15px;
}
.imp-links a:last-child {
    color: #626262;
}
.imp-links {
    border-bottom: 1px solid #ccc;
}
.shortcut-links img {
    width: 40px;
    border-radius: 4px;
    margin-right: 15px;
}
.shortcut-links p {
    margin: 25px 0;
    color: #626262;
    font-weight: 500;
}
.sidebar-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.right-sidebar h4 {
    font-weight: 600;
    font-size: 16px;
}
.sidebar-title a {
    text-decoration: none;
    color: #62C6F2;
    font-size: 12px
}

.event {
    display: flex;
    font-size: 14px;
    margin-bottom: 20px;
}
.left-event {
    border-radius: 10px;
    height: 65px;
    width: 65px;
    margin-right: 15px;
    padding-top: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.event p{
    margin-top: 3px;
    font-size: 12px;
    margin-bottom: 3px;
}
.event a {
    font-size: 12px;
    text-decoration: none;
    color: #62C6F2;
}
.left-event span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #62C6F2;
    color: #fff;
    font-size: 10px;
    padding: 6px 0;
}
.reminders {
    position: absolute;
    width: 90%;
    max-width: 330px;
    background: var(--bg-color);
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    border-radius: 4px;
    overflow: hidden;
    top: 10px;
    right: 105%;
    height: 300px;
    transition: display 0.3s;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.reminders .left-event {
    top: 10px;
    left: 110px;
}
.reminders .right-event {
    margin-top: 25px;
}
.reminders h1 { 
    position: absolute;
    margin-top: 20px;
    font-size: 15px;
    left: 5%;
    border-bottom: 1px solid black;
    width: 90%;
}
.reminders a {
    position: absolute;
    top: 8px;
    right: 8px;
}
.reminders small {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 180px;
    text-align: left;
}
.sidebar-ads {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 4px;
}
.online-list {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.online-list .online img{
    width: 40px;
    border-radius: 50%;
    height: 40px;
}
.online-list .online {
    width: 40px;
    border-radius: 50%;
    margin-right: 15px;
}
.online-list .online::after{
    top: unset;
    bottom: 5px;
}
.story-gallery {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.story {
    flex-basis: 18%;
    padding-top: 32%;
    position: relative;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
}
.story img {
    position: absolute;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    top: 10px;
    left: 10px;
    border: 5px solid #62C6F2;
}
.story p {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 14px;
}
.story1 {
    background-image: linear-gradient(transparent, rgba(0,0,0,0.5)),url(images/tannerStory.JPG);
    cursor: pointer;
}
.story2 {
    background-image: linear-gradient(transparent, rgba(0,0,0,0.5)),url(images/danteStory.jpeg);
    cursor: pointer;
}
.story3 {
    background-image: linear-gradient(transparent, rgba(0,0,0,0.5)),url(images/blakeStory.jpg);
    cursor: pointer;
}
.story4 {
    background-image: linear-gradient(transparent, rgba(0,0,0,0.5)),url(images/joyStory.jpeg);
    cursor: pointer;
}
.story5 {
    background-image: linear-gradient(transparent, rgba(0,0,0,0.5)),url(images/logan_story.jpg);
    cursor: pointer;
}
.story.story1 img{
    top: unset;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    border: 0;
    width: 35px;
}


.write-post-container {
    width: 100%;
    background: var(--bg-color);
    border-radius: 6px;
    padding: 20px;
    color: #626262;
}
.user-profile, .user-profile-new {
    display: flex;
    align-items: center;
}
.user-profile img, .user-profile-new img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 10px;
}
.user-profile p, .user-profile-new p {
    margin-bottom: 1px;
    font-weight: 500;
    color: #626262;
}
.user-profile small, .user-profile-new small {
    font-size: 12px;
}

#image_input {
    max-height: 100px;
    background:transparent
}
.post-image {
    position: relative;
    left: 310px;
    width: 60px;
    height: 30px;
    bottom: 10px;
    background-color: #62C6F2;
    cursor: pointer;
    border: none;
}
.add-photo {
    font-size: 14px;
    margin-right: 10px;
    position: relative;
    top: 3px;
    color: #626262;
}
.post-input-container {
    padding-left: 55px;
    padding-top: 20px;
}
.post-input-container textarea {
    width: 100%;
    border: 0;
    outline: 0;
    border-bottom: 1px solid #ccc;
    background: transparent;
    resize: none;
    color: var(--caption-color);
}
.add-post-links {
    display: flex;
    margin-top: 10px;
}
.add-post-links a {
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #626262;
    margin-right: 30px;
    font-size: 13px;
}
.add-post-links a img {
    width: 20px;
    margin-right: 10px;
    cursor: pointer;
}
.post-container {
    width: 100%;
    background: var(--bg-color);
    border-radius: 6px;
    padding: 20px;
    color: #626262;
    margin: 20px 0;
    margin-top: 20px;
}
.new-post-container {
    width: 100%;
    background: var(--bg-color);
    border-radius: 6px;
    padding: 20px;
    color: #626262;
    margin: 20px 0;
    margin-top: 20px;
}
.user-profile span, .user-profile-new {
    font-size: 13px;
    color: #9a9a9a;
}
.post-text, .post-text-new {
    color: #9a9a9a;
    margin: 15px 0;
    font-size: 15px;
}
.post-text span {
    color: #626262;
    font-weight: 500;
}
.post-text a {
    color: #62C6F2;
    text-decoration: none;
}
.post-img, .post-img-new {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 5px;
}
.post-row, .post-row-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.delete-post {
    position: relative;
    bottom: 15px;
    right: 5px;
    background-color: red;
    cursor: pointer;
    border: none;
    padding: 3px;
    font-size: 10px;
}
/* .post-row-new a {
    color: black;
    position: relative;
    right: 15px;
} */
.like-container img{
    cursor: pointer;
    position: relative;
}
.like-counter {
    border: none;
    color: #626262;
    font-size: 15px;
    cursor:default;
    background: transparent;
}
.comment {
    position: relative;
    right: 100px;
    top: 2px;
}
.comment-counter {
    position: relative;
    border: none;
    color: #626262;
    font-size: 15px;
    right: 100px;
    cursor: default;
    background: transparent;
}
.activity-icons div img {
    width: 18px;
    margin-right: 10px;
    cursor: pointer;
}
.activity-icons div {
    display: inline-flex;
    align-items: center;
    margin-right: 30px;
}
.comment-container {
    position: absolute;
    /* background: var(--bg-color); */
    background: var(--commentContainer-color);
    border-radius: 4px;
    margin-top: -8.9px;
    border: black;
    display: none;
    width: 570px;
    height: 150px;
    flex-direction: column;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
.comment-container a {
    position: absolute;
    top: 5px;
    right: 8px;
}
.comments-input {
    width: 83%;
    position: absolute;
    left: 5px;
    bottom: 2px;
    height: 25px;
    z-index: 1;
}
.comment-enter {
    width: 15%;
    position: absolute;
    bottom: 2px;
    right: 2px;
    height: 25px;
}
.user-comment {
    display: flex;
    align-items: center;
    position: relative;
    top: 15px;
    left: 5px;
    margin-bottom: 5px;
}
.comment-profile {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    display: none;
}
.user-comment-text {
    position: relative;
    top: 5px;
    font-size: 15px;
}
.post-profile-icon {
    display: flex;
    align-items: center;
}
.post-profile-icon img {
    width: 20px;
    border-radius: 50%;
    margin-right: 5px;
}
.post-row a {
    color: #9a9a9a;
}
.load-more-button {
    display: block;
    margin: auto;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid #9a9a9a;
    color: #626262;
    background: transparent;
    border-radius: 4px;
}
.footer {
    text-align: center;
    color: #9a9a9a;
    padding: 10px 0 20px;
    font-size: 13px;
}

.settings-menu {
    position: absolute;
    width: 90%;
    max-width: 330px;
    background: var(--bg-color);
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    border-radius: 4px;
    overflow: hidden;
    top: 108%;
    right: 5%;
    max-height: 0;
    transition: max-height 0.3s;
}
.settings-menu-height {
    max-height: 450px;
}

.user-profile a {
    font-size: 12px;
    color: #62C6F2;
    text-decoration: none;
}

.settings-menu-inner {
    padding: 20px;
}
.settings-menu hr {
    border: 0;
    height: 1px;
    background: #9a9a9a;
    margin: 15px 0;
}
.settings-links {
    display: flex;
    align-items: center;
    margin: 15px 0;
}
.settings-links .settings-icon {
    width: 38px;
    margin-right: 10px;
    border-radius: 50%;
}
.settings-links a {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #626262;
}
#dark-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ccc;
    width: 45px;
    border-radius: 15px;
    padding: 2px 3px;
    cursor: pointer;
    display: flex;
    transition: padding-left 0.5s, background 0.5s;
}
#dark-btn span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    display: inline-block;
}
#dark-btn.dark-btn-on {
    padding-left: 23px;
    background: #0a0a0a;
}

.conversations {
    position: absolute;
    width: 90%;
    max-width: 330px;
    background: var(--bg-color);
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    border-radius: 4px;
    overflow: hidden;
    bottom: 20px;
    right: 5%;
    height: 300px;
    transition: max-height 0.3s;
    display: none;
}
.conversations img {
    position: absolute;
    left: 5px;
    top: 5px;
}
.conversations p {
    border-bottom: 1px solid #000;
    position: absolute;
    top: 20px;
    left: 20%;
}
.conversations-input {
    position: absolute;
    width: 80%;
    bottom: 0;
    margin-bottom: 5px;
    align-items: center;
    left: 5px;
}
.text-bubble {
    background-color: lightgrey;
    border-radius: 50%;
    border-radius: 5px 10px;
    font-size: 13px;
    padding: 5px 10px;
    position: absolute;
    left: 5px;
    bottom: 65%;
    padding: 8px;
}
.text-bubble-user-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    top: 115px;
    right: 10px;
    gap: 5px;
    left: 0;
    right: 5px;
}
.text-bubble-user {
    background-color: rgb(14, 158, 241);
    border-radius: 5px 10px;
    font-size: 13px;
    padding: 5px 10px;
    max-width: 70%;
    color: white;
    margin-right: 5px;
}
.conversations-close {
    position: absolute;
    top: 10px;
    right: 10px;
}
.conversations-enter {
    width: 45px;
    margin-left: 2px;
    position: absolute;
    right: 5px;
    bottom: 5px;
}
#popup-image {
    border-radius: 50%;
    width: 40px;
}


