@font-face {
    font-family: "Cantarell";
    font-style: normal;
    font-weight: 800;
    src: local("Cantarell Extra Bold"), local("Cantarell-ExtraBold"), url(fonts/cantarell-extra-bold-latin.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
  }
  
  @font-face {
    font-family: "Cantarell";
    font-style: normal;
    font-weight: 600;
    src: local("Cantarell Bold"), local("Cantarell-Bold"), url(fonts/cantarell-bold-latin.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
  }
  
  @font-face {
    font-family: "Cantarell";
    font-style: normal;
    font-weight: 400;
    src: local("Cantarell Regular"), local("Cantarell-Regular"), url(fonts/cantarell-regular-latin.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
  }

.cards {
    margin-top: 40px;
    column-count: 2;
    column-gap: 1em;
    margin-bottom: 40px;
}

.cards > section {
    background-color: var(--content-background);
    border-radius: 0.5rem;
    overflow: hidden;
    
    margin: 0 0 1em;
    width: 100%;
    
    page-break-inside: avoid;
    break-inside: avoid-column; 

    box-sizing: border-box;
    padding: 8px 18px 18px 18px;
    border: 1px solid var(--glass-edge-color);
    display: flex;
    flex-direction: column;

}

.cards > section.feature {
    background-color: var(--primary-color);
    text-align: center;
}

/* .cards > div:nth-child(2n) {
    border-right: none;
    border-left: 1px solid var(--tertiary-color);
} */

.cards h3 {
    margin-top: 8px;
    margin-bottom: 0px;
}

.cards h4 {
    margin-bottom: -14px;
    margin-top: 4px;
    color: var(--muted-color)
}

.cards h4,
.cards img {
    filter: saturate(0.3);
    transition: filter 0.2s;
}

.cards section {
    margin-bottom: 2rem;
}

.cards section > img {
    margin: -8px -18px 8px -18px;
    max-width: calc(100% + 36px);
}

.cards section > div.icon-header {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: -14px;
}

.cards section > div.icon-header h3 {
    margin-top: 4px;
}
.cards section > div.icon-header h4 {
    margin-bottom: 0px;
}

.cards section > div.icon-header > img {
    max-width: 64px;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 18px;
    margin-bottom: 0px;
}

.cards > section:hover h4,
.cards > section:hover img {
    filter: saturate(1);
}

.cards ul.links {
    margin-top: auto;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer > p {
    padding-left: 24px;
    padding-right: 24px;
    flex: 1;
}

footer img {
    height: 150px;
    margin-left: 80px;
    margin-right: 24px;
}

footer > div a {
    margin-left: 24px;
}

footer div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 90ch) {
    .cards {
        column-count: 1;
    }

    footer {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    footer > p {
        flex: 1;
        text-align: center;
    }

    footer a:first-of-type {
        margin-left: 0px;
    }

    footer img {
        height: 200px;
        margin-left: 0px;
    }

}

nav {
    background-color: rgba(0,0,0,0.1);
    padding-bottom: 10px;
    padding-top: 16px;
    /* border-top: var(--glass-edge-color) 1px solid; */
}

section.primary {
    /* background-color: var(--primary-color); */
    /* font-size: 1.2em; */
    border: var(--primary-color) 2px solid;
    /* font-weight: bold; */
}

section.primary p:first-of-type {
    margin: 8px 0px 0px 0px;
}

section.primary p {
    margin: 1rem 0px 0px 0px;
}

section p {
    margin-top: 1rem;
    margin-bottom: 0px;
}

section ul.compressed {
    margin-top: 1rem;
}

section ul.compressed li {
    margin-bottom: 0px;
}

ul li a.current {
    color: var(--secondary-color);
}