@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%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
/* ////////// */

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

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

body {
  font-family: 'Comfortaa', sans-serif;
  background-color: #fff;
  overflow-x: hidden;
  line-height: 1;
  font-size: 14px;
  color: #1f1f1f;
}

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: 415px;
  background: url('./img/intro.png') no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
	padding-bottom: 20px;
}
.intro h1 {
  margin-bottom: 20px;
  font-size: 60px;
  font-weight: 300;
  line-height: 72px;
  text-transform: uppercase;
}
.intro h1 span {
  display: block;
  color: #ffc745;
  font-weight: 700;
}
.subtitle {
  font-family: 'Open Sans';
  font-size: 22px;
  font-weight: 500;
  line-height: 30px;
  margin-bottom: 20px;
  color: #616161;
}
.recommend {
  display: flex;
  align-items: center;
}
.recommend img {
  margin-right: 10px;
  width: 49px;
  height: 49px;
}
.recommend > p {
  font-family: 'Open Sans';
  color: #616161;
  font-weight: 300;
  line-height: 18px;
  font-size: 14px;
  margin: 0;
  max-width: 580px;
}
@media screen and (max-width: 992px) {
  .intro h1 {
    font-size: 50px;
  }
  .subtitle {
    font-size: 20px;
  }
}
@media screen and (max-width: 768px) {
  .intro h1 {
    font-size: 40px;
    line-height: 55px;
  }
  .intro {
    background: url('img/mobile-intro.png') no-repeat;
  }
}
@media screen and (max-width: 576px) {
  .intro h1 {
    margin-bottom: 5px;
    font-size: 30px;
    line-height: 40px;
    text-align: center;
  }
  .subtitle {
    display: none;
  }
  .recommend img {
    width: 29px;
    height: 29px;
  }
  .intro {
    min-height: 250px;
  }
}

/* //////////////////offers///////////////////////// */
.offers {
  padding: 70px 0 95px;
}
.offers__wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-auto-rows: auto;
  justify-items: stretch;
  align-items: start;
  gap: 30px;
}
.offer__box {
  display: flex;
  flex-direction: column;
  padding: 45px 40px 40px;
  box-shadow: 0 0 9px rgb(5 8 10 / 9%);
  background: #fff;
}
.offer-box__header {
  flex: 1;
}
.offer-box__header a {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 400px;
  max-height: 300px;
  margin: 0 auto;
}
.offer-box__header img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.offer-box__name {
  text-align: center;
}
.offer-box__name a {
  display: inline-block;
  color: #879ad4;
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
  text-decoration: underline;
  transition: color 0.3s ease;
}
.offer-box__name a:hover {
  color: #faba23;
}
.offer-box__main {
  padding: 10px 0 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.box-main__wrapper{
	display: flex;
	justify-content: space-between;
	width: 100%;
	align-items: flex-start;
}
.box-main__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5;
}
.box-main__row:not(:last-child) {
  margin-bottom: 5px;
}
.box-main__row--price {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  outline: 2px solid #879ad4;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 22px;
  flex: 1;
}
.price__col-left {
  position: relative;
  left: -2px;
  padding: 12px 25px 8px 20px;
  background: #879ad4;
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%, 0% 50%);
  color: #fff;
  font-weight: 700;
  line-height: 30px;
  border: 2px solid #879ad4;
  height: 100%;
}
.price__col-right {
  padding: 12px 8px 8px 8px;
  font-weight: 700;
  text-align: right;
}
.col-left {
  display: flex;
  align-items: center;
  white-space: nowrap;
  margin-right: 15px;
}
.col-left svg {
  margin-right: 5px;
  width: 22px !important;
  height: 22px !important;
}
.col-left span {
  color: #656565;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}
.col-right {
  font-size: 18px;
  text-align: right;
}

.offer-box__button a {
  margin: 0 auto;
  display: block;
  width: 100%;
  line-height: 50px;
  text-align: center;
  border-radius: 10px;
  background: #faba23;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 17px;
  font-weight: 400;
  transition: background-color 0.3s ease;
}
.offer-box__button a:hover {
  background-color: #879ad4;
}

.button-tab {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 20px 0 0 0;
}
.btn-tab__content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
}

.button-tab span {
  margin-right: 10px;
  font-size: 14px;
  color: #879ad4;
  font-weight: 400;
  line-height: 30px;
  text-decoration: underline;
  font-family: 'Open Sans';
  transition: color 0.3s ease;
}
.btn-tab__content:hover span {
  color: #faba23;
}
.tab-arrow {
  width: 20px !important;
  height: 20px !important;
  transition: transform 0.1s linear;
}
.tab-arrow polyline {
  stroke: #879ad4;
  transition: stroke 0.3s ease;
}
.btn-tab__content:hover .tab-arrow polyline {
  stroke: #faba23;
}
.tab-list {
  height: 0;
  opacity: 0;
  visibility: hidden;
  padding: 0;
  transition: all 0.1s linear;
}
.tab-list p {
  font-family: 'Open Sans';
  line-height: 20px;
  font-size: 16px;
  font-weight: 400;
  color: #616161;
  margin: 0;
}
.button-tab.--show-tab + .tab-list {
  height: 100%;
  opacity: 1;
  visibility: visible;
  padding-top: 20px;
}
.button-tab.--show-tab .tab-arrow {
  transform: rotate(180deg);
}


@media screen and (min-width: 1200px) {
  .price__col-left,
  .price__col-right {
    font-size: 22px;
  }
}
@media screen and (max-width: 768px) {
  .offers__wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}
@media screen and (min-width: 992px) {
  .price__col-left,
  .price__col-right {
    font-size: 20px;
  }
}
@media screen and (max-width: 576px){
	.offers {
		padding-top: 30px;
	}
}

/* //////////////////footer///////////////////////// */
.footer {
  color: #fff;
  font-size: 16px;
  padding: 50px 0;
	background: #879ad4;
}
.footer-top {
  display: flex;
  justify-content: space-between;
	margin-bottom: 30px;
}
.footer-top__contacts{
	flex: 0 0 50%;
  font-size: 16px;
  font-weight: 700;
  line-height: 30px;
}
.footer-top__row {
  display: flex;
  align-items: center;
}
.footer-bott__text{
	flex: 0 0 71%;
}
.footer-top__row:not(:last-child) {
  margin-bottom: 15px;
}
.footer-top__row:first-child,
.footer-top__row:last-child {
  white-space: nowrap;
}
.footer-top__row svg {
  margin-right: 10px;
  flex-shrink: 0;
	width: 17px;
	height: 17px;
}
.footer-bott {
  display: flex;
  justify-content: space-between;
	font-family: 'Helvetica', sans-serif;
	color: #e3eaff;
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
}
.copyright {
	white-space: nowrap;
}

@media only screen and (max-width: 991px) {
  .footer-top {
    flex-direction: column;
		margin-bottom: 40px;
  }
	.footer-top__logo{
		margin-bottom: 30px;
	}
	.footer-top__logo img{
		width: 235px;
    height: 36px;
	}
	.footer-bott{
		flex-direction: column;
	}
	.footer-bott__text{
		order: -1;
		margin-bottom: 40px;
	}
	.copyright{
		text-align: left;
	}
}
