@import url("CSS-Reset.css");
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Libre+Caslon+Display&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

#up {
    text-decoration: none;
    font-size: 300%;
    opacity: 0.7;
    position: fixed;
    z-index: 99;
    bottom: 10px;
    right: 10px;
    transition: all 200ms ease-in-out;
}

#up:hover {
    transform: translateY(-10px);
}

:root {
    scroll-behavior: smooth;
}

header {
    width: 100%;
    height: 70vh;
    overflow: hidden;
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.85));
}

header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) brightness(80%);
}

header #description {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    text-align: center;
    font-size: 1.5rem;
    color: white;
    font-family: "Libre Caslon Display", serif;
    letter-spacing: 2px;
    z-index: 1;
}

header #description h3 {
    font-size: 0.85rem;
    font-family: "DM Mono", monospace;
    color: rgba(255, 255, 255, 0.65);
    font-weight: normal;
    margin-top: 0.5rem;
    letter-spacing: 3px;
}

main {
    max-width: 90%;
    font-size: 18px;
    margin: 100px auto;
    line-height: 2;
    font-family: "lora", serif;
}

main h2 {
    font-size: 2em;
    color: #112D4E;
    font-family: "Libre Caslon Display", serif;
    letter-spacing: 2px;
}

main article {
    margin: 30px 0;
    padding: 0 30px;
    border-left: 3px solid #3F72AF;
}

a {
    color: #3F72AF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.pull-quote {
    width: 90%;
    margin: 2.5rem auto;
    padding: 1rem 1.5rem;
    font-size: 1.4rem;
    font-family: "Libre Caslon Display", serif;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.pull-quote a {
    padding: 0 1rem;
    border-right: 2px solid #3F72AF;
}

.pull-quote a:last-child {
    border-right: none;
}

footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family: "Libre Caslon Display", serif;
    letter-spacing: 2px;
    padding: 2rem 5%;
    margin-top: 4rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

@media (max-width: 768px) and (min-width: 426px) {
    header #description {
        width: 90%;
        font-size: 1rem;
    }

    header #description h1 {
        font-size: 1.5rem;
    }

    main {
        margin: 60px auto;
        padding: 0 15px;
        font-size: 12px;
    }

    main article {
        margin: 20px 0;
        padding: 0 20px;
    }

    .pull-quote {
        margin: 2.5rem auto;
        padding: 1rem;
        font-size: 1rem;
    }

    footer {
        font-size: 14px;
    }
}

@media (max-width: 425px) {
    header #description {
        width: 90%;
        font-size: 1rem;
    }

    header #description h1 {
        font-size: 1.5rem;
    }

    main {
        margin: 60px auto;
        padding: 0 5px;
        font-size: 10px;
    }

    main article {
        margin: 10px 0;
        padding: 0 10px;
    }

    .pull-quote {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        font-size: 1rem;
    }

    .pull-quote a {
        border-right: none;
        border-bottom: 1px solid #3F72AF;
        padding: 0.3rem 0;
    }

    .pull-quote a:last-child {
        border-bottom: none;
    }

    #up {
        font-size: 200%;
    }


    footer {
        font-size: 10px;
    }
}