/* HEADER */



/* Table of Content
==================================================
	- Google fonts & font family -
	- General -
    - typography -
    - Preloader -
	- Header -
    - box intro section -
    - Portfoilo section -
    - Footer -
    - About page -
    - Services page -
    - contact page -
    - Portfolio single page -
    - Responsive media queries -
*/


/* Google fonts & font family
==================================================*/

@import url(https://fonts.googleapis.com/css?family=Poppins:400,500,600,700);

/* General
==================================================*/

html,
body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    color: #ffffff
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
}

.no-padding [class^="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.main-container {
    padding: 100px 0;
}

.center {
    text-align: center;
}

a {
    -webkit-transition: all .3s;
    transition: all .3s
}

.uppercase {
    text-transform: uppercase;
}

.h-30 {
    height: 30px
}

.h-10 {
    height: 10px
}

.color {
    color: #ffbf00;
    font-size: 11px;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f5f5f5;
    /* change if the mask should be a color other than white */
    z-index: 1000;
    /* makes sure it stays on top */
}

.pre-container {
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    position: relative;
    margin: 100px auto;
}

.double-bounce1,
.double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #ffbf00;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: bounce 2.0s infinite ease-in-out;
    animation: bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes bounce {
    0%,
    100% {
        -webkit-transform: scale(0.0)
    }
    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }
    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}


/* headr
==================================================*/

