* {
  margin: 0;
  font-family: 'Bergen Sans';
}

body::-webkit-scrollbar {
  width: 8px;
  /* ширина scrollbar */
}

body::-webkit-scrollbar-track {
  background: #282828;
  /* цвет дорожки */
}

body::-webkit-scrollbar-thumb {
  background-color: #F26210;
  /* цвет плашки */
  border-radius: 5px;
  /* закругления плашки */
  /* border: 1px solid orange;  padding вокруг плашки */
}

#prew-wrap {
  background: url(../img/home-bg.jpg);
  background-size: cover;
  background-position: center;
  /* animation: breath 150000ms linear infinite; */
  height: 820px;
}

@keyframes breath {
  0% {
    background-size: 100% auto;
  }

  50% {
    background-size: 140% auto;
  }

  100% {
    background-size: 100% auto;
  }
}

#logo {
  font-weight: 800;
  color: #fff;
  font-size: 50px;
  width: auto;
}

#top-yandex,
#socia-count {
  background-color: #2C2C2C;
  border: solid 1px #777;
  border-radius: 12px;
  height: 61px;
  color: #fff;
  margin-bottom: 25px;
}

#top-yandex span {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: -13px;
}

#socia-count span:nth-child(1) {
  font-size: 26px;
  font-weight: bold;
}

#socia-count>div>div:nth-child(2) {
  line-height: 18px;
  padding-top: 12px;
}

#socia-count img {
  position: relative;
  margin-left: -44px;
  margin-top: -16px;
}

#phone-top {
  line-height: 20px;
  text-align: end;
  padding: 0;
}

#phone-top a {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  transition: 0.2s ease all;
  font-variant-numeric: tabular-nums;
}

#phone-top a:hover {
  color: #f2a510;
}

#phone-top span {
  color: #777777;
}

#prew-wrap h1 {
  color: #fff;
  font-weight: 800;
  font-size: 6vw;
}

#prew-wrap h1 span {
  background: linear-gradient(45deg, #f2a510 33%, #fdfddd 66%, #f2a510);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.my-shadow {
  text-shadow: 5px 5px 10px #000;
}

#home-form {
  background-image: url(../img/test.png);
  height: 447px;
  width: 378px;
  opacity: 0.9;
  background-repeat: no-repeat;
  background-size: contain;
  color: #fff;
  padding: 30px;
}

.my-box {
  width: 300px;
  border-width: 1px;
  border-radius: 20px;
  background-color: #fbfbfb;
  background-position: center center;
  border-color: #e8e8e8;
  border-style: solid;
  color: #353535;
  text-align: center;
  padding: 17px;
}

.my-box h3 {
  font-weight: 800;
}

.mini-arrow {
  width: 20px;
  margin: 10px;
}

#job-bel {
  color: #fff;
  font-size: 26px;
  text-shadow: 5px 5px 10px #000;
}

#home-form textarea,
#home-form input {
  background: none;
  border-radius: 0;
  border: unset;
  border-bottom: 1px solid #6d7777;
  padding: 10px 0px;
  color: #fbfbfb;
}

.card-form textarea,
.card-form input {
  background: none;
  border-radius: 0;
  border: unset;
  border-bottom: 1px solid #6d7777;
  padding: 10px 0px;
  color: #fbfbfb;
}

.card-form textarea:focus,
.card-form input:focus {
  outline: none;
  background: #282828;
}


textarea:focus,
input:focus {
  outline: none;
}

.form-button {
  padding: 0px 15px;
  width: 100%;
  font-weight: 400;
  height: 77px;
  color: #fff;
  border-radius: 15px;
  font-size: 20px;
  cursor: pointer;
  background-color: #f26210;
  font-weight: 800;
  margin-top: 41px;
  transition: 0.2s ease all;
}

.form-button:hover {
  background-color: #ce4e06;
  color: #fff;
  font-size: 22px;
}

#social-groups {
  background: linear-gradient(138deg, rgb(56 146 216) 0%, rgb(242 98 16) 50%, rgb(88 63 187) 100%);
  height: 200px;
}

#wrap-border {
  margin-top: -90px;
  background: #ffffff;
  border-radius: 90px 0 90px 0;
}

.cards {
  width: auto;
  border-radius: 20px;
  padding: 0;
  color: #353535;
  box-shadow: 4px 3px 15px -3px rgba(80, 110, 133, 0.5);
  margin-bottom: 45px;
  overflow: hidden;
}

.flags-top {
  position: absolute;
  z-index: 2;
  border-radius: 20px 0 0 0;
}

.cards h1 {
  position: absolute;
  left: 20px;
  top: 150px;
  color: #fff;
  font-weight: 800;
  font-size: 50px;
  text-shadow: 5px 5px 10px #000;
  z-index: 2;
  transition: 0.3s;
}

