/*! RSE Template build by Invendi.net with help of HTML5 Boilerplate */

/* ==========================================================================
   Style
   ========================================================================== */


/* Variables */

 :root {
  --mobile-screen: 420px;
  --tablet-screen: 720px;
  --desktop-screen: 1080px;
  --desktop-big-screen: 1600px;
  --almostBlack: #343434;
  --darkGrey: #545554;
  --lightGrey: #F6F6F6;
  --justGrey: #BFBFBF;
  --neonGreen: #76FBE9;
  --justYellow: #F6EB3D;
}

/* Fonts */

@font-face {
  font-family: 'Open Sans';
  font-weight: normal;
  src: url(../fonts/opensans-regular.woff2);
}

@font-face {
  font-family: 'Open Sans';
  font-weight: bold;
  src: url(../fonts/opensans-bold.woff2);
}

@font-face {
  font-family: 'Dax Bold';
  src: url(../fonts/dax-bold.woff2);
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: var(--almostBlack);
}

.title {
  font-family: 'Dax Bold', sans-serif;
  font-size: 2rem;
}

.subtitle {
  font-family: 'Dax Bold', sans-serif;
  font-size: 1.2rem;
  color: var(--justGrey);
}

.sub {
  color: var(--justGrey);
}

a {
  color: var(--almostBlack);
  font-weight: bold;
}

/* Base */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--lightGrey) url(../img/bg-pattern.svg) repeat;
}

img {
  max-width: 100%;
}

.margin-top {
  margin-top: 6rem;
}

