@import url('https://fonts.googleapis.com/css2?family=Lexend+Exa:wght@400&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    background-color: #253C59;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    background: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    font-size: 24px;
}

.menu-button {
    font-size: 30px;
    cursor: pointer;
    margin-left: 10px;
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 100px;
    left: 0;
    background-color: #1e1e1e;
    overflow-x: hidden;
    transition: 0.5s ease;
    z-index: 25;
    display: flex;
    flex-direction: column;
    font-family: 'Arial', sans-serif;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    padding: 15px 20px;
    margin: 10px 0;
    border-radius: 8px;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar li:hover {
    background-color: #3a3a3a;
    color: #ffd700;
}

.sidebar a {
    color: #dcdcdc;
    text-decoration: none;
    display: block;
}

.scroll-links a, .page-links a, .bottom-links a {
    font-size: 18px;
}

.submenu {
    padding-left: 20px;
    margin-top: 10px;
}

.submenu li {
    margin: 5px 0;
}

.submenu a {
    background-color: #2e2e2e;
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 16px;
    color: #dcdcdc;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.submenu a:hover {
    background-color: #575757;
    color: #ffd700;
}

.bottom-links {
    margin-top: auto;
    text-align: left;
    padding: 10px 20px;
    padding-bottom: 60px;
    margin-bottom: 60px;
    color: #dcdcdc;
    font-size: 18px;
}

.bottom-links hr {
    border: 0;
    border-top: 1px solid #575757;
}

.bottom-links a:hover {
    background-color: #3a3a3a;
    color: #ffd700;
}

.divider {
    border: 0;
    border-top: 1px solid white;
    margin: 10px 0;
}

.parallax-container {
    position: relative;
    height: 100vh;
}

.parallax {
    position: relative;
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.parallax.one {
    background-image: url('web-images/background.jpg');
}

.parallax-container-scrollable {
    min-height: 100vh;
    overflow-y: auto;
    background-color: #253C59;
}

.parallax.three {
    background-image: url('web-images/gavel.jpg');
}

.parallax.history-parallax-one {
    background-image: url('web-images/pmc-door.JPG');
}

.parallax.history-parallax-two {
    background-image: url('web-images/peta-murphy-background.jpg');
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax.history-parallax-three {
    background-image: url('path-to-your-new-image3.jpg');
}

.two-columns {
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
}

.left-column, .right-column {
    flex: 1;
    padding: 20px;
}

.left-column img, .right-column img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

.footer-bar {
    background-color: gray;
    margin-top: 0;
    padding: 0;
}

.footer-bar p {
    font-family: Arial;
    font-size: 16px;
    color: white;
    text-align: center;
}

.fade-in-text {
    color: #fff;
    font-size: calc(4vw + 1rem);
    font-family: 'Lexend Exa', sans-serif;
    animation: fadeIn 2s ease-in-out;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    z-index: 20;
    transition: all 0.3s ease-in-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fade-in-text.sticky {
    position: fixed;
    top: 15px;
    left: calc(50% + 20px);
    transform: translateX(-50%);
    font-size: calc(4vw + 1rem);
    width: auto;
}

.static-title-text {
    color: #fff;
    font-size: calc(4vw + 1rem);
    font-family: 'Lexend Exa', sans-serif;
    animation: fadeIn 2s ease-in-out;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (min-width: 1056px) { 
    .fade-in-text, .fade-in-text.sticky, .static-title-text { 
        font-size: 56px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.content {
    background: silver;
    padding: 0px;
    overflow-y: auto;
}

.content-panel {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	width: 95%;
}

.chambers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.chambers-member {
    background: #f2f2f2;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: calc(33.333% - 40px);
    flex: 1 1 calc(33.333% - 40px);
    max-width: calc(33.333% - 40px);
}

.chambers-member img {
    width: 100%;
    height: auto;
    max-width: 150px;
    max-height: 150px;
    object-fit: cover;
    object-position: top;
}

.chambers-member h2 {
    margin: 10px 0 5px 0;
}

.chambers-member p {
    margin: 5px 0;
}

.chambers-member a {
    text-decoration: none;
    color: #253C59;
}

.chambers-member a:hover {
    color: #99B4BF;
    cursor: pointer;
}

.responsive-ipanel {
	width: 100%;
	height: 300px;
}

@media (max-width: 1200px) {
    .chambers-member {
        width: calc(50% - 40px);
        flex: 1 1 calc(50% - 40px);
        max-width: calc(50% - 40px);
    }
}

@media (max-width: 768px) {
    .chambers-member {
        width: calc(100% - 40px);
        flex: 1 1 calc(100% - 40px);
        max-width: calc(100% - 40px);
    }

    .two-columns {
        flex-direction: column;
    }

    .left-column, .right-column {
        padding: 10px;
    }
}


/*Login styles*/

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-box {
    background: #333;
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.login-box h2 {
    margin: 0 0 20px 0;
    font-family: 'Lexend Exa', sans-serif;
}

.login-box input[type="text"],
.login-box input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
}

.login-box button {
    background-color: #ffd700;
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.login-box button:hover {
    background-color: #3a3a3a;
    color: #ffd700;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .chambers-member {
        width: calc(50% - 40px);
        flex: 1 1 calc(50% - 40px);
        max-width: calc(50% - 40px);
    }

}

@media (max-width: 768px) {
    .chambers-member {
        width: calc(100% - 40px);
        flex: 1 1 calc(100% - 40px);
        max-width: calc(100% - 40px);
    }
	
	.content-panel {
		width: 100%;
	}
    
    .header {
        height: 80px;
    }

    .menu-button {
        font-size: 24px;
    }
    
    .fade-in-text, .fade-in-text.sticky, .static-title-text {
        font-size: 5vw;
    }

    .bottom-links {
        font-size: 16px;
        padding: 5px 10px;
    }

    .two-columns {
        flex-direction: column;
    }

    .left-column, .right-column {
        padding: 10px;
    }

    .login-box {
        padding: 20px;
    }

    .login-box h2 {
        font-size: 24px;
    }

    .login-box input[type="text"],
    .login-box input[type="password"] {
        padding: 8px;
        margin: 8px 0;
    }

    .login-box button {
        padding: 8px 16px;
        font-size: 14px;
    }
	
	.responsive-iframe {
		height: 250px;
	}
	
}