@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;700&display=swap');

html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0;
}
aside,
figure,
footer,
header,
nav,
section {
  display: block;
}
a {
  background-color: transparent;
}
a:active,
a:hover {
  outline: 0;
}
b {
  font-weight: bold;
}
img {
  border: 0;
}
figure {
  margin: 1em 40px;
}
/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
@media print {
  *,
  *:before,
  *:after {
    color: #000 !important;
    text-shadow: none !important;
    background: transparent !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: ' (' attr(href) ')';
  }
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  p,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h3 {
    page-break-after: avoid;
  }
  .navbar {
    display: none;
  }
}
@font-face {
  font-family: 'Glyphicons Halflings';

  src: url('../fonts/glyphicons-halflings-regular.eot');
  src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  font-size: 10px;

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
a {
  color: #337ab7;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #23527c;
  text-decoration: underline;
}
a:focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
figure {
  margin: 0;
}
img {
  vertical-align: middle;
}
h3 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}
h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}
h3 {
  font-size: 24px;
}
p {
  margin: 0 0 10px;
}
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
ul {
  margin-top: 0;
  margin-bottom: 10px;
}

/* ////////// */
.container {
  width: 100%;
  max-width: 1308px;
  padding-right: 64px;
  padding-left: 64px;
  margin-right: auto;
  margin-left: auto;
}

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

/* ////////// */

@-ms-viewport {
  width: device-width;
}

html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: 'Gilroy-Medium';
  background-color: #fbfbfb;
  overflow-x: hidden;
  line-height: normal;
  color: #000;
}

a {
  color: #5d6481;
}

p {
  font-size: 16px;
  font-weight: 400;
}

a:hover,
a:active {
  color: #23527c;
  text-decoration: none;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  color: rgb(0 0 0 / 75%);
}

h1 {
  margin: 0;
  padding: 0;
}

/* //////////////////intro///////////////////////// */

.intro {
  min-height: 455px;
  padding: 80px 0 100px;
  background: url('./img/intro.png') no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
}
.intro__content {
  margin-left: 28px;
}
.intro h1 {
  font-size: 40px;
  color: #ff5800;
  line-height: 1.15;
  font-weight: 600;
}
.intro p {
  font-size: 26px;
  line-height: 1.15;
  margin: 0;
}
@media screen and (max-width: 769px) {
  .intro {
    min-height: auto;
    background-size: 210%;
    background-position: top;
    text-align: center;
    padding: 50px 0 30px;
  }
  .intro__content {
    margin-left: 0;
  }
  .intro h1 {
    font-size: 28px;
    margin-bottom: 8px;
  }
  .intro p {
    font-size: 24px;
  }
  .intro h1 br {
    display: none;
  }
  .intro p br {
    display: none;
  }
}

