:root {
    --pfizer-blue: #0000C9;
    --subheader-blue: #E8F2FF;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
}

body {
    z-index: -1;
    position: relative;
}

header {
    background: var(--pfizer-blue);
    width: 100%;
    color: white;


}

    header nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        padding: 15px;
    }

        header nav .txt-links {
            display: flex;
            flex-wrap: wrap;
            column-gap: 20px;
        }

header a {
    text-decoration: none;
    color: white;
}

    header .subheader {
        padding: 15px;
        display: flex;
        align-items: center;
        background: var(--subheader-blue);
        color: var(--pfizer-blue);
    }

.subheader-info {
    display: flex;
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 20px;
}


main {
    position: relative;
    min-height: 100%;
    z-index: -1;
}

    main.main-image {
        background: url("./pfizer-landing-background.jpg");
        background-size: cover;
        background-repeat: no-repeat;
    }

    main.main-image, .main-image .main-layout {
        min-height: calc(100vh - 150px);
    }

    main.resources {
        min-height: calc(100vh - 150px);
    }

main.main-image .main-layout {
    height: 100%;
    background: rgba(0, 0, 0, .5);
}

.main-layout {
    min-height: 100%;
}

.text-content {
    padding-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

main .text-content a {
    color: var(--pfizer-blue);
}

main.main-image .text-content a {
    color: white;
}

main.main-image .text-content a:hover {
    color: var(--pfizer-blue);
}

.main-image h1 {
    color: white;
}

h1 {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
}


p.subtext {
    color: white;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
}


a.link-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--pfizer-blue);
    color: white;
    width: 270px;
    height: 44px;
    border-radius: 200px;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    transition: all .4s ease;
}

    a.link-btn:hover {
        color: var(--pfizer-blue);
        background: white;
    }

    a.link-btn svg path {
        stroke: white;
        transition: all .4s ease;
    }

    a.link-btn:hover svg path {
        stroke: var(--pfizer-blue);
    }

p.disclaimer {
    color: white;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.4;
}

a.nav-link {
    font-family: Arial;
    color: white;
    background: var(--pfizer-blue);
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    padding: 10px;
    border-radius: 0px;
    transition: all .4s ease;
}

    a.nav-link:hover {
        color: var(--pfizer-blue);
        background: white;
        border-radius: 20px;
    }

p.communication-text {
    font-family: Arial;
    color: var(--pfizer-blue);
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
}

footer {
    width: 100%;
    height: 66px;
}

p.footer-text {
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    padding-left: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

/* TERMS */

.terms_of_use {
    font-size: 1rem;
    padding-left: 40px;
}



svg.ext {
    display: inline;
    line-height: inherit;
    word-wrap: break-word;
    width: 20px;
    height: 16px;
    margin-left: 0.2em;
    fill: var(--pfizer-blue);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    font-weight: 900;
}

    svg.ext path {
        stroke-width: 3;
        stroke: var(--pfizer-blue);
    }


/* RESOURCES */
.resource-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(calc(90vw / 300px), 1fr);
    gap: 10px;
}

main .text-content a.resource {
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 10px;
    border: 1px solid;
    border-radius: 5px;
    max-width: 300px;
    cursor: pointer;
    text-decoration: none;
}

main .text-content a.resource:hover {
    color: white;
    background-color: var(--pfizer-blue);
}

.resource h2 {
    font-size: 20px;
    font-weight: normal;
}

.download-text {
    font-size: 18px;
    font-weight: bold;
}


@media (min-width: 600px) {
    header nav {
        height: 80px;
        gap: 40px;
        padding: 20px 50px;
        flex-direction: row;
        justify-content: flex-start;
    }

            header nav .txt-links {
                align-items: center;
            }

        header .subheader {
            justify-content: flex-end;
            padding: 20px 50px;

        }


    .text-content {
        padding-top: 75px;
        padding-left: 15%;
    }

    .text-content {
        gap: 24px;
        width: 75%;
    }


    h1 {
        font-size: 42px;
        line-height: 1.2;
    }


    p.subtext {
        font-size: 22px;
        line-height: 34px;
    }


    p.disclaimer {

        font-weight: 400;
        font-size: 17px;
        line-height: 34px;
    }

    a.link-btn {
        width: 300px;
    }


    footer {
        height: 66px;
    }

    p.footer-text {
        justify-content: flex-end;
        padding: 20px 50px;
        font-size: 16px;
        line-height: 100%;
    }
}


@media (min-width: 1000px) {


    .text-content {
        padding-top: 10%;
        padding-left: 15%;

    }

    h1 {
        font-size: 62px;
        line-height: 1.2;
    }

    p.footer-text {
        justify-content: flex-end;
        padding: 0;
        margin: 0 100px;
        font-size: 16px;
        line-height: 100%;
    }
}

