/* Bootstrap classes start */

.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

/* Bootstrap classes end */

html {
  font-size: 0.95rem;
}

* {
  font-family: "Montserrat", sans-serif;
}

body {
  padding: 0;
  margin: 0;
  font-size: 1rem;
}

h2 {
  font-size: 2rem;
}

a {
  text-decoration: none;
  color: #282828;
}

a:hover:not(.button_main) {
  text-decoration: none;
  color: #ef6e95;
}

p {
  margin: 0;
}

.button_main {
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-sizing: border-box;
  height: 66px;
  border-radius: 33px;
  font-weight: bold;
  font-size: 16px;
  line-height: 26px;
  text-decoration: none;
  color: #282828;
  text-transform: uppercase;
  padding-left: 20px;
}

.button_main:hover {
  text-decoration: none;
  box-shadow: 0 0 5px 5px #eb497a;
  color: inherit;
}

.logo {
  width: 312px;
  height: 49px;
  background: url("../img/logo.png") center center no-repeat;
  background-size: contain;
}
.logo_instagram {
  width: 50px;
  height: 50px;
  background: url("../img/logo_instagram.svg") center center no-repeat;
  background-size: contain;
}
.logo_facebook {
  width: 50px;
  height: 50px;
  background: url("../img/logo_facebook.svg") center center no-repeat;
  background-size: contain;
}
.logo_odnoklassniki {
  width: 50px;
  height: 50px;
  background: url("../img/logo_odnoklassniki.svg") center center no-repeat;
  background-size: contain;
}

.topBackground {
  position: absolute;
  width: 100%;
  height: 815px;
  background: url("../img/topBackground.png") right center no-repeat;
  z-index: -10;
  margin-top: -10px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 0 15px;
  margin: auto;
}

.header__openButton {
  display: none;
  width: 100px;
  height: 87px;
  background: url("../img/menuIcon.svg") center center no-repeat;
  background-size: contain;
  border: none;
  margin-right: 10px;
}

.nav {
  display: flex;
  justify-content: space-around;
  width: 630px;
}

.nav__link {
  color: #282828;
  font-size: 18px;
  text-decoration: none;
  padding-bottom: 10px;
}

.nav__link_active {
  color: #eb497a;
  border-bottom: 2px solid #eb497a;
}

.header__LKLogo {
  /*flex: 0 0 auto;*/
  width: 87px;
  height: 87px;
  background: url("../img/LKLogo.png") center center no-repeat;
  background-size: contain;
}

.titleInfo {
  margin: 190px auto 0 auto;
}

.titleInfo__title {
  width: 650px;
  margin-bottom: 40px;
}

.titleInfo__title span {
  font-weight: normal;
}

.titleInfo__text {
  width: 555px;
  font-size: 18px;
  margin-bottom: 40px;
}

.titleInfo__btn {
  position: relative;
  width: 260px;
  border: 2px solid #ef6e95;
  background: none;
  margin-left: -10px;
}

.titleInfo__btn::before {
  content: " ";
  position: absolute;
  width: 260px;
  height: 66px;
  z-index: -1;
  background: #fff2f6;
  border-radius: 33px;
  top: 15px;
  left: 15px;
}

.cards {
  display: flex;
  flex-direction: column;
  margin: 195px auto 0 auto;
}

.oneCard {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  min-height: 520px;
  border: 1px solid #dadada;
  border-radius: 15px;
  background: white;
  margin-bottom: 50px;
}

.card__image {
  flex: 0 0 auto;
  width: 280px;
  height: auto;
  padding: 0;
  margin-top: 1rem;
  border: 8px solid rgba(232, 232, 232, 0.25);
  border-radius: 15px;
  box-shadow: 0 0 0 1px rgba(101, 101, 101, 0.1);
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-right: 0;
  margin-bottom: 1rem;
  min-height: 375px;
  height: auto;
}

.card__title {
  text-align: center;
}

.card__title b {
  text-transform: uppercase;
}