.cards h2 {
  position: absolute;
  right: 20px;
  text-align: end;
  line-height: 25px;
  top: 20px;
  color: #fff;
  font-weight: 800;
  font-size: 37px;
  text-shadow: 5px 5px 10px #000;
  z-index: 2;
}

.cards h4 {
  position: absolute;
  top: 174px;
  right: 20px;
  z-index: 3;
  font-weight: 800;
  font-size: 18px;
}

.cards h4 span {
  font-size: 40px;
}

.cards h6 {
  margin-bottom: 0;
}

.img-scales {
  overflow: hidden;
  width: max-content;
  border-radius: 20px 20px 0 0;
  display: flex;
  height: 260px;
}

.img-scales img {
  width: 100vw;
  transition: 0.3s;
  object-fit: cover;
}

.cards:hover .img-scales img {
  scale: 1.2;
}

.cards:hover h1 {
  top: 93px;
  font-size: 67px;
}

.card-info {
  background: #fff;
  height: 150px;
  border-radius: 50px 0 20px 20px;
  margin-top: -40px;
  position: relative;
  width: inherit;
  margin-left: 0;
  font-variant-numeric: tabular-nums;
}

.cards-plashka {
  position: absolute;
  top: 142px;
  right: -0px;
  z-index: 2;
}

.card-info h3 {
  font-weight: 800;
  margin-bottom: 0;
  width: auto;
  padding: 0;
}

.card-info h3 span {
  color: #f26210;
}



/* Стили для кнопки */
.glare-button {
  border: none;
  border-radius: 15px;
  padding: 5px 20px;
  background: #f26210;
  color: #fff;
  font-weight: 800;
  /* Белый цвет текста на кнопке */
  position: relative;
  overflow: hidden;
  width: 300px;
  font-size: 20px;
  padding: 20px;
  /* Отступы внутри кнопки */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  /* Добавляем тень для трехмерного эффекта */
}

/* Стили для создания блика на кнопке */
.glare-button:before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 30%,
      /* Прозрачность начала блика */
      rgba(255, 255, 255, 0.5),
      /* Цвет блика */
      rgba(255, 255, 255, 0) 70%
      /* Прозрачность конца блика */
    );
  top: 0;
  left: -100px;
  animation: shine 4s infinite linear;
}

/* Ключевые кадры для анимации блика */
@keyframes shine {
  0% {
    left: -100px;
    /* Начальная позиция блика (левая сторона кнопки) */
  }

  20% {
    left: 100%;
    /* Позиция блика в конце (правая сторона кнопки) */
  }

  100% {
    left: 100%;
    /* Завершение анимации */
  }
}

.btn-wrap {
  padding: 5px;
  border: 1px solid #777777;
  width: max-content;
  border-radius: 20px;
}




#arrow-anim {
  position: absolute;
  animation: MoveUpDown 1.6s linear infinite;
  right: 80px;
}

#contactus {
  border-radius: 40px;
  background-color: #f1f1f1a1;
  border: solid 1px #ced4da4d;
  font-variant-numeric: tabular-nums;
}

.contactus-img {
  border-radius: 10px;
  width: auto;
  height: 58px;
}

#phone-bottom {
  line-height: 20px;
  width: unset;
}

#phone-bottom a {
  font-size: 20px;
  font-weight: bold;
  color: #353535;
  text-decoration: none;
}

#btn-telega {
  color: #ffffff;
  width: 48%;
  font-size: 18px;
  padding: 12px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 10px;
  background-color: #3892d8;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

#btn-watsapp {
  width: 48%;
  color: #ffffff;
  font-size: 18px;
  padding: 12px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 10px;
  background-color: #36c747;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

#btn-viber {
  width: 48%;
  color: #ffffff;
  font-size: 18px;
  padding: 12px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 10px;
  background-color: #583fbb;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

#btn-viber img {
  width: 24px;
}

#btn-instagram {
  width: 48%;
  color: #ffffff;
  font-size: 18px;
  padding: 12px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 10px;
  background-color: #de2d6c;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

#btn-instagram img {
  width: 24px;
}

#bottom-form {
  border: solid 1px #ced4da4d;
  border-radius: 40px;
}

#palm {
  background: url(https://www.pinclipart.com/picdir/big/566-5665776_palm-tree-illustration-vector-clipart.png);
  background-size: cover;
  opacity: 0.4;
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: bottom center;
}

footer {
  background: #353535;
  color: #fff;
  font-weight: 800;
  text-align: center;
  padding: 15px;
}

@keyframes MoveUpDown {

  0%,
  100% {
    top: 0;
  }

  50% {
    top: 18px;
  }
}










