
html {
    color: #fff !important;
    font-size: 1em;
    line-height: 1.1;
    scroll-behavior: smooth;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

   @font-face {
    font-family: 'joystixmonospace';
    src: url('fonts/joystix_monospace-webfont.woff2') format('woff2'),
         url('fonts/joystix_monospace-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'avenirblack';
    src: url('fonts/avenir-black-03-webfont.woff2') format('woff2'),
         url('fonts/avenir-black-03-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'avenirlight_oblique';
    src: url('fonts/avenir-lightoblique-08-webfont.woff2') format('woff2'),
         url('fonts/avenir-lightoblique-08-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'avenirmedium';
    src: url('fonts/avenir-medium-09-webfont.woff2') format('woff2'),
         url('fonts/avenir-medium-09-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* USER STYLES */

body {
    font-family: 'avenirmedium';
    background-color:black;
    background-size: 100%;
    background-repeat:  repeat-y;

}

.hero {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: block;
    background-color:black;
    color: white;
}

.hero-wrapper {
    display: flex;
    align-items: center;

    flex-direction: column;
    flex-wrap: nowrap;
    gap:3em;
    min-height: 100vh;
    height: 100%;
}

.level-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    position: relative;

}

#level-btns-background {
    position: absolute;
    display: block;
    height: 10px;
    width: 80%;
    top:50%;
    margin-top:-5px;
    background-color: #ff4200;
    z-index: 5;
    left: 10%;
}

.level-no {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap:2vw;
    position: relative;
}

.level-title {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap:2vw;
}

.single-level-btn {
    max-width: 180px;
    width: 10vw;
    height: auto;
    padding:10px;
    background: url(../img/shadow.png) no-repeat;
    background-size:contain;
    z-index: 10;
    position: relative;
    background-color: transparent;
    opacity: 0;
    position:relative;
}

.single-level-btn a > img{
    /* transitions */
    -webkit-transition: all .4s ease;
       -moz-transition: all .4s ease;
        -ms-transition: all .4s ease;
         -o-transition: all .4s ease;
            transition: all .4s ease;
    
}
.single-level-btn a > img:nth-child(2){
    position:absolute;
    top:10px;
    left: 10px;
    width: calc(100% - 20px);
}
/*     solution 1: css3 solution, it depends of <img>'s order */

.single-level-btn a > img:nth-child(1){ /* first <img> child of <div> */
    filter: alpha(opacity=100); /* IE stuff */
    opacity: 1;
    z-index: 2;
}
.single-level-btn a > img:nth-child(2){ /* second <img> child of <div> */
    filter: alpha(opacity=0); /* IE stuff */
    opacity: 0;
    z-index: 1;
}
/* hover */
.single-level-btn:hover a > img:nth-child(1){ 
    z-index: 1;
}
.single-level-btn:hover a > img:nth-child(2){ 
    filter: alpha(opacity=100);
    opacity: 1;
    z-index: 2;
}




.single-level-btn-titles {
    display: flex;
    width: 10vw;
    font-family: 'avenirblack';
    color: white;
    text-align: center; 
    opacity: 0;
    justify-content: center;;
}

.single-level-btn-titles p {
    margin-top:0px;
    font-size:1.2em;
}

.single-level-btn-titles span {
    color: #ff4200;
    flex:none
}

.sections {
    background: #ff4200;
}

#logo img {
    width: 100%;
    max-width: 337px;
}

h1 {
    font-family: 'avenirblack';
    color: white;
}

.hero h1 {
    color: white;
    font-family: 'joystixmonospace';
}

.hero h2 {
    color: white;
    font-family: 'joystixmonospace';
}

h1.digital div span {
    margin: 0;
    padding: 0;
}

.copy, #logo, .btn-holder, .life-holder {
    opacity: 0;

}

h1.digital {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

}

.btn-holder {
    margin-top:1em;
}

.btn-holder h1 {
    font-size:3.5em;
}

.hidden-el {
    display:none;
    visibility: hidden;
}

.life-holder {
    max-width: 300px;
    width: 40%;
    margin-top:6em;

}

h1 span#start-btn {
    background:#ff4200;
    padding:0.5em 3em 0.5em 2em;
    border-radius: 1em;
    cursor: pointer;
    position: relative
}

.hero h2 span {
    background:#ff4200;
    padding:0.5em 1em 0.5em 1em;
    border-radius: 1em;
    font-size: 0.7em;
}

span#start-btn:after {
    content:' ';
    display: block;
    width: 1em;
    height: 1em;
    background:url(../img/arrow.svg) no-repeat;
    position: absolute;
    top: 0.7em;
    right: 1.5em;
}

