/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Figtree", sans-serif;
}

/* Classes */
:root {
    --blue-headings: #134c85;
    --red-headings: #a71411;
}

.container {
    display: block;
    margin: 0 auto;
    max-width: 1200px;
}

.row {
    display: block;
    margin: 1rem 0;
}

.text-wrapper {
    padding: 0 4rem;
}

.text-wrapper h1 {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-size: 48px;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    color: var(--blue-headings);
    text-transform: uppercase;
    display: block;
    margin: 1rem 0;
}

h2 {
    font-optical-sizing: auto;
    font-size: 44px;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    color: var(--red-headings);
    display: block;
    margin: 1rem 0;
}

.text-wrapper p {
    font-optical-sizing: auto;
    font-size: 22px;
    font-weight: 400;
    text-align: left;
    display: block;
    margin: 0 0 1rem 0;
    line-height: 32px;
    color: #868686;
}

.infographic-desktop,
.infographic-mobile {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
}

.infographic-mobile {
    display: none;
}

/* Header */
header {
    padding: 2rem;
}

header nav {
    text-align: center;
}

header nav img {
    width: 100%;
    max-width: 600px;
}

/* Banner  */
#desktop-banner,
#mobile-banner {
    width: 100%;
    max-width: 100%;
}

#mobile-banner {
    display: none;
}

/* Infographics sections */
#infographic-section-1,
#infographic-section-2,
#infographic-section-3,
#resources-section {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(12, 1fr);
}

/* Infographics Section 1 */
#infographic-1 {
    grid-column: 1/5;
}

#infographic-2 {
    grid-column: 5/9;
}

#infographic-3 {
    grid-column: 9/13;
}

#infographic-4 {
    grid-column: 1/7;
}

#infographic-5 {
    grid-column: 7/13;
}

#infographic-6 {
    grid-column: 1/13;
}

/* Infographics Section 2 */
#infographic-7 {
    grid-column: 1/5;
}

#infographic-8 {
    grid-column: 5/9;
}

#infographic-9 {
    grid-column: 9/13;
}

/* Infographics Section 3 */
#infographic-10 {
    grid-column: 1/9;
    grid-row: 1;
}

#infographic-11 {
    grid-column: 9/13;
    grid-row: 1/3;
}

#infographic-12 {
    grid-column: 1/5;
    grid-row: 2;
}

#infographic-13 {
    grid-column: 5/9;
    grid-row: 2;
}

/* Resources Section */
.resource-item img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    max-height: 100%;
}

.resource-item-content {
    padding: 2rem;
}

.resource-item-content a {
    display: block;
    text-decoration: none;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 1rem;
}

.resource-item-content p {
    display: block;
    font-size: 20px;
    line-height: 30px;
}

#resource-item-1 {
    grid-column: 1/6;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#resource-item-1 img {
    height: 350px;
}

#resource-item-1 .resource-item-content {
    background-color: #134c85;
}

#resource-item-1 .resource-item-content a {
    color: #fbae3b;
}

#resource-item-1 .resource-item-content p {
    color: #fff;
}

#resource-item-2 {
    grid-column: 6/13;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#resource-item-2 img {
    height: 350px;
}

#resource-item-2 .resource-item-content {
    background-color: #fbae3b;
}

#resource-item-2 .resource-item-content a {
    color: #134c85;
}

#resource-item-2 .resource-item-content p {
    color: #000;
}

#resource-item-3 {
    grid-column: 1/13;
    grid-row: 2;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
}

#resource-item-3 img,
#resource-item-3 .resource-item-content {
    height: 300px;
}

#resource-item-3 .resource-item-content {
    background-color: #a71411;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#resource-item-3 .resource-item-content a {
    color: #fff;
}

#resource-item-3 .resource-item-content p {
    color: #fff;
}

#resource-item-4 {
    grid-column: 1/8;
    grid-row: 3;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#resource-item-4 img {
    height: 520px;
}

#resource-item-4 .resource-item-content {
    background-color: #527e99;
    height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#resource-item-4 .resource-item-content a {
    color: #fbae3b;
}

#resource-item-4 .resource-item-content p {
    color: #fff;
}

#resource-item-5 {
    grid-column: 8/13;
    grid-row: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#resource-item-5 .resource-item-content {
    background-color: #915c9e;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#resource-item-5 .resource-item-content a {
    color: #fff;
}

