/* @font-face {
    font-family: 'SourceSans3';
    src: url('./fonts/SourceSans3-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
} */

:root {
    --text-color: #333;
    --main-color: #007bff;
    --responsive-padding: 6rem;
    --font-choice: 'urw-din', sans-serif; 
    --light-blue: #626868;
    --grey: #bdc4c6;
    --dark-blue: #013047;
    --light-grey: #d9dfe2;
    --light-blue: #8cd4e1;
    --accent-color:#f72282;
}

html, body{
    margin:0;
    padding:0;
    color: var(--text-color);
    font-family: var(--font-choice);
    box-sizing: border-box;
}

html {
    font-size: 16px; /* Base font size for the document */
}

p{
    margin:0;
    padding:0;
    color: var(--text-grey);
    font-family: var(--font-choice);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7rem;
}

li {
    font-weight: 300;
    line-height: 1.7rem;
    color: var(--text-grey);
}

a {
    color: var(--main-color);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6{
    margin:0;
    padding:0;
    color: var(--text-color);
    font-family: var(--font-choice);
}

h1 {
    font-size: 2em;
    color: var(--accent-color);
    font-weight: 700;
}

h2 {
    font-size: 1.75em;
    color: var(--accent-color);
    font-weight: 600;
}

h3 {
    font-size: 1.3em;
    color: #333;
    font-weight: 500;
}

h4 {
    font-size: 1.25em;
}

h5 {
    font-size: 1em;
}

button {
    font-family: var(--font-choice);
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;

}

/* .container and article are similar */
article {
    margin: 0 auto;
}

.container {
    margin: 0 auto;
}

section {
    margin: 2.5rem 0;
}

section:last-child {
    margin-bottom: 0;
}

/* xsmall */
@media (max-width: 400px) {

    :root {
        --responsive-padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    html {
        font-size: 13px;
    }

    button {
        font-size: 0.8rem;
    }
}

/* xsmall */
@media (min-width: 576px) {

    :root {
        --responsive-padding: 3rem;
    }

    html {
        font-size: 14px;
    }
}

/* small */
@media (min-width: 680px) {
    html {
        font-size: 16px;
    }
}

/* medium */
@media (min-width: 768px) {

    :root {
        --responsive-padding: 4rem;
    }

    html {
        font-size: 18px;
    }
}

/* large */
@media (min-width: 960px) {
    html {
        font-size: 18px
    }
}

/* xlarge */
@media (min-width: 1200px) {
    html {
        font-size: 18px;
    }
}
