/* CLEAR */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* BODY */

body {
  background-color: #fff;
  font-family: Roboto, Segoe, "Segoe UI", sans-serif;
  font-weight: normal;
  font-size: 14px;
  color: #000000;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

strong {
  font-weight: bold;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

p {
  font-size: 16px;
  font-family: Roboto;
  color: #111;
  line-height: 1.3;
  margin-bottom: 20px;
  text-align: justify;
}

h1 {
  font-size: 95px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-family: "Roboto Condensed";
}

h2 {
  font-size: 45px;
  text-align: center;
  color: #222;
  text-transform: uppercase;
  font-family: "Roboto Condensed";
  padding: 70px 0 50px 0;
}

.container {
  width: 1000px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

/* BLOCK 1 */

header {
  background-image: url(../img/space.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  height: 100vh;
}

.main-menu {
  position: absolute;
  width: 100%;
  top: 70px;
  left: 0;
}

.main-menu ul {
  list-style: none;
  text-align: center;
  width: 100%;
}

.main-menu ul > li {
  display: inline-block;
  margin: 0 20px;
}

.main-menu ul > li a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
}

.main-menu ul > li a:hover {
  border-bottom: 1px solid #fff;
}

a.lang {
  border: 1px solid #fff;
  padding: 5px;
}

.holder > p {
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-size: 25px;
}

.holder {
  width: 700px;
  position: absolute;
  top: 30%;
  -webkit-transform: translateY(-30%);
  transform: translateY(-30%);
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

p.subtext {
  font-size: 18px;
  margin: 25px 0 5px 0;
  text-transform: none;
  text-align: left;
  border-left: 5px solid #fff;
  padding-left: 10px;
  font-family: Roboto;
  font-weight: 300;
}

.arrow {
  display: block;
  position: absolute;
  bottom: 15px;
  left: 50%;
  margin-left: -32px;
  width: 64px;
  height: 90px;
  background-image: url(../img/arrow.png);
  background-repeat: no-repeat;
  background-position: top center;
  -webkit-animation: animatedArrow 0.7s linear infinite;
  animation: animatedArrow 0.7s linear infinite;
}

@keyframes animatedArrow {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0px 50px;
    /* анимируем свойство background-position */
  }
}

/* BLOCK 2 */

.block2 {
  background-color: #fff;
  padding-bottom: 20px;
}

/* BLOCK 3 */

.block3 {
  background-color: #444;
  padding-bottom: 20px;
  background-image: url(../img/dark-background.png);
}

.block3 h2 {
  color: #fff;
}

.block3 p {
  color: #fff;
}

.tariffs {
}

.popular {
  display: inline-block;
  width: 200px;
  background: #e43;
  position: absolute;
  text-align: center;
  padding: 3px 7px;
  color: #f0f0f0;
  top: 25px;
  right: -63px;
  left: auto;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  text-transform: uppercase;
  font-size: 10px;
  -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.5);
}

.action-block {
  line-height: 0;
  border-radius: 10px;
  overflow: hidden;
  margin: 10px;
}

.action-block img {
  max-width: 100%;
}

.user-info {
  background-color: #9dc474;
  padding: 20px 20px 20px 90px;
  position: relative;
  font-size: 12px;
  color: #fff;
  border-radius: 10px;
  line-height: 1.2;
  margin-bottom: 10px;
  overflow: hidden;
}

.user-info:before {
  content: "i";
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 70px;
  color: #fff;
  background-color: #6eb127;
  font-weight: bold;
  font-size: 45px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.user-info strong {
  font-weight: bold;
  display: block;
  font-size: 18px;
  color: #fff;
}

.user-info p {
  margin: 0;
  padding: 0;
  color: #fff;
}

.tariff-container {
  overflow: hidden;
  float: left;
  width: calc(33% - 20px);
  background-color: #fff;
  border-radius: 5px;
  padding: 15px;
  margin: 10px;
  position: relative;
}

.tariff-container h3 {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #83d62a;
  padding-bottom: 15px;
  border-bottom: 1px solid #83d62a;
}

.tariff-speed-name {
  padding: 15px 0;
  text-align: center;
  font-weight: bold;
  border-bottom: 1px dotted #ccc;
  color: #333;
  text-transform: uppercase;
  font-size: 12px;
}

.tariff-speed-amount {
  padding: 15px 0;
  text-align: center;
  border-bottom: 1px dotted #ccc;
}

.tariff-price {
  padding: 15px 0;
  text-align: center;
  border-bottom: 1px dotted #ccc;
  color: #da7c17;
  font-size: 18px;
  font-weight: bold;
}

.tariff-order {
  padding: 15px 0;
  text-align: center;
}

.order-btn {
  display: block;
  width: 90%;
  margin: 0 auto;
  text-decoration: none;
  background-color: #83d62a;
  color: #fff;
  padding: 15px 0;
  border-radius: 3px;
  text-transform: uppercase;
}

.order-btn.disabled,
.order-btn.disabled:hover {
  background-color: #ccc;
  cursor: not-allowed;
}

.order-btn:hover {
  background-color: #94e73b;
}

.tariffs-details {
  margin-top: 25px;
}

.tariffs-details a {
  color: #83d62a;
  text-decoration: none;
  border-bottom: 1px dotted #83d62a;
}

.payments {
  text-align: left;
  padding: 15px 0 0 0;
}

/* BLOCK 4 */

.block4 {
  background-color: #fff;
  padding-bottom: 20px;
}

.tariff-tv-container1,
.tariff-tv-container2 {
  width: 49%;
  background-color: #f6f4f4;
  border-radius: 5px;
  padding: 15px;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.tariff-tv-container1 {
  float: left;
}

.tariff-tv-container2 {
  float: right;
}

.tariff-tv-container1 h3,
.tariff-tv-container2 h3 {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #83d62a;
  padding-bottom: 15px;
  border-bottom: 1px solid #83d62a;
}

.tariff-tv-name {
  padding: 15px 0;
  text-align: center;
  font-weight: bold;
  border-bottom: 1px dotted #ccc;
  color: #333;
  text-transform: uppercase;
  font-size: 12px;
}

.tariff-tv-amount {
  padding: 15px 0;
  text-align: center;
  border-bottom: 1px dotted #ccc;
}

.tariff-tv-price {
  padding: 15px 0;
  text-align: center;
  border-bottom: 1px dotted #ccc;
  color: #da7c17;
  font-size: 18px;
  font-weight: bold;
}

.tariff-tv-order {
  padding: 15px 0;
  text-align: center;
}

.order-tv-btn {
  display: block;
  width: 90%;
  margin: 0 auto;
  text-decoration: none;
  background-color: #83d62a;
  color: #fff;
  padding: 15px 0;
  border-radius: 3px;
  text-transform: uppercase;
}

.order-tv-btn:hover {
  background-color: #94e73b;
}

/* BLOCK 5 */

.block5 {
  background-color: #444;
  padding-bottom: 50px;
  background-image: url(../img/dark-background.png);
}

.block5 h2 {
  color: #fff;
}

.block5 h3 {
  color: #fff;
}

.block5 p {
  color: #fff;
}

.contacts-text {
  float: right;
  width: 48%;
  color: #fff;
  font-size: 20px;
  line-height: 1.6;
  text-align: left;
}

.map {
  float: left;
  width: 50%;
}

.contacts-text a {
  text-decoration: none;
  color: #fff;
  border-bottom: 1px dotted #ccc;
}

/* BLOCK 6 */

.block6 {
  background-color: #fff;
  padding-bottom: 20px;
}

.contact-form {
  width: 50%;
  margin: 0 auto;
}

.contact-form label {
  color: #333;
  padding: 10px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  margin: 10px 0;
  width: 100%;
  border-radius: 5px;
  outline: none;
  border: 1px solid #83d62a;
  font-size: 18px;
  font-family: Roboto;
}

.contact-form input[type="submit"] {
  width: 200px;
  margin: 0 auto;
  display: block;
  border: 1px solid #83d62a;
  background-color: transparent;
  color: #83d62a;
  cursor: pointer;
}

.contact-form input[type="submit"]:hover {
  background-color: #83d62a;
  color: #fff;
}

.contact-form input[type="submit"].disabled,
.contact-form input[type="submit"]:disabled {
  background-color: #ccc;
  color: #777;
  border-color: #ccc;
  cursor: not-allowed;
}

.contact-form input[type="submit"].disabled:hover,
.contact-form input[type="submit"]:disabled:hover {
  background-color: #ccc;
  color: #777;
}

#type-message {
  padding: 10px;
  margin: 10px 0;
  width: 100%;
  border-radius: 5px;
  outline: none;
  border: 1px solid #83d62a;
  font-size: 18px;
}

.ok {
  text-align: center;
  padding: 20px;
  color: green;
  font-size: 16px;
}

.hidden {
  display: none;
}

.g-recaptcha {
  padding-bottom: 10px;
}

/* FOOTER */

footer {
  background-color: #444;
  padding: 50px;
  background-image: url(../img/dark-background.png);
}

.copyrights {
  width: 50%;
  float: left;
  color: #fff;
  text-align: left;
  line-height: 1.4;
}

.copyrights a {
  color: #83d62a;
  text-decoration: none;
  border-bottom: 1px dotted #83d62a;
}

.poweredby {
  width: 50%;
  float: right;
  color: #fff;
  text-align: right;
}

.poweredby a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dotted #fff;
}

@media screen and (max-width: 800px) {
  .container {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
  }

  p {
    font-size: 16px;
    font-family: Roboto;
    color: #111;
    line-height: 1.3;
    margin-bottom: 20px;
    text-align: justify;
    padding: 0 15px;
  }

  h1 {
    font-size: 60px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-family: "Roboto Condensed";
  }

  h2 {
    font-size: 45px;
    text-align: center;
    color: #222;
    text-transform: uppercase;
    font-family: "Roboto Condensed";
    padding: 30px 0 20px 0;
  }

  .main-menu {
    display: none;
  }

  .holder > p {
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-size: 18px;
  }

  .holder {
    width: 90%;
    position: absolute;
    top: 10%;
    -webkit-transform: translateY(-10%);
    transform: translateY(-10%);
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  p.subtext {
    font-size: 16px;
    margin: 25px 0 5px 0;
    text-transform: none;
    text-align: left;
    border-left: 5px solid #fff;
    padding-left: 10px;
    font-family: Roboto;
    font-weight: 300;
  }

  .user-info {
    margin: 10px;
  }

  .tariff-container {
    float: none;
    width: 95%;

    background-color: #fff;
    border-radius: 5px;
    padding: 15px;
    margin: 0 auto 10px auto;
  }

  .tariff-container h3 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #83d62a;
    padding-bottom: 10px;
    border-bottom: 1px solid #83d62a;
  }

  .tariff-speed-name {
    padding: 10px 0;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px dotted #ccc;
    color: #333;
    text-transform: uppercase;
    font-size: 12px;
  }

  .tariff-speed-amount {
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px dotted #ccc;
  }

  .tariff-price {
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px dotted #ccc;
    color: #da7c17;
    font-size: 18px;
    font-weight: bold;
  }

  .tariff-order {
    padding: 10px 0;
    text-align: center;
  }

  .order-btn {
    display: block;
    width: 90%;
    margin: 0 auto;
    text-decoration: none;
    background-color: #83d62a;
    color: #fff;
    padding: 10px 0;
    border-radius: 3px;
    text-transform: uppercase;
  }

  .order-btn:hover {
    background-color: #94e73b;
  }

  .tariffs-details {
    margin-top: 25px;
  }

  .tariffs-details a {
    color: #83d62a;
    text-decoration: none;
    border-bottom: 1px dotted #83d62a;
  }

  .payments {
    text-align: left;
    padding: 15px 0 0 0;
  }

  .tariff-tv-container1,
  .tariff-tv-container2 {
    width: 95%;
    background-color: #f6f4f4;
    border-radius: 5px;
    padding: 15px;
    margin: 0 auto 10px auto;
    float: none;
  }

  .tariff-tv-container1 {
    float: none;
  }

  .tariff-tv-container2 {
    float: none;
  }

  .tariff-tv-container1 h3,
  .tariff-tv-container2 h3 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #83d62a;
    padding-bottom: 10px;
    border-bottom: 1px solid #83d62a;
  }

  .tariff-tv-name {
    padding: 10px 0;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px dotted #ccc;
    color: #333;
    text-transform: uppercase;
    font-size: 12px;
  }

  .tariff-tv-amount {
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px dotted #ccc;
  }

  .tariff-tv-price {
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px dotted #ccc;
    color: #da7c17;
    font-size: 18px;
    font-weight: bold;
  }

  .tariff-tv-order {
    padding: 10px 0;
    text-align: center;
  }

  .order-tv-btn {
    display: block;
    width: 90%;
    margin: 0 auto;
    text-decoration: none;
    background-color: #83d62a;
    color: #fff;
    padding: 10px 0;
    border-radius: 3px;
    text-transform: uppercase;
  }

  .contacts-text {
    float: none;
    width: 100%;
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    padding: 40px 10px 10px 0;
  }

  .map {
    float: none;
    width: 100%;
  }

  .contact-form {
    width: 90%;
    margin: 0 auto;
  }

  .copyrights {
    width: 100%;
    float: none;
    color: #fff;
    text-align: center;
  }

  .poweredby {
    width: 100%;
    float: none;
    color: #fff;
    text-align: center;
  }

  .payments {
    text-align: center;
    padding: 15px 0;
  }
}
