* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #efebe9;
  color: #3e2723;
}

body.no-scroll {
  overflow-y: hidden;
}

figure {
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  vertical-align: bottom;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: #3e2723;
}

.page {
  margin: 0 0 96px 0;
}

@media(max-width: 480px) {
    .page {
        margin: 0 0 48px 0;
    }
}

/* */

/* HEADER */

.jumbotron {
  width: 100%;
  height: 100vh;
  background: #d7ccc8;
  /*background: linear-gradient(rgba(121,85,72,.5), rgba(121,85,72,.5)), url(../img/0/abertura1.jpg) no-repeat center center;*/
  background: linear-gradient(rgba(62,39,35,.6), rgba(62,39,35,.6)), url(../img/0/abre.jpg) no-repeat center center;
  background-size: cover;
}

/* */

.a {
    /*background: linear-gradient(rgba(121,85,72,.5), rgba(121,85,72,.5)), url(../img/1/abre.jpg) no-repeat center center;*/
    background: linear-gradient(rgba(62,39,35,.5), rgba(62,39,35,.5)), url(../img/1/abre.jpg) no-repeat center bottom;
    background-size: cover;
}

.b {
    /*background: linear-gradient(rgba(121,85,72,.5), rgba(121,85,72,.5)), url(../img/2/abre.jpg) no-repeat center center;*/
    background: linear-gradient(rgba(62,39,35,.5), rgba(62,39,35,.5)), url(../img/2/abre.jpg) no-repeat center center;
    background-size: cover;
}

.c {
    /*background: linear-gradient(rgba(121,85,72,.5), rgba(121,85,72,.5)), url(../img/3/abre.jpg) no-repeat center center;*/
    background: linear-gradient(rgba(62,39,35,.5), rgba(62,39,35,.5)), url(../img/3/abre.jpg) no-repeat center center;
    background-size: cover;
}

.d {
    /*background: linear-gradient(rgba(121,85,72,.5), rgba(121,85,72,.5)), url(../img/3/abre.jpg) no-repeat center center;*/
    background: linear-gradient(rgba(62,39,35,.5), rgba(62,39,35,.5)), url(../img/4/abre.jpg) no-repeat center center;
    background-size: cover;
}

/* */

.container {
  width: 100%;
  height: 100%;
  padding: 48px;
}

.oesp {
    color: #efebe9;
    font-size: 28px;
}

.kicker {
  margin: 64px 0 0 0;
  font-family: 'Flama';
  font-size: 21px;
  font-weight: bold;
  text-transform: uppercase;
  color: #efebe9;
  /*opacity: .75;*/
}

h1 {
  margin: 8px 0 0 0;
  font-family: 'Estado Headline';
  font-size: 72px;
  font-weight: bold;
  line-height: 1;
  color: #efebe9;
}

h1.intro {
    margin: 64px 0 0 0;
    font-size: 40px;
    text-transform: uppercase;
    line-height: 1;
}

h1.intro span {
    display: block;
    font-size: 160px;
}

.lead {
  width: 100%;
  max-width: 480px;
  margin: 48px 0 0 0;
  font-family: "Freight Text";
  font-size: 24px;
  font-weight: bold;
  line-height: 1.5;
  color: #efebe9;
}

.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 48px 0 0 0;
  border: 1px solid #efebe9;
  border-radius: 50%;
}

.arrow:hover {
    cursor: pointer;
    background: rgba(255,255,255,.1);
}

.fa-chevron-down {
  color: #efebe9;
}

.jumbotron-caption {
    position: absolute;
    width: 100%;
    bottom: 0;
    right: 0;
    padding: 8px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.5;
    text-align: right;
    color: #fff;
    opacity: .5;
}

@media(max-width: 640px) {
    .container {
        width: 100%;
    }
    .kicker {
        font-size: 15.75px;
    }
    h1 {
        font-size: 54px;
    }
    h1.intro {
        font-size: 30px;
    }
    h1.intro span {
        font-size: 120px;
    }
    .lead {
        max-width: 288px;
        font-size: 18px;
    }
}

