/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
* {
  /*font-weight: 300;*/
  line-height: 1.8;
}

*,
button,
input,
optgroup,
select,
textarea {
  font-family: 'Raleway', sans-serif;
}

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none; }

::selection {
  background: #b3d4fc;
  text-shadow: none; }

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0; }

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle; }

svg {
  font-size: 0.95em !important; }

.img--full-width {
  width: 100%;
  padding: 10px; }

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0; }

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical; }

h1,
h2,
h3,
h4,
.menu-list-item a {
  margin: 0;
  letter-spacing: 1.5px;
  font-weight: 300;
  font-family: 'Alfa Slab One', cursive !important; }

h1 {
  font-size: 3.1em;
  /*font-weight: 700;*/
  /*letter-spacing: 3px;*/
  /*text-transform: uppercase;*/ }

h2 {
  font-size: 2.5em;
  color: #394d6d; }

h3 {
  font-size: 2em;
  color: #394d6d; }

h4 {
  font-size: 1.25em; }

p {
  margin: 3px 0; }

a:hover {
  text-decoration: none; }

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0; }

/* ==========================================================================
   Header
   ========================================================================== */
#logo {
  z-index: 994; }

#menu {
  position: fixed;
  top: -110%;
  left: 0;
  background: #5578a5;
  /*opacity: 0.9;*/
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: 998;
  text-align: center;
  transition: .4s ease all; }
  #menu.open {
    top: 0; }

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 16vh; }

.menu-list-item {
  font-size: 52px;
  padding: 15px 0; }

.menu-list-item a {
  color: #fff; }

.menu-list-item:hover a {
  color: #394d6d; }

.menu-list-item:hover a .text-tertiary {
  color: #ffffff; }

a.menu-list-item-link__active {
  color: #383838 !important; }

.ontop {
  z-index: 999; }

#nav-icon {
  margin-top: 13px;
  width: 36px;
  height: 40px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer; }

#nav-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #fafafa;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out; }

#nav-icon:hover span {
  background: #394d6d; }

#nav-icon span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center; }

#nav-icon span:nth-child(2) {
  top: 13px;
  width: 70%;
  left: 0;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center; }

#nav-icon span:nth-child(3) {
  top: 26px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center; }

#nav-icon.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: -3px;
  left: 0px; }

/*#nav-icon.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}*/
#nav-icon.open span:nth-child(2) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  width: 100%;
  top: 23px;
  left: 0px; }

#nav-text {
  padding: 0 6px;
  font-size: 22px;
  font-weight: 300; }

.loading-screen {
  /*background: url('../img/bg.png');*/
  /*background: #fefefe;*/
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  text-align: center;
  padding-top: 30vh;
  font-size: 38px;
  width: 100%;
  height: 100%;
  color: #fff;
  opacity: 0;
  transition: .6s ease-in-out all;
}

.loading-screen.open {
  opacity: 1;
  z-index: 990;
}

.form-control {
  margin: 10px 0;
  padding: 12px 25px;
  background: transparent;
  border: 1px solid #fff;
  color: #fafafa;
  font-size: 20px;
  font-weight: 300;
}

.form-control::placeholder {
  color: #fafafa;
}

