body {
    background-color: #f5f5f5;
    margin:0;
    display: flex;
}

h1{
    font-family: "Aptos", "Bierstadt", "Segoe UI", Helvetica, Arial, sans-serif;
    color: #77220e;
}

h2, h3, p {
    font-family: "Aptos", "Bierstadt", "Segoe UI", Helvetica, Arial, sans-serif;
    color: #343231;
	text-align: justify;
}

h3 {
  margin-top: 5px;
  margin-bottom: 5px;
}

nav ul {
    font-family: "Aptos", "Bierstadt", "Segoe UI", Helvetica, Arial, sans-serif;
    list-style-type: none;
}

li a:link, 
li a:visited {
    color: #56423d; 
    text-decoration: none; /* Optional: keeps the underline */
}

pre {
    background-color: #ffffff;
    max-width: 100%;
}

code {
    color: navy;
    font-size: larger;
}

img {
    width: 100%;       
    height: auto;      
    display: block;    
    flex-shrink: 0;    /* CRITICAL: Prevents Flexbox from squishing it */
}


.sidenav {
    height: 100%;
    width: 18%;
    min-width: 200px;
    position:fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: lightgray;
    overflow-x: hidden;
    padding-top: 60px;
    overflow-wrap: break-word
}

.sidenav ul {
    padding: 0;
    margin:  0;
}

.sidenav li a {
    display: block;
    padding: 16px;
}
.sidenav li a:hover {
    background-color: #d6d6d6;
}

.main-wrapper {
    flex: 1;
}

.main {
    margin-left: max(18%, 200px);
    margin-right: 90px;
    padding: 0px 10px;
    
}

.main pre {
    border-radius: 14px;
    padding: 22px;
    font-size: 14px;
    line-height: 1.6;
}

.main a:link, .main a:visited {
    text-decoration: underline;
    color:#77220e;
}

.bottom-strip {
    margin-left: max(18%, 200px);
    margin-right: 0px;
    background-color: #2f2f2f;
    color: white;
    padding: 40px 0px;
}

.strip-content {
    text-align: center;
    
}

.strip-content p {
    color: white;
	text-align: center;
}

.strip-content a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
}

.strip-content a:hover {
    opacity: 1;
}

.img-right {
    float: right;
    width: 320px;
    margin: 0 0 20px 25px;  /* top right bottom left */
    border-radius: 12px;
}

.img-left {
    float: left;
    width: 320px;
    margin: 0 20px 25px 0;  /* top right bottom left */
    border-radius: 12px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 10px 0px;
}

.feature-text {
    flex: 1;
}

.feature img {
    width: 30%;
    height: auto;
    border-radius: 12px;
}

.feature-media {
    width: 30%;
    margin: 0;
    text-align: center;
}

.feature-media img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.feature-media figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
    font-family: Arial, Helvetica, sans-serif;
}

.feature.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 900px) {
    .feature {
        flex-direction: column;
        text-align: left;
    }

    .feature.reverse {
        flex-direction: column;
    }

    .feature img {
        width: 80%;
    }
}

/* Container centers the button */
.cta-container {
    display: flex;
    justify-content: center;
    margin: 80px 0;
}

/* Button styling */
.cta-button {
    display: inline-block;
    padding: 16px 38px;
    background-color: #e8e8e8;
    font-family: "Aptos", "Bierstadt", "Segoe UI", Helvetica, Arial, sans-serif;
    color: #77220e;
    text-decoration: none;
    font-size: 30px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background-color: #dcdcdc;
    transform: translateY(-2px);
}

.presentation-block {
    width: 80%;
    margin: 80px auto;
    border-radius: 16px;
    overflow: hidden;           /* ensures rounded corners clip iframe */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    background: #f5f5f5;        /* subtle framing background */
}

/* Maintain clean aspect ratio */
.presentation-block iframe {
    width: 100%;
    height: 600px;
    border: none;
}
