/*
Approach 1
this will lead to 4 different mixins
@mixin responsiveA {
  @media screen and (max-width: 600px) {
    @content;
  }
}
Approach 1
*/
/*
  RESPONSIVE VARIABLES.

  BREAKPOINTS.
  Phone: 600px
  tab portrait: 601px-900px;
  tab landscape:901px-1200px;
  desktop:1201px-1800px;
  xl.: more than 1800px;
  browser default 1em = 16px
*/
@keyframes moveInLeft {
  0% {
    opacity: 0;
    transform: translateX(-10rem); }
  80% {
    transform: translateX(1rem); }
  100% {
    opacity: 1;
    transform: translateX(0); } }

@keyframes moveInRight {
  0% {
    opacity: 0;
    transform: translateX(10rem); }
  80% {
    transform: translateX(-1rem); }
  100% {
    opacity: 1;
    transform: translateX(0); } }

@keyframes moveInButtom {
  0% {
    opacity: 0;
    transform: translateY(10rem); }
  /* 80% {
        transform: translateX(-10px);
      } */
  100% {
    opacity: 1;
    transform: translateX(0); } }

/* Basice reset */
*,
*::after,
*::before {
  margin: 0;
  padding: 0; }

html {
  font-size: 62.5%; }
  @media screen and (min-width: 112.51em) {
    html {
      font-size: 75%; } }
  @media screen and (max-width: 112.5em) {
    html {
      font-size: 70%; } }
  @media screen and (max-width: 75em) {
    html {
      font-size: 65%; } }
  @media screen and (max-width: 56.25em) {
    html {
      font-size: 62.5%; } }
  @media screen and (max-width: 37.5em) {
    html {
      font-size: 50%; } }

body {
  box-sizing: border-box;
  padding: 3rem; }
  @media screen and (max-width: 56.25em) {
    body {
      padding: 0; } }

.margin--defautl {
  margin: 2em; }

.margin--default-vertical {
  margin: 2em 0; }

.border--default {
  border: 1px solid #fd7f8b; }

.pad--default {
  padding: 2em; }

.pad--default-vertical {
  padding: 2em 0; }

.pad--default-bottom {
  padding: 0 0 2em 0; }

.center--margin {
  margin: 0 auto; }

.center-text {
  text-align: center; }

body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.7;
  color: #777777; }

.heading-primary {
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  backface-visibility: hidden;
  margin-bottom: 3rem; }

.heading-primary--main {
  font-size: 6rem;
  font-weight: 400;
  letter-spacing: 3.5rem;
  animation: moveInLeft 2s; }

.heading-primary--sub {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1.5rem;
  animation: moveInRight 2s; }

.heading-secondary {
  font-size: 2.5rem;
  text-transform: uppercase;
  font-weight: 700;
  background-image: linear-gradient(to right, #bd2031, #fd7f8b);
  display: inline-block;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.2rem;
  transition: all 0.2s; }
  .heading-secondary:hover {
    transform: skew(4deg, 4deg) scale(0.8);
    text-shadow: 0.5rem 1rem 2rem rgba(0, 0, 0, 0.5); }

.heading-tertiary {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase; }

.paragraph {
  font-size: 1.6rem; }
  .paragraph:not(:last-child) {
    margin-bottom: 2rem; }

.u-center-text {
  text-align: center; }

.u-margin-bottom-big {
  margin-bottom: 8rem; }

.u-margin-bottom-medium {
  margin-bottom: 4rem; }

.u-margin-bottom-small {
  margin-bottom: 2rem; }

.btn,
.btn:link,
.btn:visited {
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  border-radius: 10rem;
  transition: all 0.2s;
  position: relative; }

.btn:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.66); }

.btn:active {
  transform: translateY(-0.1rem);
  box-shadow: 0 5px 10px rgba(255, 255, 255, 0.66); }

.btn::after {
  content: "";
  display: inline-block;
  height: 100%;
  width: 100%;
  border-radius: 10rem;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  transition: all 0.4s; }

.btn:hover::after {
  transform: scaleX(1.2) scaleY(1.6);
  opacity: 0; }

.btn-primary {
  background-color: #ebd21e;
  color: #777777;
  padding: 1.5rem 4rem; }

.btn--animated {
  animation: moveInButtom 0.5s ease-out 0.7s;
  animation-fill-mode: backwards; }

