* {
  font-family: "Montserrat", sans-serif;
}

.container {
  display: flex;
  max-width: 1200px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  overflow: hidden;
}

body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0;
  animation: 1000ms linear overshadow;
  z-index: -1;
}

@keyframes overshadow {
  0% {
    opacity: 0.9;
    z-index: 1;
  }
  100% {
    opacity: 0.2;
    z-index: 1;
  }
}
header {
  display: flex;
  position: relative;
  margin: auto;
  width: 100%;
  height: 80px;
  top: 0;
  z-index: 4;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .container a {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 28px;
  text-decoration: none;
  color: white;
}
header .container a:hover {
  color: #FFA600;
}
header .container .number {
  margin-top: 20px;
  margin-right: 20px;
  padding: 10px;
  background-color: #FFA600;
}
header .container .number span {
  color: black;
  font-weight: 600;
  font-size: 20px;
}

ul {
  display: flex;
  justify-content: space-between;
  list-style-type: none;
}
ul li {
  margin: 30px;
}

.hero {
  position: relative;
  margin-top: -80px;
  background-image: url(../images/background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  width: 100%;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .container h1 {
  text-align: center;
  margin-top: 60px;
  z-index: 3;
}
.hero .container h1 .yellowheading {
  color: #FFA600;
  font-size: 30px;
}
.hero .container h1 .whiteheading {
  color: white;
}
.hero .container .about {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  max-width: 850px;
  color: white;
  z-index: 3;
  margin-bottom: 100px;
}
.hero .container .about .about__bottom {
  font-weight: 400;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.7;
}

.contacts {
  display: flex;
  flex-direction: column;
  z-index: 3;
  font-weight: 600;
  font-size: 25px;
}
.contacts h1 {
  color: white;
}
.contacts p {
  color: white;
  line-height: 5px;
}
.contacts a {
  text-decoration: none;
  color: white;
  line-height: 40px;
}

.gallery {
  width: 100%;
}
.gallery .background {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -80px;
  background-image: url("../images/close-up-of-wooden-plank-326311 (1).jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
  width: 100wv;
}
.gallery .background h2 {
  text-align: center;
  font-size: 80px;
  color: #ffa600;
}
.gallery .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 100px;
}
.gallery .container .photos {
  padding: 0.5vw;
  font-size: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  flex-flow: row wrap;
  display: box;
  display: flex;
}
.gallery .container .photos picture {
  position: relative;
  flex: auto;
  width: 200px;
  margin: 0.5vw;
}
.gallery .container picture:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  margin: auto;
  height: 100%;
  width: 100%;
  background-image: url(../images/paslaugos_balt.svg);
  background-repeat: no-repeat;
  background-position: bottom right;
}
.gallery .container .photos picture img {
  width: 100%;
  height: auto;
}
.gallery .container .active {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 99;
}
.gallery .modal {
  display: none;
  position: fixed;
  z-index: 5;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}
.gallery {
  /* Modal Content (image) */
}
.gallery .modal-content {
  margin: auto;
  display: block;
  width: 80%;
  margin-top: 0px;
  max-width: 800px;
}
.gallery .myModal__container {
  margin: auto;
  display: block;
  display: flex;
  width: 90%;
  max-width: 900px;
}
.gallery .myModal__arrow__Right,
.gallery .myModal__arrow__Left {
  position: relative;
  margin-top: 300px;
  height: 50px;
  width: 50px;
  border-left: 8px solid #f1f1f1;
  border-top: 8px solid #f1f1f1;
  transform: rotate(-45deg);
  border-radius: 10px;
}
.gallery .myModal__arrow__Left:hover,
.gallery .myModal__arrow__Right:hover {
  border-color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
.gallery .myModal__arrow__Right {
  transform: rotate(135deg);
}
.gallery {
  /* Caption of Modal Image */
}
.gallery #caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}
.gallery {
  /* Add Animation */
}
.gallery .modal-content,
.gallery #caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}
@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
.gallery {
  /* The Close Button */
}
.gallery .close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 80px;
  font-weight: bold;
  transition: 0.3s;
}
.gallery .close:hover,
.gallery .close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media (max-height: 500px) {
  .hero {
    height: 180vh;
  }
  .hero .container {
    overflow: unset;
    justify-content: unset;
  }
  .menu-wrap .menu > div > div > nav > ul > li {
    margin: 0;
  }
}
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}
@media only screen and (max-width: 800px) {
  .myModal__arrow__Left,
  .myModal__arrow__Right {
    display: none;
  }
}
@media (min-width: 1050px) {
  .mobilemenu {
    display: none;
  }
}
@media (max-height: 361px) {
  .hero {
    height: 230vh;
  }
}
@media (max-width: 1050px) {
  .hero {
    box-sizing: border-box;
    padding-top: 70px;
  }
  .desktop.container {
    display: none;
  }
  .mobilemenu {
    position: relative;
    width: 72px;
    height: 100%;
    top: 0;
    right: 0;
    margin: 10px 10px 20px 10px;
  }
  .menu-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    top: 0;
    left: 0;
    z-index: 9999;
  }
  .menu-wrap .toggler {
    position: relative;
    top: 0;
    left: 0;
    width: 72px;
    height: 72px;
    opacity: 0;
    z-index: 99992;
  }
  .menu-wrap .hamburger {
    position: absolute;
    top: 0;
    left: 0;
    width: 72px;
    height: 72px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  .menu-wrap .hamburger > div {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 2px;
    background-color: white;
    transition: all 0.4s ease-in-out;
  }
  .menu-wrap .hamburger > div:before,
  .menu-wrap .hamburger > div:after {
    content: "";
    position: absolute;
    z-index: 9999;
    top: -10px;
    width: 100%;
    height: 2px;
    background-color: white;
  }
  .menu-wrap .hamburger > div:after {
    content: "";
    top: 10px;
  }
  .menu-wrap .toggler:checked + .hamburger > div {
    transform: rotate(135deg);
  }
  .menu-wrap .toggler:checked + .hamburger > div:before,
  .menu-wrap .toggler:checked + .hamburger > div:after {
    top: 0;
    transform: rotate(90deg);
  }
  .menu-wrap .toggler:checked:hover + .hamburger > div {
    transform: rotate(225deg);
  }
  .menu-wrap .toggler:checked ~ .menu {
    visibility: visible;
  }
  .menu-wrap .toggler:checked ~ .menu > div {
    transform: scale(1);
    transition-duration: 1s;
  }
  .menu-wrap .toggler:checked ~ .menu > div > div {
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
  }
  .menu-wrap .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .menu-wrap .menu > div {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    background-image: url("../images/close-up-of-wooden-plank-326311 (1).jpg");
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 50%;
    width: 300vw;
    height: 300vw;
    transform: scale(0);
    transition: all 0.4 ease-in-out;
    z-index: 999;
  }
  .menu-wrap .menu > div > div {
    text-align: center;
    max-width: 90vw;
    max-height: 100vh;
    opacity: 0;
    transition: all 0.4 ease-in-out;
  }
  .menu-wrap .menu > div > div > nav > ul {
    display: unset;
  }
  .menu-wrap .menu > div > div > nav > ul > li {
    list-style: none;
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
  }
  .menu-wrap .menu > div > div > nav > ul > li .number {
    justify-content: center;
  }
  .menu-wrap .menu > div > div > nav > ul > li > a {
    color: inherit;
    text-decoration: none;
    transition: all 0.4 ease-in-out;
  }
}
@media (max-width: 700px) {
  .hero {
    height: 220vh;
  }
  .hero .container {
    justify-content: unset;
  }
  .mobile {
    height: 130vh;
  }
  .gallery {
    box-sizing: border-box;
    padding-bottom: 50px;
  }
  .gallery .container .two {
    margin-top: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    flex-wrap: wrap;
  }
  .gallery .container .two .job0 {
    position: relative;
    flex: none;
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
  }
  .gallery .container .two .job0 .job1 {
    margin: auto;
    height: inherit;
    width: 100%;
    background-size: cover;
    background-position: center;
  }
  .gallery .container .two .job2 {
    height: 200px;
    min-width: 100%;
  }
  .gallery .container .one {
    height: 250px;
  }
  .gallery .container .one .job3 {
    background-position-y: unset;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .gallery .container .three {
    flex-wrap: wrap;
    min-width: 100%;
    min-height: 100%;
  }
  .gallery .container .three .thre__first {
    display: flex;
    height: 250px;
    width: 100%;
    margin-bottom: 20px;
  }
  .gallery .container .three .thre__first .job4 {
    background-size: cover;
  }
  .gallery .container .three .four {
    height: 100%;
    width: 100%;
  }
}
@media (max-width: 414px) {
  .hero {
    height: 130vh;
  }
  .mobile {
    height: 100vh;
  }
  .mobile .container .contacts p,
  .mobile .container .contacts a {
    font-size: 20px;
  }
}
@media screen and (max-width: 400px) {
  .photos div {
    margin: 0;
  }
  .photos {
    padding: 0;
  }
}
@media (max-width: 361px) {
  .hero .container {
    justify-content: unset;
  }
  .hero {
    height: 180vh;
  }
}
body {
  margin: 0;
}
