/* Variables */
:root {
    --background: #262626;
    --grey: #9d9d9d;
    --white: #ffffff;
    --yellow: #fdb202;
    --header-font: 'Cormorant Garamond', serif;
}

/* Universal reset */
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
    /* change the box model so border and padding adds to totel measures - links to the element in body */
}

html {
    font-size: 62.5%;
}

body {
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--white);
    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

body::-webkit-scrollbar {
    /* hidde scrollbar for Chrom, Safari and Opera */
    display: none;
}

/* Blur images on load */
img[data-src] {
    filter: blur(0.2em);
}

/* Footer */
.footer {
    background-color: var(--background);
    color: inherit;
    padding: 6rem 12rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer_navigation {
    display: inline-block;
}

.footer_list {
    list-style: none;
}

.footer_item {
    display: inline-block;
}

.footer_item:not(:last-child) {
    margin-right: 1.5rem;
}

.footer_link:link,
.footer_link:visited {
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    border-top: 1px solid var(--white);
    padding-top: 2rem;
    display: inline-block;
}

.footer_link:hover,
.footer_link:active {
    color: var(--yellow);
    border-top: 1px solid var(--yellow);
}

.footer_copyright {
    padding-top: 2rem;
}

.footer_copyright_text {
    font-size: 1.2rem;
}

/* Queries */
@media only screen and (max-width: 75em) {
    html {
        font-size: 56.25%;
    }

    .footer {
        display: block;
    }
}
@media only screen and (max-width: 56.25em) {
    html {
        font-size: 50%;
    }

    .footer {
        padding: 6rem;
    }
}
@media only screen and (min-width: 112.5em) {
    html {
        font-size: 75%;
    }
}
