html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

:root {
  --brown: rgb(170, 131, 2);
}

body {
    background-color: rgb(230, 230, 230);
    font-size: 62.5%;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    color: black;
    width: 100%;
    margin: 0 auto;
  }

  .body-wrapper {
    min-height: 95vh;
    position: relative;
    background-color: rgb(250, 250, 250);
  }

.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 55px;
    z-index: 100;
    background-color: rgb(83, 83, 83);
    border-bottom: 1px solid rgb(247, 247, 247);
    font-family: 'quicksand';
  }
  
  .nav-bar__content {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    line-height: 55px;
  }

  #hamburger__toggle {
    display: none;
  }
  
  #hamburger__toggle:checked + .nav-bar__list {
    width: 100%;
    visibility: visible;
    display: block;
    opacity: 1;
    background-color: gray;
  }
  
  #hamburger__icon {
    display: block;
    width: 60px;
    float: right;
    margin-right: 25px;
    top: -2px;
    height: 45px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
  }
  
  #hamburger__icon > span {
    display: block;
    position: absolute;
    height: 7px;
    width: 90%;
    background: white;
    margin: 10px;
    border-radius: 8px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
  }
  
  #hamburger__icon span:nth-child(1) {
    top: 0px;
  }
  
  #hamburger__icon span:nth-child(2),#hamburger__icon span:nth-child(3) {
    top: 16px;
  }
  
  #hamburger__icon span:nth-child(4) {
    top: 32px;
  }
  
  #hamburger__icon.open span:nth-child(1) {
    top: 16px;
    width: 0%;
    left: 50%;
  }
  
  #hamburger__icon.open span:nth-child(2) {
    transform: rotate(45deg);
  }
  
  #hamburger__icon.open span:nth-child(3) {
    transform: rotate(-45deg);
  }
  
  #hamburger__icon.open span:nth-child(4) {
    top: 16px;
    width: 0%;
    left: 50%;
  }

  .nav-bar__logo {
    font-family: 'Quicksand';
    padding-left: 10px;
    letter-spacing: 0.2em;
    font-size: 3em;
    text-decoration: none;
    height: 90%;
    color: white;
  }

  .nav-bar__logo img {
      position: relative;
      top: 5%;
      height: 40%;
  }
  
  .nav-bar__list {
    float: right;
    font-size: 0.85em;
    margin-top: -7px;
    visibility: hidden;
    opacity: 0;
    display: none;
   }
  
   .nav-bar__item {
    display: block;
    border-bottom: 2px solid white;
    padding-left: 40px;
  }
  
  .nav-bar__link {
    display: block;
    position: relative;
    color: white;;
    text-decoration: none;
    font-size: 2.1em;
    transition: all 0.4s;
  }
  
  .nav-bar__link:hover{
    color: var(--brown);
    transition: all 0.4s;
  }
  
  
  .nav-bar__link:last-child {
    margin: 0;
  }
  
  .header-main {
    min-height: 100vh;
  }
  .header-main__image-wrapper {
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;

  }

  .header-main__image {
      height: 90px;
  }
  .header-main__name{
    height: 45px;
    border-right: 1px solid rgb(202, 202, 202);
    border-left: 1px solid rgb(201, 201, 201);
  } 

  .owl-carousel {
      width: 100%;
      margin: 20px auto 0px auto;
  }

  .carousel__item {
      height: 180px;
      border-radius: 7px;
      border: 1px solid black;
      background-color: gray;
  }

  .carousel__item > img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 7px;
  }

  .headline--big {
    width: 95%;
    margin: 0 auto;
    font-family: 'Quicksand';
    font-weight: lighter;
    text-align: center;
    font-size: 6.6em;
    letter-spacing: 3.9px;
    margin-bottom: 55px;
    display: inline;
    padding-bottom: 8px;

  }
  .header__description {
    width: 95%;
    margin: 0 auto;
    font-family: 'Quicksand';
    font-weight: lighter;
    text-align: center;
    font-size: 4.5em;
    letter-spacing: 2.9px;
  }

  .description--highlight {
    font-weight: bold;
    font-size: 125%;
  }

  .description__text {
    width: 90%;
    margin: 0 auto;
    font-size: 2.6em;
    font-family: 'Quicksand';
    text-align: center;
    word-spacing: 2.2px;
    padding: 20px 0px;

  }
  .text--centered-wrapper {
    padding: 15px 0px 15px 0px;
    text-align: center;
  }
  .highlight--centered {
    display: inline;
    font-size: 2.8em;
    border-bottom: 2px solid var(--brown);
  }

  .buttons {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .btn {
    font-family: 'Open sans';
    width: 230px;
    height: 45px;
    border: none;
    outline: none;
    font-size: 1.8em;
    border-radius: 25px;
    color: white;
    transition: all 0.2s;
  }

  .btn:hover {
    cursor: pointer;
  }

  .gallery-btn {
   background-color: rgb(245, 245, 245);
   margin-bottom: 20PX;
   border: 2px solid rgb(126, 126, 126);
   color: rgb(29, 29, 29);
  }

  .gallery-btn:hover {
    background-color: rgb(109, 107, 107);
    color: white;
  }

  .contact-btn {
    background-color: rgb(0, 110, 255);
    width: 300px;
    margin-bottom: 20px;
  }

  .contact-btn:hover {
    background-color: rgb(255, 123, 0);
    color: rgb(255, 255, 255);
  }

  .about-us {
    background-color: rgb(236, 236, 236);
  }

  .about-us__row{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    margin: 0 auto;
    font-size: 1.7em;
    padding-bottom: 40px;
  }

  .about-us__text {
    padding: 10px;
    text-align: center;
  }
  .about-us__image {
    max-height: 220px;
    border-radius: 8px;
    margin: 0 auto;
  }

  .about-us__image1 {
    margin-top: 15px;
  }

  .about-us__image2 {
    margin-bottom: 15px;
  }

  .our-works {
    background-color: rgb(250, 250, 250);
  }

  .gallery {
    width: 90%;
    margin: 0 auto;
    background-color: rgb(243, 243, 243);
    margin-bottom: 60px;
  }
  .gallery__list__dropdown {
    color: rgb(99, 99, 99);
    
  }

  #dropdown__trigger {
    background-color: rgb(243, 243, 243);
    text-align: center;
    font-size: 2.5em;
  }
  .gallery__list__dropdown:hover {
    cursor: pointer;
  }
  .gallery__list__dropdown:hover .gallery__list {
    display: block;
  }

  .gallery__list {
    display: none;
    box-sizing: border-box;
    list-style-position: inside;
    font-size: 1.7em;
    padding: 10px;
    flex-basis: 25%;
    background-color: rgb(243, 243, 243);
  }

  .gallery__list > li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgb(209, 209, 209);
    color: rgb(27, 27, 27);
    font-weight: 600;
    list-style: none;
  }

  .gallery__list > li:hover {
    color: rgb(0, 0, 0);
    cursor: pointer;
    border-bottom-color: black;
  }

  .gallery__date-place {
    color: rgb(105, 105, 105);
    font-size: 85%;
    font-weight: initial;
  }

  .gallery__photos-wrapper {
    flex-basis: 75%;
  }

  #photos__title {
    font-size: 2.4em;
    text-align: center;
    padding: 15px 0px 30px;

    font-family: 'Quicksand';
  }

  #gallery__photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

  }

  .gallery__photo {
    margin-bottom: 20px;
    transition: all 1s;
    overflow: hidden;

  }

  .gallery__photo > img {
    max-height: 100%;
    max-width: 300px;
    border-radius: 4px;
    filter: blur(0.4px);
    transform: scale(1);
    transition: all 0.4s;
    border: 1px solid rgba(107, 107, 107, 0.493);
    border-radius: 4px;
  }

  .gallery__photo > img:hover {
   transform: scale(1.1);
   transition: all 0.4s;
  }
  .contact {
    background-color: rgb(236, 236, 236);
    padding-bottom: 50px;
  }

  .contact__row {
    display: flex;
    margin: 0 auto;
    justify-content: space-evenly;
    width: 60%;
    padding: 30px 0px;
  }

  .contact__info {
    font-size: 2.6em;
    line-height: 40px;
    text-align: center;
  }

  
  .contact__info__name {
    display: inline-block;
    font-size: 2.65em;
    font-family: 'Quicksand';
    padding-bottom: 45px;
    line-height: 0.9em;
    font-weight: 400;
  }

  .contact__info__highlight {
    font-size: 1.8em;
    color: rgb(17, 78, 190);

  }
  .contact__image {
    display: none;
    border: 2px solid rgb(48, 48, 48);
    height: 600px;
  }

  .contact__form {
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 91%;
    background-color: rgb(51, 51, 51);
    padding: 10px;
    border-radius: 3px;
    box-shadow: 0px 1px 5px 0px rgba(138,138,138,1);
  }
  
  .contact__form > * {
    font-family: 'Open Sans';
    margin-bottom: 13px;
    padding: 10px;
    box-sizing: border-box;
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(155, 155, 155);
    border-radius: 3px;
    outline-color: var(--brown);
    font-size: 1.6em;
  }
  
  .contact__form > *::placeholder {
    opacity: 0.8;
    font-style: italic;
  }

  .input--small {
    box-sizing: border-box;
    flex-basis: 49%;
    height: 45px;
  }
  
  .input--big {
    flex-basis: 100%;
    height: 45px;
  }
  
  .contact__form > textarea {
    flex-basis: 100%;
    min-height: 250px;
    resize: vertical;
  }
  
  .contact__form > input[type = "submit"] {
    margin: 0 auto;
    border-radius: 20px;
  }
  
  .form__submit-button{
    background-color: rgb(0, 110, 255);
    color: white;
    margin: 0 auto;
    padding: 0;
    width: 25%;
    border: none;
  }
  
  .form__submit-button:hover {
    color: orange;
  }

  .footer-main {
    height: 70px;
    background-color: rgb(46, 46, 46);
    position: absolute;
    bottom: -70px;
    width: 100%;
    text-align: center;
  }

  .footer__content {
    display: flex;
    flex-wrap: wrap;
    width: 95%; 
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    height: 70px;
    font-size: 1.25em;
    color: rgb(240, 240, 240);
  }

  .footer__name {
    flex-basis: 100%;
  }
  .svg-phone {
    position: relative;
    top: 1px;
    right: 3px;
  }

  @media only screen and (min-width: 400px) {
    .about-us__image {
      max-width: 90%;
      max-height: 250px;
    }

    .about-us__row{
      width: 90%;
  }
}
  @media only screen and (min-width: 768px) {
    .hamburger__label {
      display: none;
    }

    .nav-bar__logo > img {
      height: 90%;
    }

    .nav-bar__logo {
      font-size: 4em;
    }

    .nav-bar__list {
      float: right;
      visibility: visible;
      opacity: 1;
      display: initial;
      width: initial;
      margin-top: 0;
      border: none;
     }
    
    .nav-bar__item {
      display: inline-block;
      margin-right: 22px;
      border: none;
      padding-left: initial;
    }
    
    .nav-bar__content {
      width: 100%;
    }
    
    .nav-bar__link {
      display: initial;
      font-size: 1.65em;
    }
    
    .nav-bar__link:hover::after{
      opacity: 1;
      transform: translateY(0px);
      transition: all 0.4s;
    }
    
    .nav-bar__link::after {
      position: absolute;
      top: 100%;
      left: 0%;
      width: 100%;
      height: 2px;
      background-color: var(--brown);
      content: '';
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.4s;
    }
    
    .header-main__image-wrapper {
      margin-top: 15px;
  }

  .header-main__image {
    height: 180px;
}
  .header-main__name{
    height: 75px;
  } 

  .owl-carousel {
    width: 80%;
  }

  .carousel__item {
    height: 260px;
  }

  .header__description {
    font-size: 5.5em;
    width: 80%;
  }

  .description__text {
    width: 60%;
    letter-spacing: 0.9px;
  }
  
  .about-us__image {
    max-height: 300px;
  }

  .text--centered-wrapper {
    padding-bottom: 35px;
  }

  .footer__content {
    font-size: 1.6em;
    width: 80%;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .footer__name {
    flex-basis: initial;
  }


  .contact__row {
    width: 91%;
  }
  .contact__image {
    display: initial;
  }
  .contact__form {
    width: 65%;
  }

  .gallery__photo {
    height: 300px;
    max-height: initial;
  }
  .gallery__photo > img {
    max-width: initial;
  }
}

  @media only screen and (min-width: 1080px) {
    .nav-bar__content {
      width: 75%;
    }

    .owl-carousel {
      width: 50%;
  }

    .last-work__list__item {
      width: 32%;
    }
    .about-us__row { 
      width: 80%;
      flex-wrap: nowrap;
  }

    .about-us__image {
      max-height: 350px;
      /* Height IS NOT USELESS, fixes firefox*/
      height: 300px;
    }
  
    .gallery {
      width: 90%;
      display: flex;
    }
    .gallery__list {
      display: block;
      font-size: 1.7em;
      flex-basis: 25%;
    }
    .gallery__photo {
      height: 300px;
    }

    #dropdown__trigger {
      display: none;
    }

    .gallery__list__dropdown:hover {
      cursor: initial;
    }
    .nav-bar__link {
      font-size: 2.1em;
    }

    .contact__form {
      width: 40%;
    }

    .footer__content {
      width: 65%;
  }

  }

  @media only screen and (min-width: 1440px) {
    .nav-bar__content {
      width: 65%;
    }

    .header__description {
      width: 65%;
      font-size: 6.8em;
      letter-spacing: 4px;
    }

    .last-work__list {
      width: 65%;
      justify-content: space-between;
    }

    .about-us__row { 
      width: 70%;
      font-size: 1.85em;
      flex-wrap: nowrap;
  }

  .gallery {
    width: 70%;
  }

  .contact__row {
    width: 60%;
  }
}

/* lightbox css */


/* Preload images */
body:after {
  content: url(../Images/LightboxImages/close.png) url(../Images/LightboxImages/loading.gif) url(../Images/LightboxImages/prev.png) url(../Images/LightboxImages/next.png);
  display: none;
}

body.lb-disable-scrolling {
  overflow: hidden;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 3px;

  /* Image border */
  border: 4px solid white;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;

  /* Background color behind image.
     This is visible during transitions. */
  background-color: white;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../Images/LightboxImages/loading.gif) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(../Images/LightboxImages/prev.png) left 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../Images/LightboxImages/next.png) right 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-caption a {
  color: #4ae;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../Images/LightboxImages/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}