/* //////////////////recommend///////////////////////// */
.recommend {
  position: absolute;
  top: 380px;
  width: 100%;
}
.recommend__box {
  display: flex;
  align-items: center;
  padding: 12px 25px;
  background: #fff;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}
.recommend__box img {
  margin-right: 35px;
  width: 79px;
  height: 79px;
}
.recommend__box p {
  font-family: 'Gilroy-MediumItalic', sans-serif;
  margin: 0;
  line-height: 1.15;
  font-size: 26px;
}
@media screen and (max-width: 1280px) {
  .recommend__box p {
    font-size: 19px;
  }
}
@media screen and (max-width: 769px) {
  .recommend {
    padding: 30px 0;
    position: static;
  }
  .recommend__box {
    display: block;
    text-align: center;
  }
  .recommend__box img {
    width: 50px;
    height: 50px;
    margin-right: 0;
    margin-bottom: 20px;
  }
}

/* //////////////////offers///////////////////////// */
.offers {
  padding: 120px 0 50px;
}
.offers__wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: auto;
  justify-items: stretch;
  gap: 30px;
}
.offer__box {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px 26px;
  font-size: 16px;
  box-shadow: 0px 0px 6px rgb(0 0 0 / 34%);
  background: #fff;
}
.offer-box__header a {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 400px;
  max-height: 300px;
  margin: 0 auto 15px;
}
.offer-box__header img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: contain;
}
.offer-box__name {
  position: relative;
  text-align: center;
  padding: 6px 0;
}
.offer-box__name::after {
  position: absolute;
  display: block;
  content: '';
  width: 100vw;
  height: 100%;
  background: #f9f9f9;
  margin-right: -50vw;
  margin-left: -50vw;
  left: 50%;
  top: 0;
}
.offer-box__name a {
  font-family: 'Gilroy-SemiBold', sans-serif;
  position: relative;
  z-index: 1;
  color: #ff5800;
  font-size: 22px;
}
.offer-box__name a:hover {
  text-decoration: underline;
}
.offer-box__main {
  padding: 12px 0 24px;
  flex: 1;
}
.box-main__row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}
.box-main__row:nth-child(2n + 1)::after {
  position: absolute;
  display: block;
  content: '';
  width: 100vw;
  height: 100%;
  background: #f9f9f9;
  margin-right: -50vw;
  margin-left: -50vw;
  left: 50%;
  top: 0;
}
.col-left {
  position: relative;
  display: flex;
  align-items: center;
  white-space: nowrap;
  margin-right: 15px;
  z-index: 1;
}
.col-left span {
  font-size: 15px;
}
.col-left svg {
  margin-right: 5px;
}
.svg-time{
	margin-left: -3px;
}
.col-right {
  position: relative;
  text-align: right;
  font-weight: 600;
  font-size: 16px;
  z-index: 1;
}

.offer-box__button a {
  position: relative;
  margin: 0 auto;
  display: block;
  width: 204px;
  height: 55px;
  line-height: 55px;
  text-align: center;
  border-radius: 6px;
  background-color: #ff5800;
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 10;
}
@media screen and (max-width: 768px) {
  .offers {
    padding-top: 0;
  }
  .offers__wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .box-main__row {
    padding: 9px 0;
  }
  .offer-box__button a {
    width: 100%;
  }
  .col-right {
    font-size: 14px;
  }
}
.button {
  border: 2px solid #ff5800;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.button:hover {
  background-color: transparent;
  color: #ff5800;
}

/* //////////////////footer///////////////////////// */
.footer {
  color: #fff;
  font-size: 16px;
  padding: 34px 0 28px;
  background: #50b517;
}
.footer a {
  color: #fff;
}
.footer__wrapper {
  display: flex;
  justify-content: space-between;
}
.footer__col-info {
  flex: 0 1 100%;
  margin-right: 50px;
}
.footer__icon {
  display: flex;
  margin-bottom: 15px;
}
.footer__icon-link {
  display: flex;
  align-items: center;
}
.footer__icon-link:hover {
  text-decoration: underline;
}
.footer__icon-link img {
  width: 98px;
  height: auto;
  margin-right: 12px;
}
.footer__icon-link span {
  font-family: 'Gilroy-Medium';
  font-size: 26px;
}
.footer__info-text {
  line-height: 1.15;
  margin-bottom: 25px;
}
.copyright {
  font-size: 14px;
}
.footer-top__row {
  display: flex;
  text-align: left;
}
.footer-top__row:not(:last-child) {
  margin-bottom: 12px;
}
.footer-top__row svg {
  margin-right: 12px;
  width: 20px;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  footer {
    padding: 24px 0;
  }
  .footer__wrapper {
    flex-direction: column;
  }
  .footer__col-info {
    margin-right: 0;
    order: 1;
  }
  .footer__icon {
    justify-content: center;
  }
  .footer__info-text {
    margin-bottom: 48px;
  }
  .footer__col-contacts {
    margin-bottom: 30px;
    text-align: center;
  }
  .footer__icon-link span {
    font-size: 20px;
  }
  .footer__icon-link img {
    width: 60px;
  }
  .copyright {
    text-align: center;
  }
}
