@import "normalize.css";
* {
  box-sizing: border-box;
}

html {
  font-family: "FiraSans";
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow: hidden;
  margin: 0;
  color: #262626;
}

main {
  -webkit-overflow-scrolling: touch;
  min-height: 80vh;
}

canvas {
  display: block;
}

a {
  color: #262626;
  text-decoration: none;
  font-family: "FiraSans";
  line-height: 140%;
  transition: 0.4s;
}
a:hover {
  transition: 0.4s;
  color: #f90;
}

button {
  background: none;
  padding: 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul li {
  list-style: none;
}

button {
  margin: 0;
  border: none;
  cursor: pointer;
}

pre {
  margin: 0;
}

img {
  max-width: 100%;
  object-fit: contain;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.container {
  width: 100%;
  max-width: 1920px;
  padding: 0 8rem;
  margin: 0 auto;
  z-index: 10;
  position: relative;
}
@media screen and (max-width: 1800px) {
  .container {
    padding: 0 4rem;
  }
}
@media screen and (max-width: 1279px) {
  .container {
    width: 100%;
    padding: 0 30px;
  }
}
@media screen and (max-width: 767px) {
  .container {
    width: 100%;
    padding: 0 15px;
  }
}

@font-face {
  font-family: "FiraSans";
  src: local("FiraSans-Regular"), local("FiraSans-Regular"), url("../fonts/FiraSans-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "FiraSans";
  src: local("FiraSans"), local("FiraSans-Medium"), url("../fonts/FiraSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
h1, h2, h3 {
  font-family: "FiraSans";
  font-weight: 500;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p, a, li {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  font-family: "FiraSans";
  line-height: 140%;
}
@media screen and (max-width: 767px) {
  p, a, li {
    font-size: 14px;
  }
}

h1, .h1 {
  font-size: 56px;
  line-height: 110%;
}
@media screen and (max-width: 1279px) {
  h1, .h1 {
    font-size: 40px;
  }
}

h2, .h2 {
  font-size: 40px;
  font-family: "FiraSans";
  line-height: 120%;
}
@media screen and (max-width: 1279px) {
  h2, .h2 {
    font-size: 32px;
  }
}

h3, .h3 {
  font-size: 32px;
}
@media screen and (max-width: 1279px) {
  h3, .h3 {
    font-size: 24px;
  }
}
@media screen and (max-width: 767px) {
  h3, .h3 {
    font-size: 20px;
  }
}

.main-header {
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 11;
}
.main-header .main-header__nav {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-top: 1rem;
}
.main-header .main-header__nav ul {
  display: flex;
}
.main-header .main-header__nav ul li {
  margin-right: 1rem;
}
.main-header .main-header__nav ul li:last-child {
  margin-right: 0;
}
.main-header .main-header__nav .main-header-nav__menu {
  display: flex;
  align-items: flex-end;
}
@media screen and (max-width: 1279px) {
  .main-header .main-header__nav .main-header-nav__menu ul {
    display: none;
  }
}
.main-header .main-header__nav .main-header-nav__contacts {
  display: flex;
  align-items: flex-end;
}

.first-screen {
  min-height: 80vh;
  background-image: url("../img/firsct-screen-bg.jpg");
  background-size: cover;
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 767px) {
  .first-screen {
    min-height: 60vh;
  }
}
.first-screen .main-logo {
  padding-top: 10rem;
  max-width: 800px;
  margin-bottom: 2rem;
}
@media screen and (max-width: 1279px) {
  .first-screen .main-logo {
    max-width: 600px;
  }
}
@media screen and (max-width: 767px) {
  .first-screen .main-logo {
    padding-top: 7rem;
    margin-bottom: 1rem;
  }
}

.services .service-item {
  width: 25%;
  padding: 8rem;
  text-align: center;
}
.services .service-item .service-item__icon {
  text-align: center;
  margin-bottom: 2rem;
}
@media screen and (max-width: 767px) {
  .services .service-item .service-item__icon {
    margin-bottom: 1rem;
  }
}
.services .service-item .service-item__icon img {
  width: 10rem;
  height: auto;
}
@media screen and (max-width: 767px) {
  .services .service-item .service-item__icon img {
    width: 5rem;
  }
}
.services .service-item:first-child {
  background-color: #fff;
}
.services .service-item:nth-child(2n) {
  background-color: #262626;
  color: #fff;
}
.services .service-item:nth-child(3n) {
  background-color: #B6B6B2;
}
.services .service-item:nth-child(4n) {
  background-color: #ff9900;
}
.services .service-item h3 {
  margin-bottom: 1rem;
}
@media screen and (max-width: 1800px) {
  .services .service-item {
    padding: 6rem 4rem;
  }
}
@media screen and (max-width: 1279px) {
  .services .service-item {
    width: 50%;
  }
}
@media screen and (max-width: 767px) {
  .services .service-item {
    padding: 4rem 15px;
  }
}

.stack {
  padding: 4rem 0;
}
@media screen and (max-width: 767px) {
  .stack {
    padding: 2rem 0;
  }
}
.stack h2 {
  margin-bottom: 2rem;
}
@media screen and (max-width: 767px) {
  .stack .stack-container {
    display: flex;
  }
}
.stack .stack-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 5rem;
  margin-bottom: 4rem;
}
.stack .stack-row:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .stack .stack-row {
    gap: 1rem;
    flex-wrap: nowrap;
    flex-direction: column;
    width: 50%;
    align-items: flex-start;
    margin-bottom: 0;
  }
}
.stack .stack-row .stack-item img {
  width: 20rem;
  height: auto;
}
@media screen and (max-width: 1279px) {
  .stack .stack-row .stack-item img {
    width: 10rem;
  }
}
@media screen and (max-width: 767px) {
  .stack .stack-row .stack-item img {
    width: 8rem;
  }
}

.contacts {
  overflow: hidden;
  position: relative;
  background-color: #262626;
}
.contacts .container {
  position: static;
}
@media screen and (max-width: 1279px) {
  .contacts .container {
    display: flex;
    flex-direction: column;
  }
}
.contacts .contacts-content {
  width: 50%;
  padding-top: 6rem;
  padding-bottom: 6rem;
  color: #fff;
}
@media screen and (max-width: 1279px) {
  .contacts .contacts-content {
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}
.contacts .contacts-content h2 {
  margin-bottom: 2rem;
}
.contacts .contacts-content p {
  margin-bottom: 1rem;
}
.contacts .contacts-content a {
  color: #fff;
}
.contacts .contacts-content a:hover {
  color: #ff9900;
}
.contacts .contacts-content ul {
  margin-bottom: 1rem;
}
.contacts .contacts-map {
  overflow: hidden;
  width: 50vw;
  position: absolute;
  right: -9px;
  top: 0;
  filter: grayscale(1);
  height: 500px;
}
@media screen and (max-width: 1279px) {
  .contacts .contacts-map {
    position: relative;
    width: 100vw;
    left: -30px;
    order: 1;
    height: 400px;
    transform: translateY(10px);
  }
}
@media screen and (max-width: 767px) {
  .contacts .contacts-map {
    left: -15px;
  }
}

/*# sourceMappingURL=main.css.map */
