@import url('./normalize.css');
@import url('./slick.css');
@import url('./aos.css');

* {
  box-sizing: border-box;
}

body {
  background: #1a1919 0% 0% no-repeat padding-box;
  font-family: 'Open Sans', sans-serif;
  color: rgba(255, 255, 255, 0.7);
  line-height: 27px;
  font-size: 16px;
}

a {
  color: rgba(255, 255, 255, 0.7);
}

h1 {
  line-height: 46px;
  font-weight: 300;
  font-size: 38px;
  margin-top: 0;
}

@media screen and (min-width: 992px) {
  h1 {
    letter-spacing: 0.14px;
    line-height: 64px;
    font-size: 60px;
  }
}

.container {
  max-width: 1300px;
  margin: 0 auto;
}

/*
  Brand
  --------------------------------------
*/
.brand {
  display: block;
  position: relative;
  background: #1a1919 url('../images/logo.png') no-repeat top left;
  margin: 0 auto;
  width: 185px;
  height: 78px;
  z-index: 2;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.3),
  only screen and (min--moz-device-pixel-ratio: 1.3),
  only screen and (-o-min-device-pixel-ratio: 2.6/2),
  only screen and (min-device-pixel-ratio: 1.3),
  only screen and (min-resolution: 124.8dpi),
  only screen and (min-resolution: 1.3dppx) {
  .brand {
    background: #1a1919 url('../images/logo@2x.png') no-repeat top left / 185px
      78px;
  }
}

@media screen and (min-width: 992px) {
  .brand {
    margin-left: 0;
  }
}

/*
  Welcome
  --------------------------------------
*/
.welcome {
  min-height: 800px;
  height: 100vh;
}

.welcome > .container {
  display: flex;
  position: relative;
  flex-direction: column;
  height: 100%;
}

.welcome__header {
  position: relative;
  padding: 20px;
}

.welcome__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  font-weight: 300;
  padding: 0 20px;
  flex: 1;
}

.welcome__title {
  margin: 0 auto 30px;
  max-width: 530px;
}

.welcome__next {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  background: rgba(33, 33, 33, 1) 0% 0% no-repeat padding-box;
  border-bottom: 1px solid #f2de67;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  align-self: flex-end;
  margin-bottom: 20px;
  cursor: pointer;
  width: 100%;
  height: 58px;
}

.welcome__next:hover {
  background-color: #f2de67;
  color: #000;
}

.welcome__description {
  color: rgba(255, 255, 255, 0.5);
}

@media screen and (min-width: 550px) {
  .welcome__next {
    width: 260px;
  }
}

@media screen and (min-width: 992px) {
  .welcome__header {
    padding: 90px 100px;
  }

  .welcome__content {
    padding: 0 100px;
    text-align: left;
  }

  .welcome__title {
    max-width: 910px;
    margin-left: 0;
  }

  .welcome__description {
    margin-left: 130px;
    max-width: 535px;
  }
}

/*
  Experience
  --------------------------------------
*/
.experience__list {
  list-style: none;
  margin: 30px 0 0;
  padding-left: 0;
}

.experience-item__picture {
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(40, 40, 40, 1) 0% 0% no-repeat padding-box;
  aspect-ratio: 16 / 12;
}

.experience-item__picture img {
  max-width: 140px;
}

.experience-item__description {
  padding: 20px 30px;
}

.experience-item__description h4 {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 12px;
  line-height: 36px;
  font-weight: 600;
  font-size: 21px;
}

.experience-item__description p {
  color: rgba(255, 255, 255, 0.4);
  line-height: 21px;
  font-size: 14px;
  margin-top: 0;
}

@media screen and (min-width: 650px) {
  .experience {
    padding-top: 100px;
  }

  .experience__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
    gap: 16px;
  }

  .experience__list li:nth-child(even) {
    margin-top: 100px;
  }

  .experience-item {
    margin-top: -100px;
  }

  .experience-item__picture img {
    max-width: 120px;
  }
}

@media screen and (min-width: 992px) {
  .experience-item__picture img {
    max-width: 200px;
  }

  .experience-item__description {
    padding: 40px 60px;
  }
}

@media screen and (min-width: 1100px) {
  .experience-item__picture img {
    max-width: 250px;
  }
}

/*
  Customers
  --------------------------------------
*/
.customers {
  padding: 50px 0;
}

.customers__list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.customers__list li {
  padding: 0 8px;
}

.customers-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #212121 0% 0% no-repeat padding-box;
  font-weight: 600;
  overflow: hidden;
  color: #3d3d3d;
  font-size: 36px;
  height: 129px;
  width: 260px;
}

