body {
	margin: 0;
	font-family: "arial", "helvetica", sans-serif;
}

.sidebar header img {
	width: 30%;
	display: block;
	margin: auto;
}
.sidebar h1 {
	font-size: 20px;
	text-align: center;
	color: rgb(255, 255, 255);
}
.dropdownnavcontent {
	display: none;
	float: right;
	width: 90%;
}
.selected ~ .dropdownnavcontent {
	display: block;
}

.sidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px; /* Adjusted to keep the sidebar closed by default on mobile */
    background-color: rgb(0, 50, 130);
    transition: left 0.3s ease-in-out;
    z-index: 99;
    overflow-y: auto;
}

.sidebar.open {
    left: 0;
}

.content {
    margin-left: 0;
    padding: 15px;
}

/* Backdrop for mobile */
.backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background color */
    opacity: 0;
    pointer-events: none;
    z-index: 98; /* Ensure it's above the content and below the sidebar */
    transition: opacity 0.3s ease-in-out;
}

/* Show the open button on mobile */
.open-sidebar-button {
    display: block;
    position: sticky;
    top: 0;
    margin-top: 3px;
    left: 2px;
    background-color: rgb(0, 50, 130);
    color: white;
    border: none;
    border-radius: 3px;
    padding: 5px;
}

/* Show the backdrop when the sidebar is open */
.backdrop.open {
    opacity: 1;
    pointer-events: initial;
}

/* Styling for links in the sidebar */
.sidebar a, .dropdownnavname {
    padding: 15px 25px;
    text-decoration: none;
    font-size: 18px;
    color: white;
    display: block;
    transition: 0.3s;
    cursor: pointer;
}

.sidebar a:hover, .dropdownnavname:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.user-options {
	border-top: solid rgba(255, 255, 255, 0.5);
	width: 100%;
}

.person-info {
    width: 98%;
    margin: auto;
    margin-bottom: 10px;
    box-sizing:border-box;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 20px;
    padding: 2%;
    transition: 0.2s;
    text-align: left;
}

.person-info:hover {
    width: 100%;
    font-size: 1.1em;
}

.person-image {
    display: inline-block;
    width: 100px;
    height: 100px;
    border-radius: 20px;
    border: 1px solid rgb(0, 0, 0);
}

.person-details {
    display: inline-block;
    height: 100%;
    min-width: 40%;
    padding: 2%;
    vertical-align: top;
}

.person-name {
    font-weight: bold;
    font-size: 1.2em;
}

.person-designation {
    margin-top: 0.5em;
    font-style: italic;
    opacity: 0.9;
}

.person-portfolio {
    display: inline-block;
    font-weight: bold;
    height: 100%;
    padding: 2%;
    vertical-align: top;
}

.slideshow-container {
    margin: auto;
    width: 100%;
    overflow-x: hidden;
    border: 1px solid rgb(0, 0, 0);
}

.slideshow-images {
    display: flex;
    width: 400%;
    height: 100%;
    white-space: nowrap;
    animation-name: slide;
    animation-duration: 15s;
    animation-direction: normal;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    15% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-25%);
    }
    40% {
        transform: translateX(-25%);
    }
    50% {
        transform: translateX(-50%);
    }
    65% {
        transform: translateX(-50%);
    }
    75% {
        transform: translateX(-75%);
    }
    90% {
        transform: translateX(-75%);
    }
    100% {
        transform: translateX(0);
    }
}

.slideshow-images img {
    display: inline-block;
    width: 25%;
    height: 100%;
}

.accordion {
    width: 100%;
    margin-bottom: 1%;
}

.accordion-head {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: left;
    font-size: 1.2em;
    border: none;
    background-color: rgb(230, 230, 230);
    cursor: pointer;
}

.accordion-head:hover, .accordion-head.active {
    background-color: rgb(200, 200, 200);
}

.accordion-head .material-icons {
    float: right;
}

.accordion-head .contract {
    display: none;
}

.accordion-head .expand {
    display: inline;
}

.accordion-head.active .contract {
    display: inline;
}

.accordion-head.active .expand {
    display: none;
}

.accordion-content {
    width: 100%;
    /*display: none;*/
    align-items: center;
}

.accordion-image-container {
    display: inline-block;
    float: left;
    width: 20%;
    padding: 2%;
}

.accordion-content-image {
    display: block;
    width: 100%;
    border-radius: 50%;
}

.accordion-image-label {
    text-align: center;
    font-weight: bold;
    margin: 2%;
}

.accordion-content-text {
    display: flex;
    width: 75%;
    float: right;
}

.accordion-head.active ~.accordion-content {
    display: block;
}

.credit {
    /*position: absolute;*/
    width: 100%;
    text-align: right;
    font-size: 10px;
    /*bottom: 0;*/
    color: white;
}

@media screen and (min-width: 769px) {
	.sidebar {
        left: 0 !important; /* Static sidebar on larger screens */
    }

    .backdrop {
        display: none;
    }

    .content {
        margin-left: 250px !important;
    }

    .open-sidebar-button {
        display: none;
    }

    /* Hide the close button on larger screens */
    .close-sidebar-button {
        display: none;
    }
}