@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


body {
  background-image: url('../img/background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
 
  cursor:url('../img/cursor.png'), auto;
  backdrop-filter: blur(22px);
  font-family: "Roboto", sans-serif;
}








.wrapper {
  backdrop-filter: blur(22px);
  max-width: 1300px;
  margin: auto;display: flex;
  justify-content: center;
  height: 100%;
  z-index:10000;
  cursor:url('../img/cursor.png'), auto;
  position:relative;
}
.modal-active {
    
  z-index:100;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;

}
.item {
  margin: 40px;
}
.item-social {
}
.item-title {
  text-align: center;
  font-size: 23px;
  color:black;
  font-weight: 600;
  display: block;
}
a {
    text-decoration:underline !important;
    color:white !important;
}
.item-links {
}
.item-link {
  background-color: orange !important;
  width: 100%;
  display: inline-block;
  margin-top: 20px;
  text-align: center;
  
    text-decoration:none !important;
  font-size: 18px;
  padding: 10px 15px;
  border-radius: 10px;
  color: #fff;
}
.tg {
  background-color: #259dd9;
}
.wa {
  background-color: #2cb742;
}
.item-text h1 {
  font-weight: 700;
  font-size:32px;
}
.item-text {
background-color: #934516;
  color: #fff;
  margin: auto;
  padding: 20px;
  font-size: 18px;
  max-width: 641px;
  font-weight: 500;
  text-align: center;
line-height:32px;
}
.item-modal {
  margin-top: -25px;
}
.item-modal, .item-social  {
  width: 300px;
}
.button {
  background-color: orange;
  width: 100%;
    text-decoration:none !important;
  display: inline-block;
  margin-top: 20px;
  text-align: center;
  font-size: 15px;
  padding: 10px 15px;
  border-radius: 10px;
  color: white;
}





/* свойства модального окна по умолчанию */
.modal-custom {
  position: fixed; /* фиксированное положение */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.5); /* цвет фона */
  z-index: 10501;
  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-custom:target {
  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: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: .3rem;
  outline: 0;
}
@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 #eceeef;
}
.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: #000 !important;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
  text-decoration: none !important; 
}
/* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
.close:focus, .close:hover {
  color: #000;
  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;
}
input, .form-control, select {
  border: 1px solid black !important;
  width: 100% !important;
  font-size: 18px;
  border-radius: 10px !important;
  padding: 5px;
  margin-bottom: 20px !important;
  -webkit-appearance: none; /* Убирает стрелку в Chrome и Safari */
  -moz-appearance: none; /* Убирает стрелку в Firefox */
  appearance: none; /* Убирает стрелку в современных браузерах */
   background-color: white; /* Цвет фона */
  background-size: 10px 10px; /* Размер стрелки */
}

select {
     background: url('data:image/svg+xml;utf8,<svg fill="%23000000" height="10" viewBox="0 0 24 24" width="10" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;

}

.btn {
  background-color: #5e331c;
  color: #fff;
  border: none;
  border-radius: 10px;
}
.item-text .item-link {
    display:none;
}
@media(max-width:900px) {
    .body {
        
    }
  .wrapper {
    max-width: 100%;
    flex-direction: column;
    overflow:hidden;
    text-align: center;
  }
  body {
    background-image: url('../img/background.jpg');
  background-repeat: repeat;
  background-size: contain;
  height:auto;
  }
  .row {
    flex-direction: column;
  }
  .item-text .item-link {
    display:block;
}
  .item-social {
    order: 1;
  }
  .item-modal {
    order: 2;
  }
  .item-text {
 
    font-size: 18px;
  }
  .item-text {
    order: 3;
  }
  .item {
    margin: 0px;
    margin-top:20px;
  }
}