#animated_cursor {
    position:absolute;
}
#hidden_cursor {
    color: black;

}

.level-btns {
    width: 100%;
    position: relative;
}
#level-btns-items {
    display: flex;
    justify-content: space-around;
}
.single-level-btn {
    cursor: pointer;
}




.btn-titles {
    width: 100%;
}
#level-btns-items-titles {
    display: flex;
    flex-direction: row;
    width: 100%;
}

#level-1 {
    background-color: #ff4200;
    padding-top: 12vw;
}

#level-2 {
    background-color: #ff4200;
    padding-top: 12vw;
}

#level-3 {
    background-color: #ff4200;
    padding-top: 12vw;
}

#level-4 {
    background-color: #ff4200;
    padding-top: 12vw;
}

#level-5 {
    background-color: #ff4200;
    padding-top: 12vw;
}

#level-6 {
    background-color: #ff4200;
    padding-top: 12vw;
}

#level-7 {
    background-color: #ff4200;
    padding-top: 12vw;
}



.section-title {
    position: relative;
    margin-bottom:3em;
}

.section-title h1 {
    font-size: 5em;
}

.level-tags {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 446px;
    width: 24%;

}
.text-content {
    background-color:white;
    padding:2% 5%;
    border:9px solid black;
    position: relative;
    width: 70%;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.2;
}

.corners {
    position: absolute;
    width: 45px;
    height: 45px;
    display: block;
    
}

.corner-left {
    background: url(../img/box-corenr.jpg) no-repeat center center;
    background-size: contain;
    top:-10px;
    left: -10px;
}

.corner-right {
    background: url(../img/box-corenr.jpg) no-repeat center center;
    background-size: contain;
    top:-10px;
    right: -10px;
    transform: rotate(90deg);
}

.corner-bottom-left {
    background: url(../img/box-corenr.jpg) no-repeat center center;
    background-size: contain;
    bottom:-10px;
    left: -10px;
    transform: rotate(-90deg);
}

.corner-bottom-right {
    background: url(../img/box-corenr.jpg) no-repeat center center;
    background-size: contain;
    bottom:-10px;
    right: -10px;
    transform: rotate(-180deg);
}

.content-section {
    position: relative;
}

.read-time {
    position: absolute;
    font-family: 'avenirlight_oblique';
    width: 16%;
    z-index: 99;
    font-size: 1.2em;
    left:-5%;
    top:30px;
    display: flex;
    font-weight: 700;
    flex-direction: column;
}
.read-time p {
    margin-top:-15px;
    text-align: right;
    padding-right: 3.5vw;
}
.read-time p span {
    display: none;
}

.watch-time {
    position: absolute;
    font-family: 'avenirlight_oblique';
    width: 40%;
    z-index: 99;
    font-size: 1.2em;
    left:-40%;
    top:-5%;
    display: flex;
    font-weight: 700;
    flex-direction: column;
}
.watch-time p {
    
    text-align: right;
    padding-right: 3.5vw;
}


.conclusion {
    padding-bottom:100px;
    padding-top:100px;
    display: flex;
    align-items: top;
    justify-content: center;
    gap:10%;
}

.conclusion.reverse {
    flex-direction: row-reverse;
}
.video-frame {
    width:26%;
    max-width: 506px;
    min-width: 400px;
    background:url(../img/video-frame.svg) no-repeat;
    background-size: contain;
    padding-top:calc(2em + 1vw);
    padding-bottom:calc(4em + 4vw);
    padding-left:calc(2em + 1vw);
    padding-right:calc(2em + 1vw);
    position: relative;
}
.goal {
    width: 50%;
    max-width: 700px;
}

.goal img {
    width: 100%;
}

.goal2 {
    margin-top:-20px; margin-right:-20px; z-index:99
}
.goal3 {
    margin-top:40px; 
}
.goal6 {
    align-self: center; 
}

.next-level {
    width: 250px;
    position:absolute;
    left:50%;
    top:50%;
    margin-left:-125px;
    z-index: 1000;
}

.next-level-bottom {
    top:70%;
}

#logo {
    max-width: 337px;
    width: 337px;
    justify-content: center;
    align-items: center;
    display: flex;
    opacity: 0;

}