.box-header {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    height: 50px;
    width: 100%;
    z-index: 3;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.box-header {
    height: 80px;
    box-shadow: none;
}

.box-header {
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.box-header.is-fixed {
    position: fixed;
    top: -80px;
    background-color: rgba(255, 255, 255, 0.96);
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

.box-header.is-visible {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
}

.box-header.menu-is-open {
    background-color: rgba(255, 255, 255, 0.96);
}

.box-logo {
    display: block;
    padding: 20px;
}

.box-primary-nav-trigger {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background-color: #fff;
}

.box-primary-nav-trigger .box-menu-text {
    color: #000000;
    text-transform: uppercase;
    font-weight: 700;
    display: none;
}

.box-primary-nav-trigger .box-menu-icon {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 18px;
    height: 2px;
    background-color: #393939;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    list-style: none;
}

.box-primary-nav-trigger .box-menu-icon::before,
.box-primary-nav-trigger .box-menu-icon:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #393939;
    right: 0;
    -webkit-transition: -webkit-transform .3s, top .3s, background-color 0s;
    -webkit-transition: top .3s, background-color 0s, -webkit-transform .3s;
    transition: top .3s, background-color 0s, -webkit-transform .3s;
    transition: transform .3s, top .3s, background-color 0s;
    transition: transform .3s, top .3s, background-color 0s, -webkit-transform .3s;
}

.box-primary-nav-trigger .box-menu-icon::before {
    top: -5px;
}

.box-primary-nav-trigger .box-menu-icon::after {
    top: 5px;
}

.box-primary-nav-trigger .box-menu-icon.is-clicked {
    background-color: rgba(255, 255, 255, 0);
}

.box-primary-nav-trigger .box-menu-icon.is-clicked::before,
.box-primary-nav-trigger .box-menu-icon.is-clicked::after {
    background-color: 393939;
}

.box-primary-nav-trigger .box-menu-icon.is-clicked::before {
    top: 0;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

.box-primary-nav-trigger .box-menu-icon.is-clicked::after {
    top: 0;
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
}

.box-primary-nav-trigger {
    width: 100px;
    padding-left: 1em;
    background-color: transparent;
    height: 30px;
    line-height: 30px;
    right: 10px;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.box-primary-nav-trigger .box-menu-text {
    display: inline-block;
}

.box-primary-nav-trigger .box-menu-icon {
    left: auto;
    right: 1em;
    -webkit-transform: translateX(0) translateY(-50%);
    transform: translateX(0) translateY(-50%);
}

.box-primary-nav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.96);
    z-index: 2;
    text-align: center;
    padding: 50px 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    list-style: none;
}

.box-primary-nav li {
    font-size: 22px;
    font-size: 1.375rem;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: .2em 0;
    text-transform: capitalize;
}

.box-primary-nav a {
    display: inline-block;
    padding: .4em 1em;
    border-radius: 0.25em;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
.box-primary-nav a:focus {
    outline: none;
}

.no-touch .box-primary-nav a:hover {
    text-decoration: none;
    color: #ddd;
}

.box-primary-nav .box-label {
    color: #ffbf00;
    text-transform: uppercase;
	text-align:center;
    font-weight: 700;
    font-size: 17px;
    margin: 2.4em 0 .8em;
}

.box-primary-nav .box-social {
    display: inline-block;
    margin: 10px .4em;
}

.box-primary-nav .box-social a {
    width: 30px;
    height: 30px;
    padding: 0;
    font-size: 30px
}

.box-primary-nav.is-visible {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.box-primary-nav {
    padding: 150px 0 0;
}

.box-primary-nav li {
    font-size: 18px;
}


/* HEADER END */




* {
  box-sizing: border-box;
}

.cover {
  margin-top: 3%;
	background-image: url(bg.jpg);
  background-size: cover;
	
  /* background-image: url("https://images.unsplash.com/photo-1445052520430-32c8ebc92fe3?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=ef2a28d65008720054e155d5ba3f29a6&auto=format&fit=crop&w=1650&q=80");
  background-size: cover;*/
  background-position: center;
  color: #ffffff;
  font-family: "Lato", sans-serif;
  padding: 2em;
}

.cover2 {
  margin-top: 3%;
  background-size: cover;
  background-image: url("https://images.unsplash.com/photo-1445052520430-32c8ebc92fe3?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=ef2a28d65008720054e155d5ba3f29a6&auto=format&fit=crop&w=1650&q=80");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  font-family: "Lato", sans-serif;
  padding: 2em;
}

.cover__content {
  max-width: 1000px;
  margin: 0 auto;
}

.top-section {
  background-color: #ffffff;
  color: #555C62;
  padding: 3em;
  margin-bottom: 4em;
}
.top-section__content {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.top-section .content-preview {
  flex: 0 1 230px;
}
@media screen and (max-width : 1278px ){
  .top-section .content-preview {
    flex-grow: 1;
  }
}

.logo {
  display: none;
}

.title {
  display: flex;
  align-items: last baseline;
  margin-bottom: 2em;
  flex-wrap: wrap;
}
.title__text {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 3em;
  flex-grow: 1;
  letter-spacing: 0.025em;
  margin-bottom: 0.33em;
}
@media screen and (min-width: 520px) {
  .title__text {
    font-size: 4em;
  }
}
@media screen and (min-width: 700px) {
  .title__text {
    font-size: 6em;
  }
}
.title__details {
  font-weight: 400;
}
.title a {
  color: inherit;
  text-decoration: inherit;
}
.title a:hover {
  color: #FBD5B0;
}

.content-preview {
  padding: 0.5em;
  justify-self: start;
}
@media screen and (min-width: 700px) {
  .content-preview--left {
    text-align: right;
    justify-self: end;
  }
}
.content-preview__cat, .content-preview__title {
  font-family: "Playfair Display", serif;
  font-size: 1.2em;
}
.content-preview__cat {
  text-decoration: underline;
  margin-bottom: 0.25em;
}
.content-preview__title {
  font-weight: 700;
  margin-bottom: 0.5em;
}
.content-preview__excerpt {
  font-weight: 300;
}

.lower-section {
  margin: 0 1em;
  grid-template-columns: 10% 2fr 10px 2fr 10%;
  grid-auto-flow: row dense;
}
@media screen and (min-width: 700px) {
  .lower-section {
    display: grid;
    margin-top: 8em;
  }
}
.lower-section .content-preview {
  max-width: 240px;
  padding: 1em;
  margin-top: 1em;
  margin-bottom: 1em;
}
.lower-section .content-preview--top {
  margin-top: 2em;
}
.lower-section .content-preview--bottom {
  margin-bottom: 2.5em;
}

.headline {
  grid-row: 2;
  grid-column: 1 / -1;
  display: flex;
}

.boxed-headline {
  text-align: center;
  padding: 1em;
  border: 1px solid #ffffff;
  position: relative;
  flex: 1 0 auto;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  line-height: 1.3;
  font-size: 1.2em;
  font-weight: 900;
  max-width: 100%;
}
.boxed-headline:before {
  content: "";
  position: absolute;
  border: inherit;
  left: 0.5em;
  right: 0.5em;
  top: -0.5em;
  bottom: -0.5em;
}

.line {
  position: relative;
}
@media screen and (max-width : 1278px ){
  .line {
    display: none;
  }
}
.line:before {
  content: '';
  height: 0.8em;
  width: 0.8em;
  background: #ffffff;
  display: block;
  position: absolute;
}
.line:after {
  content: '';
  border-color: #ffffff;
  position: absolute;
  display: block;
}
.line--vertical {
  grid-column: 3;
  display: none;
}
@media screen and (min-width: 700px) {
  .line--vertical {
    display: block;
  }
}
.line--vertical:after {
  left: 50%;
  top: 0;
  bottom: 0;
  border-left: 1px solid;
}
.line--vertical:before {
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.line--bottom:before {
  bottom: 0;
}
.line--horizontal {
  flex: 1 0 30px;
}
.line--horizontal:after {
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid;
}
.line--horizontal:before {
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
.line--right:before {
  right: 0;
}
