/* 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;
}

body {
    line-height: 1;
}

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;
}

/* montserrat-800 - latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/montserrat-v15-latin-800.eot'); /* IE9 Compat Modes */
    src: local('Montserrat ExtraBold'), local('Montserrat-ExtraBold'),
    url('../fonts/montserrat-v15-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/montserrat-v15-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/montserrat-v15-latin-800.woff') format('woff'), /* Modern Browsers */
    url('../fonts/montserrat-v15-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/montserrat-v15-latin-800.svg#Montserrat') format('svg'); /* Legacy iOS */
}

/* lato-300 - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/lato-v17-latin-300.eot'); /* IE9 Compat Modes */
    src: local('Lato Light'), local('Lato-Light'),
    url('../fonts/lato-v17-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/lato-v17-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/lato-v17-latin-300.woff') format('woff'), /* Modern Browsers */
    url('../fonts/lato-v17-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/lato-v17-latin-300.svg#Lato') format('svg'); /* Legacy iOS */
}

body {
    background: #eee;
    padding: 15px;
}

.parent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    margin: 15px;
}

.xs-square:before {
    content: ' ';
    display: block;
    padding-top: 100%;
}

.xs-square > img {
   width: 100%;
}

.div1 {
    align-items: center;
    background: #fff;
    display: flex;
    grid-area: 1 / 1 / 1 / 1;
    justify-content: center;
    padding: 30px;
}

.div2 {
    background: url('../img/tadahiro-hayashi-1.jpg') 50%;
    background-size: cover;
    grid-area: 1 / 2 / 1 / 2;
}

.div3 {
    background: url('../img/tadahiro-hayashi-2.jpg') 50%;
    background-size: cover;
    grid-area: 2 / 1 / 2 / 1;
}

.div4 {
    align-items: flex-end;
    background: #fff;
    display: flex;
    justify-content: flex-end;
    grid-area: 2 / 2 / 2 / 2;
}

.div5 {
    background: #1E1E1E;
    display: flex;
    flex-direction: column;
    grid-area: 4 / 1 / 4 / 1;
    justify-content: flex-end;
}

.div6 {
    background: #fff;
    padding: 45px;
    grid-area: 3 / 1 / 3 / 3;
}

.div7 {
    background: url('../img/tadahiro-hayashi-3.jpg') 50%;
    background-size: cover;
    grid-area: 4 / 2 / 4 / 3;
}

.div8 {
    background: url('../img/tadahiro-hayashi-4.jpg') 50%;
    background-size: cover;
    grid-area: 5 / 1 / 5 / 2;
}

.div9 {
    background: url('../img/tadahiro-hayashi-5.jpg') 50%;
    background-size: cover;
    grid-area: 5 / 2 / 5 / 3;
}

.div10 {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    grid-area: 6 / 1 / 6 / 3;
}

@media all and (min-width: 980px) {
    body {
        align-items: center;
        display: flex;
        justify-content: center;
        min-height: 100vh;
        padding: 0;
    }

    .parent {
        display: grid;
        height: auto;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, auto);
        grid-column-gap: 15px;
        grid-row-gap: 15px;
        width: 965px;
    }

    .xs-square {
        min-height: 270px;
    }

    .xs-square:before {
        display: none;
    }

    .div1 {
        align-items: center;
        background: #fff;
        display: flex;
        grid-area: 1 / 1 / 2 / 2;
        justify-content: center;
        padding: 30px;
    }

    .div2 {
        background: url('../img/tadahiro-hayashi-1.jpg') 50%;
        background-size: cover;
        grid-area: 1 / 2 / 2 / 3;
    }

    .div3 {
        //background: url('../img/tadahiro-hayashi-2.jpg') 50%;
        background-size: cover;
        grid-area: 1 / 3 / 2 / 4;
    }

    .div4 {
        //align-items: flex-end;
        background: #fff;
        display: flex;
        justify-content: flex-end;
        grid-area: 1 / 4 / 2 / 5;
    }

    .div5 {
        //background: #1E1E1E;
        display: flex;
        flex-direction: column;
        grid-area: 2 / 1 / 3 / 2;
        justify-content: flex-end;
    }

    .div6 {
        //background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 30px;
        grid-area: 2 / 2 / 3 / 4;
    }

    .div7 {
        //background: url('../img/tadahiro-hayashi-3.jpg') 50%;
        background-size: cover;
        grid-area: 2 / 4 / 3 / 5;
    }

    .div8 {
        //background: url('../img/tadahiro-hayashi-4.jpg') 50%;
        background-size: cover;
        grid-area: 3 / 1 / 4 / 3;
    }

    .div9 {
        //background: url('../img/tadahiro-hayashi-5.jpg') 50%;
        background-size: cover;
        grid-area: 3 / 3 / 4 / 4;
    }

    .div10 {
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 30px;
        grid-area: 3 / 4 / 4 / 5;
    }
}

