@import url('https://fonts.googleapis.com/css2?family=Raleway:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,600;1,600&display=swap');

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

*, *:before, *:after {
    box-sizing: border-box;
}


:root {
    --border-radius: 2px;
    --spacing-01: 4px;
    --spacing-02: 8px;
    --spacing-03: 12px;
    --spacing-06: 24px;
    --spacing-10: 40px;
    --spacing-15: 60px;

    --palette-border: #aaa;
    --palette-bg: #f5f5f5;
    --palette-bg-hover: #eaeaea;
    --palette-overlay: rgba(0,0,0,.8);
    --palette-shadow: rgba(0,0,0,.3);
    --palette-link: #b45006;
}

html, body {
    font-size: 18px;

    @media (min-width: 768px) {
        font-size: 20px;
    }
}


body {
    font-family: "Raleway", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
    color: #210a12
}

strong, b {
    font-weight: 600;
}

p:not(:last-child) {
    margin: 0 0 var(--spacing-03);
}

svg {
    display: inline-block;
    width: 1em;
    height: 1em;
    user-select: none;
    vertical-align: middle;
}

.container {
    width: 100%;
    max-width: 1024px;
    padding: 0 var(--spacing-03);
    margin: 0 auto;
}

header {
    height: 80vh;
    max-height: 1600px;
    position: relative;
    color: #fff;
    margin-bottom: var(--spacing-10);
    display: flex;
    align-items: center;
}

header:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--palette-overlay);
    z-index: -1;
}

@keyframes follow {
    0%, 100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    0% {
        transform: translateX(-50%) translateY(-50%);
    }
    100% {
        transform: translateX(-50%) translateY(50%);
    }
}

header .follow-me {
    position: absolute;
    left: 50%;
    bottom: 5%;
    transform: translateX(-50%);
    font-size: 2em;
    animation: 1.5s follow forwards infinite ease-in-out;
}

.bgimg {
    position: absolute;
    z-index: -2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1, h2 {
    font-weight: 600;
}

h1 {
    text-transform: uppercase;
    font-size: 2rem;
    @media (min-width: 768px) {
        font-size: 3rem;
    }

}

h2 {
    font-size: 1.4rem;
    @media (min-width: 768px) {
        font-size: 1.8rem;
    }
}

header h1 {
    line-height: 1.1;
}

header h1 small {
    display: block;
    font-size: .5em;
    font-weight: 400;
    text-transform: none;
}

details, summary {
    display: block;
    width: 100%;
}

details {
    border: 1px solid var(--palette-border);
    border-radius: var(--border-radius);
    margin: var(--spacing-03) 0;
    padding: 0;
    font-size: .9em;
    transition: box-shadow .3s ease-in-out;
}
details:first-of-type {
    margin-top: var(--spacing-06);
}

details[open] {
    padding-bottom: var(--spacing-06);
    box-shadow: 0 0 .3em var(--palette-shadow);
}

details p {
    margin: var(--spacing-03);
}

details p:last-child {
    margin-bottom: 0;
}

summary {
    cursor: pointer;
    list-style: none;
    border-radius: var(--border-radius);
    padding: var(--spacing-03);
    padding-left: var(--spacing-06);
    font-weight: 600;
    background: var(--palette-bg);
    position: relative;
}

summary:before {
    content: "▸";
    display: inline-block;
    margin-right: .4em;
    position: absolute;
    left: .7em;
    top: 1.35em;
    transform: translate(-50%, -50%);
    transition: transform .1s ease-in-out;
}

details[open] summary {
    border-bottom: 1px dotted var(--palette-border);
}
details[open] summary:before {
    transform: translate(-50%, -50%) rotate(90deg)
}

summary:hover, summary:focus {
    background: var(--palette-bg-hover);
}

summary::-webkit-details-marker {
    display: none;
}

section {
    margin-bottom: var(--spacing-10);
}

section h2 {
    margin-bottom: var(--spacing-02);
}

a {
    color: var(--palette-link);
}

footer {
    margin-top: 10vh;
    background: #111;
    color: #fff;
    text-align: center;
    font-size: .6rem;
    padding: .6em .5em;
}
