@font-face {
  font-family: "Montserrat";
  src: url(fonts/Montserrat/Montserrat-Light.ttf) format("ttf");
  font-weight: 300;
}
@font-face {
  font-family: "Montserrat";
  src: url(fonts/Montserrat/Montserrat-Regular.ttf) format("ttf");
  font-weight: 400;
}
@font-face {
  font-family: "Montserrat";
  src: url(fonts/Montserrat/Montserrat-SemiBold.ttf) format("ttf");
  font-weight: 600;
}
@font-face {
  font-family: "Montserrat";
  src: url(fonts/Montserrat/Montserrat-Bold.ttf) format("ttf");
  font-weight: 700;
}

:root {
  --main--font-color: #040404;
  --link--font-color: #272727;
  --link--hover-color: #3b3626;
  --second-color: #ffd800;
  --third-color: #f5f5f5;
  --bg-color: #f5f5f5;
  --second-bg-color: #040404;
  --markered-color: #ffc400;

  --main-gradient-color: linear-gradient(270deg, #ffd800 0%, #ffc400 95.45%);
  --main-gradient-reverse: linear-gradient(90deg, #ffd800 0%, #ffc400 95.45%);
  --second-gradient-color: linear-gradient(270deg, #6425d0 0%, #d82424 95.45%);
  --btn-gradient-color: linear-gradient(180deg, #ffd800 0%, #ffc400 95.45%);
  --btn-h-gradient-color: linear-gradient(360deg, #ffd800 0%, #ffc400 95.45%);
}

html {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: var(--main--font-color);
  background: var(--bg-color);
}

a {
  text-decoration: none;
  color: var(--link--font-color);
}

a:hover {
  text-decoration: none;
  color: var(--link--hover-color);
}

.container {
  width: 100%;
  max-width: 1410px;
  margin: 0 auto;
  padding: 0 15px;
}

.container__title {
  padding: 15px;
  font-size: 2.2rem;
  text-align: center;
}

button {
  border: 0;
}

.btn__wrapper {
  display: flex;
  position: relative;
}

.btn {
  background: var(--btn-gradient-color);
  display: inline;
  align-items: center;
  box-sizing: border-box;
  padding: 13px 25px;
  border-bottom: 4px solid #dca900;
  color: var(--main-color);
  text-align: center;
  transition: 0.5s;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  border-radius: 5px;
  z-index: 1;
  -webkit-box-shadow: 0px 5px 8px 0px rgba(220, 169, 0, 0.2);
  -moz-box-shadow: 0px 5px 8px 0px rgba(220, 169, 0, 0.2);
  box-shadow: 0px 5px 8px 0px rgba(220, 169, 0, 0.2);
}

.btn:hover {
  background: var(--btn-h-gradient-color);
  -webkit-box-shadow: 0px 5px 8px 0px rgba(220, 169, 0, 0.2);
  -moz-box-shadow: 0px 5px 8px 0px rgba(220, 169, 0, 0.2);
  box-shadow: 0px 5px 8px 0px rgba(220, 169, 0, 0.2);
}
/* 
.btn:after {

} */

.btn__wrapper:after,
.btn__wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  opacity: 0;
  /* border: 3px solid rgba(255, 255, 255, 0.1); */
  -webkit-animation: pulse1 2s linear infinite;
  -moz-animation: pulse1 2s linear infinite;
  animation: pulse1 2s linear infinite;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  /* -webkit-box-shadow: inset 0px 0px 15px 10px rgba(226, 194, 10, 0.41);
  -moz-box-shadow: inset 0px 0px 15px 10px rgba(226, 194, 10, 0.41);
  box-shadow: inset 0px 0px 15px 10px rgba(226, 194, 10, 0.41); */
  filter: blur(0.5rem);
  background: var(--main-gradient-color);
  /* -webkit-box-shadow:0px 0px 15px 10px rgba(226, 194, 10, 0.41);
  -moz-box-shadow:0px 0px 15px 10px rgba(226, 194, 10, 0.41);
  box-shadow:  0px 0px 15px 10px rgba(226, 194, 10, 0.41);  */
}

/* .btn__wrapper:before {
  animation-delay: 0.5s;
  animation: pulse1 1.7s linear infinite;
} */

@-webkit-keyframes pulse1 {
  0% {
    -webkit-transform: scale(0.4, 0.5);

    opacity: 0;
  }

  50% {
    -webkit-transform: scale(0.5, 0.6);

    opacity: 0;
  }

  55% {
    -webkit-transform: scale(0.7, 0.8);
    opacity: 0.5;
  }

  65% {
    -webkit-transform: scale(0.9, 1);
    opacity: 0.85;
  }

  80% {
    -webkit-transform: scale(1.1, 1.2);
    opacity: 0.5;
  }

  100% {
    -webkit-transform: scale(1.3, 1.4);
    opacity: 0;
  }
}

.btn__lighting {
 overflow: hidden; 
}

.btn__lighting:hover:after {
  content: "";
  display: block;
  width: 20px;
  height: 100px;
  margin-left: 30px;
  background: #fff;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.5) 100%
  );
  left: -10px;
  top: -30px;
  z-index: 1;
  transform: rotate(331deg);
  position: absolute;
  animation: movingFlare 3s ease-in-out 0.05s infinite;
}

@keyframes flareAnimation {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}

@keyframes movingFlare {
  0% {
    left: -30px;
    margin-left: 0px;
  }
  30% {
    left: 110%;
    margin-left: 0px;
  }
  100% {
    left: 110%;
    margin-left: 0px;
  }
}

.btn_markered {
  background: var(--second-gradient-color);
  border-radius: 5px;
  -webkit-box-shadow: 1px 1px 57px 0px rgba(220, 34, 146, 0.6);
  -moz-box-shadow: 1px 1px 57px 0px rgba(220, 34, 146, 0.6);
  box-shadow: 1px 1px 57px 0px rgba(220, 34, 146, 0.6);
}

.btn_large {
  font-size: 1.5rem;
  padding: 15px 30px;
  font-weight: 700;
}

.btn-phone::before {
  display: inline-flex;
  content: "";
  height: 14px;
  width: 14px;
  margin-right: 5px;
  background-image: url(img/icon/svg/phone.svg);
  background-size: 14px 14px;
}
.header__wrapper {
  width: 100%;

  /* background: url(img/bg.jpg); */
  background-size: auto 100%;

  background-repeat: no-repeat;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 15px 0;
}

.fixed {
  position: fixed;
}

.header__logo {
  padding: 0 15px;
}

.header__logo img {
  width: 100%;
  max-width: 350px;
}

.header__time {
  padding: 0 15px;
}

.header__contacts {
  padding: 0 15px;
  min-width: 260px;
}

.phone__number_header {
  padding: 5px 0;
}

.header__nav {
  display: flex;
  justify-content: space-around;
}

.nav__link {
  padding: 15px;
  margin: 15px;
  border-bottom: 2px solid var(--second-color);
}

.nav__link:hover {
  padding: 15px;
  margin: 15px;
  border-bottom: 2px solid var(--link--hover-color);
}

.header__btn {
  padding: 0 15px;
}

.phone {
  display: flex;
  align-items: center;
  font-weight: 700;
}

.phone__number {
  display: flex;
  flex-direction: column;
}

.phone__number {
  padding: 5px 0;
}

.footer__wrapper .phone__item {
  justify-content: center;
}

.phone__item {
  align-items: center;
  display: flex;
}

.phone__number,
.phone__viber,
.phone__tg {
  margin: 0 5px;
}

.time__meta {
  padding: 5px 0;
  margin-right: 5px;
}

.time__number {
  padding: 5px 0;
}

.main {
  width: 100%;
  background: url(img/carbg.jpg);
  background-size: auto 100%;
  background-position-x: 100%;
  background-repeat: no-repeat;
}

.main__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.main__meta {
  width: 50%;
}

.main__btn,
.meta__title,
.meta__desc {
  padding: 30px 0;
  display: flex;
}

.meta {
  line-height: 4rem;
}

.meta__pre {
  font-size: 2.25rem;
  line-height: 3.5rem;
}

.meta__title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 3.5rem;
}

.meta__desc {
  font-size: 2rem;
  font-weight: 400;
  line-height: 2rem;
  text-shadow: 0 2px 0 0px hsl(0, 0%, 100%),
    0 3px 2px 0px hsla(330, 100%, 15%, 0.5);
}

.meta__phone {
  font-size: 1.5rem;
}

.meta__phone-number {
  padding: 8px 0;
  text-decoration: underline;
  font-weight: 700;
  font-size: 1.5rem;
}

.advantages {
  padding: 30px 15px;
}
.advantages__wrapper {
  display: flex;
  flex-wrap: wrap;
}

.advantages__single {
  width: 25%;
  flex-grow: 1;
  min-width: 250px;
  padding: 25px 35px;
  margin: 15px 0;
  box-sizing: border-box;
}

.advantage__item {
  display: flex;
}

.advantage__icon {
  text-align: center;
  padding: 25px;
}

.advantage__meta {
  display: flex;
  flex-direction: column;
}

.advantage__title {
  text-align: center;
  font-size: 1.2rem;
  padding-bottom: 15px;
  font-weight: 700;
  color: var(--main--font-color);
}

.advantage__desc {
  color: var(--main-color);
  line-height: 2rem;
  text-align: center;
}

.contacts {
}

.contacts__info {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.contacts__pic,
.contacts__meta {
  width: 50%;
  flex-grow: 1;

  padding: 25px 35px;
  margin: 15px 0;
  box-sizing: border-box;
}

.contacts__meta {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-width: 376px;
}

.contacts__pic {
  text-align: center;
}

.contacts__img {
  width: auto;
  max-height: 200px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 30px 15px;
  background: var(--main--font-color);
}

.footer__lofo {
  width: 100%;
}

.footer__wrapper {
  text-align: center;
  font-size: 1.5rem;
}

.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer__contacts {
  display: flex;
  padding-bottom: 15px;
  flex-wrap: wrap;
}

.footer__phone {
  font-size: 2.2rem;
}

.footer__social {
  display: flex;
}

.footer__credits {
  color: var(--second-color);
  flex-wrap: wrap;
}

.footer__donwload {
  font-style: italic;
  text-decoration: underline;
  padding: 15px 0;
  margin: 0 5px;
}

.footer__call {
  padding: 10px 0;
  color: var(--third-color);
}

.footer__phone-number {
  color: var(--third-color);
  padding: 8px 0;
  text-decoration: underline;
}

.footer__icon {
  margin-left: 15px;
}

.footer__logo {
  width: 100%;
}

.copyright {
  padding: 15px;
  text-align: center;
}

.copyright a {
  color: var(--main--font-color);
}

@media screen and (max-width: 1040px) {
  .header__logo {
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 960px) {
  .footer {
    justify-content: center;
  }
  .footer__meta {
    align-items: center;
  }
  .footer__credits {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
  }

  .trigger__single {
    flex: 1;
    text-transform: none;
    font-weight: 400;
    min-width: 240px;
    max-width: 40%;
  }
  .trigger__container {
    width: 100%;
  }

  .main__btn {
    padding: 35px;
    text-align: center;
    display: flex;
    justify-content: center;
  }
  .main__meta {
    width: 100%;
  }
  .header__wrapper {
    background-position-x: 25%;
  }
  .main {
    background-position-x: 20%;
  }
}

@media screen and (max-width: 768px) {
  .header__nav {
    display: none;
  }
  .header__logo,
  .header__contacts {
    width: 50%;
    justify-content: center;
  }
  .header__btn,
  .header__contacts,
  .header__logo {
    padding: 15px;
  }

  .contacts__meta .phone__number {
    padding: 10px 0;
  }
  .phone__number_header {
    padding: 3px 0;
  }

  .phone__number_header {
    padding: 8px 0;
  }
}

@media screen and (max-width: 640px) {
  .main {
    position: relative;
  }
  .main__wrapper {
    position: relative;
    z-index: 10;
  }

  .header__time {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .header__btn {
    padding: 15px 15px;
  }

  .meta__pre {
    font-size: 1.8rem;
  }

  .main__meta {
    text-align: center;
  }
  .meta__pre {
    font-size: 1.8rem;
    padding: 15px 0;
  }
  .meta__title {
    font-size: 2.4rem;
    line-height: 3rem;
  }
  .meta__desc {
    font-size: 1.8rem;
    line-height: 3rem;
  }
  .trigger__single {
    padding: 15px;

    line-height: 1.3rem;
  }
  .footer__contacts {
    justify-content: center;
  }
  .footer__phone {
    padding: 15px 0;
  }
  .footer__icon {
    margin: 15px;
  }
  .footer__credits {
    text-align: center;
  }

  .header {
    justify-content: center;
  }
  .contacts__info {
    flex-direction: column;
    align-content: center;
  }
  .contacts__pic,
  .contacts__meta {
    width: 100%;
  }
}

@media screen and (max-width: 540px) {
  .works__single {
    padding: 10px 35px;
  }

  .header {
    flex-direction: column;
  }
  .trigger {
    justify-content: center;
  }
  .form__fields-wrapper .form__fields {
    width: 100%;
  }
  .meta__desc {
    font-size: 1.4rem;
    line-height: 1.6rem;
  }
  .meta__title {
    font-size: 2rem;
    line-height: 2rem;
  }
}
