﻿body {
}
.content-block {
    background-color: rgba(0, 0, 0, 0.55);
    position: fixed;
    top: 200px;
    left: 235px;
    width: 85%;
    height: 75vh;
    padding: 10px;
    border-radius: 15px;
    align-content: center;
    display: flex;
    justify-content: center;

    
    margin: auto auto;
}

.image-block {
    background-color: #333;
    color:lightgray;
    font-size:24px;
    padding: 20px;
    margin:auto auto;
    border-radius: 8px;
    width: 25%; /* Each block takes roughly half the container width */
    position: relative;
   
}

h2{
    color:darkgreen;
}



.text-block {
    font-family: 'Times New Roman';
    font-size: 24px;
    text-align: center;
    margin: 50px auto;
    color: lightgray;
    align-content: center;
    background-color:#333 ;
    padding:20px;
    border-radius: 8px;
    width: 50%; /* Each block takes roughly half the container width */
    
    position: relative;
    
}
@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
.text-block::after, .text-block::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(from var(--angle), black, darkgreen, black);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    padding: 3px;
    border-radius: 8px;
    animation: 3s spin linear infinite;
}
.image-block::after, .image-block::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(from var(--angle),  black,darkgreen,black);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    padding: 3px;
    border-radius: 8px;
    animation: 3s spin1 linear infinite;
}
.text-block::before, .image-block::before, gallery-block::before {
    filter: blur(1.5rem);
    opacity: 1;
}

@keyframes spin {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
}
@keyframes spin1 {
    from {
        --angle: 360deg;
    }

    to {
        --angle: 0deg;
    }
}







header {
    background-color: darkgreen;
    color: lightgray;
    font-family:"Times New Roman";
    text-align: center;
    padding: 35px;
    font-size: 48px;
    width: 100%;
    height:12%;
    position: fixed;
    top: 0;
    left: 0;
    opacity:0.75;
}
nav {
    width: 200px;
    color: lightgray;
    font-size: 24px;
    text-align: center;
    height: 500vh;
    background-color: #333;
    position: fixed;
    top: 182px; /* Below the header */
    left: 0;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    opacity: 0.75;
}

    nav ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

        nav ul li {
            padding: 15px;
            text-align: center;
        }

            nav ul li a {
                text-decoration: none;
                color: white;
                display: block;
            }

            nav ul li:hover {
                background-color: #555;
            }













@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");

:root {
    --white: grey;
    --black: #323135;
    --crystal: #a8dadd;
    --columbia-blue: #006400;
    --midnight-green: #323135;
    --yellow: #006400;
    --line-gradient: rgba(0, 100, 0, 1) 0%, rgba(0, 100, 0, 0.5) 50%, rgba(0, 100, 0, 0) 100%;
    --timeline-gradient: rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 75%, rgba(0, 0, 0, 0) 100%;
}









/*Timeline*/

.section {
    padding: 50px 0;
    
}

    .section .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
        
    }

    .section h1 {
        font-size: 2.5rem;
        line-height: 1.25;
    }

    .section h2 {
        font-size: 1.3rem;
    }

.timeline {
    position: relative;
    white-space: nowrap;
    max-width: 1400px;
    padding: 0 10px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px auto;
    grid-gap: 20px;
    
}

    .timeline::before,
    .timeline::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 30px;
        width: 100px;
        z-index: 2;
    }

    .timeline::after {
        right: 0;
        background: linear-gradient(270deg, var(--timeline-gradient));
    }

    .timeline::before {
        left: 340px;
        background: linear-gradient(90deg, var(--timeline-gradient));
    }

    .timeline .info {
        display: flex;
        flex-direction: column;
        font-size:24px;
        justify-content: center;
        padding: 20px 40px;
        color:darkgreen;
        background: var(--midnight-green);
        white-space: normal;
        border-radius: 10px;
        position:relative;
    }
        .info::after, .info::before {
            content: '';
            position: absolute;
            height: 100%;
            width: 100%;
            background-image: conic-gradient(from var(--angle), black, darkgreen, black);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: -1;
            padding: 3px;
            border-radius: 8px;
            animation: 3s spin linear infinite;
        }