.card__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 310px;
  height: 75px;
  background: rgba(255, 162, 190, 0.2);
  border-radius: 5px;
  /*font-size: 18px;*/
  line-height: 26px;
}

.card__desc {
  margin: 10px 15px;
  /*font-size: 18px;*/
  line-height: 24px;
}

.card__buttons {
  display: flex;
  flex-direction: column;
}

.card__btn {
  width: 240px;
  border: 2px solid #ef6e95;
}

/*.card__btn:nth-child(2) {
  margin-top: 0.5rem;
}

.card__btn:first-child {
  margin-right: 20px;
}

.card__btn:last-child {
  background: #ef6e95;
  color: white;
}*/

.oneCard.oneCard_promo {
  background: linear-gradient(124deg, #d468c9 0%, #711def 120%);
  color: white;
}

.oneCard.oneCard_promo .card__title b {
  text-transform: none;
}

.oneCard.oneCard_promo .card__info {
  background: rgba(59, 34, 84, 0.2);
}

/*.oneCard.oneCard_promo .card__btn:last-child {
  border: none;
  background: linear-gradient(to bottom, white 0%, #b641df 300%);
  color: #5a1f75;
}*/

.oneCard.oneCard_promo .card__btn:first-child {
  color: white;
  border-color: white;
}

.aboutMeBlock::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fcfbfb;
  z-index: -2;
}

.aboutMe {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  margin: 0 auto;
  padding-top: 90px;
}

.aboutMe::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 110%;
  left: -160px;
  background: url("../img/aboutMePhoto.png") left top 40px no-repeat;
  background-size: contain;
  overflow: visible;
  z-index: -1;
}

.aboutMe__rightColumn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 520px;
  width: 550px;
  margin-bottom: 60px;
}

.aboutMe__list {
  /*list-style-image: url("../img/checkAboutMeIcon.png");*/
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 75%;
  list-style: none;
}

.aboutMe__list li {
  position: relative;
  padding-left: 39px;
}

.aboutMe__list li::before {
  content: "";
  position: absolute;
  left: -39px;
  width: 39px;
  height: 39px;
  background: url("../img/checkAboutMeIcon.png") center center no-repeat;
}

.aboutMe__list span {
  display: inline-block;
  min-height: 42px;
}

.aboutMe__info {
  display: flex;
  align-items: center;
  width: 100%;
}

.aboutMe__info img {
  display: inline-block;
  margin-right: 15px;
}

.aboutMe__contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 30px 30px 25px 30px;
  border-radius: 15px;
  background: white;
}

.aboutMe__telephone {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.aboutMe__telephone div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 20px;
}

.aboutMe__telephone a {
  font-weight: bold;
  font-size: 22px;
}

