@font-face {
  font-family: "Roboto-Bold";
  src: url("../fonts/Roboto-Bold/roboto-bold.woff2") format("woff2"),
         url("../fonts/Roboto-Bold/roboto-bold.woff") format("woff");
 }

 @font-face {
  font-family: "Roboto-Medium";
  src: url("../fonts/Roboto-Medium/roboto-medium.woff2") format("woff2"),
         url("../fonts/Roboto-Medium/roboto-medium.woff") format("woff");
 }

 @font-face {
  font-family: "Roboto-Regular";
  src: url("../fonts/Roboto-Regular/roboto-regular.woff2") format("woff2"),
         url("../fonts/Roboto-Regular/roboto-regular.woff") format("woff");
 }

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  padding: 0;
}

body {
  font-size: 24px;
  font-family: 'Roboto-Regular';
  overflow-x: hidden;
  color: #323232;
}

img {
  display: table;
  max-width: 100%;
}

.section-wrapper {
  max-width: 1160px;
  margin:  0 auto;
}

.button {
  display: inline-block;
  background: linear-gradient(192.3deg, #FF5F00 17.51%, #FF8A00 86.02%);
  border-radius: 3px;
  color: #fff;
  padding: 16px 30px;
  font-family: 'Roboto-Medium';
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
  text-transform: uppercase;
  border: none;
  text-decoration: none;
  text-align: center;
}

/*
**
 */
.section-header {
  height: 620px;
  background: url('../img/bg.jpg') no-repeat 50% 50% / auto;
  display: flex;
  align-items: center;
}

.section-header__title {
  font-weight: bold;
  font-family: 'Roboto-Bold';
  font-size: 50px;
  line-height: 59px;
}

.section-header__desc {
  padding: 48px 0;
  font-size: 24px;
  line-height: 28px;
  color: #616161;
}

.section-header__title,
.section-header__desc {
  max-width: 755px;
  width: 100%;
}

/*
**
 */
.section-special .section-wrapper > img {
  margin: 28px auto;
}

.section-special .section-wrapper > div {
  width: 960px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.section-special .section-wrapper > div:before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -1px;
  width: calc(100% - 200px);
  height: 1px;
  background-color: #E0E0E0;
}

.section-special__title {
  font-size: 42px;
  font-family: 'Roboto-Bold';
  line-height: 49px;
  color: #1E1E1E;
  text-align: center;
  margin: 32px 0 36px;
  padding-top: 30px;
}

.section-special__desc {
  text-align: center;
  color: #323232;
}

.section-special__desc div {
  margin-top: 15px;
  font-family: 'Roboto-Bold';
}

.section-special__logo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 72px -20px 90px;
}

.section-special__logo img {
  padding: 0 20px 25px;
}

/*
**
 */
.section-library .section-wrapper > div {
  padding: 60px 0 30px;
  display: flex;
  width: 960px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.section-library .section-wrapper > div:before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -1px;
  width: calc(100% - 200px);
  height: 1px;
  background-color: #E0E0E0;
}

.section-library .section-wrapper > div:after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: calc(100% - 200px);
  height: 1px;
  background-color: #E0E0E0;
}

.section-library .section-wrapper img {
  min-width: 272px;
  margin-right: 24px;
}

.section-library__title {
  font-family: 'Roboto-Medium';
  font-weight: 500;
  font-size: 32px;
  line-height: 140%;
  color: #347ED1;
  margin-bottom: 16px;
}

.section-library__desc {
  font-size: 24px;
  line-height: 140%;
  color: #323232;
}

/*
**
 */
.section-footer {
  padding: 48px 15px 195px;
}

.section-footer__desc {
  font-family: 'Roboto-Medium';
  font-weight: 500;
  font-size: 32px;
  line-height: 140%;
  margin-bottom: 32px;
  text-align: center;
}

.section-footer__desc span {
  color: #347ED1;
}

.section-footer__desc p {
  margin-bottom: 32px;
}

/*
**  Страница для чужих
 */
.section-guest {
  text-align: center;
  display: flex;
  height: 100vh;
}

.section-guest .section-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-guest img {
  margin: 0 auto;
  width: 300px;
  max-width: 100%;
}

.section-guest__desc {
  font-size: 20px;
  line-height: 23px;
  width: 100%;
  max-width: 600px;
  margin: 48px auto 0;
}

@media screen and (max-width: 1024px) {
  section {
    padding: 0 15px;
  }

  .section-header {
    background-size: cover;
    background-position: 60% 50%;
  }

  .section-header .section-wrapper {
    margin: 0;
  }

  .section-header__title  {
    font-size: 32px;
    line-height: 37px;
    width: 400px;
  }

  .section-header__desc {
    font-size: 20px;
    line-height: 23px;
    margin: 40px 0;
    width: 400px;
  }

  .section-special__title {
    font-size: 26px;
    line-height: 30px;
  }

  .section-special__desc {
    font-size: 16px;
  }

  .section-library__title {
    font-size: 24px;
  }

  .section-library__desc {
    font-size: 16px;
  }

  .section-footer__desc {
    font-size: 24px;
  }

  .section-footer {
    padding-bottom: 50px;
  }
}

@media screen and (max-width: 768px) {
  .section-header__title,
  .section-header__desc  {
    width: 70%;
  }

  .section-header__title {
    font-size: 28px;
  }

  .section-header__desc {
    font-size: 18px;
  }

  .section-special .section-wrapper > div:before {
    width: 100%;
  }

  .section-special__logo {
    margin-bottom: 20px;
  }

  .section-library .section-wrapper > div {
    padding-top: 0;
    flex-wrap: wrap;
  }

  .section-library .section-wrapper > div:before,
  .section-library .section-wrapper > div:after {
    width: 100%;
  }

  .section-library .section-wrapper img {
    margin: 0 auto;
  }
}
