@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Lobster&family=PT+Sans:wght@400;700&display=swap");
/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  /* sticky footer */
}

body {
  height: 100%;
  /* sticky footer */
  display: -webkit-box;
  display: flex;
  /* sticky footer */
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  /* sticky footer */
  font-family: 'PT Sans', sans-serif;
  /* Базовый шрифт страницы */
  line-height: 1.3;
  color: #31405B;
}

body > * {
  flex-shrink: 0;
  /* sticky footer */
}

input {
  font-family: 'PT Sans', sans-serif;
}

:focus,
:active {
  /*outline: none;*/
}

a:focus,
a:active {
  /* outline: none;*/
}

/* Links */
a, a:link, a:visited {
  /* color: inherit; */
  text-decoration: none;
  display: inline-block;
}

a:hover {
  /* color: inherit; */
  text-decoration: none;
}

/* Common */
aside, nav, footer, header, section, main {
  display: block;
}

h1, h2, h3, h4, h5, h6, p {
  font-size: inherit;
  font-weight: inherit;
}

ul, ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img, svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */
input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button, input[type="submit"] {
  display: inline-block;
  /* box-shadow: none;
  background-color: transparent;
  background: none; */
  cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

.bgcolor {
  background-color: #F2F8F6;
}

.main-content-header {
  margin-bottom: 20px;
}

.container {
  width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.none {
  display: none;
}

.main-header {
  font-weight: 700;
  font-size: 54px;
  color: #31405B;
}

.inner-page-section {
  /* Единый стиль внешнего контейнера каждой страницы */
  padding-top: 60px;
  padding-bottom: 100px;
}

.button {
  display: inline-block;
  height: 50px;
  padding-left: 40px;
  padding-right: 40px;
  background-color: #0AC883;
  box-shadow: 0px 8px 20px rgba(24, 219, 148, 0.35);
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 20px;
  line-height: 50px;
  /* вариант, предложенный на уроке для вертикального выравнивания текста */
  color: #FFFFFF;
  transition: background-color 0.5s, box-shadow 0.5s;
}

.button:hover {
  background-color: #265847;
  box-shadow: 0px 8px 20px rgba(13, 77, 53, 0.7);
  outline: none;
}

/* Шапка главной страницы сайта */
.header {
  height: 800px;
  background-color: #265847;
  background-image: url("./../img/header/header-background.png");
  background-position: center;
  background-size: cover;
  padding-top: 50px;
  color: #FFF;
  position: relative;
}

/* Шапка внутренних страниц сайта */
.header-inner {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  height: 100px;
  background-color: #265847;
  background-image: url("./../img/header/header-small-bg.png");
  background-position: center;
  background-size: cover;
  color: #FFF;
}

/* Шапка всех страниц сайта */
.header-top {
  width: 1170px;
  margin: 0 auto;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
          align-items: center;
}

.header-nav {
  font-family: 'PT Sans';
  font-size: 22px;
  line-height: 1.4;
}

.header-nav-button {
  display: none;
}

.header-nav-list {
  display: -webkit-box;
  display: flex;
}

.header-nav-list-item {
  margin-right: 50px;
}

.header-nav-list-item:last-child {
  margin-right: 0;
}

.header-nav-link {
  color: #FFF;
  transition: all 0.2s ease-in;
}

.header-nav-link:hover {
  position: relative;
  color: #d5d7db;
  text-decoration: underline;
  top: 1px;
}

.header-content {
  position: absolute;
  width: 1170px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  text-align: center;
}

.header-title {
  font-weight: 700;
  font-size: 60px;
  line-height: 1.3;
  margin-bottom: 20px;
  line-height: 1;
}

.header-subtitle {
  font-size: 24px;
  line-height: 31px;
}

.header-scroll {
  position: absolute;
  bottom: 25px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  min-width: 85px;
  padding-bottom: 34px;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  color: #FFFFFF;
}

.header-scroll::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  display: block;
  content: "";
  width: 24px;
  height: 24px;
  background-image: url(../img/header/arrow-down.svg);
  transition: color 0.2s ease-in, background-image 0.2s ease-in, -webkit-transform 1s ease-in;
  transition: color 0.2s ease-in, background-image 0.2s ease-in, transform 1s ease-in;
  transition: color 0.2s ease-in, background-image 0.2s ease-in, transform 1s ease-in, -webkit-transform 1s ease-in;
}

.header-scroll:hover {
  color: #d5d7db;
}

.header-scroll:hover::after {
  background-image: url(../img/header/arrow-down-hover.svg);
}

.logo {
  font-family: 'Lobster', cursive;
  font-size: 40px;
  line-height: 1.25;
}

/* Main */
.main {
  padding-top: 120px;
  padding-bottom: 120px;
}

.main-row {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
  margin-bottom: 120px;
}

.main-row:last-child {
  margin-bottom: 0;
}

.main-row-reverse {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
          flex-direction: row-reverse;
}

.main-content {
  width: 470px;
  margin-bottom: 20px;
}

.main-img {
  width: 570px;
}

.main-content-text {
  margin-bottom: 40px;
  font-size: 20px;
  line-height: 1.6;
  color: #31405B;
}

.main-content-text p {
  margin-top: 0;
  margin-bottom: 15px;
}

.main-content-text a {
  color: #138ECE;
  text-decoration: underline;
}

/* Footer */
.footer {
  margin-top: auto;
  /* sticky footer чтобы футер прижался вниз */
  background-color: #265847;
  padding-top: 70px;
  padding-bottom: 95px;
  color: #FFF;
}

.footer a {
  color: #FFF;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-row {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
}

/* left module, First footer column - copyright */
.footer-copyright {
  width: 270px;
}

.footer-logo {
  margin-bottom: 26px;
}

.footer-copyright p {
  font-size: 16px;
  line-height: 1.6;
}

/* Right module */
.footer-widgets-wrapper {
  display: -webkit-box;
  display: flex;
  padding-top: 9px;
}

.footer-widget {
  font-size: 18px;
}

.footer-widget p {
  font-size: 18px;
  /* Колонка Контакты */
  margin-bottom: 15px;
}

.footer-widget-info {
  width: 170px;
}

.footer-widget-services, .footer-widget-contacts {
  width: 270px;
}

.footer-widget + .footer-widget {
  margin-left: 30px;
}

.footer-widget-title {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 30px;
}

.footer-widget-list {
  font-size: 18px;
}

.footer-widget-list li {
  margin-bottom: 15px;
}

/* Tablet */
@media (max-width: 1199px) {
  .container {
    width: 900px;
  }

  .header {
    height: 591px;
  }

  .header-top {
    width: 100%;
  }

  .header-content {
    width: 900px;
  }

  .header-top, .header-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .header-nav-list {
    display: none;
  }

  .header-nav-button {
    display: block;
  }

  .header-title {
    font-size: 52px;
  }

  .header-scroll {
    font-size: 0;
  }

  /* Main */
  .main {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .main-row {
    margin-bottom: 80px;
  }

  .main-content {
    width: 420px;
  }

  .main-img {
    width: 420px;
  }

  .main-header {
    font-size: 50px;
    line-height: 1;
  }

  .main-content-text {
    margin-bottom: 20px;
    font-size: 18px;
  }

  /* Footer */
  .footer {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .footer-widget-services {
    display: none;
  }

  .footer-logo {
    margin-bottom: 20px;
  }

  .footer-logo .logo {
    font-size: 30px;
  }

  .footer-copyright p {
    font-size: 14px;
  }

  .footer-widget-title {
    margin-bottom: 20px;
  }
}
/* Mobile */
@media (max-width: 899px) {
  .container {
    width: 100%;
  }

  .header-top {
    width: 100%;
  }

  .header-content {
    width: 100%;
  }

  .header-title {
    font-size: 42px;
  }

  .header-subtitle {
    font-size: 20px;
  }

  /* Main */
  .main {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .main-row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
            flex-direction: row-reverse;
    margin-bottom: 60px;
  }

  .main-content {
    width: 370px;
  }

  .main-img {
    flex-shrink: 0;
    width: 170px;
    margin-right: 30px;
  }

  .main-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }

  .main-content {
    width: auto;
  }

  .main-header {
    font-size: 42px;
  }

  .main-content-text {
    font-size: 16px;
  }

  .button {
    height: 46px;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 18px;
    line-height: 46px;
  }

  /* Footer */
  .footer {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .footer-row {
    flex-wrap: wrap;
  }

  .footer-copyright {
    -webkit-box-ordinal-group: 2;
            order: 1;
    width: auto;
  }

  .footer-widgets-wrapper {
    width: 100%;
    margin-bottom: 50px;
  }

  .footer-widgets-wrapper > * {
    width: calc(50% - 15px);
  }
}
/* Mobile XS */
@media (max-width: 599px) {
  .container {
    width: 320px;
  }

  .logo {
    font-size: 30px;
  }

  .header-top, .header-content {
    width: 100%;
  }

  .header-title {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .header-subtitle {
    font-size: 18px;
  }

  /* Main */
  .main {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .main .container {
    width: 100%;
  }

  .main-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
            flex-direction: column-reverse;
    margin-bottom: 40px;
  }

  .main-content {
    margin-bottom: 0;
  }

  .main-img {
    width: auto;
    height: 150px;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .main-header {
    font-size: 34px;
  }

  /* Footer */
  .footer {
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 10px;
  }

  .footer-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
  }

  .footer-widgets-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    -webkit-box-align: center;
            align-items: center;
    margin-bottom: 0;
  }

  .footer-widget-services {
    display: block;
  }

  .footer-widget {
    margin-bottom: 40px;
  }

  .footer-widget + .footer-widget {
    margin-left: 0px;
  }

  .footer-widgets-wrapper > * {
    width: 100%;
  }

  .footer-widget-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .footer-widget-list {
    font-size: 16px;
  }

  .footer-widget-list li {
    margin-bottom: 10px;
  }

  .footer-widget p {
    font-size: 16px;
    /* Колонка Контакты */
  }
}

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