.btn-primary::after {
  background-color: #ebd21e; }

.btn-text.btn, .btn-text:link, .btn-text:visited {
  color: #ff2a3f;
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid #ff2a3f;
  padding: 3px;
  font-size: 1.6rem;
  transition: all 0.2s; }

.btn-text:hover {
  background-color: #ff2a3f;
  color: #ffffff;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.4);
  transform: translateY(-2px); }

.btn-text:active {
  box-shadow: 0.5rem 2rem 2rem rgba(0, 0, 0, 0.4);
  transform: translateY(0); }

.composition {
  position: relative; }
  .composition__photo {
    width: 55%;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
    border-radius: 1rem;
    position: absolute;
    transition: all 0.2s; }
    .composition__photo--p1 {
      top: 2rem;
      left: 1rem; }
    .composition__photo--p2 {
      top: -2rem;
      right: 2rem; }
    .composition__photo--p3 {
      left: 18%;
      top: 16rem; }
    .composition__photo:hover {
      transform: scale(1.4) translateY(1rem);
      box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.8);
      z-index: 1;
      outline: 1rem solid #ff2a3f;
      outline-offset: 1rem;
      outline-color: rgba(255, 42, 63, 0.8);
      outline-style: double; }
  .composition:hover .composition__photo:not(:hover) {
    transform: scale(0.8); }

