@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body {
    margin: 0;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.7;
    background-color: #fafafa;
    color: #333;
}

h1 {
    margin: 0;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
    line-height: 1.2;
    font-size: 3.5rem;
    width: 100%;
    color: #2c2c2c;
    letter-spacing: -0.01em;
    /* text-align: center; */
}

h2 {
    margin: 0;
    font-family: "Lato", sans-serif;
    font-size: 2.2rem;
    margin-bottom: 30px;
    letter-spacing: -0.005em;
    color: #2c2c2c;
    font-weight: 600;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

header div {
    display: flex;
    align-items: center;
    min-height: 25vh;
    position: relative;
    z-index: 1;
}

header h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-size: 4rem;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.container {
    margin-left: 10vw;
    margin-right: 10vw;
    padding: 0 20px;
}

.center {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

main {
    min-height: 70vh;
    display: grid;
    margin-bottom: 100px;
    /* grid-template-columns: 1fr 1fr; */
}

section {
    margin-top: 40px;
    margin-bottom: 0px;
}

.two-columns {
    columns: 3;
    column-gap: 20px;
}

.assignment {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    break-inside: avoid;
}


.assignment h3 {
    margin-top: 0;
    margin-bottom: 18px;
    color: #2c2c2c;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    font-family: "Lato", sans-serif;
}

/* Link Styling */
a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

a[target="_blank"]:after {
    content: " ↗";
    font-size: 0.8em;
    opacity: 0.7;
}

/* List Styling */
ul, ol {
    margin: 0;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
    line-height: 1.6;
}

ul ul {
    margin-top: 8px;
    margin-bottom: 8px;
}

ul ul li {
    margin-bottom: 6px;
    font-size: 0.95em;
    color: #555;
}


@media screen and (max-width: 1100px) {
    .container {
        margin-left: 10vw;
        margin-right: 10vw;
    }
}

@media screen and (max-width: 900px) {
    .container {
        margin-left: 5vw;
        margin-right: 5vw;
    }
}

@media screen and (max-width: 600px) {
    header h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }
    h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    header div {
        min-height: 20vh;
        padding: 20px 0;
    }
    .container {
        margin-left: 2.5vw;
        margin-right: 2.5vw;
    }
    main {
        grid-template-columns: 1fr;
    }
    .assignment {
        padding: 15px;
        margin-bottom: 15px;
    }
    .assignment h3 {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }
    .two-columns {
        columns: 1;
    }
}