.info::before {
    filter: blur(1.5rem);
    opacity: 0.7;
}

        .timeline .info img {
            margin-bottom: 20px;
        }

        .timeline .info p {
            font-size:20px;
            margin-top: 10px;
            color: lightgray;
        }

        .timeline .info a {
            text-decoration: none;
        }

    .timeline ol::-webkit-scrollbar {
        height: 12px;
    }

    .timeline ol::-webkit-scrollbar-thumb,
    .timeline ol::-webkit-scrollbar-track {
        border-radius: 0px;
    }

    .timeline ol::-webkit-scrollbar-thumb {
        background: var(--midnight-green);
    }

    .timeline ol::-webkit-scrollbar-track {
        background: var(--yellow);
    }

    .timeline ol {
        font-size: 0;
        padding: 250px 0;
        transition: all 1s;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        scrollbar-color: var(--yellow) black;
    }

        .timeline ol li {
            position: relative;
            justify-content:center;
            display: inline-block;
            list-style-type: none;
            transform: translate(0, 100px);
            width: 160px;
            height: 3px;
            background-image: linear-gradient(90deg, var(--line-gradient));
            scroll-snap-align: start;
        }

            .timeline ol li:last-child {
                width: 340px;
            }

            .timeline ol li:not(:first-child) {
                margin-left: 14px;
            }

            .timeline ol li:not(:last-child)::after {
                content: "";
                position: absolute;
                top: 50%;
                left: calc(100% + 1px);
                bottom: 0;
                width: 16px;
                height: 16px;
                transform: translateY(-50%);
                border-radius: 50%;
                background: darkgreen;
                z-index: 1;
            }

            .timeline ol li div {
                position: absolute;
                left: calc(100% + 7px);
                width: 280px;
                padding: 15px;
                font-size: 1rem;
                white-space: normal;
                color: #333;
                background: var(--white);
                border-radius: 0 10px 10px 10px;
            }
            .timeline ol li div time{
                color:darkgreen;
            }
                .timeline ol li div::before {
                    content: "";
                    position: absolute;
                    top: 100%;
                    left: 0;
                    width: 0;
                    height: 0;
                    border-style: solid;
                }

            .timeline ol li:nth-child(odd) div {
                top: -16px;
                transform: translateY(-100%);
                border-radius: 10px 10px 10px 0;
            }

                .timeline ol li:nth-child(odd) div::before {
                    top: 100%;
                    border-width: 8px 8px 0 0;
                    border-color: var(--white) transparent transparent transparent;
                }

            .timeline ol li:nth-child(even) div {
                top: calc(100% + 16px);
            }

                .timeline ol li:nth-child(even) div::before {
                    top: -8px;
                    border-width: 8px 0 0 8px;
                    border-color: transparent transparent transparent var(--white);
                }

    .timeline time {
        display: block;
        font-size: 1.4rem;
        font-weight: bold;
        margin-bottom: 8px;
        color: var(--midnight-green);
    }
    time{
        color:darkgreen;
    }

@media screen and (max-width: 800px) {
    .timeline {
        display: block;
    }

        .timeline::before,
        .timeline::after {
            width: 50px;
        }

        .timeline::before {
            left: 0;
        }

        .timeline .info {
            display: none;
        }
}

h1{
    color:darkgreen;
}



/*Gallery*/

div.gallery {
    margin: 5px;
    border: 1px solid #006400;
    float: left;
    display: inline-block;
    width: 180px;
    height: auto;
    padding: 3px;
    background-color: black;
    
    
    transition: transform 0.5s ease;
}

    div.gallery:hover {
        border: 3px solid #006400;
        transform: scale(1.5);
        z-index:10;
        
        
    }

    div.gallery img {
        width: 100%;
        height: auto;
        
    }

div.desc {
    font-size:11px;
    padding: 15px;
    text-align: center;
   
}


.gallery-block {
    font-family: 'Times New Roman';
    font-size: 24px;
    display:flex;
    flex-wrap:wrap;
    text-align: center;
    margin: 50px auto;
    color: lightgray;
    align-content: center;
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
    width: 75%; /* Each block takes roughly half the container width */
    position: relative;
}
.gallery-block::after, .gallery-block::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(from var(--angle), black, darkgreen, black);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    padding: 3px;
    border-radius: 8px;
    animation: 3s spin linear infinite;
}













/*Quiz*/

.question {
    font-size: 30px;
    margin-bottom: 10px;
    position:relative;
}

.answers {
    margin-bottom: 20px;
    text-align: left;
    display: inline-block;
}

    .answers label {
        display: block;
        margin-bottom: 10px;
    }

button {
    font-family: 'Times New Roman';
    font-size: 22px;
    background-color: #555;
    color: #fff;
    border: 0px;
    border-block-width:5px;
    padding: 20px;
    cursor: pointer;
    margin-bottom: 20px;
    gap:20px;
}

    button:hover {
        background-color: darkgreen;
    }





.slide {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s;
}

.active-slide {
    opacity: 1;
    z-index: 2;
}

.quiz-container {
    position: relative;
    height: 200px;
    margin-top: 40px;
}