/* Webfont: Squiver-Regular */
@font-face {
    font-family: 'Squiver';
    src: local('Squiver'),
        url('/static/fonts/Squiver.otf') format("opentype"); /* Modern Browsers */
    font-style: normal;
    font-weight: normal;
}


:root {

    --clr-primary-100: #E2F0F9;
    --clr-primary-400: #286FB4;

    --cle-secondary-400: #B0DDE4;

    --clr-neutral-800: #333333;
    --clr-neutral-400: #FFFF;


    --clr-accent-400: #DF4C73;


    --ff-primary: 'Roboto';
    --ff-accent: 'Squiver';

    --fs-800: 2rem;
    --fs-700: 1.8rem;
    --fs-600: 1.5rem;
    --fs-500: 1.3rem;
    --fs-400: 1.1312rem;
    --fs-300: 1rem;

    --min-width: 600px;
}

/*basic reset*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin:0;
    padding: 0;
    font: inherit;
}

ul[role="list"],
ol[role="list"] {
    list-style: none;
}



html:focus-within {
    scroll-behavior: smooth;
}

html,
body {
    height: 100vh;
}

html {
    font-size: calc(15px + 0.39vw);
}

body {
    text-rendering: optimizeSpeed;
    line-height: 1.6;
    font-family: var(--ff-primary);
    color: var(--clr-neutral-800);
}

h1,
h2,
h3,
h4 {
    line-height: 1;
    font-family: var(--ff-accent);
    font-weight: 900;
    letter-spacing: 2px;
}

h1,
h2,
h3,
p {
    margin-block: 0.25em;
}

h1 {
    font-size: var(--fs-700)
}

h2 {
    font-size: var(--fs-600)
}

h3 {
    font-size: var(--fs-500)
}

h4 {
    font-weight: 800;
}

strong {
    font-weight: 900;
}

header {
    padding-block: 2rem;
}

section {
    padding-block: 0.5rem;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
}

img,
picture,
svg {
    max-width: 100%;
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within{
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.no-marker{
    list-style-type: none;
}

.text-center {
    text-align: center;
}

.bg-dark {
    background-color: var(--clr-primary-400);
}

.bg-light {
    background-color: var(--clr-primary-100);
}
.bg-accent {
    background-color: var(--cle-secondary-400);
}

.container {
    margin-inline: auto;
    width: min(90%, 70rem);
    padding-inline: 1rem;
}

.container--narrow {
    margin-inline: auto;
    padding-inline: 1.5rem;
    max-width: 30rem;
}

.card {
    background-color: var(--clr-primary-100);
    margin: 1rem auto;
    padding: 1rem 1.25rem;
    box-shadow: var(--clr-primary-400) 0.25rem 0.5rem;
}

.card:hover {
    background-color: aquamarine;
    box-shadow: #105FB4 0.25rem 0.5rem;
}

.card a {
    text-decoration: none;
}
.card-contents {
    display: flex;
    flex-wrap: nowrap;
}

.thumbnail-container {
    flex-basis: 25%;
    overflow: hidden;
    margin-inline: 0.25rem;
}

.card-contents p {
    flex-basis: 75%;
}

@media (min-width: 600px) {
    section,
    header {
        margin-block: 0;
    }

    h2,
    h3,
    h4,
    p {
        padding-block: 0.5rem;
        margin-block: 0.5rem;
    }
}

.title-font {
    font-family: var(--ff-accent);
    color: var(--clr-primary-400);
}

.fc-accent {
    color: var(--clr-accent-400);
}