html, body {
    height:100%;
}
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;
    box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block; }
body {
    font-family: 'RayonnagePAT2', sans-serif;
    font-size:14pt;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 3px;
    line-height: 1.1em;
    transition: background-color 2s cubic-bezier(1, 1, 1, 1);
    transition-delay: 0s;
}

.wrapper {
    display:flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    height:100vh;
    padding: 20px;
}

@media screen and (min-width: 768px) {
    .wrapper {
        display:grid;
        grid-template-columns: 1fr 50%;
        grid-template-rows: 160px auto 80px;
        grid-template-areas:
            "header header"
            "main slider"
            "footer footer";
        column-gap:40px;
        height:100%;
    }
}

a {
    color:black;
    text-decoration: none;
}
a:hover {
    color:black;
    text-decoration: none;
    border-bottom: 2px solid black;
}
a:visited {
    color:black;
    text-decoration: none;
}
a:active {
    color:#E6E6E6;
    text-decoration: none;
}

ul {
    font-size:14pt;
    list-style: none;
}
p {
    font-size:14pt;
}
li {
    margin:1rem 0;
}
@media screen and (min-width: 374px) {
    ul, p {
        font-size:18pt;
    }
}
@media screen and (min-width: 768px) {
    ul, p {
        font-size:28pt;
        line-height: 1.1em;
    }
}


main {
    flex-grow:0;
    padding-top: 20px;
}
@media screen and (min-width: 768px) {
    main {
        grid-area:main;
        align-self: end;
        padding-top: 0;
    }
}

header {
    flex: 0 0 auto;
    padding-bottom: 20px;
}

header img {
    width:260px;
}
@media screen and (min-width: 374px) {
    header img {
        width:300px;
    }
}
@media screen and (min-width: 768px) {
    header {
        grid-area:header;
    }
    header img {
        width:400px;
    }
}

footer {
    flex-grow: 0;
    font-size:14pt;
}
@media screen and (min-width: 374px) {
    footer {
        font-size:18pt;
    }
}
@media screen and (min-width: 768px) {
    footer {
        font-size:28pt;
        line-height: 1.1em;
        grid-area:footer;
        align-self: end;
    }
}
@media screen and (min-width: 1399px) {

}

/* slider */
.wrapper >div:nth-child(2) {
    flex-grow: 1;
}

.slider img {
    width:100%;
    height:100%;
    object-fit: cover;
}

@media screen and (min-width: 768px) {
    .slider {
        grid-area:slider;
        height:50vh;
        min-height: 50vh;
    }
}