@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;700&display=swap");
html {
  font-size: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
}

:root {
  --head-color: #373F41;
  --text-color: #737B7D;
  --accent-color: #3C64B1;
  --acent-color-alt: #0c3491;
  --font-family: "Mulish", sans-serif;
}

.r-body {
  background-color: rgba(60, 100, 177, 0.06);
  font-family: var(--font-family);
  font-style: normal;
}

.r-header {
  margin: auto;
  max-width: 1440px;
  padding: 0 165px;
  overflow: hidden;
  padding-top: 23px;
  padding-bottom: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.r-header__logo {
  font-weight: bold;
  font-size: 1.8rem;
  line-height: 3.2rem;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--accent-color);
  text-decoration: none;
  font-family: "Lato", sans-serif;
}
.r-header__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 46.5rem;
}

.r-region {
  flex-grow: 1;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.8rem;
  letter-spacing: 0.2px;
}
.r-region__caption {
  display: inline-block;
  color: var(--accent-color);
}
.r-region__region {
  display: inline-block;
  text-decoration-line: underline;
  color: var(--head-color);
}

.r-section {
  margin: auto;
  max-width: 1440px;
  padding: 0 165px;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 132px;
}
.r-section__head {
  margin-bottom: 24px;
  color: var(--head-color);
  font-weight: bold;
  font-size: 3.6rem;
  line-height: 4.6rem;
  letter-spacing: 0.2px;
  text-align: center;
}
.r-section__subtitle {
  display: block;
  width: 100%;
  font-weight: normal;
  font-size: 1.6rem;
  line-height: 2.2rem;
  text-align: center;
  letter-spacing: 0.3px;
  color: var(--text-color);
}
.r-section__content_own-back {
  background-color: #fff;
  border: 1px solid #E2E5E6;
  border-radius: 8px;
  padding: 47px 85px;
}
.r-section_white-back {
  background-color: #fff;
}
.r-section_wide {
  padding: 132px 80px;
}
.r-section_low {
  padding-bottom: 0;
  margin-bottom: -90px;
}

.r-first {
  display: grid;
  grid-template-areas: "img side" "img subscribe";
  grid-template-rows: minmax(min-content, max-content) 9.8rem;
  grid-template-columns: 1fr 1fr;
  margin-top: -45px;
}
.r-first__side {
  display: flex;
  flex-direction: column;
}
.r-first__head {
  grid-area: head;
  text-align: left;
}
.r-first__about {
  grid-area: about;
  margin-top: 90px;
  margin-bottom: 12px;
  color: var(--accent-color);
  font-style: normal;
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.8rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.r-first__text {
  grid-area: text;
  color: var(--text-color);
  font-style: normal;
  font-weight: normal;
  font-size: 1.6rem;
  line-height: 2.2rem;
  letter-spacing: 0.3px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.r-first__img {
  grid-area: img;
  margin-left: -9%;
  margin-top: -4%;
}
.r-first__subscribe {
  grid-area: subscribe;
  width: 12.5rem;
  margin-top: 0;
}

.r-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  list-style: none;
}
.r-steps__step {
  margin-top: 56px;
  flex-grow: 1;
}

.r-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.r-step__img {
  margin-bottom: 24px;
}
.r-step__caption {
  font-weight: bold;
  font-size: 1.8rem;
  line-height: 2.4rem;
  text-align: center;
  letter-spacing: 0.1px;
  color: var(--head-color);
  margin-bottom: 12px;
}
.r-step__text {
  max-width: 350px;
  font-weight: normal;
  font-size: 1.4rem;
  line-height: 2rem;
  text-align: center;
  letter-spacing: 0.2px;
  color: var(--head-color);
}

.r-button {
  height: 4.2rem;
  padding: 1.2rem 1.8rem;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  outline: none;
  background: transparent;
  font-style: normal;
  font-weight: bold;
  font-size: 1.4rem;
  line-height: 1.8rem;
  letter-spacing: 0.3px;
  text-align: center;
  cursor: pointer;
  transition: all 0.1s;
}
.r-button:active {
  background-color: var(--acent-color-alt);
  color: #fff;
}
.r-button_primary {
  background-color: var(--accent-color);
  color: #fff;
}

@media screen and (max-width: 1340px) {
  .r-first {
    grid-template-columns: 0 2fr;
  }
  .r-first__img {
    opacity: 0.1;
  }
}
@media screen and (max-width: 1110px) {
  .r-header {
    flex-direction: column;
    row-gap: 50px;
  }
  .r-section__content{
  	padding: 3rem 2rem;
  }
}
@media screen and (max-width: 850px) {
  .r-header {
    padding: 35px 20px;
  }

  .r-section {
    padding: 35px 20px;
  }
}
@media screen and (max-width: 550px) {
  .r-first {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
  }
  .r-first__img {
    display: none;
  }
  .r-first__head {
    text-align: center;
  }
  .r-first__text {
    text-align: center;
  }
}
@media screen and (max-width: 490px) {
  html {
    font-size: 8px;
  }
}
@media screen and (max-width: 400px) {
  .r-header__controls {
    flex-direction: column;
  }
  .r-header__blind {
    display: none;
  }
}

/*# sourceMappingURL=refactored_style.css.map */
