@charset "utf-8";
/* 

/* -- BASE -- */

:root {
    --main-text-color: #252525;
    --border-color: #CCCCCC;
    --link-color: #252525;
    --link-hover-color: red;
    --link-h1-hover-color: #252525;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
    /*10px/16px = 62.5% -> 1rem = 10px*/
}

body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--main-text-color);
    min-height: 100vh;
    -webkit-text-size-adjust: none;
    /*to make sure li sizes the same in all lists  */
}

p {
    font-size: 2rem;
    font-weight: 400;
    margin-top: 1.6rem;
    margin-bottom: 1.6rem;
}

h1 {
    font-size: 4.8rem;
    font-weight: 700;
    padding: 3rem 0;
}

h2 {
    font-size: 3rem;
}

li {
    list-style: none;
}

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

a:link {
    color: var(--link-color);
}

a:visited {
    color: var(--link-color);
}

a:hover {
    color: var(--link-hover-color);
}

a {
    color: var(--link-color);
}

h1 a:hover {
    color: var(--link-h1-hover-color);
}

.container--main,
.container--header,
.container--footer {
    max-width: 120rem;
    margin: 0 auto;
    padding: 2rem;
}

.container--main {
    min-height: 40vh;
    padding: 2rem 5rem;

}

header {
    border-bottom: solid thin var(--border-color);
}

.flex-container {
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
}

.nav li {
    font-size: 2.4rem;
    padding: 2rem 0;
}

footer {
    padding: 0 3rem;
    border-top: solid thin var(--border-color);
}