.aboutMe__email {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.aboutMe__email div {
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  font-weight: bold;
}

.aboutMe__email a {
  border-bottom: 1px solid #ef6e95;
  color: #ef6e95;
  font-weight: normal;
}

.aboutMe__buttonBlock {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: white;
}

.aboutMe__btn {
  width: 310px;
  color: white;
  background: linear-gradient(to right bottom, #f03971 0%, #b72caa 100%);
  box-shadow: 0 5px 16px 0 #931d69;
}

.footer {
  display: flex;
  justify-content: space-between;
  margin-top: 150px;
  margin-bottom: 20px;
  flex-basis: auto;
}

.footer__logoAndCopyright {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
}

.footer__copyright {
  margin-top: 35px;
  font-size: 14px;
}

.footer__copyright a {
  text-decoration: underline;
}

.footer__practicum {
  display: flex;
  flex-direction: column;
}

.footer__practicumTitle {
  font-size: 24px;
  font-weight: 600;
}

.footer__practicumList {
  display: flex;
  flex-direction: column;
}

.footer__practicumList a {
  margin-top: 10px;
}

.footer__usefulMaterials {
  display: flex;
  flex-direction: column;
}

.footer__materialsTitle {
  font-size: 24px;
  font-weight: 600;
}

.footer__materialsList {
  max-width: 360px;
}

.footer__materialsList a {
  display: inline-block;
  width: 175px;
  margin-top: 10px;
}

@media screen and (max-width: 1600px) {
  .topBackground {
    background-position: left 120% center;
  }
}

@media screen and (max-width: 1400px) {
  .topBackground {
    background-position: left 150% center;
  }
}

@media screen and (max-width: 1200px) {
  html {
    font-size: 0.9rem;
  }
  .topBackground {
    background-position: left 600px center;
  }
  .aboutMe::before {
    left: -300px;
  }
  .aboutMe__telephone div {
    margin-left: 10px;
  }
}

@media screen and (max-width: 992px) {
  .header {
    position: relative;
  }
  .header__openButton {
    display: block;
  }
  .nav {
    position: absolute;
    flex-direction: column;
    width: auto;
    top: auto;
    bottom: -250px;
    left: 0;
    margin-left: 15px;
    padding: 0 20px;
    background: white;
    border: 2px solid #ef6e95;
    border-radius: 6px;
    transition: left 1s ease-in-out;
    z-index: 1;
  }
  .nav_hidden {
    left: -700px;
  }
  .nav__link {
    width: min-content;
    padding: 10px 0;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
  }
  .titleInfo {
    margin-top: 100px;
  }
  .titleInfo__title {
    width: auto;
  }
  .cards {
    margin-top: 100px;
  }
  .card__title h2 {
    text-align: center;
  }
  .aboutMeBlock {
    margin-top: 10%;
  }
  .aboutMe {
    align-items: center;
    padding-top: 60%;
  }
  .aboutMe::before {
    width: 85%;
    height: 400px;
    top: -13%;
    left: 10%;
  }
  .aboutMe__name {
    text-align: center;
  }
  .aboutMe__contact {
    flex-direction: column;
    width: auto;
    padding: 20px;
  }
  .aboutMe__email {
    margin-top: 30px;
  }
  .logo_instagram {
    margin-top: 30px;
  }
  .logo_facebook {
    margin-top: 30px;
  }
  .logo_odnoklassniki {
    margin-top: 30px;
  }
  .aboutMe__buttonBlock {
    margin-top: 30px;
  }
  .footer {
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }
  .footer__practicum {
    display: none;
  }
  .footer__usefulMaterials {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .card__btn:first-child {
    margin: 0;
  }
}

@media screen and (max-width: 576px) {
  html {
    font-size: 0.8rem;
  }
  .titleInfo__text {
    width: auto;
  }
  .cards {
    padding: 0 20px;
  }
  .card__image {
    width: 50%;
    height: auto;
  }
  .card__desc {
    padding-left: 15px;
    padding-right: 15px;
  }
  .aboutMe__rightColumn {
    width: 100%;
    height: auto;
    margin-bottom: 0;
  }
  .aboutMe__list li:not(:first-child) {
    margin-top: 10px;
  }
}

@media screen and (max-width: 375px) {
  .card__info {
    width: 90%;
  }
  .aboutMe:before {
    top: -10%;
  }
}

@media screen and (min-width: 992px) {
  .oneCard {
    flex-direction: row;
    padding-left: 3rem;
  }

  .card__image {
    margin-left: 0.5rem;
    margin-right: 1.5rem;
    margin-top: 0;
  }

  .card__content {
    align-items: flex-start;
    padding-right: 3rem;
    margin-bottom: 0;
  }

  .card__title {
    text-align: left;
  }

  .card__buttons {
    flex-direction: row;
  }

  .card__btn:nth-child(2) {
    margin-top: 0;
  }
}


.structure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 200px;
}

.structure__title {
  margin-bottom: 60px;
}

.structure__content {
  position: relative;
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.structure__content-arrow1,
.structure__content-arrow2,
.structure__content-arrow3 {
  position: absolute;
  top: -35px;
  left: 160px;
}

.structure__block {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 260px;
  min-height: 250px;
  padding: 25px;
  border: 1px solid #dadada;
  border-radius: 10px;
  margin-bottom: 60px;
}

.structure__block-mainNumber {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  background: linear-gradient(119deg, #47a2e8, #ef6b93);
  box-shadow: 0 5px 18px rgba(174, 122, 193, .75);
  top: -25px;
  left: 100px;
  color: white;
  font-size: 30px;
}

.structure__block-title {
  align-self: center;
  font-size: 28px;
  line-height: 24px;
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 30px;
  text-align: center;
}

.structure__block-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fafafa;
  margin: 0 -25px;
  padding: 10px 25px;
}

.structure__block-label span {
  font-weight: 600;
  color: #806d7f;
  line-height: 18px;
}

.structure__block-extraLabel {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}

.structure__block__listElem {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.structure__block__listElem-number {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  min-width: 22px;
  min-height: 20px;
  border: 2px solid #ef6e95;
  border-radius: 50%;
  color: #ef6e95;
  margin-right: 10px;
}

.structure__block__listElem-text {
  font-size: 16px;
  line-height: 22px;
  color: #565757;
  align-self: center;
}

.importantMoments {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.importantMoments__title {
  margin-top: 60px;
}

.importantMoments__content {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.importantMoments__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 240px;
  height: 260px;
  padding: 20px;
  box-sizing: content-box;
}

.importantMoments__block * {
  box-sizing: content-box;
}

.importantMoments__block-image {
  position: relative;
  display: flex;
  width: 90px;
  height: 90px;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  border: 1px solid #ef6e95;
  border-radius: 50%;
}

.importantMoments__block-image::before {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  z-index: -1;
  background: #fff2f6;
  border-radius: 50%;
  top: 15px;
  left: -15px;
}

.importantMoments__block-text {
  font-size: 16px;
  line-height: 20px;
  color: #565757;
  text-align: center;
}

@media screen and (max-width: 1200px) {
  .structure__block {
    width: 230px;
  }
  .structure__block-mainNumber {
    left: 85px;
  }
  .structure__content-arrow1,
  .structure__content-arrow2,
  .structure__content-arrow3 {
    left: 120px;
    transform: scaleX(0.75) scaleY(0.7);
  }
}

@media screen and (max-width: 992px) {
  .structure__block {
    width: 240px;
  }
  .structure__content {
    flex-wrap: wrap;
    justify-content: center;
  }
  .structure__content-arrow1,
  .structure__content-arrow3 {
    left: 170px;
    transform: scaleX(1.15);
  }
  .structure__content-arrow2 {
    display: none;
  }
  .structure__block {
    margin: 0 50px 70px 50px;
  }
  .importantMoments__content {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .structure__block {
    margin: 0 20px 50px 20px;
  }
  /*.structure__content-arrow1,*/
  /*.structure__content-arrow3 {*/
  /*  left: 145px;*/
  /*  transform: scaleX(0.9);*/
  /*}*/
  .importantMoments__block {
    width: 180px;
    height: 240px;
    margin: 0 50px;
  }

  .structure__content-arrow1,
  .structure__content-arrow2,
  .structure__content-arrow3 {
    display: block;
    transform: scaleX(1);
    top: 105%;
  }
  .structure__content-arrow1,
  .structure__content-arrow3 {
    left: 65%;
    transform: rotate(90deg);
  }
  .structure__content-arrow2 {
    left: -65%;
    transform: rotate(-90deg) scaleX(-1);
  }
}

/* Woocommerce fix */
.woocommerce-info {
  background-color: #ef6e95 !important;
}
.woocommerce-loop-product__title {
  margin-top: 1em !important;
}
.woocommerce-message {
  background-color: #ef6e95 !important;
}
.attachment-woocommerce_thumbnail {
  margin: auto;
}
/* Display-posts customization */
.display_posts li {
  margin: 10px 0;
  font-size: 20px;
}