.form-control:focus {
  background: transparent;
  outline: 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.slider > div {
  overflow: hidden;
  font-weight: 300; }

.slick-dots {
  padding: 0;
  padding-top: 10px;
  margin: 0;
  list-style: none;
  text-align: center; }

.slick-dots li {
  float: left;
  padding: 5px; }

.slick-dots button {
  font-size: 0;
  border-radius: 0;
  height: 2px;
  width: 16px;
  border: 0;
  outline: none;
  display: block; }

.slick-dots li.slick-active button {
  height: 7px;
  margin-top: -2px; }

body {
  /*background: url('../img/bg.png') fixed;*/
  /*background-attachment: fixed;*/
  background: #a7b9cc;
  color: #fafafa;
  font-size: 14px;
  overflow-x: hidden; }

header {
  margin: 20px 20px 0 0; }

footer {
  width: 100%;
  padding: 0 10px;
  /*border-bottom: 1px solid #fff;*/
  /*background: #fff;*/
  opacity: 0.8;
  padding: 3px 0;
  position: fixed;
  bottom: 0;
  left: 0; }

footer img {
  height: 50px; }

main {
  /*max-height: 85vh;*/
  /*overflow: scroll;*/
  /*font-size: 32px;*/ }

section {
  padding: 8px 0; }

.btn {
  padding: 12px 25px;
  background: transparent;
  border: 1px solid #fafafa;
  color: #fafafa;
  border-radius: 2px;
  font-size: 20px;
  font-weight: 300;
}

.btn:hover {
  background: #fafafa; }

.p--emphasised {
  color: #5578a5;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0px 0px 2px #ffffff; }

.border-special-bottom::after {
  display: block;
  content: "";
  width: 70px;
  height: 3px;
  background: #3b4d6e; }

.border-special-bottom.text-center::after {
  margin-left: 47%;
  margin-top: 4px; }

a {
  color: #5578a5; }

.text-secondary,
.btn:hover {
  color: #5578a5 !important; }

.badge-pill {
  padding: 0.7em 1.2em !important;
  font-weight: 700; }

.text-bold-full {
  font-weight: 700; }

.text-bold-medium {
  font-weight: 500; }

.text-tertiary, em {
  color: #394d6d;
  font-style: normal; }

.col-md-6,
.col-md-3 {
  margin: 0 !important;
  padding: 0 6px 9px !important; }

.portfolio-list {
  text-align: center; }

.portfolio-list__item {
  height: 110px;
  width: 110px;
  margin-left: -20px;
  border-radius: 5px;
  box-shadow: -2px 2px 8px 1px #2d2d2da6; }

.portfolio-list:hover .portfolio-list__item {
  -webkit-filter: brightness(60%);
  filter: brightness(60%);
  cursor: pointer; }

.portfolio-list:hover .portfolio-list__item:hover {
  -webkit-filter: brightness(100%);
  filter: brightness(100%); }

.-one {
  background: #394d6d;
  border-radius: 82% 76% 70% 74%;
  animation: drift 30000ms infinite linear; }

.-two {
  background: #394d6d;
  border-radius: 68% 63% 54% 60%;
  animation: drift 60000ms infinite linear; }

.-three {
  background: #394d6d;
  border-radius: 52% 59% 70% 62%;
  animation: drift 90000ms infinite linear; }

@keyframes drift {
  from {
    transform: rotate(0deg); }
  from {
    transform: rotate(360deg); } }

#ocean {
  background: #5578a5;
  /* 394d6d  #7f9ec0 */
  position: fixed;
  width: 100%;
  min-height: 100%; }

/*.wave {
    position: fixed;
    top: -250%;
    left: -50%;
    width: 200%;
    height: 320%;
    opacity: .6;
}*/
.wave {
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #5578a5), color-stop(0.5, #a7b9cc));
  display: inline-block;
  height: 85%;
  width: 10px;
  position: absolute;
  -webkit-animation-name: wave;
  -webkit-animation-duration: 4s;
  -webkit-animation-iteration-count: infinite;
  -webkit-transition-timing-function: ease-in-out; }

@-webkit-keyframes wave {
  0% {
    height: 85%; }
  50% {
    height: 55%; }
  100% {
    height: 85%; } }

/* ==========================================================================
   Helper classes
   ========================================================================== */
.text-shadow {
  text-shadow: 1px 2px #000000; }

.text-huge {
  font-size: 40px; }

.text-large {
  font-size: 30px; }

.text-medium {
  font-size: 20px; }

/*
 * Hide visually and from screen readers
 */
.hidden {
  display: none !important; }

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
  /* 1 */ }

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  -webkit-clip-path: none;
  clip-path: none;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit; }

/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
  visibility: hidden; }

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */ }

.clearfix:after {
  clear: both; }

.shine:after {
  content: "";
  position: absolute;
  top: -190%;
  left: -210%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transform: rotate(30deg);
  background: rgba(255, 255, 255, 0.13);
  background: linear-gradient(to right, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.13) 77%, rgba(255, 255, 255, 0.5) 92%, rgba(255, 255, 255, 0) 100%); }

/* Hover state - trigger effect */
.shine:hover:after {
  opacity: 1;
  top: -30%;
  left: -30%; }

.shine:after,
.shine:hover:after {
  transition-property: left, top, opacity;
  transition-duration: 0.6s, 0.7s, 0.15s;
  transition-timing-function: ease; }

/* Active state */
.shine:active:after {
  opacity: 0; }

.portfolio-list,
.portfolio-list__item,
.portfolio-list__item-label {
  transition: all 0.5s ease; }

@-webkit-keyframes pulse {
  0% {
    opacity: 0.2; }
  60% {
    opacity: 1; }
  100% {
    opacity: 0.2; } }

@-moz-keyframes pulse {
  0% {
    opacity: 0.2; }
  60% {
    opacity: 1; }
  100% {
    opacity: 0.2; } }

@-o-keyframes pulse {
  0% {
    opacity: 0.2; }
  60% {
    opacity: 1; }
  100% {
    opacity: 0.2; } }

@keyframes pulse {
  0% {
    opacity: 0.2; }
  60% {
    opacity: 1; }
  100% {
    opacity: 0.2; } }

.pulse {
  -webkit-animation: pulse .8s infinite;
  /* Safari 4+ */
  -moz-animation: pulse .8s infinite;
  /* Fx 5+ */
  -o-animation: pulse .8s infinite;
  /* Opera 12+ */
  animation: pulse .8s infinite;
  /* IE 10+, Fx 29+ */ }

.fixed-right,
.fixed-left {
  position: fixed;
  top: 15px; }

.fixed-left {
  left: 20px; }

.fixed-right {
  right: 25px; }

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media (max-width: 600px) {
  .logo-link {
    display: none !important;
  }
  .page-title {
    text-align: left !important;
  }
}

@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */ }

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important; }
  a,
  a:visited {
    text-decoration: underline; }
  a[href]:after {
    content: " (" attr(href) ")"; }
  abbr[title]:after {
    content: " (" attr(title) ")"; }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: ""; }
  pre {
    white-space: pre-wrap !important; }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid; }
  /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group; }
  tr,
  img {
    page-break-inside: avoid; }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3; }
  h2,
  h3 {
    page-break-after: avoid; } }
