/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

body {
  font-family: Lato;
}

section,
section.container {
  margin-bottom: 150px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.hero {
  display: flex;
  flex-flow: row-reverse wrap;
  justify-content: flex-end;
  margin-top: 70px;
}

.hero__img {
  width: 40%;
  margin-right: 8%;
  flex-shrink: 0;
  object-fit: contain;
  object-position: top left;
}

.hero__content {
  width: 52%;
}

.hero__title {
  margin: 0 0 20px;
  font-weight: bold;
  font-size: 52px;
  line-height: 67px;
  color: #10375C;
  font-family: Lora;
}

.text--orange {
  color: #FF5722;
}

.hero__text {
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  color: #6A6A6A;
  margin: 20px 0 34px;
  max-width: 570px;
}

.hero__blockquote {
  background-color: #10375C;
  padding: 77px 73px 47px 119px;
  font-style: italic;
  font-weight: normal;
  font-size: 18px;
  line-height: 130%;
  color: #FFFFFF;
  position: relative;
  left: -25%;
  margin: 0;
}

.hero__blockquote::before {
  content: '';
  position: absolute;
  width: 64px;
  height: 50px;
  background-image: url('./images/blockquotes.svg');
  top: 29px;
  left: 39px;
}

.slider--diploma .slider__row {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-end;
  margin-bottom: 43px;
}

.slider--diploma .slider__title {
  width: 50%;
  max-width: 630px;
  margin: 0;
  font-family: Lora;
  font-weight: bold;
  font-size: 40px;
  line-height: 51px;
  color: #10375C;
}

.slider__btns {
  display: flex;
  flex-flow: row wrap;
  margin-left: auto;
}

.slider--diploma .slider__btns .swiper-button-disabled,
.training-camps .slider__btns .swiper-button-disabled {
  opacity: 1;
}

.slider--diploma .slider__btns .swiper-button-disabled svg,
.training-camps .slider__btns .swiper-button-disabled svg {
  fill: #9A9A9A;
}

.slider--diploma .slider__btns svg,
.training-camps .slider__btns svg {
  fill: #FF5722;
}

.swiper-button-prev,
.swiper-button-next {
  position: static;
  margin: 0;
  width: 54px;
  height: 26px;
}

.slider--diploma .swiper-button-next {
  margin-right: 32px;
  margin-left: 20px;
}

.slider--diploma .swiper-button-prev:after,
.slider--diploma .swiper-button-next:after, 
.training-camps .swiper-button-prev:after,
.training-camps .swiper-button-next:after {
  content: none;
}

.swiper .swiper-scrollbar {
  position: static;
  width: 160px;
  height: 4px;
  background: #DFDFDF;
  border-radius: 0;
  margin: 32px auto 7px;
}

.swiper .swiper-scrollbar-drag {
  background: #DD2C00;
  border-radius: 0;
}

.swiper-pagination {
  position: static;
  font-size: 12px;
  line-height: 14px;
  color: #0D2C4A;
}

.swiper-pagination-current {
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: #222831;
}

.swiper-pagination-total {
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #9A9A9A;
}

.school {
  background-color: #10375C;
  padding: 58px 0;
  color: #fff;
}

.school .container {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.school__text {
  width: 43%;
}

.school__title {
  font-family: Lora;
  font-weight: bold;
  font-size: 40px;
  line-height: 51px;
  margin: 0;
}

.school__text p {
  font-weight: normal;
  font-size: 20px;
  line-height: 30px;
  text-align: justify;
  color: #DFDFDF;
}

.school__media {
  width: 50%;
}

.school__img {
  position: relative;
  margin-top: 63px;
  margin-bottom: 122px;
}

.school__img::before,
.school__img::after {
  content: '';
  position: absolute;
  width: 262px;
  height: 262px;
}

.school__img::before {
  bottom: -62px;
  left: -23px;
  background-image: url('./images/background-lines-color-bottom.svg');
}

.school__img::after {
  top: -62px;
  right: -23px;
  background-image: url('./images/background-lines-color-top.svg');
}

.school__img img {
  position: relative;
  z-index: 1;
}

.school__download {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  line-height: 28px;
  color: #FFFFFF;
}

.btn {
  padding: 12px 45px;
  background: #FF5722;
  color: #FFFFFF;
  text-decoration: none;
  transition: .3s all ease-in-out;
}

.btn:hover {
  background: #FFFFFF;
  color: #FF5722;
}

.trip__row {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.trip--ski .trip__row {
  flex-flow: row-reverse wrap;
}

.trip__heading {
  width: 33%;
  margin-right: 11%;
}

.trip--ski .trip__heading {
  margin-right: 0;
}

.trip__years {
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  color: #222831;
  position: relative;
}

.trip__years::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 73px;
  height: 2px;
  margin-left: 15px;
  background: #222831;
}

.trip__title {
  font-weight: bold;
  font-size: 40px;
  line-height: 51px;
  color: #10375C;
  margin: 8px 0 0;
}

.trip__text {
  width: 56%;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  margin: 0 0 50px;
  color: #6A6A6A;
}

.trip--ski .trip__text {
  margin-right: 11%;
}

.trip__advantage {
  width: calc(33% - 53px);
  margin-right: 11%;
  z-index: 2;
  background-color: #fff;
  padding-left: 53px;
  position: relative;
}

.trip--ski .trip__advantage {
  margin-right: 0;
  margin-left: 11%;
}

.trip__advantage-title {
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
  color: #FFFFFF;
  padding: 12px 20px;
  background: #FF5722;
  box-shadow: 0 10px 40px rgba(255, 87, 34, 0.3);
  margin: 0 0 30px;
}

.trip__advantage-list {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.trip__advantage-item {
  position: relative;
  font-weight: bold;
  font-size: 20px;
  line-height: 32px;
  color: #000000;
  margin-bottom: 20px;
  padding-left: 34px;
}

.trip__advantage-item::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  width: 24px;
  height: 19px;
  background-image: url(./images/check-mark.svg);
}

.trip__slider-contorls {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  position: absolute;
  top: 95px;
  left: -100px;
  transform: rotate(-90deg);
}

.trip__slider-contorls .swiper-pagination {
  width: auto;
}

.trip__slider-contorls .swiper-scrollbar {
  margin: 0 0 0 24px;
  transform: rotate(180deg);
}

.trip__slides {
  width: 56%;
}

.method__title {
  font-family: Lora;
  font-weight: bold;
  font-size: 40px;
  line-height: 51px;
  text-align: center;
  color: #10375C;
  max-width: 600px;
  margin: 0 auto 51px;
}

.method__card {
  display: block;
  position: relative;
  text-align: center;
  /* width: 30%; */
  background-color: #fff;
  box-shadow: 0 7px 24px rgba(223, 223, 223, 0.5);
  font-family: Lora;
  font-weight: normal;
  font-size: 26px;
  line-height: 33px;
  padding: 42px 0 63px;
  color: #000000;
  margin-bottom: 75px;
  text-decoration: none;
  transition: .3s all;
}

.method__card:hover {
  background-color: #FF5722;
  color: #fff;
}

.method__card-title {
  margin: 0;
  max-width: 330px;
  text-align: center;
  margin: 0 auto;
  padding: 0 40px;
}

.method__card-btn {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
}

.method__card:hover .method__card-btn {
  background-color: #fff;
  color: #FF5722;
  box-shadow: 0 6px 34px rgba(221, 44, 0, 0.24);
}

.method__slider-btns {
  justify-content: center;
}

.method__slider-btns .swiper-button-prev::after,
.method__slider-btns .swiper-button-next::after {
  font-size: 17px;
  color: #FF5722;
}

.footer {
  margin-bottom: 170px;
}

.footer__text {
  position: relative;
  max-width: 825px;
  margin: 0 auto;
  font-weight: normal;
  font-size: 26px;
  line-height: 33px;
  text-align: center;
  box-shadow: 0 20px 24px rgba(223, 223, 223, 0.5);
}

.footer__text p {
  padding: 59px 32px 39px;
  margin: 0;
  background-color: #fff;
  position: relative;
  z-index: 1;
}

.footer__text::before,
.footer__text::after {
  content: '';
  position: absolute;
  width: 262px;
  height: 262px;
}

.footer__text::before {
  bottom: -51px;
  left: -58px;
  background-image: url('./images/background-lines-color-bottom.svg');
}

.footer__text::after {
  top: -46px;
  right: -48px;
  background-image: url('./images/background-lines-color-top.svg');
}

.training-camps__heading {
  position: absolute;
  left: 50%;
}

.training-camps .slider__btns {
  margin-top: 49px;
}

.training-camps .swiper-button-prev {
  margin-right: 20px;
}

.training-camps__slider {
  align-items: flex-end;
  height: 600px;
}

.training-camps__slide {
  width: 350px;
  height: 350px;
  object-fit: cover;
  transition: .3s width, .3s height;
}

.training-camps .swiper-slide-active {
  width: 445px;
  height: 600px;
}