@media(max-width: 480px) {
    .container {
        padding: 16px;
    }
    .kicker {
        font-size: 15.75px;
    }
    h1 {
        font-size: 40px;
    }
    h1.intro {
        font-size: 30px;
    }
    h1.intro span {
        font-size: 120px;
    }
    .lead {
        max-width: 288px;
        font-size: 18px;
    }
}

/* NAVIGATION */

.navigation {
  display: flex;
  width: 100%;
  height: 96px;
  background: #fff;
  z-index: 2;
}

.navigation.fixed {
  position: fixed;
  bottom: 0;
  left: 0;
}

.prev {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 0 0 0 16px;
  transition: background ease .3s;
}

.prev:hover {
  cursor: pointer;
  background: #d7ccc8;
}

.next {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  text-align: right;
  padding: 0 16px 0 0;
  transition: background ease .3s;
}

.next:hover {
  cursor: pointer;
  background: #d7ccc8;
}

.nav-kicker {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  opacity: .5;
}

.nav-title {
  font-family: "Estado Headline";
  font-weight: bold;
  font-size: 28px;
}

@media(max-width: 640px) {
    .nav-kicker {
        font-size: 10px;
    }
    .nav-title {
        font-size: 21px;
    }
}

@media(max-width: 480px) {
    .navigation {
        height: 48px;
    }
    .nav-kicker {
        font-size: 10px;
    }
    .nav-title {
        font-size: 14px;
    }
}

/* STORY */

.authors {
    margin: 96px 0 0 0;
    font-family: "Flama";
    text-align: center;
    line-height: 1.5;
}

.author span {
    font-weight: 600;
}

.story {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 96px 0 0 0;
  padding: 0 16px;
}

p {
  width: 100%;
  max-width: 480px;
  margin: 32px 0 0 0;
  font-family: "Freight Text";
  font-size: 18px;
  line-height: 1.5;
}

@media(max-width: 480px) {
    p {
        font-size: 16px;
    }
}

p:first-child {
  margin: 0;
}

/* image */

.image-container {
  width: 100%;
  max-width: 480px;
  margin: 32px 0 0 0;
}

.large {
    max-width: 720px;
}

.graphic-container {
    padding: 32px;
    background: #e3dbd8;
}

.small-image {
    display: none;
}

@media(max-width: 420px) {
    .large-image {
        display: none;
    }
    .small-image {
        display: block;
    }
}



@media(max-width:480px) {
    .graphic-container {
        padding: 8px;
    }
}

figcaption {
  margin: 8px 0 0 0;
  padding: 0 0 0 0;
  /* border-bottom: 1px solid #bcaaa4; */
  font-size: 14px;
  font-weight: bold;
  opacity: .5;
}

/* gallery */

.gallery {
  width: 100%;
  max-width: 480px;
  margin: 32px 0 0 0;
}

.gallery .image-container {
  margin: 0;
}

.slick-prev {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 24px;
  background: #fff;
  border: none;
  z-index: 1;
  transition: background ease .3s;
}

.slick-prev:hover {
  cursor: pointer;
  background: #d7ccc8;
}

.slick-next {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 24px;
  background: #fff;
  border: none;
  transition: background ease .3s;
}

.slick-next:hover {
  cursor: pointer;
  background: #d7ccc8;
}

.fa-angle-left {
  font-size: 21px;
  color: #3e2723;
}

.fa-angle-right {
  font-size: 21px;
  color: #3e2723;
}

/* row */

.row {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 840px;
}

aside {
    width: 100%;
    max-width: 180px;
    margin: 32px 0 0 0;
    padding: 0 16px 0 0;
}

aside figure {
    position: relative;
}

aside figure:hover {
    cursor: pointer;
}

aside figure:hover:after {
    content:'\f002';
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: 'FontAwesome';
    background: rgba(121,85,72,.95);
    color: #efebe9;
}

