html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

@font-face {
  font-family: 'Vivaldiscript';
  src: url(../font/vivaldi_script.woff2),
    url(../font/vivaldi_script.woff);
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: 'OldStandardTT';
  src: url(../font/old_standard_tt_regular.woff2),
    url(../font/old_standard_tt_regular.woff);
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: 'OldStandardTT-italic';
  src: url(../font/old_standard_tt_italic.woff2),
    url(../font/old_standard_tt_italic.woff);
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: 'Raleway';
  src: url(../font/raleway_regular.woff2),
    url(../font/raleway_regular.woff);
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: 'Adrenaline_zero';
  src: url(../font/adrenaline_zero.woff2),
    url(../font/adrenaline_zero.woff);
  font-display: swap;
  font-weight: 400;
}

body {
  font-family: 'OldStandardTT', 'OldStandardTT-italic', 'Vivaldiscript', 'Raleway', 'Arial', 'sans-serif';
}

/* Global */
.list-reset {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.btn-reset {
  display: inline-block;
  cursor: pointer;
  color: var(--btn-text-color);
  background-color: var(--btn-color);
  font-family: 'Ralewey';
  font-size: 16px;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

.title {
  margin: 0;
  font-family: 'OldStandardTT-italic';
  color: var(--title-color);
}

.text {
  font-family: 'Raleway';
  color: var(--text-color);
}

:root {
  --light-back: rgb(247, 245, 237);
  --dark-back: rgb(235, 239, 234);
  --title-color: rgb(70, 70, 70);
  --text-color: rgb(34, 34, 34);
  --border-color: #9fa0a5;
  --btn-color: rgb(112, 132, 109);
  --btn-text-color: #fff;
}

/* Header */
.header {
  background-color: var(--light-back);
  border-bottom: 1px solid var(--border-color);
}

.header__content {
  align-items: center;
  justify-content: space-between;
}

.nav {
  align-items: center;
  justify-content: end;
}

.nav__list {
  align-items: center;
}

.nav__link {
  font-family: 'OldStandardTT';
  font-size: 18px;
  color: var(--text-color);
}

.nav__item:not(:last-child) {
  margin-right: 50px
}

.header__logo {
  margin: 0;
  font-family: vivaldiscript;
  font-size: 60px;
  color: #4b4c4f;
}

/* Hero */
.hero {
  background-color: var(--light-back);
}

.hero__container {
  padding: 100px 0;
}

.hero__title {
  margin: 0;
  padding-top: 100px;
  font-family: OldStandardTT-italic;
  font-size: 40px;
}

.hero__bg {
  position: relative;
  margin: 0 30px;
  width: max-content;
  max-width: max-content;
  -webkit-transform: rotate(-5deg);
  border: 1px solid var(--border-color);
}

.hero__btn {
  position: absolute;
  display: flex;
  left: -80px;
  bottom: 100px;
  width: 150px;
  height: 150px;
  max-width: max-content;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--btn-text-color);
  border-radius: 50%;
  -webkit-transform: rotate(5deg);
}

.hero__img {
  position: relative;
  max-height: 600px;
  -webkit-transform: rotate(5deg);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal__content {
  margin-left: auto;
  margin-right: auto;
  top: 10%;
  max-width: 500px;
  padding: 50px;
  background-color: var(--light-back);
  border-radius: 15px;
}

.modal__title {
  margin: 0;
  margin-bottom: 30px;
  font-family: 'OldStandardTT';
  text-align: center;
}

.modal__descr {
  margin: 0;
  margin-bottom: 30px;
  font-family: 'OldStandardTT';
  font-size: 18px;
  font-weight: 300;
}

.form {
  flex-direction: column;
}

.form__input {
  font-size: 20px;
  border: none;
  background-color: inherit;
  border-bottom: 1px solid var(--border-color);
}

.form__input:not(:last-child) {
  margin-bottom: 35px;
}

.form__btn {
  padding: 10px;
  background-color: var(--btn-color);
  border-radius: 15px;
  outline: none;
}

.form__conf {
  color: red;
}

/* Slogan */
.slogan {
  background-color: var(--dark-back);
}

.slogan__content {
  margin: 0;
  padding: 30px 0;
  text-align: center;
  font-family: 'OldStandardTT';
  font-style: italic;
  font-size: 40px;
  font-weight: 400;
}

/* WhatHelp */
.whathelp {
  background-color: var(--light-back);
}

.whathelp__container {
  padding: 100px 0;
}

.whathelp__img {
  max-width: 150px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}

.whathelp__img_1 {
  top: 0;
}

.whathelp__img_2 {
  position: absolute;
  bottom: 0;
}

.whathelp__content {
  padding: 100px 0;
}

.whathelp__title {
  margin: 0;
  padding-bottom: 15px;
  font-size: 30px;
}

.whathelp__list {
  flex-direction: column;
}

.whathelp__item {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 400;
  line-height: 27px;
}

/* Services */
.services {
  background-color: var(--dark-back);
}

.services__container {
  padding: 100px 0;
}

.services__title {
  padding-bottom: 50px;
  text-align: center;
  font-size: 30px;
}

.services__list {
  max-width: 100%;
}

.services__item-content {
  width: 100%;
}

.services__item-card {
  width: 100%;
  flex-direction: column;
  padding: 15px 30px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.services__item {
  margin-bottom: 30px;
}

.services__item-subtitle {
  margin: 0;
  margin-bottom: 15px;
}


.services__item-title {
  margin: 0;
  margin-bottom: 15px;
  font-family: 'Raleway';
  font-size: 20px;
}

.services__item-descr {
  margin: 0;
  margin-bottom: 15px;
}

.services__nested-list {
  margin-bottom: 15px;
  flex-direction: column;
}

.services__nested-item {
  margin: 0;
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.services__item-ps {
  margin: 0;
  margin-bottom: auto;
  padding-bottom: 50px;
  font-style: italic;
}

#btn {
  margin-left: auto;
  margin-right: auto;
  font-family: 'Raleway';
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: color .3s ease-in-out;
}

#btn:hover {
  color: rgb(254, 97, 97);
}

#more {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease-in-out;
}

.services__button {
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-around;
}

.services__btn {
  padding: 10px 10px !important;
  align-items: center;
  padding-bottom: 0;
  border-radius: 10px;
}

.services__price {
  margin: 0;
}

/* Reiews */
.reviews {
  background-color: var(--light-back);
  border-bottom: 1px solid #9fa0a5;
}

.reviews__conteiner {
  padding: 100px 0;
}

.reviews__title {
  padding-bottom: 50px;
  text-align: center;
  font-size: 30px;
}

.swiper-slide {
  min-height: 300px;
  background-color: var(--dark-back);
  border-radius: 15px;
}

.swiper__slide-name {
  text-align: center;
}

.swiper__slide-text {
  text-align: center;
}

/* Contacts */
.contacts {
  background-color: var(--light-back);
}

.contacts__container {
  padding: 100px 0;
  padding-bottom: 0;
}

.contacts__title {
  margin-bottom: 50px;
}

.contacts__social-item:not(:last-child) {
  margin-right: 15px;
}

.contacts__icon svg {
  width: 50px;
  height: 50px;
}

.contacts__bg-content {
  margin: 0 30px;
  margin-bottom: 40px;
  max-width: max-content;
  -webkit-transform: rotate(-5deg);
  border: 1px solid var(--border-color);
}

.contacts__img {
  -webkit-transform: rotate(5deg);
}

/* Footer */
.footer {
  background-color: #000;
}

.copyright {
  margin-right: 15px;
  text-align: center;
  font-family: 'Raleway';
  font-size: 16px;
  color: var(--title-color);
  border: none;
  background-color: inherit;
}

.hidden-content.show-content {
  opacity: 1;
}

.copyright__logo {
  margin: 0;
  padding: 0 5px;
  font-family: 'Adrenaline_zero';
  font-size: 30px;
}

.hidden-content {
  margin-left: auto;
  margin-right: auto;
  padding: 10px 10px 0;
  width: max-content;
  flex-direction: column;
  align-items: center;
  background-color: #000;
  opacity: 0;
  transition: opacity 1s;
}

.hidden-content__text {
  margin: 0;
  font-family: 'Adrenaline_zero';
  font-size: 18px;
  color: var(--title-color);
}

.hidden-content__link {
  color: var(--title-color);
}

/* Confidentiality */
.conf__title {
  margin-top: 100px;
  margin-bottom: 100px;
  text-align: center;
}

.conf__subtitle {
  margin-bottom: 30px;
}

/* AboyMySelf */
.aboutmy {
  background-color: var(--light-back);
}

.aboutmy__title {
  margin: 0;
  margin-top: 100px;
  margin-bottom: 50px;
  text-align: center;
  font-size: 30px;
}

.aboutmy__subtitle {
  margin: 0;
  margin-bottom: 30px;
  font-family: 'OldStandardTT';
  font-style: italic;
  font-size: 31px;
  font-weight: 300;
  line-height: 40px;
}

.aboutmy__bg {
  position: relative;
}

.aboutmy__img {
  padding-top: 100px;
  padding-bottom: 50px;
}

.aboutmy__btn {
  position: absolute;
  display: flex;
  right: 50px;
  bottom: -10px;
  width: 150px;
  height: 150px;
  max-width: max-content;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--btn-text-color);
  border-radius: 50%;
}

/* Sertificats */
.sertificats {
  background-color: var(--dark-back);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
}

.gallery-image {
  width: 200px;
  height: 200px;
  margin: 10px;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-image {
  max-width: 90%;
  max-height: 90%;
}


