.page {
  background: linear-gradient(180deg, rgba(209,201,184,1) 0%, rgba(75,64,61,1) 25%);
  background-repeat: no-repeat;
}

.container {
  background-image: url("./img/background5.png");
  background-position: center bottom;
  background-repeat: no-repeat;
}

.page-name {
  max-width: 910px;
}

.header-text {
  max-width: 915px;
}

.main {
  padding: 55px 100px 0 190px;
}

.mind-section {
  max-width: 1630px;
  position: relative;
  padding-top: 54px;
  margin: 0 auto;
}

.text-row {
  position: relative;
  padding-right: 505px;
}

.mind-photo {
  border-radius: 50%;
  border: 23px solid rgba(255, 255, 255, 0.1);
  position: absolute;
  bottom: -48px;
  right: 0;
}

.mind-title {
  font-family: HelveticaNeueCyr-UltraLight;
  font-size: 50px;
  color: white;
}

.mind-text-block {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  margin-top: 10px;
  padding-top: 58px;
  display: flex;
}

.mind-text-block:after {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  height: 46px;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}

.mind-title.t2 {
  line-height: 29px;
}

.mind-text-box {
  margin-left: 24px;
  font-family: HelveticaNeueCyr-Roman;
  color: white;
  font-size: 14px;
  line-height: 20px;
  max-width: 730px;
  margin-right: 20px;
}

.mind-text:nth-child(n+2) {
  margin-top: 25px;
}

.mind-title.t1 {
  margin-right: 20px;
}

.mindfullnes-image-block {
  position: relative;
}

.mindfullnes-image-block:after {
  position: absolute;
  content: '';
  right: -45px;
  top: 50%;
  height: 1px;
  width: 45px;
  background-color: rgba(255, 255, 255, 0.2);
}

.mind-image {
  border-radius: 50%;
  border: 23px solid rgba(255, 255, 255, 0.1);
}

.text-mind-row {
  margin-top: 139px;
  display: flex;
  align-items: center;
}

.mindfullnes-text-box {
  margin-left: 45px;
  padding: 50px 0 60px 60px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.mindfullnes-text-box:before {
  position: absolute;
  content: '';
  left: 0;
  top: 0px;
  height: 1px;
  width: 23px;
  background-color: rgba(255, 255, 255, 0.2);
}

.mindfullnes-text-box:after {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0px;
  height: 1px;
  width: 23px;
  background-color: rgba(255, 255, 255, 0.2);
}

.mind-text {
  font-family: HelveticaNeueCyr-Roman;
  color: white;
  font-size: 14px;
  line-height: 20px;
}

.mindfullnes-text-box .mind-text {
  max-width: 832px;
}

.social-links-block {

  margin-top: 90px;

}

.links-block {
  margin-top: 690px;
}

@media (min-width: 1920px) {

  .container {
    background-size: 100% auto;
    background-position-y: 8vw;
  }

  .main {
    padding: 55px 100px 40px 100px;
  }
}

@media (max-width: 1400px) {

  .text-row {
    flex-direction: column-reverse;
    display: flex;
    align-items: center;
    padding-right: 0;
  }

  .mind-photo {
    position: static;
  }

  .text-mind-row {
    flex-direction: column;
  }

  .text-column {
    margin-top: 30px;
  }

  .mindfullnes-text-box {
    margin-left: 0;
  }

  .mind-text-block:before {
    position: absolute;
    content: '';
    right: 0;
    top: 0;
    height: 46px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
  }

  .mind-text-block {
    padding: 58px 15px 0;
  }

  .mindfullnes-text-box {
    margin-top: 30px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 50px 10px 60px;
  }

  .mindfullnes-text-box .mind-text {
    max-width: initial;
  }

  .mindfullnes-text-box:before {
    left: 0;
    top: 0px;
    height: 23px;
    width: 1px;
  }

  .mindfullnes-text-box:after {
    left: initial;
    right: 0;
    top: 0px;
    height: 23px;
    width: 1px;
  }
}

@media (max-width: 990px) {

  .main {
    padding: 55px 30px 40px 30px;
  }

  .mind-title.t1 {
    margin-right: 0;
    text-align: center;
  }

  .mind-text-block {
    flex-direction: column;
  }

  .mind-title.t2 {
    margin-bottom: 20px;
  }

  .mind-text-box {
    margin: 0;
  }
  
  .mindfullnes-image-block:after {
    display: none;
  }
}

@media (max-width: 800px) {

  .page-name {
    font-size: 50px;
  }
}

@media (max-width: 650px) {

  .mind-image, .mind-photo {
    box-sizing: border-box;
    width: 100%;
    height: auto;
  }

}

@media (max-width: 430px) {

  .page-name {
    font-size: 40px;
  }

}

.main-button {
  max-width: 320px;
  width: 100%;
  min-height: 71px;
  margin-top: 45px;
  background-color: rgba(176, 36, 8, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #CEBE80;
  border-radius: 35px;
  color: white;
  text-transform: uppercase;
  font-family: HelveticaNeueCyr-Roman;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: 8px;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  align-self: flex-end;
}

.main-button:hover {
  background-color: #8d1d06;
}

.footer {
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px;
}