@media all and (min-width: 1200px) {
    body {
        align-items: center;
        display: flex;
        justify-content: center;
        min-height: 100vh;
        padding: 0;
    }

    .parent {
        display: grid;
        height: auto;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, auto);
        grid-column-gap: 15px;
        grid-row-gap: 15px;
        width: 1125px;
    }

    .div1 {
        align-items: center;
        background: #fff;
        display: flex;
        grid-area: 1 / 1 / 2 / 2;
        justify-content: center;
        padding: 30px;
    }

    .div2 {
        //background: url('../img/tadahiro-hayashi-1.jpg') 50%;
        background-size: cover;
        grid-area: 1 / 2 / 2 / 3;
    }

    .div3 {
        //background: url('../img/tadahiro-hayashi-2.jpg') 50%;
        background-size: cover;
        grid-area: 1 / 3 / 2 / 4;
    }

    .div4 {
        align-items: flex-end;
        background: #fff;
        display: flex;
        justify-content: flex-end;
        grid-area: 1 / 4 / 2 / 5;
    }

    .div5 {
        background: #1E1E1E;
        display: flex;
        flex-direction: column;
        grid-area: 2 / 1 / 3 / 2;
        justify-content: flex-end;
    }

    .div6 {
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 30px;
        grid-area: 2 / 2 / 3 / 4;
    }

    .div7 {
        //background: url('../img/tadahiro-hayashi-3.jpg') 50%;
        background-size: cover;
        grid-area: 2 / 4 / 3 / 5;
    }

    .div8 {
        //background: url('../img/tadahiro-hayashi-4.jpg') 50%;
        background-size: cover;
        grid-area: 3 / 1 / 4 / 3;
    }

    .div9 {
        //background: url('../img/tadahiro-hayashi-5.jpg') 50%;
        background-size: cover;
        grid-area: 3 / 3 / 4 / 4;
    }

    .div10 {
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 30px;
        grid-area: 3 / 4 / 4 / 5;
    }
}

@media all and (min-width: 142000px) {
    .parent {
        width: 1400px;
    }
}

.logo {
    max-width: 100%;
}

.flag {
    width: 100%;
}

.horse {
    width: 100%;
}

.header {
    color: #6C001A;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: .5em;
    text-transform: uppercase;
}

.subheader {
    color: #1E1E1E;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: .5em;
    text-transform: uppercase;
}

.text {
    color: #1E1E1E;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.125;
    margin-bottom: .5em;
}

.link {
    color: #1E1E1E;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    margin: .25em 0;
    text-decoration: none;
}

.modal-title {
    color: #6C001A;
    font-family: 'Lato', sans-serif;
    font-size: 32px;
    font-weight: 800;
}

.modal-body h1 {
    color: #6C001A;
    font-family: 'Lato', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: .5em;
}

.modal-body h2 {
    color: #6C001A;
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: .5em;
}

.modal-body h3 {
    color: #6C001A;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: .5em;
}

.modal-body h4 {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: .5em;
}

.modal-body p,
.modal-body li {
    color: #1E1E1E;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.125;
    margin-bottom: 1em;
}
