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

/* FONTS */
/* latin */
@font-face {
  font-family: 'Libre Bodoni';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/librebodoni/v5/_Xm--H45qDWDYULr5OfyZudXzSBgY2oMBGte6I1f8WvTcQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/firasans/v16/va9E4kDNxMZdWfMOD5Vvl4jL.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Suez One';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/suezone/v11/taiJGmd_EZ6rqscQgOFOmos.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* - FONTS - */

body, html {
    width: 100%;
    font-size: 16px;
    font-family: 'Fira Sans', Tahoma, sans-serif;
    background-color: #f0b9bb;
}

h1, h2, h3, h4, h5 {
    font-family: 'Suez One', Tahoma, sans-serif;
    color: #1b50a2;
    margin-top: 1em;
    margin-bottom: 0.6em;
}

h1 {
    font-size: 3rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.6rem;
}
h4 {
    font-size: 1.3rem;
}

p {
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 1.4em;
}

a {
    text-decoration: none;
    color: white;
    font-family: inherit;
}

a:hover {
    color: #1b50a2;
}

.body__parent {
    width: 100%;
    text-align: center;
}

.body__wrapper {
    margin: 0 auto;
    max-width: 1020px;
    text-align: left;
    padding-left: 1em;
    padding-right: 1em;
}

.header {
    margin-top: 3em;
    margin-bottom: 3em;
    text-align: center;
}

.header__navigation {
    margin-top: 1em;
    margin-bottom: 1em;
    color: white;
    font-size: 1.8rem;
}

.header__navigation ul {
    display: inline;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header__navigation li {
    display: inline;
    padding-right: 0.8em;
    padding-right: 0.8em;
}

.header__navigation li+li {
    border-left: 1px solid white;
    padding-left: 1em;
}

.header__navigation a {
    text-decoration: none;
    color: white;
    white-space: nowrap;
    line-height: 1.4em;
}

.work__item {
    text-align: center;
}

.work__description {
    margin: 2em auto;
    max-width: 80%;
}

.carousel__images {
    overflow: hidden;
    overflow-x: scroll;
    scrollbar-color: transparent transparent;
    scrollbar-width: 0px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    height: 400px;
    max-width: 100%;
    white-space: nowrap;
}

.carousel__images::-webkit-scrollbar {
  width: 0;
}

.carousel__image {
    height: 100%;
    width: 100%;
    margin-right: 1.5em;
    display: inline-block;
    scroll-snap-align: center;
    vertical-align: middle;
}

.carousel__image img,
.gallery__image img {
    max-height: 100%;
    max-width: 100%;
}

.carousel__controls {
    font-weight: bold;
    font-family: 'Suez One';
    font-size: 1.8rem;
}

.carousel__control {
    padding-left: 1rem;
    padding-right: 1rem;
    background: #1b50a2;
    border-radius: 3px;
}

.carousel__control:hover {
    background: white;
}

@media only screen and (max-device-width: 480px) {
    .header__navigation {
        font-size: 1.2rem;
    }

    .body__wrapper {
        padding: 0 1em;
    }

    .carousel__images {
        height: 60vh;
        max-width: 80%;
        margin: 0 auto;
    }

    .carousel__controls {
        display: none;
    }
}

.gallery__images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery__image {
    max-width: 24%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
    margin-top: 1em;
    margin-bottom: 1em;
}

.external-link {
    display: inline-flex;
    align-items: center;
}

.external-link img {
    margin-right: 0.8em;
}