.customers-item img {
  max-width: 100%;
  object-fit: contain;
  width: 100%;
  height: 100%;
}

/*
  Footer
  --------------------------------------
*/
.footer {
  position: relative;
  padding: 20px;
}

.footer__locale {
  width: 68px;
  height: 68px;
  display: flex;
  position: relative;
  transition: all 0.3s ease-in-out;
  background-color: #1e1e1e;
  justify-content: center;
  text-decoration: none;
  align-items: center;
  border-radius: 50%;
  line-height: 36px;
  color: #6a6a6a;
  font-weight: 600;
  font-size: 21px;
  margin: 0 auto;
  z-index: 2;
}

.footer__locale:hover {
  background-color: #6a6a6a;
  color: #1e1e1e;
}

@media screen and (min-width: 992px) {
  .footer {
    padding: 50px 100px;
  }

  .footer__locale {
    margin-left: 0;
  }
}

/*
  Contact
  --------------------------------------
*/
.contact {
  padding: 60px 20px;
}

.contact-aside {
  text-align: center;
  font-weight: 300;
}

.contact-aside p {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form fieldset {
  margin: 0 0 30px;
  border: none;
  padding: 0;
}

.contact-form__btn {
  width: 100%;
}

@media screen and (min-width: 767px) {
  .contact {
    padding-right: 30px;
    padding-left: 30px;
  }

  .contact-form__btn {
    max-width: 260px;
  }
}

@media screen and (min-width: 1100px) {
  .contact {
    display: flex;
    padding: 160px 30px 80px;
    min-width: 0;
  }

  .contact-aside {
    padding-right: 30px;
    text-align: left;
    flex: 1;
  }

  .contact-aside p {
    max-width: 535px;
  }

  .contact-form {
    min-width: 0;
    flex: 0 0 535px;
  }
}

/*
  Compare
  --------------------------------------
*/
.footer__locale::after,
.footer__locale::before,
.brand::after,
.brand::before {
  content: '';
  position: absolute;
  background-color: #1a1919;
  height: 100%;
  width: 15px;
  top: 0;
}

.footer__locale::before,
.brand::before {
  left: -15px;
}

.footer__locale::after,
.brand::after {
  right: -15px;
}

.footer::before,
.welcome__header::before {
  content: '';
  position: absolute;
  background-color: rgba(112, 112, 112, 0.2);
  width: 100%;
  height: 1px;
  z-index: 1;
  top: 50%;
  left: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  border: none;
  display: block;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(112, 112, 112, 0.2);
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 21px;
  padding: 16px 10px;
  outline: none;
}

.form-control option {
  color: rgba(0, 0, 0, 0.7);
}

.btn {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  padding: 15px 45px;
  line-height: 27px;
  font-weight: 300;
  font-size: 18px;
  cursor: pointer;
}

.form-file {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.form-file + label {
  display: inline-block;
  border-color: #707070;
  background-color: transparent;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  max-width: 100%;
}

.invalid_field {
  border-color: #ff0000;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.5); /* цвет фона */
  z-index: 1050;
  opacity: 0;
  -webkit-transition: opacity 200ms ease-in;
  -moz-transition: opacity 200ms ease-in;
  transition: opacity 200ms ease-in; /* анимация перехода */
  pointer-events: none; /* элемент невидим для событий мыши */
  margin: 0;
  padding: 0;
}
/* при отображении модального окно */
.modal.open {
  display: block;
  opacity: 1; /* делаем окно видимым */
  pointer-events: auto; /* элемент видим для событий мыши */
  overflow-y: auto; /* добавляем прокрутку по y, когда элемент не помещается на страницу */
}
/* ширина модального окна и его отступы от экрана */
.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}
@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 30px auto; /* для отображения модального окна по центру */
  }
}
/* свойства для блока, содержащего контент модального окна */
.modal-content {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #1a1919;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  outline: 0;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  padding: 0px 15px;
}
@media (min-width: 768px) {
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
  }
}
/* свойства для заголовка модального окна */
.modal-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid rgba(112, 112, 112, 0.2);
}
.modal-title {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 1.25rem;
  font-weight: 500;
}
/* свойства для кнопки "Закрыть" */
.close {
  float: right;
  font-family: sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.84);
  opacity: .5;
  text-decoration: none;
}
/* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
.close:focus, .close:hover {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  opacity: .75;
}
/* свойства для блока, содержащего основное содержимое окна */
.modal-body {
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 15px;
  overflow: auto;
}