@charset "UTF-8";

/*Обнуление*/

* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

footer,
header {
  display: block;
}

html,
body {
  height: 100%;
  width: 100%;
  min-width: 320px;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  cursor: pointer;
}

img {
  vertical-align: top;
}

h1,
h2,
h4 {
  font-size: inherit;
  font-weight: inherit;
}

ol,
ul {
  margin-top: 0;
  margin-bottom: 0;
}

ol,
ul {
  padding-left: 19px;
}

/*Обнуление*/

@font-face {
  font-family: "Inter";
  src: url("../styles/fonts/inter-bold_b71d_15.eot");
  src: url("../styles/fonts/inter-bold_b71d_15.eot#iefix") format("embedded-opentype"), url("../styles/fonts/inter-bold_9e53_16.woff2") format("woff2"), url("../styles/fonts/inter-bold_44e8_17.woff") format("woff"), url("../styles/fonts/inter-bold_7820_18.ttf") format("truetype"), url("./images/inter-bold_f430_13.svg") format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../styles/fonts/inter-regular_561f_19.eot");
  src: url("../styles/fonts/inter-regular_561f_19.eot#iefix") format("embedded-opentype"), url("../styles/fonts/inter-regular_8e1f_20.woff2") format("woff2"), url("../styles/fonts/inter-regular_ac0b_21.woff") format("woff"), url("../styles/fonts/inter-regular_1be0_22.ttf") format("truetype"), url("./images/inter-regular_df82_14.svg") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.5;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  background: #222b3d;
}

table {
  width: 100%;
}

table td {
  border: 1px solid white;
  border-collapse: collapse;
  padding: 5px;
}

.container {
  padding-left: 30px;
  padding-right: 30px;
  width: 100%;
  margin: 0 auto;
  max-width: 1060px;
}

.wrapper {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.main {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  padding-bottom: 30px;
}

img {
  max-width: 100%;
}

h1 {
  margin: 45px 0 30px;
  color: var(--color-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 0.96;
}

h2 {
  color: var(--color-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.04167;
  margin: 42px 0 25px;
}

p {
  margin: 25px 0;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 25px 0;
}

li:not(:last-child) {
  margin-bottom: 7px;
}

a {
  color: inherit;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

.header {
  padding: 7px 0 20px;
}

.header__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 -10px;
}

.header__left {
  padding: 0 10px;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0%;
          flex: 1 0 0%;
  width: 100%;
  max-width: 100%;
}

.header__right {
  padding: 0 10px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: auto;
  max-width: 100%;
}

.header__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 -17px;
}

.header__btn {
  padding: 0 17px;
}

.logo {
  width: 160px;
  display: inline-block;
}

.logo img {
  max-width: 100%;
}

.btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  padding: 5px 30px;
  border-radius: 8px;
  cursor: pointer;
  -webkit-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
  transition: var(--transition-normal);
  height: 50px;
  background: var(--color-white);
  color: var(--color-black);
  font-size: 18px;
  text-decoration: none;
}

.btn.btn-reg {
  color: var(--color-black);
  background: var(--color-reg);
}

.btn.btn-reg:hover {
  background: var(--color-reg-hover);
}

.btn.btn-login {
  background: var(--color-login);
  color: var(--color-white);
}

.btn.btn-login:hover {
  background: var(--color-login-hover);
}

.footer__text {
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.78571;
  padding: 21px 0;
  border-top: 1px solid var(--color-text);
}

h2 + .reviews {
  margin-top: 42px;
}

.reviews {
  margin-bottom: 37px;
}

.reviews__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 24px;
     -moz-column-gap: 24px;
          column-gap: 24px;
  margin-bottom: 7px;
}

.reviews__photo {
  color: var(--color-white);
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 50px;
  max-width: 100%;
  height: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  background: var(--color-gray);
}

.reviews__photo svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.reviews__name {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5625;
}

.reviews__date {
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.78571;
}

.reviews__text {
  margin: 0;
}

@media (max-width: 767.98px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .header__row {
    margin: 0 -5px;
  }

  .header__left {
    padding: 0 5px;
  }

  .header__right {
    padding: 0 5px;
  }

  .header__button {
    margin: 0 -7.5px;
  }

  .header__btn {
    padding: 0 7.5px;
  }

  .logo {
    width: 120px;
  }

  .btn {
    height: 40px;
    border-radius: 6px;
    padding: 5px 20px;
    font-size: 16px;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 20px;
    margin: 35px 0 25px;
  }

  h2 {
    font-size: 18px;
    margin: 35px 0 20px;
  }

  p {
    margin: 20px 0;
  }

  ul,
  ol {
    margin: 20px 0;
  }

  li:not(:last-child) {
    margin-bottom: 5px;
  }

  .footer__text {
    font-size: 12px;
  }
}

@media (max-width: 479.98px) {
  .header__row {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }

  .header__left {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .header__right {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .header__btn {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0%;
            flex: 1 0 0%;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 425px) {
  .btn {
    padding: 5px 10px;
  }
}