#resource-item-5 .resource-item-content p {
    color: #fff;
}

/* Before Footer links */
#discover-more {
    display: block;
    color: #134c85;
    font-weight: 900;
    text-transform: uppercase;
    border: 2px solid #868686;
    text-decoration: none;
    margin: 1rem auto;
    max-width: 50%;
    text-align: center;
    padding: 1rem;
    font-size: 24px;
}

#support-outreach {
    display: block;
    background-color: #e13a3e;
    color: #fff;
    text-decoration: none;
    margin: 1rem auto;
    max-width: 40%;
    text-align: center;
    padding: 1rem;
    font-size: 24px;
}

/* Footer */
footer {
    margin-top: 4rem;
    color: #222;
    font-size: 16px;
}

.footer-title {
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
    font-size: 20px;
}

#footer-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#footer-area-logo,
#footer-area-certifications {
    flex: 100%;
    max-width: 29%;
}

#footer-area-logo a {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
}

#footer-area-logo a img {
    max-width: 100%;
}

#footer-area-logo ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

#footer-area-logo ul li {
    list-style: none;
    flex: 100%;
    max-width: 49%;
}

#footer-area-logo ul li a {
    text-decoration: none;
    font-size: 16px;
    color: #222;
}

#footer-area-logo strong {
    display: block;
    margin-bottom: 0.5rem;
}

#footer-area-quickstart {
    flex: 100%;
    max-width: 40%;
}

.quickstart-link {
    margin-bottom: 1.25rem;
}

.quickstart-link a {
    color: #222;
    text-decoration: none;
    font-weight: 600;
}

#quickstart-logo {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin: 1rem 0;
}

#quickstart-logo span {
    font-weight: 700;
    text-align: left;
    margin-left: 1rem;
}

#footer-area-certifications p {
    line-height: 22px;
    margin-bottom: 1rem;
}

#certification-logos {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.certification-logo {
    flex: 100%;
    max-width: 31%;
    margin-bottom: 2rem;
}

address,
address a {
    font-style: normal;
    text-decoration: none;
    color: #222;
}

/* 

MOBILE

*/
@media(max-width:1023px) {

    /* Banner */
    #desktop-banner {
        display: none;
    }

    #mobile-banner {
        display: block;
    }

    /* Classes */
    .text-wrapper {
        padding: 0 1rem;
    }

    .text-wrapper h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 32px;
        text-align: left;
        padding: 0 1rem;
    }

    /* Infographics Sections */
    .infographic-desktop {
        display: none;
    }

    .infographic-mobile {
        display: block;
    }

    /* Infographics Section 1 */
    #infographic-1,
    #infographic-2,
    #infographic-3,
    #infographic-4,
    #infographic-5,
    #infographic-6 {
        grid-column: 1/13;
    }

    /* Infographics Section 2 */
    #infographic-7,
    #infographic-8,
    #infographic-9 {
        grid-column: 1/13;
    }

    /* Infographics Section 3 */
    #infographic-10,
    #infographic-11,
    #infographic-12,
    #infographic-13 {
        grid-column: 1/13;
        grid-row: unset;
    }

    /* Resources Section */
    .resource-item-content {
        padding: 2rem 1rem;
        height: unset !important;
    }

    #resource-item-1 img,
    #resource-item-2 img,
    #resource-item-3 img,
    #resource-item-4 img,
    #resource-item-5 img {
        height: unset;
    }

    #resource-item-1,
    #resource-item-2,
    #resource-item-3,
    #resource-item-4,
    #resource-item-5 {
        grid-column: 1/13;
        grid-row: unset;
    }

    #resource-item-1,
    #resource-item-2,
    #resource-item-3 {
        display: flex;
        flex-direction: column-reverse;
    }

    #resource-item-4 {
        display: flex;
        flex-direction: column;
    }

    #discover-more,
    #support-outreach {
        max-width: 90%;
        font-size: 18px;
    }

    #footer-grid {
        flex-direction: column;
    }

    #footer-area-logo,
    #footer-area-quickstart,
    #footer-area-certifications {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    footer {
        padding: 0 1rem;
    }
}

@media(min-width:1024px) and (max-width:1199px) {
    footer {
        padding: 0 1rem;
    }
}