@font-face {
  font-family: HelveticaNeueCyr-Bold;
  src: url('./fonts/HelveticaNeueCyr-Bold.woff');
}

@font-face {
  font-family: HelveticaNeueCyr-UltraLight;
  src: url('./fonts/HelveticaNeueCyr-UltraLight.woff');
}

@font-face {
  font-family: HelveticaNeueCyr-Roman;
  src: url('./fonts/HelveticaNeueCyr-Roman.woff');
}

* {
  margin: 0;
  padding: 0;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 30px 45px;
  background-image: url('./img/background_main.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
}

.navigation {
  margin-top: 78px;
  display: flex;
  flex-direction: column;
}

.navigation-link {
  text-decoration: none;
  text-transform: uppercase;
  font-family: HelveticaNeueCyr-Bold;
  color: black;
  padding-left: 22px;
  position: relative;
  font-size: 15px;
}

.navigation-link:nth-child(n+2) {
  margin-top: 12px;
}

.navigation-link.active {
  color: #B02408;
}

.navigation-link:before {
  position: absolute;
  content: '';
  width: 4px;
  height: 17px;
  background-color: #9E837C;
  left: 0;
}

.navigation-link.active:before {
  background-color: #B02408;
}

.navigation-link:hover {
  color: #B02408;
}

.navigation-link:hover:before {
  background-color: #B02408;
}

.title {
  margin-top: 100px;
  font-family: HelveticaNeueCyr-UltraLight;
  font-size: 92px;
  font-weight: 100;
  text-align: center;
  max-width: 1100px;
}

.subtitle {
  margin-top: 30px;
  font-family: HelveticaNeueCyr-Roman;
  font-size: 22px;
  line-height: 28px;
  text-align: center;
  max-width: 966px;
}

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

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

.social-links-block {
  margin-top: 97px;
  display: flex;
}

.social-circle {
  background-color: #645A56;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-circle:nth-child(n+2) {
  margin-left: 27px;
}

.social-circle:nth-child(1) img {
  margin-left: 4px;
}

.social-circle:nth-child(3) img {
  margin-left: 2px;
}

.social-circle:hover {
  background-color: #B02408;
}

@media (max-width: 880px) {
  .title {
    font-size: 51px;
  }
}

.links-block {
  margin-top: 80px;
  padding: 30px 0;
  font-family: HelveticaNeueCyr-Roman;
  color: white;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  display: flex;
  justify-content: center;
}

.links-block a {
  color: white;
  text-decoration: none;
  text-align: center;
}

.links-block a:hover {
  color: #CEBE80;
}

.links-block a:nth-child(n+2) {
  margin-left: 60px;
}

@media (max-width: 680px) {
  .links-block {
    flex-direction: column;
    align-items: center;
  }

  .links-block a:nth-child(n+2) {
    margin-left: 0px;
    margin-top: 20px;
  }
}


