@font-face {
  font-family: "ActayWideBold";
  src: url("../fonts/ActayWide-Bold.otf");
}
@font-face {
  font-family: "Actay";
  src: url("../fonts/Actay-Regular.otf");
}
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none !important;
  padding: 0;
  margin: 0;
}
a,
a:hover,
a:target,
input,
input:hover,
input:target,
button,
button:hover,
button:target,
select,
select:hover,
select:target,
textarea,
textarea:hover,
textarea:target {
  outline: none !important;
}
a,
a:hover,
a:target {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
body {
  font-family: "Actay", sans-serif;
  overflow-x: hidden;
  color: #000;
}
.main {
  position: relative;
  background-color: #f9faff;
  height: 100%;
  width: 100%;
}
.container {
  padding: 0 !important;
  height: 100%;
  max-width: 600px !important;
  margin-left: auto;
  margin-right: auto;
}
.page {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}
.header__overlay {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.01) 12%,
    rgba(0, 0, 0, 0.13) 46%,
    rgba(0, 0, 0, 0.68)
  );
}
.header {
  display: flex;
  align-items: center;
  position: relative;
  height: 200px;
  background-image: url(../img/header-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.header__master {
  display: flex;
  align-items: center;
  position: absolute;
  left: 10px;
  bottom: -15px;
}
.avatar {
  border: 3px solid #d7daf1;
  box-shadow: 0.07px 3.999px 20px 0px rgb(0 0 0 / 11%);
  border-radius: 50%;
}
.header__master-desc {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-left: 20px;
}
.header__master-desc h3 {
  font-family: "ActayWideBold", sans-serif;
  font-size: 22px;
  color: #fff;
  margin-bottom: 5px;
}
.header__master-desc span {
  font-family: "Actay", sans-serif;
  font-size: 16px;
  color: #fff;
}
.contacts {
  display: flex;
  position: relative;
  justify-content: center;
  margin-top: 70px;
  margin-bottom: 40px;
}
.contacts__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px 16px 16px 16px;
  background-color: #eaeaea;
  border-radius: 60px;
  box-shadow: 0px 2.4px 2.5px -21px rgba(0, 0, 0, 0.031),
    0px 5.3px 7.5px -21px rgba(0, 0, 0, 0.044),
    0px 9.4px 17px -21px rgba(0, 0, 0, 0.055),
    0px 16.3px 35.2px -21px rgba(0, 0, 0, 0.066),
    0px 30.6px 76.1px -21px rgba(0, 0, 0, 0.079),
    0px 63px 169px -21px rgba(0, 0, 0, 0.11);
}
.contacts__link-a {
  display: flex;
  flex-direction: row;
  column-gap: 25px;
  align-items: center;
}
.contacts__link-order {
  display: flex;
  position: absolute;
  background-color: #d7daf1;
  top: -29px;
  padding: 8px 31px;
  border-radius: 50px;
  border: 4px solid #f9faff;
  font-size: 14px;
}
.md-trigger {
  width: 100%;
  border-radius: 20px 20px 45px 45px;
  background-color: rgb(61, 69, 77);
  padding: 18px 15px;
  margin-top: 23px;
  border: none;
  font-family: "Actay", sans-serif;
  font-size: 18px;
  color: #fff;
}
.map {
  display: flex;
  flex-direction: column;
  position: relative;
}
.map-info {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0 25px;
  padding: 27px 30px;
  background-color: #edeffb;
  border-radius: 25px;
  margin-bottom: 15px;
}
.map-info h4 {
  font-family: "ActayWideBold", sans-serif;
  font-size: 22px;
  color: #000;
  margin-bottom: 15px;
}
.map-info ul {
  list-style: none;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}
.map-info ul li {
  font-size: 16px;
  margin-bottom: 11px;
}
.map-info li:not(.nested):before {
  float: left;
  width: 0;
  white-space: nowrap;
  content: ". . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . ";
}
.map-info li a:first-child {
  background-color: #edeffb;
  padding-right: 2px;
}
.map-info a + span {
  float: right;
  padding-left: 3px;
  background-color: #edeffb;
}
.map-ya {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0 25px 25px 25px;
  background-color: #edeffb;
  border-radius: 25px;
  overflow: hidden;
  border: 4px solid #edeffb;
}

/*  ----------------------------- НАЧАЛО ------------------------------  */

.md-modal {
  margin: auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  z-index: 2000;
  visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}

.md-show {
  visibility: visible;
}

.md-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  visibility: hidden;
  top: 0;
  left: 0;
  z-index: 1000;
  opacity: 0;
  background: rgb(228 221 216);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.md-show ~ .md-overlay {
  opacity: 1;
  visibility: visible;
}

.md-effect-12 .md-content {
  position: relative;
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.md-effect-12 .md-content h3,
.md-effect-12 .md-content {
  background: transparent;
}

.md-show.md-effect-12 .md-content {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}
.md-content img {
  position: relative;
  display: block;
  width: 100%;
  object-fit: cover;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.md-close {
  display: block;
  position: absolute;
  width: 80%;
  bottom: 29px;
  border-radius: 20px 20px 45px 45px;
  background-color: rgb(61, 69, 77);
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 18px 15px;
  border: none;
  font-family: "Actay", sans-serif;
  font-size: 18px;
  color: #fff;
}
/*  ----------------------------- КОНЕЦ ------------------------------  */
.noscroll {
  overflow: hidden;
}
