*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
  font-family: Montserrat, sans-serif;
  color: #333;
  overflow-x: hidden;
  padding-top: 144px;
}

img {
  max-width: 100%;
}

a {
  display: inline-block;
  color: #0384fc;
}

a:hover {
  text-decoration: none;
  color: #333;
}

.lock-scroll {
  overflow-x: hidden;
  overflow-y: hidden;
}

@media (min-width: 1220px) {
  .container {
    max-width: 1200px;
  }
}

.top-bar {
  background-color: #333;
  color: #fff;
  position: relative;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
}

.top-bar__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 50px 0;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.top-bar--scrolled .top-bar__inner {
  padding: 30px 0;
}

.logo {
  margin: 0 100px 0 0;
}

.logo a {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.logo img {
  display: block;
}

.nav-bar {
  width: 100%;
}

.burger {
  padding: 10px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  cursor: pointer;
  background-color: transparent;
  border: 0;
  margin: 5px 0 5px auto;
  height: 40px;
  display: none;
  cursor: pointer;
}

.burger__box {
  width: 27px;
  height: 20px;
  display: inline-block;
  position: relative;
}

.burger__inner {
  width: 100%;
  height: 3px;
  background-color: #0384fc;
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  -webkit-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
}

.burger__inner::before, .burger__inner::after {
  width: 100%;
  height: 3px;
  background-color: #0384fc;
  position: absolute;
  content: '';
  left: 0;
  -webkit-transition: -webkit-transform 0.2s ease-in-out;
  transition: -webkit-transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
}

.burger__inner::before {
  top: -8px;
}

.burger__inner::after {
  top: 8px;
}

.burger--active .burger__inner,
.burger--active .burger__inner::before,
.burger--active .burger__inner::after {
  background-color: #0384fc;
}

.burger--active .burger__inner {
  background-color: transparent;
}

.burger--active .burger__inner::before {
  -webkit-transform: translateY(8px) rotate(45deg);
          transform: translateY(8px) rotate(45deg);
}

.burger--active .burger__inner::after {
  -webkit-transform: translateY(-8px) rotate(-45deg);
          transform: translateY(-8px) rotate(-45deg);
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  width: 100%;
}

.menu__link {
  color: #fff;
  padding: 10px 20px;
  -webkit-transition: color 0.2s ease-out;
  transition: color 0.2s ease-out;
  will-change: color;
  white-space: nowrap;
}

.menu__link:hover {
  color: #0384fc;
}

.menu__item {
  margin-left: 10px;
}

.title__h2 {
  font-size: 3.2rem;
  font-weight: 600;
  text-align: center;
}

.section {
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.section--photo {
  height: 60vh;
  position: relative;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-box-shadow: inset 0 20px 0 black, inset 0 -20px 0 black;
          box-shadow: inset 0 20px 0 black, inset 0 -20px 0 black;
}

.section--photo .section__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 100%;
  position: relative;
  z-index: 9;
}

.section--photo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #333;
  opacity: 0.4;
  -webkit-transition: opacity 0.4s ease-in-out;
  transition: opacity 0.4s ease-in-out;
}

.section--photo:hover::after {
  opacity: 0.8;
}

.section--solar-energy {
  background-image: url("/_img/panels.jpg");
}

.section--real-estate {
  background-image: url("/_img/buildings.jpg");
}

.section--consulting {
  background-image: url("/_img/consulting.jpg");
}

.section__title {
  color: #fff;
  font-weight: 300;
  font-size: 4rem;
}

.contact {
  text-align: center;
}

.contact .title__h2 {
  margin-bottom: 2rem;
}

.contact__logo {
  margin-top: 10px;
  max-width: 250px;
}

.footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
}

.copyright {
  text-align-last: center;
}

@media (max-width: 991px) {
  body {
    padding-top: 90px;
  }
  .top-bar__inner {
    padding: 20px 0;
  }
  .top-bar--scrolled .top-bar__inner {
    padding: 20px 0;
  }
  .logo {
    margin: 0 65px 0 0;
  }
  .burger {
    display: block;
  }
  .menu {
    position: fixed;
    top: 70px;
    right: 0;
    background: rgba(51, 51, 51, 0.95);
    width: 100%;
    height: calc(100% - 70px);
    z-index: 999;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }
  .menu--active {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  .menu__link {
    font-size: 1.8rem;
  }
  .menu__item {
    margin: 10px 0;
  }
  .section__title {
    font-size: 3.6rem;
  }
}
