* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: #000;
    text-decoration: none;
}

body {
    font-family: "FreeSans", sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('./assets/Emerald Lake.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 1;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5% 5%;
    padding-top: 2%;
    position: relative;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 900px;
    margin-left: 0%;
    background-color: rgba(250, 250, 250, 0.85);
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.section {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.title {
    flex: 0 0 200px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

.title h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #222;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.bold {
    font-weight: 700;
}

.title h2 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #444;
    text-transform: lowercase;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.info p {
    margin: 0 0 1rem 0;
    padding: 0;
    color: #555;
    font-size: 1rem;
    line-height: 1.4;
}

.info p:last-child {
    margin-bottom: 0;
}

.info p:first-child {
    margin-top: 0;
}

.role + .role {
    margin-top: 1.5rem;
}

.role h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.role-dates {
    font-weight: 400;
    font-size: 0.9rem;
    color: #888;
    margin-left: 0.5rem;
}

.misc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.misc-list li {
    color: #555;
    font-size: 1rem;
    line-height: 1.4;
}

.misc-list a {
    border-bottom: 1px solid #000;
}

.misc-list a:hover {
    border-bottom-color: transparent;
}

.splash-text {
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transform-origin: left center;
    animation: pulse 4s ease-in-out infinite;
}

.splash-text:empty {
    display: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(0.98);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.01);
    }
}

.links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
}

.link {
    text-decoration: none;
    color: #444;
    font-size: 1rem;
    padding: 0.3rem 0;
    margin: 0;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    width: fit-content;
    line-height: 1;
}

.link:first-child {
    padding-top: 0;
}

.link i {
    margin-right: 0.5rem;
    width: 1.2rem;
    text-align: center;
}


.link:hover {
    color: #000;
    border-bottom-color: #000;
}

.right-column {
    padding-left: 3rem;
}

.project {
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
}

.project h4 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #222;
}

.project p {
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem 2rem 0;
    }

    .content {
        gap: 2rem;
    }

    .section {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #f5f5f5;
    }

    .title {
        flex: none;
        text-align: left;
        justify-content: flex-start;
    }

    .title h1 {
        font-size: 2rem;
    }

    .title h2 {
        font-size: 1.1rem;
    }

    .links {
        gap: 1rem;
    }

    .link {
        font-size: 0.9rem;
        word-break: break-all;
    }
}