/** Fonts Root **/
@font-face {
    font-family: Spaced;
    src: url(../fonts/Spaced.otf);
}

@font-face {
    font-family: SpacePower;
    src: url(../fonts/SpacePower.otf);
}

@font-face {
    font-family: SquareSpace;
    src: url(../fonts/Square\ Space\ Free.ttf);
}

/** Variables **/
:root {
    --font1: "Spaced";
    --font2: "SpacePower";
    --font3: "SquareSpace";
}

/** Generals **/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
}

html {
    min-height: 100%;
}

body {
    min-height: 100%;
    background-color: black;
    color: white;
    font: 1.4em/1.8 "var(--font1)";
    margin: 0;
    padding: 0;
    background-image: url("https://images.unsplash.com/photo-1514669362126-0d8bb38261a3?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1740&q=80");
    background-repeat: no-repeat;
    background-attachment: fixed;
}

h1 {
    font-size: 8vw;
    line-height: 1;
    font-family: var(--font2);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5em;
    line-height: 1.2;
    font-family: var(--font1);
    margin-bottom: 0.5em;
}

p {
    margin-top: 0;
    font-family: var(--font3);
}

/** Header styles **/
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 3em;
    font-family: var(--font1);
}

.navigation {
    font-family: var(--font1);
}

.navigation ul {
    list-style: none;
    padding-left: 0;
    justify-content: center;
}

.navigation a {
    color: inherit;
    text-decoration: none;
    display: grid;
    grid-column: 2 / -2;
    justify-content: center;
    padding: 1rem 2rem;
}

.navigation a:hover {
    background-color: rgba(255, 255, 255, .1);
}

/** Body styles **/

.page-title {
    display: flex;
    justify-content: center;
    margin-top: 3em;
}

.article {
    padding-bottom: 2em;
}

.section-image img {
    display: block;
    width: 100%;
}

.article {
    grid-row: 1 / -1;
    display: grid;
    grid-template-columns: var(--cols);
}

.article>* {
    grid-column: 3 / -3;
}

.article>.quote1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    font-size: 1.2em;
    line-height: 1.2;
    margin: 2rem;
    position: relative;
    hyphens: auto;
    color: darkgoldenrod;
}

.article>.quote1::before {
    content: "“";
    font-size: 4em;
    position: absolute;
    left: -.25em;
    top: -.25em;
    color: rgba(255, 255, 255, 0.329);
}

.illustration1 {
    justify-items: start;
    height: 80%;
    width: 100%;
    filter: brightness(0) invert(1);
    transform: scaleX(-1) rotate(45deg);
}
/**
.article>.quote2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    font-size: 1.2em;
    line-height: 1.2;
    margin: 2rem;
    position: relative;
    hyphens: auto;
    color: darkgoldenrod;
}

.article>.quote2::before {
    content: "“";
    font-size: 4em;
    position: absolute;
    left: -.25em;
    top: -.25em;
    color: rgba(255, 255, 255, 0.329);
}
**/
.illustration2 {
    justify-items: start;
    height: 100%;
    width: 100%;
    filter: brightness(0) invert(1);
    transform: scaleX(-1);
}

.article {
    grid-column: 2 / -2;
}

.image {
    grid-column: 2 / -2;
}

.footer {
    display: grid;
    grid-template-rows: 3;
}

.footer-text {
    grid-auto-flow: dense;
    justify-content: center;
    text-align: center;
}

.ft-text {
    text-decoration: underline;
}

.footer-link {
    text-align: center;
}

.link-text {
    text-decoration: underline;
}

.footer-link ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    list-style: none;
}

.footer-link a {
    color: darkgoldenrod;
    text-decoration: none;
}

.footer-link a:hover {
    background-color: rgba(255, 255, 255, .1);
    text-decoration: underline;
}

.social-icons-area {
    text-align: center;
    text-decoration: underline;
}

.social-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    list-style: none;
    padding-top: 1em;
}