.wrapper {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Elements */

header {
  padding: 2rem;
  text-align: center;
  box-sizing: border-box;
}

.nav-button {
  background: var(--justYellow);
  display: block;
  padding: 1rem;
  position: absolute;
  right: 0;
  box-sizing: border-box;
  z-index: 11;
  cursor: pointer;
  transition: 175ms;
}

.nav-button-active {
  transition: 175ms;
  background: var(--justGrey);
}

nav {
  transition: 175ms;
  opacity: 0;
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 3;
}

nav a {
  color: var(--almostBlack);
  text-decoration: none;
}

nav a:hover {
  color: black;
  border-bottom: 1px solid var(--almostBlack);
}

.nav-active {
  transition: 175ms;
  opacity: 1;
}

nav ul {
  list-style: none;
  text-align: left;
  background: var(--justYellow);
  box-sizing: border-box;
  margin-top: 2rem;
  padding: 0;
}

nav li {
  padding: 1.5rem;
}

nav li:nth-child(odd) {
  background: rgba(0, 0, 0, 0.05);
}

.content-block-text {
  border-top: 10px solid var(--justYellow);
  background:#FFF;
  box-sizing: border-box;
  padding: 1rem 2rem;
  margin: -3rem auto auto auto;
  box-shadow: 0 0 2.5rem 0 rgba(0,0,0,0.1);
  z-index: 1;
  position: relative;
}

.content-block-img {
  z-index: 0;
  position: relative;
}

.content-block-img {
  object-fit: cover;
}

.content-block-container {
  padding: 0 2rem;
  box-sizing: border-box;
}

.content-block-button {
  text-align: center;
}

.content-block-button button {
  background: var(--justYellow) url(../img/btn-arrows-bg.svg) no-repeat 90% 100%;
  transition: all 0.25s;
  border: none;
  padding: 1.75rem 6rem 1.5rem 1.5rem;
  font-family: 'Dax Bold', sans-serif;
  font-size: 1rem;
  color: var(--darkGrey);
  cursor: pointer;
}

.content-block-button button:hover {
  background: var(--justYellow) url(../img/btn-arrows-bg.svg) no-repeat 95% 100%;
  transition: all 0.25s;
  color: white;
}

.swiper-block {
  width: 100vw;
  height: 30vh;
  overflow: hidden;
  position: relative;
}

.swiper-block-prev, 
.swiper-block-next {
  position: absolute;
  z-index: 1;
  top: calc(50% - 23px);
  background: var(--justYellow);
  box-shadow: 0 15px 25px 0 rgba(246,235,61,0.90);
  transition: all 0.25s;
  border-radius: 100%;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
}

.swiper-block-prev:hover,
.swiper-block-next:hover {
  box-shadow: 0 15px 25px 0 rgba(61, 246, 221, 0.9);
  transform:translateY(-10px) ;
  transition: all 0.25s;
}

.swiper-block-next {
  right: 2rem;
}

.swiper-block-prev {
  left: 2rem;
}

.title-block * {
  margin: 0;
}

.title-block {
  width: 90vw;
  box-sizing: border-box;
  text-align: center;
  margin: 3rem auto;
}

.steps-block-item {
  display: flex;
  flex-direction: column;
}

.steps-block-content {
  display: flex;
  width: 90vw;
  margin: 0 auto;
}

.steps-block-text {
  margin-top: 0;
}

.steps-swipe-button {
  max-width: 120px;
  margin: 2rem auto;
}

.steps-block-step {
  background: var(--justYellow);
  font-family: 'Arial Narrow';
  font-size: 1.5rem;
  box-sizing: border-box;
  padding: 1rem 0.65rem;
  align-self: flex-start;
  margin-top: 3rem;
}

.usp-block {
  width: 80%;
}

.usp-item {
  display: flex;
  flex-direction: row;
  padding: 1rem 2rem;
  box-sizing: border-box;
}

.usp-item h4 {
  margin: 0;
  font-size: 1.2rem;
}

.usp-item p {
  margin: 0;
}

.usp-text {
  margin: auto 0 auto 2rem;
}

.specs-block {
  background: url(../img/bg-specs.webp) center;
  background-size: cover;
  padding: 6rem 3rem;
  margin-top: 2rem;
  box-sizing: border-box;
  color: var(--lightGrey);
}

.specs-block .title,
.specs-block .subtitle {
  margin: 0;
  text-align: center;
}

.specs-items {
  padding: 6rem 10% 3rem 10% !important;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  gap: 2rem;
}

.specs-items li {
  font-size: 1rem;
  box-sizing: border-box;
  vertical-align: middle;
  flex-basis: 250px;
  margin: auto;
}

.specs-items li::before {
  content: url(../img/icon-bullet.svg);
  height: 2rem;
  width: 2rem;
  margin-right: 1rem;
  display: inline-block;
  vertical-align: middle;
}

.contact-block {
  background:url(../img/bg-contactbar.webp) center;
  background-size: cover;
  padding: 4rem 15%;
  text-align: center;
}

.contact-block .title,
.contact-block .subtitle {
  margin: 0;
  color: var(--lightGrey);
}

.contact-block form {
  padding-top: 2rem;
  max-width: 30rem;
  margin: auto;
}

.contact-block input {
  padding: 1rem;
  margin-bottom: 2rem;
  box-sizing: border-box;
  width: 100%;
  background: none;
  border: 1px solid var(--justYellow);
  color: var(--lightGrey);
}

.contact-block button {
  cursor: pointer;
  background: var(--justYellow);
  font-family: 'Dax Bold', sans-serif;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  vertical-align: center;
}

footer {
  padding: 4rem 20%;
  position: relative;
  text-align: center;
}

.footer-contact div:first-of-type {
  padding-bottom: 1rem;
}

.footer-contact p:first-child {
  font-family: 'Dax Bold', sans-serif;
}

.footer-contact p {
  margin: 0.25rem;
}

.footer-contact {
  padding: 2rem 0;
}

.footer-copy a {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--justYellow);
  transition: all 0.25s;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.footer-copy a:hover {
  background: var(--neonGreen);
  transition: all 0.25s;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 900px) {

  .wrapper {
    padding: 0 3rem;
  }

  header {
    display: flex;
    text-align: left;
    padding: 3rem !important;
  }

  .nav-button {
    display: none;
  }

  nav {
    opacity: 1;
    margin: auto 0 auto auto;
    position: relative;
    width: auto;
  }

  nav ul {
    position: relative;
    background: none;
    display: flex;
    margin: auto;
  }

  nav ul li {
    padding: 1rem;
  }

  nav ul li:nth-child(odd) {
    background: none;
  }

  nav ul a:last-of-type {
    background: var(--justYellow);
    border-radius: 1.50rem;
  }

  .title-block {
    margin: 6rem auto;
  }

  .content-block {
    margin: 6rem auto;
    display: flex;
  }

  .content-block-text {
    margin-top: 3rem;
    margin-left: -3rem;
  }

  .content-block-container {
    padding: 0;
  }

  .content-block-img {
    padding-bottom: 2rem;
    max-width: 60%;
  }

  .steps-swipe-button {
    display: none;
  }

  .steps-block-item {
    margin: 0 auto;
    flex-direction: row;
    gap: 2rem;
  }

  .steps-block-item:nth-child(2){
    flex-direction: row-reverse;
  }

  .steps-block-img {
    flex: 3;
  }

  .steps-block-content {
    flex:1;
    flex-basis: 250px;
    width: 100%;
  }

  .steps-block-text {
    margin-left: 0;
  }

  .steps-block-step {
    margin-top: 5rem;
  }

  .specs-items li {
    flex-basis: 250px;
  }

  .usp-block {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 3rem 0;
  }

  .usp-item {
    flex-basis: 420px;
    margin: auto;
  }

  .row-reverse {
    flex-direction: row-reverse;
  }

  .row-reverse .content-block-text {
    margin-left: 0;
    margin-right: -3rem;
  }

  footer {
    background: url(/img/footer-corner.svg) no-repeat bottom 0% right 0%;
    padding: 8rem 3rem;
  }

  footer .wrapper {
    display: flex;
    gap: 3rem;
    text-align: left;
  }

  .footer-logo,
  .footer-links {
    margin: auto;
  }

  .footer-contact {
    display: flex;
    gap: 3rem;
    padding: 0;
    margin: auto;
  }

  .footer-contact div:first-of-type {
    padding-bottom: 0;
  }

}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden,
 [hidden] {
   display: none !important;
 }
 
 /*
  * Hide only visually, but have it available for screen readers:
  * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
  *
  * 1. For long content, line feeds are not interpreted as spaces and small width
  *    causes content to wrap 1 word per line:
  *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
  */
 
 .sr-only {
   border: 0;
   clip: rect(0, 0, 0, 0);
   height: 1px;
   margin: -1px;
   overflow: hidden;
   padding: 0;
   position: absolute;
   white-space: nowrap;
   width: 1px;
   /* 1 */
 }
 
 /*
  * Extends the .sr-only class to allow the element
  * to be focusable when navigated to via the keyboard:
  * https://www.drupal.org/node/897638
  */
 
 .sr-only.focusable:active,
 .sr-only.focusable:focus {
   clip: auto;
   height: auto;
   margin: 0;
   overflow: visible;
   position: static;
   white-space: inherit;
   width: auto;
 }
 
 /*
  * Hide visually and from screen readers, but maintain layout
  */
 
 .invisible {
   visibility: hidden;
 }
 
 /*
  * Clearfix: contain floats
  *
  * For modern browsers
  * 1. The space content is one way to avoid an Opera bug when the
  *    `contenteditable` attribute is included anywhere else in the document.
  *    Otherwise it causes space to appear at the top and bottom of elements
  *    that receive the `clearfix` class.
  * 2. The use of `table` rather than `block` is only necessary if using
  *    `:before` to contain the top-margins of child elements.
  */
 
 .clearfix::before,
 .clearfix::after {
   content: " ";
   display: table;
 }
 
 .clearfix::after {
   clear: both;
 }