/**
 * index.scss
 * - Add any styles you want here!
 */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Josefin Slab';
  background: #ffeeec;
}

h1 {
  font-family: 'Yesteryear';
  padding: 0;
  font-size: 2.8em;
  color: #111;
  float: left;
  transition: 250ms ease-in-out;
}

@media (min-width: 970px) {
  h1 {
    font-size: 3.1em;
    line-height: 50px;
  }
}

hr {
  margin: 0 auto;
  width: 70%;
  max-width: 600px;
  border: 0;
  border-bottom: 2px dotted #f26161;
  outline: 0px solid transparent;
  background: none;
}

.site-canvas {
  position: relative;
}

nav {
  position: fixed;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  background: #ffeeec;
  z-index: 900;
}

.nav-wrap {
  margin: auto;
  padding: 0 30px;
  width: 100%;
  max-width: 1680px;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: 250ms ease-in-out;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .nav-wrap {
    padding: 40px;
  }
}

.shrink-nav .nav-wrap {
  padding: 20px 30px;
  left: 0;
  right: 0;
  border-color: transparent;
}

.shrink-nav nav h1 {
  font-size: 2em;
}

nav .links {
  float: right;
  display: none;
}

@media (min-width: 970px) {
  nav .links {
    display: block;
  }
}

nav a {
  position: relative;
  margin: 0 0 0 10px;
  color: #111;
  padding: 0 15px;
  line-height: 50px;
  font-size: 1.2em;
  text-decoration: none;
  float: left;
  transition: 150ms ease-in-out;
  display: block;
}

nav a:hover {
  color: #fff;
}

nav a:before {
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: #111;
  opacity: 0;
  border-radius: 4px;
  transition: 150ms ease-in-out;
  z-index: -1;
  content: '';
}

nav a:hover:before {
  height: 100%;
  opacity: 1;
}

.links_focus {
  border-radius: 4px;
  background: #111;
  color: #fff;
}

.links_focus:hover {
  background: #f26161;
}

.intro {
  margin: 140px 30px 40px;
}

.intro:after {
  display: table;
  clear: both;
  content: '';
}

@media (min-width: 640px) {
  .intro {
    margin: 130px 40px 40px;
  }
}

@media (min-width: 1600px) {
  .intro {
    margin: 130px auto 40px;
    width: calc(100% - 80px);
    max-width: 1680px;
  }
}

@media (min-width: 970px) {
  .intro_text {
    margin-right: 40px;
    width: 360px;
    float: left;
  }
}

.intro_text h2 {
  margin: 0 0 20px;
  padding-bottom: 20px;
  font-size: 1.8em;
  font-weight: 700;
  border-bottom: 2px dotted #f26161;
  display: block;
}

@media (min-width: 640px) {
  .intro_text h2 {
    margin-top: 40px;
    font-size: 2.5em;
  }
}

@media (min-width: 970px) {
  .intro_text h2 {
    margin: 80px 0 20px;
  }
}

.intro_text p {
  font-size: 1.1em;
  line-height: 1.3em;
  width: 100%;
  clear: both;
  display: block;
}

@media (min-width: 640px) {
  .intro_text p {
    font-size: 1.4em;
    line-height: 1.4em;
  }
}

.cta {
  margin: 40px 0 0;
  line-height: 60px;
  padding: 0 25px;
  background: #111;
  color: #fff;
  font-size: 1.3em;
  border-radius: 4px;
  text-decoration: none;
  transition: 150ms ease-in-out;
  display: inline-block;
}

.cta:hover {
  background: #f26161;
}

.cover {
  position: relative;
  width: 100%;
  margin-top: 40px;
  overflow: hidden;
}

@media (min-width: 970px) {
  .cover {
    width: calc(100% - 400px);
    height: calc(100vh - 250px);
    max-height: 850px;
    padding: 0;
    float: left;
  }
}

.cover_image {
  position: relative;
  width: 100%;
  padding-bottom: 60%;
  margin-bottom: 40px;
  background: rgba(200, 0, 0, 0.05) 50% 50%/cover no-repeat;
  opacity: 0;
  transition: 250ms ease-in-out;
}

.cover_image:nth-child(odd) {
  margin-left: 0;
}

@media (min-width: 970px) {
  .cover_image {
    margin: 0 0 40px 40px;
    width: calc(50% - 20px);
    height: calc(50% - 20px);
    padding: 0;
    float: left;
  }
  .cover_image:nth-child(odd) {
    margin-left: 0;
  }
}

.cover_image.show {
  opacity: 1;
}

.info {
  background: #fff;
  padding: 60px 0;
  font-size: 1.3em;
  line-height: 1.3em;
  text-align: center;
  clear: both;
}

.info-wrap {
  margin: auto;
  max-width: 1680px;
}

.info_block {
  margin: 0 1%;
  width: 22%;
  display: inline-block;
}

.info_icon {
  font-size: 3em;
  margin-bottom: 30px;
  color: #f26161;
}

.video {
  margin: 60px auto 0;
  width: 80%;
  max-width: 900px;
  background: rgba(200, 0, 0, 0.05);
}

.photos {
  padding: 80px 0;
}

.photos_block {
  position: relative;
  margin: 0 auto 80px;
  max-width: 1100px;
}

.photos_block:after {
  display: table;
  clear: both;
  content: '';
}

.photos_img {
  width: 55%;
  float: right;
  height: 350px;
  background: rgba(200, 0, 0, 0.05) url() 50% 50%/cover no-repeat;
  box-shadow: 10px 10px 0 #f2616133;
}

.photos_text {
  position: absolute;
  top: 50%;
  width: 45%;
  transform: translate(0, -50%);
  font-size: 1.4em;
  line-height: 1.4em;
  padding-right: 40px;
  box-sizing: border-box;
}

.photos_block:nth-child(even) .photos_img {
  float: left;
  box-shadow: -10px 10px 0 #f2616133;
}

.photos_block:nth-child(even) .photos_text {
  right: 0;
  padding: 0;
  padding-left: 40px;
}

.photos_block:last-child {
  margin-bottom: 0;
}

footer {
  margin-top: 80px;
  padding: 60px 0;
  background: #fff;
  text-align: center;
  color: #111;
}

.footer_links a {
  color: #111;
  margin: 0 5px;
  font-size: 1.3em;
  padding: 0 15px;
  line-height: 50px;
  text-decoration: none;
  display: inline-block;
}

.footer_logo {
  font-family: 'Yesteryear';
  font-size: 3em;
  padding: 0 0 40px;
}

.footer_details {
  padding-top: 40px;
  font-size: 1.2em;
}

.full-page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffeeec;
  z-index: 10000;
}

.full-page-loader:before {
  position: fixed;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 30px;
  height: 30px;
  border: 4px solid #111;
  border-left-color: transparent;
  border-radius: 100%;
  animation: 800ms spinLoader linear infinite;
  content: "";
}

@keyframes spinLoader {
  100% {
    transform: rotate(360deg);
  }
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity .5s;
}

.fade-enter,
.fade-leave-to {
  opacity: 0;
}