@keyframes flareAnimation {
  0% {
    left: -150%;
  }

  100% {
    left: 150%;
  }
}


/* @keyframes slideme {
  0% {
      left: -30px;
      margin-left: 0px;
  }
  30% {
      left: 110%;
      margin-left: 80px;
  }
  100% {
      left: 110%;
      margin-left: 80px;
  }
} */




@media only screen and (max-width: 720px) {
  #socia-count {
    margin-left: 44px;
  }

  #logo {
    text-align: center;
  }

  #prew-wrap {
    height: 620px;
  }

  #phone-top span {
    color: #fff;
  }

  #top-yandex,
  #socia-count {
    zoom: 80%;
    margin-right: 0px;
  }

  #phone-top {
    padding: 0;
    line-height: 22px;
  }

  #phone-top a {
    font-size: 24px;
  }

  #job-bel {
    font-size: 22px;
  }

  .mini-arrow {
    width: 30px;
    transform: rotate(90deg);
    margin: 20px auto;
  }

  .my-box {
    margin: auto;
  }

  #wrap-border {
    border-radius: 35px 0 0 0;
  }

  .cards-buttons {
    padding: 5px;
    border-radius: 6px;
    width: 100%;
  }
}

@media only screen and (min-width: 500px) {
  #prew-wrap {
    height: 660px;
  }
}

@media only screen and (min-width: 580px) {
  #prew-wrap h1 {
    font-size: 5.5vw;
  }
}

@media only screen and (min-width: 600px) {
  .img-scales {
    height: 290px;
  }

  #prew-wrap h1 {
    font-size: 5.2vw;
  }

  .img-scales img {
    margin-left: -10vw;
  }

  .cards-plashka {
    top: 172px;
  }

  .cards h4 {
    top: 210px;
  }

  .cards h1 {
    top: 178px;
  }
}

@media only screen and (min-width: 670px) {
  .img-scales img {
    margin-left: -20vw;
  }

  #prew-wrap h1 {
    font-size: 4.5vw;
  }

  .cards-buttons {
    padding: 5px;
    border-radius: 6px;
    width: 100%;
  }
}

@media only screen and (min-width: 768px) {
  .img-scales img {
    margin-left: -5vw;
  }

  #socia-count {
    margin-left: 50px;
  }

  #phone-top {
    width: auto;
  }

  #prew-wrap h1 {
    font-size: 5.5vw;
  }

  #prew-wrap {
    height: 712px;
  }
}

@media only screen and (min-width: 840px) {
  .img-scales img {
    margin-left: -10vw;
  }

  #prew-wrap h1 {
    font-size: 5.1vw;
  }
}

@media only screen and (min-width: 920px) {
  .img-scales img {
    margin-left: -20vw;
  }

  #prew-wrap h1 {
    font-size: 4.7vw;
  }
}

@media only screen and (min-width: 992px) {
  .cards {
    width: 302px;
  }

  #prew-wrap h1 {
    font-size: 3.6vw;
  }

  .img-scales img {
    margin-left: 0;
  }

  .img-scales img {
    width: auto;
  }

  .cards h1 {
    top: 178px;
  }

  #prew-wrap {
    height: 800px;
  }

  .home-form {
    margin-top: -50px;
  }
}

@media only screen and (min-width: 1000px) {
  #prew-wrap h1 {
    font-size: 36px;
  }
}

@media only screen and (min-width: 1200px) {
  .cards {
    width: 355px;
  }

  #prew-wrap h1 {
    font-size: 43px;
  }
}

@media only screen and (min-width: 1400px) {
  .cards {
    width: 415px;
  }

  .img-scales img {
    width: 420px;
  }

  #prew-wrap h1 {
    font-size: 50px;
  }
}

.modal-backdrop.show {
  opacity: .8;
}

.modal-content {
  border: solid 1px #777;
  border-radius: 24px;
}

.modal-title {
  font-weight: 800;
}

.link-modals {
  border: none;
    border-radius: 8px;
    padding: 5px 20px;
    background: #f26210;
    color: #fff;
    font-weight: 800;
    position: relative;
    overflow: hidden;
    font-size: 20px;
    padding: 5px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    text-decoration: none;
}
.link-modals:hover {
  color: #fff;
  background: #d95b14;
}
.form-control {
  border-radius: 8px;
}
.modal-footer a {
  text-decoration: none;
  color: #282828;
  font-weight: 800;
  font-size: 16px;
}
.modal-footer a span {
  color: #f26210;
}
.link-viber {
  background: #583fbb;
  padding: 5px;
  border-radius: 8px;
}
.link-telega {
  background: #36c747;
  padding: 5px;
  border-radius: 8px;
}
.link-watsapp {
  background: #3892d8;
  padding: 5px;
  border-radius: 8px;
}