.aside-caption {
    font-size: 12px;
    font-weight: bold;
    margin: 8px 0 0 0;
    line-height: 1.5;
    opacity: .5;
}

@media(max-width:872px) {
    p {
        margin: 32px auto 0 auto;
    }
    .row {
        display: block;
    }
    aside {
        float: right;
        padding: 0 0 16px 16px;
    }
}

@media(max-width:480px) {
    aside {
        float: none;
        max-width: 100%;
        padding: 0;
    }
}

/* SHARE */

.sharebar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 96px 0 0 0;
}

.sharebar ul {
    display: flex;
}

.sharebar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 8px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 50%;
    transition: background ease .3s;
}

.sharebar a:hover {
  cursor: pointer;
  background: #d7ccc8;
}

/* CREDITS */

.credits {
    width: 100%;
    max-width: 480px;
    margin: 96px auto 0 auto;
    padding: 16px 16px 48px 16px;
    border-top: 1px solid rgba(0,0,0,.1);
    font-size: 11px;
    text-align: center;
    line-height: 1.5;
}

/* MENU OVERLAY */

.open {
  display: flex;
  align-items: center;
  position: fixed;
  top: 48px;
  right: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: #fff;
  transition: background ease .3s;
}

.open:hover {
  cursor: pointer;
  background: #d7ccc8;
}

.open span {
  padding: 0 0 0 16px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.close {
  position: fixed;
  top: 48px;
  right: 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: #fff;
  transition: background ease .3s;
}

.close:hover {
  cursor: pointer;
  background: #d7ccc8;
}

.overlay {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100vh;
  padding: 0 16px;
  /* background: #795548 */
  background: rgba(121,85,72,.95);
  overflow-y: scroll;
  z-index: 3;
}

.overlay.visible {
  visibility: visible;
}

@media(max-width: 480px) {
    .open {
        top: 16px;
        right: 16px;
    }
    .open span {
        display: none;
    }
}

/* IMAGE OVERLAY */

.image-overlay {
    visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 16px;
    background: rgba(121,85,72,.95);
    overflow-y: scroll;
    z-index: 3;
}

.image-overlay.visible {
    visibility: visible;
}

.image-overlay figure {
    width: 100%;
    max-width: 720px;
}

.overlay-caption {
    width: 100%;
    max-width: 720px;
    margin: 16px 0 0 0;
    font-weight: bold;
    color: #efebe9;
    opacity: .5;
}

/* MENU */

.menu {
  width: 100%;
  max-width: 480px;
  margin: 144px 0 0 0;
}

.menu-item {
  display: flex;
  align-items: flex-start;
  margin: 32px 0 0 0;
  padding: 0 0 32px 0;
  border-bottom: 1px solid #8d6e63;
}

.menu-item:first-child {
  margin: 0;
}

.menu-item:last-child {
  padding: 0 0 144px 0;
  border-bottom: none;
}

.menu-item img {
    max-width: 150px;
}

.item-kicker {
  margin: 0 0 0 16px;
  font-weight: bold;
  text-transform: uppercase;
  color: #efebe9;
  opacity: .5;
}

.item-title {
  margin: 0 0 0 16px;
  font-family: "Estado Headline";
  font-weight: bold;
  font-size: 32px;
  color: #efebe9;
}

@media(max-width: 480px) {
    .close {
        top: 16px;
        right: 16px;
    }
    .menu-item {
        flex-direction: column;
    }
    .menu-item img {
        max-width: 100%;
    }
    .item-kicker {
        margin: 16px 0 0 0;
    }
    .item-title {
        margin: 0;
    }
}

/* VIDEO */

.media-video-wrapper {
    width: 100%;
    max-width: 480px;
    margin-top: 32px;
}

/* MAP */

.wrapper {
    width: 100%;
    max-width: 480px;
    margin: 32px 0 0 0;
}

.map-container {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
