.wrapper {
  background: url(../img/background-2.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.th {
  height: 100%;
  background: url("../images/th-background.png") center;
  background-size: cover;
  background-repeat: no-repeat;
}

.th-wrapper {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.th-content {
  max-width: 991px;
  margin: 0px auto;
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  margin-top: 12%;
}

.th-title h1 {
  display: inline-block;
  font-size: 36px;
  font-family: "Bw Modelica Cyrillic DEMO";
  font-weight: bold;
  font-style: normal;
  color: #000000;
  background-color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  padding: 15px;
  padding-left: 25px;
  padding-right: 25px;
}

.th-button {
  margin-top: 8%;
}

.th-button button {
  font-size: 12px;
  font-family: "Bw Modelica Cyrillic DEMO";
  font-weight: 700;
  color: #fff;
  background-color: #000000;
  border-radius: 8px;
  padding: 14px;
  padding-left: 25px;
  padding-right: 25px;
  cursor: pointer;
  -webkit-transition-duration: 600ms;
  -o-transition-duration: 600ms;
  transition-duration: 600ms;
}

.th-button button:hover {
  color: #000000;
  background-color: #ffffff;
}

.text-contact {
  display: inline-block;
  margin-right: 250px;
  vertical-align: middle;
}

.w-var {
  margin-top: 20px;
}

.w-var p {
  font-size: 18px;
  font-family: "Bw Modelica Cyrillic DEMO";
  color: #ffffff;
  font-weight: bold;
  line-height: 1.1;
}

.contact {
  margin-top: 15px;
  margin-bottom: 10px;
}

.contact p {
  font-size: 18px;
  font-family: "Bw Modelica Cyrillic DEMO";
  color: #ffffff;
  font-weight: bold;
  line-height: 1.5;
}

.contact a {
  position: relative;
  text-decoration: none;
  color: #ffffff;
  margin-right: 10px;
  -webkit-transition-duration: 600ms;
  -o-transition-duration: 600ms;
  transition-duration: 600ms;
}

.contact a:last-child {
  margin-left: 10px;
}

.contact a:hover {
  color: #cccccc;
}

.contact a:after {
  display: block;
  position: absolute;
  margin-top: 3%;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: #bebebe;
  content: "";
  -webkit-transition: width 0.3s ease-out;
  -o-transition: width 0.3s ease-out;
  transition: width 0.3s ease-out;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.contact a:hover:after,
.contact a:focus:after {
  width: 100%;
}

@media (max-width: 1280px) {
  .th-content {
    max-width: 720px;
  }

  .text-contact {
    margin-right: 0;
  }

  .th-title h1 {
    font-size: 30px;
  }

  .th-button button {
    font-size: 12px;
  }

  .w-var p {
    font-size: 12px;
  }

  .contact p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .th-content {
    max-width: 480px;
    margin-top: 50%;
  }

  .th-title {
    text-align: center;
  }

  .th-title h1 {
    display: inline-block;
    font-size: 24px;
    text-align: center;
  }

  .th-button button {
    font-size: 10px;
    width: 100%;
  }

  .text-contact {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
  }

  .w-var p {
    font-size: 14px;
  }

  .contact {
    margin-bottom: 0;
  }

  .contact p {
    font-size: 13px;
  }

  .contact a:last-child {
    margin-right: 0px;
  }
}

@media (max-width: 480px) {
  .th-content {
    max-width: 310px;
    margin-top: 80%;
  }

  .th-title h1 {
    font-size: 17px;
    padding: 7px;
  }

  .th-button button {
    font-size: 12px;
  }

  .w-var p {
    text-align: center;
    font-size: 12px;
  }

  .contact p {
    text-align: center;
    font-size: 12px;
  }
}

@media (max-width: 319px) {
  .th-content {
    max-width: 278px;
    margin-top: 90%;
  }

  .th-title h1 {
    font-size: 15px;
  }

  .th-button button {
    font-size: 10px;
  }

  .w-var p {
    font-size: 10px;
  }

  .contact p {
    font-size: 10px;
  }
}
