/* --------------------------------

Primary style

-------------------------------- */
@font-face {
  font-family: "Brandon Grotesque";
  src: url('../src/Brandon_reg.otf');
}

@font-face {
  font-family: "Brandon Grotesque Bold";
  src: url('../src/brandongrotesque-black-webfont.ttf');
}

*, *::after, *::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Brandon Grotesque", sans-serif;
  color: #3d3536;
  background-color: white;
}

a {
  color: #990000;
  text-decoration: none;
}

h2 {
  font: bold 2em "Brandon Grotesque", sans-serif;
}

h1 {
  font: normal 2em "Brandon Grotesque Bold", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --------------------------------

Resource style

-------------------------------- */
.cd-main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.cd-main-header:after {
  /* clearfix */
  content: "";
  display: table;
  clear: both;
}

.cd-main-header__logo {
  float: left;
  margin: 13px 0 0 5%;
}

.cd-main-header__logo img {
  display: block;
}

img.deportees {
  display: none;
}

.video {
  display: block;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 360px;
  height: 360px;
}

@media only screen and (min-width: 768px) {
  .cd-main-header {
    height: 70px;
  }
  .cd-main-header__logo {
    margin: 23px 0 0 5%;
  }

  img.deportees {
    display: block;
    margin: 0 auto 40px;
    width: 100%;
  }

  .video {
    width: 640px;
    height: 360px;
  }

}

.cd-main-nav {
  float: right;
  margin-right: 5%;
  width: 44px;
  height: 100%;
  background: url("../img/cd-icon-menu.svg") no-repeat center center;
  background-size: 44px 44px;
  cursor: pointer;
}

.cd-main-nav__list {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-100%);
      -ms-transform: translateY(-100%);
          transform: translateY(-100%);
}

.cd-main-nav__list.cd-main-nav__list--is-visible {
  -webkit-transform: translateY(50px);
      -ms-transform: translateY(50px);
          transform: translateY(50px);
}

.cd-main-nav__list a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 5%;
  background: #2f292a;
  border-top: 1px solid #453c3d;
  color: #8e7d7f;
}

@media only screen and (min-width: 768px) {
  .cd-main-nav {
    /* reset style */
    width: auto;
    height: auto;
    background: none;
    cursor: auto;
  }
  .cd-main-nav__list {
    /* reset style */
    position: static;
    width: auto;
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
    line-height: 70px;
  }
  .cd-main-nav__list.cd-main-nav__list--is-visible {
    /* reset style */
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
  }
  .cd-main-nav__list li {
    display: inline-block;
    margin-left: 1em;
  }
  .cd-main-nav__list a {
    display: inline-block;
    height: auto;
    line-height: normal;
    background: transparent;
    padding: .6em 1em;
    border-top: none;
    color: #3d3536;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.4rem;
  }
  .cd-main-nav__list a:hover {
    color: #99a478;
  }
}

.cd-fixed-bg {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 1;
}

.cd-fixed-bg__content, .cd-fixed-bg h1 {
  position: absolute;
  left: 50%;
  top: 12%;
  bottom: auto;
  right: auto;
  transform: translate(-50%,-12%);
  width: 90%;
  max-width: 1170px;
  margin: 0 auto;
  text-align: center;
}

.cd-fixed-bg h1, .cd-fixed-bg h2 {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color: #303030;
}

.cd-fixed-bg.cd-fixed-bg--1 {
  background-image: url("../img/TheDeportedVR.gif");
}

.cd-fixed-bg.cd-fixed-bg--2 {
  background-image: url("../img/02-start.jpg");
}

.cd-fixed-bg.cd-fixed-bg--3 {
  background-image: url("../img/03-deported.jpg");
}

.cd-fixed-bg.cd-fixed-bg--4 {
  background-image: url("../img/04-cookie.jpg");
}

.cd-fixed-bg.cd-fixed-bg--5 {
  background-image: url("../img/05-destinee.jpg");
}

.cd-fixed-bg.cd-fixed-bg--6 {
  background-image: url("../img/06-pastormo.jpg");
}

.cd-fixed-bg.cd-fixed-bg--7 {
  background-image: url("../img/07-teampic-h2000.jpg");
  background-size: auto 100%;
}

@media only screen and (min-width: 768px) {
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-size: 2.8rem;
  }
}

@media only screen and (min-width: 1170px) {
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-size: 3.8rem;
    font-weight: 300;
  }
  @supports (background-attachment: fixed) {
    /* fix bug on IE11 and below */
    .cd-fixed-bg {
      background-attachment: fixed;
    }
  }
}

.cd-scrolling-bg, .cd-scrolling-bg-footer {
  position: relative;
  min-height: 100%;
  padding: 4em 0;
  line-height: 1.6;
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  z-index: 2;
}

.cd-scrolling-bg {
  background-color: #fff;
  color: #333;
}

.cd-scrolling-bg__content {
  width: 90%;
  max-width: 768px;
  margin: 0 auto;
}

@media only screen and (min-width: 768px) {
  .cd-scrolling-bg {
    padding: 8em 0;
    font-size: 2rem;
    line-height: 1.6;
    font-weight: 300;
  }
}