.back-to-top {
    position: fixed;
    right:5%;
    bottom:5%;
    background:url(../img/backTop.svg) no-repeat;
    display: none;
    width: 100px;
    height: 150px;
    background-size: contain;
    z-index: 999;
    transition: ease 0.4s;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
}

.back-to-top.showed {
    visibility: visible;
    opacity: 1;
    display: block;
}

.back-to-top a {
    width: 100%;
    height: 100%;
    display: block;

}

.nav {
    height: 120px;
  background: #ff4200;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  transition: ease 0.4s;
  z-index: 9999;
  padding: 0 1em;
  justify-content: space-between;
}

.nav--scrolled {
    height: 40px;
  }
.nav.fixed {
    position: fixed;
}

.nav .scroll-link {
    text-align: left;
}

.nav a, .lang a {
    color: white;
    text-decoration: none;
    font-family: 'joystixmonospace';
    font-size:1.2em;
    
}

.nav a span, .text-content a {
    color:#ff4200;
}

.nav .nav-logo {
    width: 200px;
}

.nav .nav-logo img {
    width: 100%;
}

.mobile {
    display: none;
}
.desktop {
    display: block;
}


footer {
    background-color: #ffadc6;
    font-family: 'joystixmonospace';
    color: black;
    margin-bottom:0px;
    padding:50px 0px;
    text-align: center;
    font-size:1.7em;
    line-height: 1.2;

}

footer .diamonds {
    width: 40%;
    max-width: 600px;
    margin: 0 auto;
}

footer p {
    margin:50px 0px
}

.lang {
    position: absolute;
    right:2em;
    top:2em;
    
}

/* HOVER */

.test {
    display: flex;
    flex-wrap: wrap;
    margin: 1vw auto;
    position: relative;
    text-align: center;

    background:white; 
    flex-direction: column;   
}

.product {
    flex: auto;
    flex-direction: row;
    font-size: 1.5rem;
    margin: 0 1vw calc(1vw + 50px) 1vw;
    min-width: calc(33% - 2vw);
    position: relative;
    background-image:url(../img/shadow.svg);
    background-size:contain;
  }
  
  .product:before {
    content: "";
    float: left;
    padding-top: 100%;
  }
  
  .content {

    height: 90%;
    margin: 8%;
    position: absolute;
    width: 90%;
    vertical-align: middle;
    z-index: 5000;
  }
  
  .product:hover .effect-1,
  .product:hover .effect-2 {
    display: block;
  }
  
  .effect-1,
  .effect-2 {
    border-radius: 30%;
    display: none;
    mix-blend-mode: normal;
    height: 84%;
    opacity: 1;
    position: absolute;
    width: 84%;
    z-index: 3000;
  }
  
  .effect-1 {
    animation: rotate 1.8s linear infinite;
    background: #ff4200;
  }
  
  .effect-2 {
    animation: rotate 1.2s linear reverse infinite;
    background: #990000;
  }
  
  @keyframes rotate {
    0% {
      top: 0;
      left: 8%;
    }
    25% {
      top: 8%;
      left: 0%;
    }
    50% {
      top: 16%;
      left: 8%;
    }
    75% {
      top: 8%;
      left: 16%;
    }
    100% {
      top: 0;
      left: 8%;
    }
  }
  
  .title {
    position: relative;
    top: calc(100% + 16px);
  }
  
  .title span {
    display: block;
    font-family: Helvetica, Arial, Sans-Serif;
    font-size: 0.6rem;
    letter-spacing: 0.1rem;
    margin-top: 8px;
    text-transform: uppercase;
  }
  
  .exercise {
    background-image: url(../img/shadow.svg);
    background-repeat:no-repeat;
    height: 100%;
    width: 100%;
  }
  
  .sleep {
    background-image: url(../img/level2_1.svg);
    background-repeat:no-repeat;
    height: 50%;
    margin: 25%;
    width: 100%;
  }
  
  .meditation {
    background-image: url(../img/level3_1.svg);
    background-repeat:no-repeat;
    height: 40%;
    margin: 30%;
    width: 100%;
  }


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

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

@import url('responsive.css');

