:root {
    --text: #006972;
}

* {
    box-sizing: border-box;
    text-wrap: pretty;
}

body {
    display: flex;
    margin: 0;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    font-family: 'Open Sans';
    color: var(--md-sys-color-primary);
    overflow-x: hidden;
    background-color: var(--md-sys-color-surface);
}

.overlay {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 8em 1em 0;
}

.decor-corner {
    position: absolute;
    height: 150px;
    z-index: -1;
    opacity: 0.1;
}

.decor-corner-top {
    top: -10px;
    left: -10px;
    transform: rotate(90deg);
}

.decor-side {
    height: 300px;
    right: -5px;
    top: 300px;
    transform: rotate(180deg);
}


.bg-logo {
    height: 7em;
    width: auto;
    position: absolute;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    text-align: center;
}

h1 {
    font-weight: 700;
    font-family: 'Amiri';
}

h2 {
    font-size: 1.7em;
    font-weight: 700;
    color: #108a95;
    background-image: linear-gradient(to right, #108a95, #006972);
    color: transparent;
    background-clip: text;
}

h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: #4a6366;
}

h4 {
    font-size: 0.5em;
    font-weight: 400;
    opacity: 0.5;
    font-family: "Amiri", serif;
}

.univ-chips {
    display: none;
}

.chip {
    padding: 1em;
    display: flex;
    align-items: center;
    gap: 0.2em;
    background-color: var(--md-sys-color-secondary-container);
    color: var(--md-sys-color-secondary);
    border-radius: 24px;
}

.chip img {
    display: flex;
    height: 1.5em;
}

.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
}

#name {
    display: flex;
    flex-direction: column;
}

.logo {
    height: 11em;
}

header {
    display: flex;
    position: fixed;
    top: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1em 1.5em;
    transition: background-color 0.3s ease;
    z-index: 1;
}

header.scrolled {
    background-color: #ffffffc9;
    box-shadow: 0px 4px 5px -5px black;
    backdrop-filter: blur(5px);
}

.header-logo {
    height: 2em;
}

.header-text {
    display: none;
    font-size: 1em;
    margin: 0;
    font-weight: 700;
    color: black
}

nav {
    display: none;
    flex-direction: row;
    gap: 1em;

}

a {
    text-decoration: none;
    color: inherit;
    text-transform: uppercase;
}

.art {
    position: absolute;
    width: 135%;
    z-index: -1;
    top: 358px;
}

#section2 {
    display: flex;
    position: relative;
    width: 100vw;
    min-height: 100vh;
    background-color: transparent;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5em;
    padding: 0 1em 5em;
    margin: 3em 0 0;
    overflow: hidden;
}



.decor-wide {
    position: absolute;
    z-index: -1;
    opacity: 0.1;
    transform: rotate(90deg);
}

.section-title{
    font-size: 2em;
    font-weight: 700;
}

.section-container {
    display: grid;
    gap: 1em;
}

.article-card {
    flex-grow: 1;
    border-radius: 24px;
    overflow: hidden;
    background-color: rgb(239 244 246 / 29%);
    border: 1px solid #00000024;
    backdrop-filter: blur(5px);
}

.article-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.article-card img{
    width: 100%;
}

.article-description {
    display: flex;
    padding: 0.5em 1em 3em;
    font-size: 1.2em;
    font-weight: 500;
}

@media only screen and (min-width: 600px) and (max-width: 840px) {
    #name {
        font-size: 0.75em;
    }
}

@media only screen and (min-width: 600px) {

    .overlay {
        display: flex;
        flex-direction: row;
        padding: 0 2em;
        gap: 1em;
        justify-content: space-between;
        align-items: flex-start;
    }

    .hamburger {
        display: none
    }

    header {
        display: flex;
        padding: 1em 2em;
    }

    nav {
        display: flex;
    }

    .title {
        min-width: 60%;
        font-size: 1em;
        height: 100vh;
    }

    h2 {
        text-wrap: nowrap;
        font-size: 2em;
    }

    .univ-chips {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        font-size: 0.55em;
        font-weight: 600;
        margin: 2em 0 0;
        gap: 1em;
    }

    body {
        font-size: 1.3em;
    }

    .art {
        height: auto;
        width: auto;
        position: relative;
        bottom: initial;
    }

    #main-art {
        top: -40px;
        height: 120vh;
    }

    #section2 .art {
        height: 100%;
        left: -132px;
    }

    .decor-corner-top {
        height: 300px;
    }

    .decor-side {
        display: none;
        height: 100vh;
        top: auto;
        opacity: 0.02;
        right: auto;
        left: 300px;
    }

    #section2 {
        padding: 0 3em;
    }

    .section-container{
        display: flex;
        flex-direction: row;
        gap:1em;
    }

    .article-card {
        flex-grow: 1;
        border-radius: 24px;
        overflow: hidden;
        background-color: rgb(239 244 246 / 29%);
        border: 1px solid #00000024;
        backdrop-filter: blur(5px);
    }

    .decor-wide {
        transform: none;
    }
}