/* Обнулення */
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
ul,
ol,
li {
  list-style: none;
}
img {
  vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}
html,
body {
  height: 100%;
  line-height: 1;
  font-size: 16px;
}
.wrapper {
  min-height: 100%;
}
/* ................... */

/* ................... */
body {
  background-color: #6486D8;
  font-family: "Cormorant Garamond", serif;
}
body._lock {
  overflow: hidden;
}
body._pc .menu_list > li:hover .menu_sub-list {
  opacity: 1;
  visibility: visible;
  transform: translate(0px, 0px);
  pointer-events: all;
}
body._touch .menu_list > li {
  display: flex;
  align-items: center;
}
body._touch .menu_link {
  flex: 1 1 auto;
}
.header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 10;
  background-color: #0433A4;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.header_menu {
  padding: 0px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header_logo img{
width: 300px;
height: 100%;
}
.menu_list {
  display: flex;
  gap: 30px;
}
.menu_list a:hover {
  text-shadow: 5px 2px 3px #000;
  cursor: pointer;
  transition: all 0.5s ease 0s;
}
.menu_link {
  color: white;
  font-size: 24px;
}
.menu_icon {
  display: none;
}
.header_socials {
  font-size: 25px;
  display: flex;
  gap: 30px;
}
.header_socials a {
  color: white;
}
@media (min-width: 767px) {
  .menu_list {
    display: flex;
    align-items: center;
  }
  .menu_list > li {
    padding: 10px 0;
  }
}
@media (max-width: 920px) {
  .header_menu {
    padding: 20px 0px;
    justify-content: space-around;
  }
  .menu_icon {
    z-index: 5;
    display: block;
    position: relative;
    width: 30px;
    height: 18px;
    cursor: pointer;
  }
  .menu_icon span,
  .menu_icon::before,
  .menu_icon::after {
    left: 0;
    position: absolute;
    height: 10%;
    width: 100%;
    transition: all 0.3s ease 0s;
    background-color: #fff;
  }
  .menu_icon::before,
  .menu_icon::after {
    content: "";
  }
  .menu_icon::before {
    top: 0;
  }
  .menu_icon::after {
    bottom: 0;
  }
  .menu_icon span {
    top: 50%;
    transform: scale(1) translate(0px, -50%);
  }
  .menu_icon._active {
    position: fixed;
    right: 10%;
  }
  .menu_icon._active span {
    transform: scale(0) translate(0px, -50%);
  }
  .menu_icon._active::before {
    top: 50%;
    transform: rotate(-45deg) translate(0px, -50%);
  }
  .menu_icon._active::after {
    bottom: 50%;
    transform: rotate(45deg) translate(0px, 50%);
  }
  .menu_body {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 100px 30px 30px 30px;
    transition: left 0.3s ease 0s;
    overflow: auto;
  }
  .menu_body._active {
    left: 0;
  }
  .menu_body::before {
    content: "";
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 70px;
    z-index: 2;
  }
  .menu_list {
    display: block;
  }
  .menu_list > li {
    flex-wrap: wrap;
    margin: 0px 0px 30px 0px;
  }
  .menu_list > li:last-child {
    margin-bottom: 0;
  }
  .menu_list > li._active {
    display: block;
  }
  .menu_link {
    font-size: 24px;
  }
}
/* ................... */

.greeting_btn a:hover,
.contract_btn a:hover,
.form_btn:hover {
  background-color: #EBEBE5;
  box-shadow: 0 0 15px rgb(75, 88, 105);
  cursor: pointer;
  color: #0433A4;
  transition: all 0.5s ease 0s;
}

/* ................... */

.about {
  padding: 15px;
}
.foto_about {
  padding: 10px;
  margin: 40px 50px;
  background-color: rgba(252, 252, 252, 0.5);
  border-radius: 30px;
  display: flex;
  align-items: center;
  font-weight: 300;
  font-size: 32px;
}
@media (max-width: 920px) {
  .foto_about {
    display: flex;
    flex-direction: column;
  }
}
.foto {
  height: 500px;
  display: flex;
  justify-content: center;
  object-fit: contain;
}
@media (max-width: 830px) {
  .foto {
    height: 300px;
  }
  .foto_about {
    margin: 40px 5px;
  }
}
.img_about {
  width: auto;
  height: 100%;
  border-radius: 30px;
}
.text_foto {
  text-align: left;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 920px) {
  .text_foto {
    align-items: center;
  }
}
.text_foto h1 {
  font-size: 60px;
  font-weight: bold;
  padding: 30px 20px;
text-align: center;
}
.text_foto p {
  font-size: 24px;
  padding: 0 20px 10px;
  text-align: center;
  }
.greeting_btn a {
  color: inherit;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
  font-family: "Roboto Serif", serif;
  text-transform: uppercase;
  display: block;
  padding: 30px;
  margin: 30px;
  background-color: #fff;
  border-radius: 10px;
}
.greeting_btn a:active {
  top: 5px;
  transition: 0.3s;
}

/* ................... */

.services {
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 18px;
  font-family: "Roboto Serif", serif;
}
.service {
  padding: 10px;
  margin: 5px;
  background-color: rgba(252, 252, 252, 0.5);
  border-radius: 30px;
  width: 400px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: justify;
}
.services h1 {
  margin: 10px;
  font-weight: bold;
  text-align: center;
}
.services li{
  list-style: none;
}
.price {
  width: 300px;
  height: 90px;
  background-color: #0433A4;
  color: #e0dede;
  border-radius: 5px;
  padding: 5px;
  margin: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: justify;
}
.price p {
  text-align: center;
  font-size: 14px;
}

/* ................... */
.contacts {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  padding: 0px 32px;
  margin: 0px 30px;
  font-size: 20px;
  font-family: "Roboto Serif", serif;
  color: #000;
}
@media (max-width: 830px) {
  .contacts {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
  }
}
.contacts li a {
  color: #000;
}
.social_media {
  display: flex;
}
.social_media li {
  padding: 0 15px;
}
.contact_item {
  padding: 10px 0;
}
/* question */
.question_form {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  margin: 30px 0;
  background-color: rgba(252, 252, 252, 0.5);
  border-radius: 10px;
}
.question_form * {
  outline: none;
}
.form_element {
  width: 100%;
  padding: 5px 10px;
  display: flex;
  flex-direction: column;
}
.form_element input,
textarea {
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  border-radius: 5px;
  padding: 10px;
  border: 0;
  transition: all 0.5s ease 0s;
}
.form_element input:focus,
textarea:focus {
  box-shadow: 0 0 15px #fff;
}

.question_form_header {
  margin: 0;
  text-shadow: 5px 2px 3px #4e4c4c7c;
}
.agreement_element {
  margin: 20px 0 0;
}
.form_btn {
  width: 50%;
  padding: 15px;
  margin: 25px 0 0;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  color: black;
  letter-spacing: 1px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  background-color: #fff;
  transition: all 0.5s ease 0s;
  position: relative;
  top: 0;
  font-family: "Roboto Serif", serif;
}
@media (max-width: 830px) {
  .form_btn {
    width: 100%;
  }
}
.form_btn:hover {
  background-color: #ffffffc2;
  box-shadow: 0 0 15px #fff;
}
.form_btn:active {
  top: 5px;
  transition: 0.3s;
}
/* ................... */
.footer {
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Roboto Serif", serif;
  color: #000;
}

.contract_btn a {
  color: inherit;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
  display: block;
  padding: 15px;
  background-color: #fff;
  border-radius: 10px;
  color: #000;
}