.social-icons ul {
    padding-left: 0;
}

.social-icons a {
    filter: brightness(0) invert(1);
}

/** Media queries **/
@media (min-width: 37.5em) {
    body {
        background-size: 100% 100%;
        background-repeat: no-repeat;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        font-size: 1.4em;

    }
}

@media (min-width:37.5em) {
    h1 {
        font-size: 6vw;
        line-height: 1;
        font-family: var(--font2);
        font-weight: 600;
        text-transform: uppercase;
        margin-bottom: 1rem;
    }

    h2 {
        font-size: 3em;
        line-height: 1.2;
        font-family: var(--font1);
        margin-bottom: 0.5em;
    }

    p {
        margin-top: 0;
        font-family: var(--font3);
    }
}

@media (min-width: 37.5em) {
    .logo {
        position: absolute;
        display: flex;
        flex-direction: row;
        color: aliceblue;
        font-size: 3rem;
        margin-top: -0.5rem;
        padding: 0rem 5rem;
        z-index: 2;
    }

    .navigation {
        position: relative;
        color: aliceblue;
        background-color: rgba(0, 0, 0, 0.616);
        padding: 0 1.5rem;
        width: 100%;
        z-index: 1;
    }

    .navigation ul {
        list-style: none;
        padding-left: 0;
        display: flex;
        justify-content: end;
        margin-right: 3rem;
    }

    .navigation a {
        color: inherit;
        text-decoration: none;
        display: block;
        padding: 1rem 2rem;
    }

    .navigation a:hover {
        background-color: rgba(255, 255, 255, .1);
    }

    .page-title {
        padding-top: 0;
        margin-top: 4rem;
    }

}

@media (min-width: 40em) {
    .section-image img {       
        height: auto;
        width: 100%;
    }
}

:root {
    --cols: 1.5rem 0 auto 0 1.5rem;
}

@media (min-width: 45rem) {
    :root {
        --cols: 1.5rem 2rem auto 2rem 1.5rem;
    }
}

@media (min-width: 60rem) {
    :root {
        --cols: 2rem 3rem auto 3rem 2rem;
    }
}

@media (min-width: 70rem) {
    :root {
        --cols: 1fr 5rem minmax(0, 50rem) 5rem 1fr;
    }
}

@media (min-heigth: 37.5em) {
    body {
        display: grid;
        grid-template-columns: var(--cols);
        grid-template-rows: 100vh 1fr auto;
    }
}

@media (min-width: 60em) {
    .article>.quote1 {
        font-size: 2em;
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        line-height: 1.2;
        margin: 2rem;
        position: relative;
        hyphens: auto;
        color: darkgoldenrod;
    }

    .article>.quote1::before {
        font-size: 8em;
    }
}

@media (min-width: 45em) {
    .footer {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0px 20px;
        grid-auto-flow: row;
        padding: 2em;
        background-color: black;
    }

    .footer-text {
        color: aliceblue;
        line-height: 1.5;
    }

    .footer-link {
        text-align: center;
        color: aliceblue;
        padding: 0 1.5rem;
    }

    .footer-link ul {
        list-style: none;
        padding-left: 0;
    }

    .footer-link a {
        color: inherit;
        text-decoration: none;
        display: inline-block;
        padding: 1rem 2rem;
    }

    .footer-link a:hover {
        background-color: rgba(255, 255, 255, .1);
    }

    .social-icons-area {
        filter: brightness(0) invert(1);
        line-height: 1.5;
        text-align: center;
        color: aliceblue;
        padding: 0 1.5rem;
    }

    .social-icons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        list-style: none;
    }

    .social-icons ul {
        padding-left: 0;
    }

    .social-icons a {
        color: inherit;
        text-decoration: none;
        display: inline-block;
        padding: 1rem 2rem;
    }

    .social-icons a:hover {
        background-color: rgba(255, 255, 255, .1);
    }

}