body {
    margin: 0;
    padding: 0;
    font-family: Helvetica, Arial, sans-serif;
    color: #FF0000;
    /* Background styling */
    background-color: #ffffff;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/doodle-bg.JPG');
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 70vh;
    opacity: var(--bg-opacity, 1);
    z-index: -1;
}

.content {
    text-align: left;
    margin: 0 5% 0 5%; /* Left and right margins */
    padding: 20px 0;
}
h1 {
    font-size: 3em;
    margin: 0;
}
h2 {
    margin-top: 5px;
    font-weight: normal;
}
h3 {
    font-size: 1.75em;
    padding-top: 60px;
    margin-bottom: 15px;
}
p {
    font-size: 1.1em;
    line-height: 1.2em;
    margin: 0 0 15px 0;
}
a {
    color: inherit;
}
.navbar {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    font-size: 1.2em;
}
.navbar a {
    color: #FF0000;
    text-decoration: none;
}
.navbar a:last-child {
    margin-left: auto;
}
.navbar a:hover {
    text-decoration: underline;
}

.schedule-timeline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    margin: 50px 0 120px 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.timeline-square {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    background-color: #ff0000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.timeline-square--plain {
    width: 80px;
    height: 80px;
    margin-left: 20px;
    margin-right: 20px;
}

.timeline-square--empty {
    width: 80px;
    height: 80px;
    margin-left: 20px;
    margin-right: 20px;
    background-color: transparent;
    border: 2px solid #ff0000;
}

.timeline-item:not(:last-child) .timeline-square::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background-color: #ff0000;
}

.timeline-text {
    max-width: 720px;
}

.timeline-time {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    line-height: 1.2em;
}

.timeline-text h4 {
    margin: 0;
    font-size: 1.32em;
    line-height: 1.25em;
    font-weight: 700;
}

.timeline-affiliation {
    margin: 0;
    font-size: 1em;
    line-height: 1.2em;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}
.person {
    display: flex;
    flex-direction: column;
    width: 200px;
}
.team-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
}
.team-name {
    text-align: left;
    font-size: 1.1em;
    margin-bottom: 2px;
}
.team-name a {
    text-decoration: none;
}
.team-name a:hover {
    text-decoration: underline;
}
.team-institution {
    text-align: left;
    font-size: 1em;
}

@media (max-width: 700px) {
    .timeline-item {
        gap: 14px;
    }

    .timeline-text {
        max-width: none;
    }
}