@media only screen and (max-width: 980px) {

    .level-list {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap:20px;
        width: 100%;
        position: relative;
        padding-left: 10px;
    
    }
    
    #level-btns-background {
        position: absolute;
        display: block;
        height: 80%;
        width: 10px;
        left:50%;
        margin-left:-5px;
        background-color: #ff4200;
        z-index: 5;
        top: 10%;
    }
    
    .level-no {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap:2vw;
        position: relative;
    }
    
    .level-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap:2vw;
    }
    
    .single-level-btn {
        width: 100px;
        height: 100px;
        padding:10px;
        background: url(../img/shadow.png) no-repeat;
        background-size:contain;
        z-index: 10;
        position: relative;
        background-color: transparent;
        opacity: 0;
    }
    
    
    .single-level-btn-titles {
        display: flex;
        width: 200px;
        height: 100px;
        padding-top:20px;
        font-family: 'avenirblack';
        color: white;
        text-align: left; 
        opacity: 0;
        justify-content: flex-start;
    }
    
    .single-level-btn-titles p {
        margin-top:0px;
        font-size:1.2em;
    }
    

    .back-to-top {
        
        right:2%;
        bottom:2%;
        background:url(../img/goTopmob1.svg) no-repeat;
       
    }

    .mobile {
        display: block;
    }

    .desktop {
        display:none;
    }

    .nav {
        background-color:#ffadc6;
        height: 80px;
    }

    .nav .scroll-link, .lang a {
        font-size: 0.7em;
        
    }

    .nav .nav-logo {
        width: 150px;
    }

    .next-level, .next-level-bottom {
        width: 150px;
        position:relative;
        margin:0 auto;
        left: 0;
        top: -50px;
    }
    

    .goal2, .goal3, .goal6 {
        margin-top:0px; margin-right:0px;
    }

    .conclusion, .conclusion.reverse {
        flex-direction: column;
        gap:70px;
        align-items: center;
    }

    .conclusion .video-frame {
        align-self: flex-end;
        margin-right: 10px;
        min-width: 250px;
    }

    

    .goal {
        width: 100%;
        max-width: 400px;
    }

    .video-frame {

        padding: 30px 35px 70px 35px;
    }

    .text-content {
        font-size: 16px;
        padding-top:80px;
        padding-bottom:45px;
        width: 90%;
    }

    .read-time {
        position: absolute;
        font-family: 'avenirlight_oblique';
        width: 100%;
        z-index: 99;
        font-size: 1.7em;
        left:-5%;
        top:20px;
        display: flex;
        flex-direction: row;
    }
    .read-time img {
        max-width: 40vw;
        max-width: 220px;
    }
    .read-time p {
        font-size: 18px;
        margin-top:10px;
        text-align: right;
        padding-right: 0;
        padding-left:20px;
        padding-top:10px;
        color:#ff4200;
        flex-direction: row;
        font-weight: 700;
    }
    .read-time p span {
        display: inline-block;
    }
    #logo {
        width:220px;
    }
    .hero-wrapper {
        gap:1.5em;
        padding-bottom:30px;
    }

    h1.digital {
        margin-top:-1em
    }

    .life-holder {
        width: 200px;
        margin-top: 0px;
    }

    .btn-holder h1 {
        font-size:2em;
    }

    #level-1 {
        padding-top:100px;
    }

    footer {
        font-size:1.2em
    }

    footer .diamonds {
        width:80%;
    }

    .section-title h1 {
        font-size: 3em;
    }
/*
    .level-btns {
        width: 50%;
        position: relative;
        float: left;
    }
    #level-btns-items {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
    }
    
    #level-btns-background {
        position: absolute;
        display: block;
        height: 80%;
        width: 10px;
        top:10%;
        margin-left:-5px;

        left: 50%;
    }
    
    .single-level-btn {
        width:100%;
        height: auto;
        padding:10px;
        background: url(../img/shadow.png) no-repeat;
        background-size:contain;
        z-index: 10;
        position: relative;
        background-color: transparent;
        opacity: 0;
    }
    
    .btn-titles {
        width: 100%;
    }
    #level-btns-items-titles {
        display: flex;
        flex-direction: row;
        width: 100%;
    }
    .single-level-btn-titles {
        width:15%;
        font-family: 'avenirblack';
        color: white;
        text-align: center;
        margin-top:-40px;  
        opacity: 0;
    }
    
    .single-level-btn-titles p {
        margin-top:0px;
        font-size:1.2em;
    }
    
    .single-level-btn-titles span {
        color: #ff4200;
        flex:none
    }

    */

    .level-tags {
        position: relative;
        margin:0 auto;
        max-width: 446px;
        width: 60%
        ;
    
    }
}

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

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

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

    thead {
        display: table-header-group;
    }

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

    img {
        max-width: 100% !important;
    }

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

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