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

.container {
  width: 100%;
  height: 100%;
  background-image: url('./img/background2.png');
  background-repeat: no-repeat;
  background-position: center top;
}

.main {
  padding: 0 30px 85px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.community-section {
  margin: 0 auto;
  padding-top: 455px; 
  display: flex;
  justify-content: center;
}

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

.community-image-box {
  position: relative;
}

.community-image-box:before {
  position: absolute;
  content: '';
  left: 50%;
  top: -455px;
  height: 455px;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}

.community-text-block {
  max-width: 1025px;
  width: 100%;
  margin-top: 251px;
  box-sizing: border-box;
  padding: 40px 155px 0 93px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

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

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

.community-text {
  margin-top: 36px;
  font-family: HelveticaNeueCyr-Roman;
  font-size: 14px;
  line-height: 18px;
  color: white;
}

.community-text a {
  color: #DBCC87;
  text-decoration: none;
}

.community-text a:hover {
  color: #B02408;
}

.community-description {
  font-size: 24px;
  font-family: HelveticaNeueCyr-Roman;
  margin-top: 46px;
  color: white;
}

.main-button {
  max-width: 288px;
  width: 100%;
  min-height: 71px;
  margin-top: 58px;
  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;
}

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

@media (max-width: 1110px) {
  .community-section {
    flex-direction: column;
    align-items: center;
  }

  .community-text-block {
    margin-top: 45px;
    padding: 40px 35px 0;
  }

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

  .community-image-box:after {
    position: absolute;
    content: '';
    left: 50%;
    bottom: -45px;
    height: 45px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 790px) {
  .page-name {
    font-size: 50px;
    line-height: 50px;
  }
}

@media (max-width: 700px) {
  .container {
    background-position-y: 25vh;
  }
}

@media (max-width: 620px) {
  .community-image {
    box-sizing: border-box;
    width: 100%;
    height: auto;
  }

}

@media (max-width: 395px) {
  .page-name {
    font-size: 40px;
  }

  .community-title {
    font-size: 40px;
  }
}