:root {
    --purple: #9381ff; 
    --green: #6fe04a; 
    --lightgreen: #d3fac4; 
    --black: #121212; 
    --grey: #474646;
    --white: #F8F7FF; 
}

p {
    font-family: 'Archivo', sans-serif;
    color: #121212;
    margin-top: 50px;
    text-align: center;
}


/* TIMELINE STYLES */
.timeline {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.timeline-item {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}
.timeline-item:before {
    content: '';
    position: absolute;
    left: 50%;
    width: 10px;
    height: 100%;
    background-color: var(--purple);
    z-index: 0;
}
.timeline-content {
    font-family: 'Archivo', sans-serif;
    position: relative;
    padding: 10px;
    z-index: 1;
    width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.timeline-content:hover {
    background-color: var(--lightgreen); /* Set the background color to green */
    cursor: pointer; /* Change cursor to indicate it's clickable */
    transform: scale(1.05); /* Slightly scale up to give a "clickable" effect */
}
.timeline-content img {
    max-width: 150px;
    height: auto;  
}
.timeline-item:nth-child(odd) .timeline-content {
    left: -220px;
}
.timeline-item:nth-child(even) .timeline-content {
    left: 220px;
}
.timeline-item h3 {
    margin: 0;
    font-size: 1.2em;
}
.timeline-item p {
    font-size: 1em;
    color: var(--grey);
}
.timeline-item .timeline-content p {
    display: none;
}

.timeline-item .timeline-content p.show {
    display: block;
}

/* WORK TERM REPORT STYLES */
.button-container {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    align-items: center;
    gap: 20px;
    width:1000px;
    margin-left: 480px;
}
li {
    font-family: 'Archivo', sans-serif;
    color: #121212; 
}
.button-container p {
    font-family: 'Archivo', sans-serif;
    color: #121212;
    margin: 0;
}
.button-container h1 {
    font-family: 'Coolvetica', sans-serif;
    color: #121212;
    margin-bottom: 0;
}
.button-container h2 {
    font-family: 'Coolvetica', sans-serif;
    color: #121212;
    margin-bottom: 0;
}
.button-container hr {
    width: 100%; 
    height: auto; 
    border: none; 
    border-top: 3px solid #C1F2B0;  
}
.work-term-report-button {
    width: 950px;
    height: 40px;
    color: #9381ff; 
    border: 3px solid #9381ff; 
    background-color: transparent;
    border-radius: 0; 
    font-family: 'Coolvetica', sans-serif;
    font-size: 20px; 
    display: flex; 
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.work-term-report-button:hover {
    background-color: #C1F2B0; /* Color changes to FFEEDD on hover */
}
.hidden {
    display: none !important;
}
#wt1, #wt2, #wt3, #wt4, #wt5 {
    width: 950px; 
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
#ats-logo {
    width: 150px;
    height: auto;  
    align-self: center;
}
#rbc-logo {
    width: 150px;
    height: auto;
    align-self: center;
}
.image-container {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    align-self: center;
    justify-content: space-between;
    width: 50%;
}
.image-container img {
    width: auto;
    height: 75px;
}


/* ======= MOBILE RESPONSIVENESS ======= */
@media (max-width: 768px) {
    .timeline::after {
        left: 10px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 30px;
        padding-right: 0;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        left: 0;
        transform: none;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin: 10px 0;
    }

    .image-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .image-container img {
        width: 80px;
    }

    .timeline-content p {
        font-size: 14px;
    }

    .timeline-item:before {
        content: '';
        position: absolute;
        left: 50%;
        width: 10px;
        height: 100%;
        background-color: var(--white);
        z-index: 0;
    }

    body {
        overflow-x: hidden;
    }
    html {
        overflow-x: hidden;
    }
}