body, html {
    height: 100%;
    margin: 0;
    overflow: hidden; /* Prevent scrolling */
    background-color: #010811; /* Add background color */
}

.background-image {
    position: relative; /* Make sure this is positioned */
    z-index: 1; /* Lowest layer */

    width: 100%;
    height: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1; /* Behind the text */
}

.main-quote {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
    background-color: rgba(1, 8, 17, 0.6);
    border-radius: 0px 25px 25px 25px;
    padding: 10px;
    margin: 10px;
    display: inline-block;
    font-family: 'Spectral SC', serif;
}

@media (min-width: 1000px) {
    .main-quote {
        font-size: 2em;
    }
}

.about-us {
    position: absolute;
    bottom: 2%;
    left: 2%;
    width: auto;
    padding-left: 6px;
    padding-right: 6px;
    text-align: left;
    font-size: 0.9em;
    border-radius: 15px 15px 15px 0px;
    cursor: pointer;
}

.about-us:hover {
    background-color: #09151e;
    color: rgb(255, 255, 255);
}

a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}


#sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1001; /* Above the overlay */
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

@font-face {
    font-family: 'Montserrat Variable';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(https://cdn.jsdelivr.net/fontsource/fonts/montserrat:vf@latest/latin-wght-normal.woff2) format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


#right-sidebar-wrapper .sidebarwidgets .bio-details .bio-more {
    background: #182322;
}

.bio-details, .bio-more, .bio-name, .eyebrow {
    color: white;
}


#right-sidebar-wrapper .sidebarwidgets .bio-details .bio-name {
    font-size: 21px;
    font-weight: 300;
    /*opacity: 0.8;*/
    text-transform: uppercase;

}

#right-sidebar-wrapper {
    top: 0; /* Ensure it starts at the top of the sidebar */
    z-index: 1000;
    position: absolute;
    width: 100%;
    height: 100%;
    margin-right: -250px;
    overflow-y: auto;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    background: #263238;
    color: white;
}

/*--------------------------------------------------
-----------------   Right Sidebar  -----------------
---------------------------------------------------*/

#right-sidebar-wrapper .sidebarwidgets .bio-details {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    background: -webkit-linear-gradient(rgba(255, 255, 255, 0), #263238);
    background: linear-gradient(rgba(255, 255, 255, 0), #263238);
}

#right-sidebar-wrapper .sidebarwidgets .bio-details .bio-more .fa {
    margin-right: 10px;
}

#right-sidebar-wrapper .widgets-container {
    width: 250px;
}

#right-sidebar-wrapper .sidebarwidgets {
    height: 350px;
    position: relative;
    background: -webkit-linear-gradient(rgba(43, 48, 59, 0.5), rgba(43, 48, 59, 0.5));
}

#right-sidebar-wrapper .sidebarwidgets img {
    width: 100%;
}

#right-sidebar-wrapper .sidebarwidgets .img-profile-container {
    background: url(../img/portrait.jpg) no-repeat center;
    position: absolute;
    background-size: cover;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

#right-sidebar-wrapper .sidebarwidgets .bio-details .bio-more {
    display: inline-block;
    padding: 3px 14px;
    font-size: 9px;
    border-radius: 50px;
    text-transform: uppercase;
    font-family: Montserrat;
    letter-spacing: 1px;
}

#right-sidebar-wrapper .sidebarwidgets .bio-details .fa {
    height: 20px;
    width: 20px;
    line-height: 20px;
    font-size: 13px;
    margin-right: 10px;
    opacity: 0.9;
    color: #fff;
}

#right-sidebar-wrapper .sidebarwidgets .bio-details span {
    display: block;
    margin: 5px 0;
}


.widgets-title {
    padding: 10px;
}

.widgets-title .peicon {
    font-size: 20px;
    padding-right: 10px;
}

/*--------------------------------------------------
-----------------   Recent Activity  ---------------
---------------------------------------------------*/

.recent-activity img {
    max-width: 100%;
}

.recent-activity {
    padding: 20px;
    background-color: #263238;
}

.recent-activity ul {
    list-style-type: none;
    position: relative;
    padding: 15px 0 25px 10px;
    font-size: 14px;
    margin: 0;
}

.recent-activity .activity-title-ul {
    list-style-type: none;
    position: relative;
    padding: 1px 0 0px 10px;
    font-size: 14px;
    margin: 0;
}

.recent-activity ul p {
    /*opacity: 0.6;*/
    color: rgba(255, 255, 255, 0.7);
}

.recent-activity ul strong {
    color: #dedede;
}

.recent-activity ul:after {
    content: "";
    position: absolute;
    top: 22px;
    left: -4.5px;
    bottom: 0;
    border-left: 2px solid rgba(255, 255, 255, 0.16);
    height: 96%;
}

.recent-activity ul li {
    margin: 10px 0 35px 10px;
    position: relative;
    display: block;
}

.recent-activity ul li:last-child {
    margin-bottom: 0px;
}

.recent-activity ul li .card {
    display: block;
    border: 1px solid #ccc;
    padding: 14px;
    background: #f1f1f1;
}

.recent-activity ul li h1 {
    font-size: 11px;
    line-height: 1.5;
    text-transform: uppercase;
    font-family: Montserrat;
    color: rgba(255, 255, 255, 0.7);
}

.recent-activity ul li p {
}


.recent-activity ul li .activity-title {
    display: table;
    color: rgba(255, 255, 255, 0.33);
    font-size: 13px;
    padding: 4px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0px;
    position: relative;
    font-family: Montserrat;
    top: 2px;
    z-index: 0;
    max-width: 300px;
    line-height: 1.2;
    border-radius: 50px;
}


.recent-activity ul li:before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #a0a0a0;
    position: absolute;
    z-index: 2;
    left: -29px;
    top: 7.5px;
}

.recent-activity ul .activity-title-li:before {
    content: "";
    display: block;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    position: absolute;
    z-index: 2;
    left: -31px;
    top: 3.5px;
    border: 2px solid #a0a0a0;
    background-color: #263238;
}


.recent-activity ul li .eyebrow {
    display: table;
    font-size: 8px;
    padding: 4px 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    position: relative;
    top: 3.5px;
    z-index: 0;
    max-width: 300px;
    line-height: 1.2;
    border-radius: 50px;
    background: #161d1f;
    font-family: Montserrat;
}

.recent-activity ul li .eyebrow:before {
    content: "";
    position: absolute;
    left: -20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.16);
    width: 20px;
    top: 9px;
    z-index: -1;
}

#openbtn {
    position: fixed;
    bottom: 20px;
    left: 10px; /* Changed from 'right' to 'left' */
    z-index: 1001;
    /*background-color: white;*/
    color: white;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 26px;
}

.overlay {
    position: fixed;
    display: none; /* Hidden by default */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(38, 50, 56, 0.5); /* Black background with opacity */
    z-index: 999; /* Below the sidebar but above other content */
}