.feature-box {
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  border-radius: 2rem;
  box-shadow: 0 2rem 4rem rgba(255, 255, 255, 0.9);
  transition: transform 0.3s; }
  .feature-box:hover {
    transform: translateY(-1.5rem) scale(1.2);
    background-color: white;
    outline: 1rem solid #7755c5;
    outline-offset: 1rem;
    outline-color: rgba(119, 85, 197, 0.8);
    outline-style: double; }
  .feature-box__icon {
    font-size: 6rem;
    margin-bottom: 0.5rem;
    background-image: linear-gradient(to right, #bd2031, #fd7f8b);
    display: inline-block;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; }

.card {
  perspective: 100rem;
  -moz-perspective: 150rem;
  position: relative;
  height: 50rem; }
  .card__side {
    height: 50rem;
    transition: all 1s ease;
    color: white;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    backface-visibility: hidden;
    border-radius: 1rem;
    box-shadow: 0 2rem 40px black;
    overflow: hidden; }
    .card__side--front {
      background-color: #ffffff; }
    .card__side--back {
      transform: rotateY(180deg); }
      .card__side--back-1 {
        background: linear-gradient(to right, #ffb900, #ff7730); }
      .card__side--back-2 {
        background: linear-gradient(to right, #ffb900, #ff7730); }
      .card__side--back-3 {
        background: linear-gradient(to right, #ffb900, #ff7730); }
  .card:hover .card__side--front {
    transform: rotateY(-180deg); }
  .card:hover .card__side--back {
    transform: rotateY(0); }
  .card__image {
    height: 50%; }
    .card__image--1 {
      background-image: linear-gradient(to right, rgba(255, 185, 0, 0.2), rgba(255, 119, 48, 0.2)), url(../../img/people/driver1.jpg);
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      background-blend-mode: screen;
      clip-path: circle(40%); }
    .card__image--2 {
      background-image: url(../../img/people/driver2.jpg); }
    .card__image--3 {
      background-image: url(../../img/people/principle.jpg); }
  .card__heading {
    font-size: 2.5rem;
    font-weight: bolder;
    text-transform: uppercase;
    color: #ffffff;
    position: absolute;
    top: 12rem;
    right: 2rem;
    text-align: right;
    width: 70%; }
  .card__heading-span {
    padding: 1rem 1.5rem;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone; }
    .card__heading-span--1 {
      background-image: linear-gradient(to left, rgba(255, 185, 0, 0.6), #ff7730); }
  .card__details ul {
    margin: 0 auto;
    list-style: none;
    width: 80%;
    color: #000000; }
    .card__details ul li {
      text-align: center;
      font-size: 1.5rem;
      padding: 1rem; }
      .card__details ul li:not(:last-child) {
        border-bottom: 1px solid #efefef; }
  .card__stats {
    margin: auto 0; }
    .card__stats--started {
      font-size: 2rem; }
    .card__stats--wins {
      font-size: 5rem;
      font-weight: 100; }
    .card__stats--podiums {
      font-size: 5rem; }

.story {
  width: 75%;
  margin: 0 auto;
  box-shadow: 0 3rem 2rem rgba(0, 0, 0, 0.5);
  border-radius: 1rem;
  padding: 6rem 6rem 6rem 9rem;
  transform: skewX(-12deg);
  position: relative;
  background-color: rgba(255, 255, 255, 0.8); }
  .story__shape {
    width: 12rem;
    height: 12rem;
    float: left;
    background-color: white;
    shape-outside: circle(50% at 50% 50%);
    -webkit-shape-outside: circle(50% at 50% 50%);
    clip-path: circle(50% at 50% 50%);
    -webkit-clip-path: circle(50% at 50% 50%);
    transform: translateX(-3rem) skewX(12deg);
    position: relative; }
  .story__image {
    height: 100%;
    transition: all 0.5s linear; }
  .story__text {
    transform: skewX(12deg); }
  .story__caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 100%);
    color: #ffffff;
    font-size: 1.7rem;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.5s;
    backface-visibility: hidden; }
  .story:hover .story__caption {
    opacity: 1;
    transform: translate(-50%, -50%); }
  .story:hover .story__image {
    transform: scale(0.8);
    filter: blur(0.1rem) brightness(90%); }

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.3;
  overflow: hidden; }
  .bg-video__content {
    width: 100%;
    height: 100%;
    object-fit: cover; }

.form__group:not(:last-child) {
  margin-bottom: 2rem; }

.form__control {
  font-size: 1.5rem;
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  color: inherit;
  font-family: inherit;
  border-bottom: solid 0.3rem transparent;
  display: block;
  width: 100%;
  transition: all 0.5s; }
  .form__control::-webkit-input-placeholder {
    color: #999; }
  .form__control:focus {
    outline: none;
    box-shadow: 0 1rem 2rem rgba(255, 255, 255, 0.1);
    border-bottom: solid 0.3rem #000000; }
  .form__control:focus:valid {
    border-bottom: solid 0.3rem green; }
  .form__control:focus:invalid {
    border-bottom: solid 0.3rem orangered; }

.form__label {
  font-size: 1.2rem;
  font-weight: 700;
  margin-left: 2rem;
  margin-top: 0.5rem;
  display: block;
  transition: all 0.5s; }

.form__control:placeholder-shown + .form__label {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4rem); }

.form__radio-group {
  width: 40%;
  display: inline-block; }

.form__radio-input {
  display: none; }

.form__radio-label {
  font-size: 1.6rem;
  cursor: pointer;
  position: relative;
  padding-left: 5rem; }

.form__radio-button {
  height: 3rem;
  width: 3rem;
  border: solid 0.5rem #ff2a3f;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  left: 0;
  top: -1rem; }
  .form__radio-button::after {
    height: 1.5rem;
    width: 1.5rem;
    content: "";
    display: block;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ff2a3f;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s; }

.form__radio-input:checked ~ .form__radio-label .form__radio-button::after {
  opacity: 1;
  visibility: visible; }

.row {
  max-width: 114rem;
  margin: 0 auto; }
  .row:last-child {
    margin-bottom: 0; }
  .row [class^="col-"] {
    float: left;
    text-align: center;
    font-weight: bold; }
    .row [class^="col-"]:not(:last-child) {
      margin-right: 6rem; }
  .row .col-1-of-2 {
    width: calc((100% - 6rem) / 2); }
  .row .col-1-of-3 {
    width: calc((100% - 2 * 6rem) / 3); }
  .row .col-1-of-4 {
    width: calc((100% - 3 * 6rem) / 4); }
  .row .col-2-of-3 {
    width: calc(2 * ((100% - 2 * 6rem) / 3) + 6rem); }
  .row .col-2-of-4 {
    width: calc(2 * ((100% - 3 * 6rem) / 4) + 6rem); }
  .row .col-3-of-4 {
    width: calc(3 * ((100% - 3 * 6rem) / 4) + (2 * 6rem)); }
  .row::after {
    content: "";
    display: table;
    clear: both; }

.header {
  height: 95vh;
  background-image: linear-gradient(to top right, #bd2031, rgba(253, 127, 139, 0.1)), url(./../img/bg-header.jpg);
  background-size: cover;
  background-position: bottom;
  clip-path: polygon(0 0, 100% 0, 100% 66vh, 0 100%);
  position: relative; }

.header__logo-block {
  position: absolute;
  top: 4rem;
  left: 4rem; }

.header__logo {
  height: 3.5rem; }

.header__heading-block {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center; }

.footer {
  background-color: #333;
  padding: 10rem 0;
  font-size: 1.2rem;
  color: #efefef; }
  .footer__logo {
    width: 15rem;
    height: auto;
    text-align: center;
    margin-bottom: 8rem; }
  .footer__list {
    list-style: none; }
  .footer__item {
    display: inline-block; }
    .footer__item:not(:last-child) {
      margin-right: 1rem; }
  .footer__link {
    transition: all 0.5s; }
    .footer__link:link, .footer__link:visited {
      text-decoration: none;
      text-transform: uppercase;
      display: inline-block; }
    .footer__link:hover, .footer__link:active {
      color: #ff2a3f;
      box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.5);
      transform: rotate(5deg) scale(1.3); }

.navigation__checkbox {
  display: none; }

.navigation__button {
  background-color: #ffffff;
  height: 7rem;
  width: 7rem;
  position: fixed;
  top: 6rem;
  right: 6rem;
  border-radius: 50%;
  z-index: 1002;
  box-shadow: 0 1rem 3rem black;
  text-align: center;
  cursor: pointer; }

.navigation__background {
  height: 6rem;
  width: 6rem;
  border-radius: 50%;
  position: fixed;
  top: 6.5rem;
  right: 6.5rem;
  background-image: radial-gradient(#fd7f8b 20%, #bd2031);
  z-index: 1000;
  transition: transform 0.2s cubic-bezier(0.00001, 0.005, 0.005, 0.001); }

.navigation__nav {
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1001;
  opacity: 0;
  width: 0;
  transition: all 0.2s cubic-bezier(1, 1, 1, 1); }

.navigation__list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  list-style: none;
  text-align: center;
  width: 100%; }

.navigation__item {
  margin: 1rem; }

.navigation__link:link, .navigation__link:visited {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  background-image: linear-gradient(120deg, transparent 0%, transparent 50%, #ffffff 50%);
  padding: 1rem 2rem;
  background-size: 250%;
  transition: all 0.2s;
  display: inline-block; }

.navigation__link:hover, .navigation__link:active {
  background-position: 100%;
  color: #bd2031;
  transform: translateX(1rem); }

.navigation__checkbox:checked ~ .navigation__background {
  transform: scale(40); }

.navigation__checkbox:checked ~ .navigation__nav {
  opacity: 1;
  width: 100vw; }

.navigation__icon {
  position: relative;
  margin-top: 3.5rem; }
  .navigation__icon, .navigation__icon::before, .navigation__icon::after {
    width: 3rem;
    height: 2px;
    background-color: #333;
    display: inline-block;
    transition: all 0.2s; }
  .navigation__icon::before, .navigation__icon::after {
    content: "";
    position: absolute;
    left: 0; }
  .navigation__icon::before {
    top: -0.8rem; }
  .navigation__icon::after {
    top: 0.8rem; }

.navigation__button:hover .navigation__icon::before {
  top: -1rem; }

.navigation__button:hover .navigation__icon::after {
  top: 1rem; }

.navigation__checkbox:checked + .navigation__button .navigation__icon {
  background-color: transparent; }

.navigation__checkbox:checked + .navigation__button .navigation__icon::before {
  transform: rotate(135deg);
  top: 0; }

.navigation__checkbox:checked + .navigation__button .navigation__icon::after {
  transform: rotate(-135deg);
  top: 0; }

.popup {
  position: fixed;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s; }
  .popup :target {
    opacity: 1;
    visibility: visible; }
  .popup__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    background-color: #ffffff;
    border-radius: 3px;
    display: table; }
  .popup__left {
    width: 33.3%;
    display: table-cell;
    vertical-align: middle; }
  .popup__right {
    display: table-cell;
    vertical-align: middle;
    width: 66.6%; }
  .popup__img {
    display: block;
    width: 100%; }
  .popup__text {
    font-size: 1.4rem;
    column-count: 3;
    column-gap: 3rem;
    column-rule: solid 1px #eee;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto; }

.section-about {
  background-color: #f7f7f9;
  padding: 25rem 0;
  margin-top: -20rem; }

.section-features {
  padding: 25rem 0;
  background-image: linear-gradient(to right bottom, rgba(253, 127, 139, 0.35), rgba(189, 32, 49, 0.66)), url(../../img/features/features-bg.jpg);
  transform: skewY(-5deg);
  margin-top: -8rem; }
  .section-features > * {
    transform: skewY(5deg); }

.section-season {
  background-color: #f7f7f9;
  padding: 25rem 0 50rem 0;
  margin-top: -10rem; }

.section-stories {
  padding: 15rem 0;
  position: relative; }

.section-stories {
  padding: 15rem 0;
  background-image: linear-gradient(to right bottom, #fd7f8b, #bd2031); }

.subscription {
  background-image: linear-gradient(30deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.7) 50%, transparent 50%), url(../../img/bg.jpg);
  background-size: cover;
  border-radius: 1rem;
  box-shadow: 0 1rem 4rem rgba(189, 32, 49, 0.66);
  height: 50rem; }
  .subscription__form {
    width: 50%;
    padding: 6rem; }
