@import url('https://fonts.googleapis.com/css?family=Roboto');

@font-face {
    font-family: Cyber;
    src: url("https://assets.codepen.io/605876/Blender-Pro-Bold.otf");
    font-display: swap;
}

:root {
    --fbase: 'Kanit', sans-serif;
    --fcyber: 'Cyber', sans-serif;

    --c0: #222222; /* Black */
    --cf: #ffffff;  /* White */
    --c1: rgb(0, 48, 98);
    --c1opa: rgba(0, 48, 98, 0.7);
    --c2: #0a9cf5;
    --c3: #ffccdc;
    --c4: #ff577d;
    --c5: #ff184c;
    --cerror: #ff184c;
    
    --clinear: linear-gradient(0deg, rgba(233,168,118,1) 0%, #ffd65e 50%);
/*     --clinear: radial-gradient(circle, var(--c3) 0%, var(--c1) 100%); */
    --cgrey: rgb(135, 135, 135);
    --clightgrey: rgb(184, 184, 184);

    --clip-left: polygon(0 0, 100% 0, 100% 100%, 95% 100%, 95% 90%, 85% 90%, 85% 100%, 8% 100%, 0 70%);
}

*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color:  rgba(255, 255, 255, 0);   /* Rend le blue highligt transparent sur tout le site */
}

html {
    height: 100%;
    font-size: 100%;
    font-family: var(--fbase);
/*     display: flex;
    align-items: center; */
}

body {
    height: 100%;
    max-width: 600px;
    /* margin: 0 auto; */
    color: var(--c0);
    background-color: var(--c0);
    /* line-height: 1.6;     */
}

/* Style communs */
a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a:hover, a:visited, a:link, a:active {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* INPUTS */
input {
    outline: none;
    color: var(--c1);
    width: 100%;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    /* margin-top: 10px; */
    border: none;
    height: 50px;
    font-size: 30px;
    font-family: var(--fcyber);
    letter-spacing: 3px;
}

.input--ctn {
}

.input--field--ctn {

}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--c1);
    text-align: center;
    opacity: 1; /* Firefox */
    letter-spacing: 3px;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: var(--c1);
    text-align: center;
    letter-spacing: 3px;
}
  
::-ms-input-placeholder { /* Microsoft Edge */
    color: var(--c1);
    text-align: center;
    letter-spacing: 3px;
}

.footer {
    width: 100%;
    height: 70px;
}

.hidden {
    display: none;
}

.disabled {
    pointer-events:none;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.error {
    width: 100%;
    background-color: var(--cerror);
    color: var(--cf);
    padding: 5px;
    /* border-radius: var(--radius); */
}

#chronometre {
    font-family: 'Major Mono Display', monospace;
    position: fixed;
    margin: 0 auto;
    font-size: 25px;
    z-index: 99;
    color: var(--cf);
    left: 20px;
    display: flex;
    justify-content: center;
    background: var;
    background-color: var(--cerror);
    padding: 10px;
    height: 45px;
    line-height: 1;
    top: 20px;
    align-items: center;
}

.finalcolor {
    background-color: var(--c4)!important;
}

.successPortrait--ctn {
    width: 100%;
}

.successimg {
    border-radius: 50%;


}


/* ACCUEIL INDEX */

.page--ctn {
    position: absolute;
    bottom: 0;
    padding: 30px 30px 40px 30px;
    width: 100%;
}

.brief--ctn {
    background-color: var(--c1opa);
    padding: 10px;
    color: var(--cf);
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.vertical-btn {
    -moz-transform:rotate(-90deg);
    -ms-transform:rotate(-90deg);
    -o-transform:rotate(-90deg);
    -webkit-transform:rotate(-90deg);
    transform-origin: 100% 130%;
    position: absolute;
    text-align: center;
    line-height: 20px;
    right: 5px;
}

.home--title {
    font-family: var(--fcyber);
    font-size: 50px;
    text-transform: uppercase;
    color: var(--cf);
    position: relative;
    letter-spacing: 10px;
}

.home--btn, .home--btn--active {
    font-family: var(--fcyber);
    color: var(--cf);
    cursor: pointer;
    background: var(--c5);
    text-transform: uppercase;
    font-size: 35px;
    outline: transparent;
    letter-spacing: 2px;
    position: relative;
    /* font-weight: 600; */
    border: 0;
    width: 100%;
    /* height: 70px; */
    /* line-height: 25px; */
    padding: 8px;
    /* text-align: left; */
    transition: background 0.2s;
    /* left: 0; */
    /* margin-top: 20px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 400px;
}

.home-btn:before {
    background: var(--c3);
    transform: translate(10px, 10px);
}

.home--btn:active  {
    background-color: var(--c1);
}

.home--btn--active {
    display: none;
}

.brief--img {
    width: 100%;
    margin-top: 10px;
}

h1 {
    color: var(--cf);
}

/* SLIDER */

.slider, #home, .mission {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
    /* height: 100vh;
    width: 100vw; */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.slide.current {
    opacity: 1;
}

.slide .content {
    position: absolute;
    left: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    color: var(--cf);
    padding: 30px 30px 40px 30px;
}

.slide .content h1 {
    /* margin-bottom: 10px; */
    font-size: 60px;
}

.slide.current .content {
    opacity: 1;
    /* transform: translateY(-200px); */
    /* la transition s'applique à tous les éléments avec 'all', le '0.3' est le délai */
    transition: all 0.7s ease-in-out 0.2s;
}

.buttons button#next {
    position: absolute;
    top: 40%;
    right: 30px;
    /* clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%); */
    /* padding: 15px 20px 15px 15px; */
}

.buttons button#prev {
    position: absolute;
    top: 40%;
    left: 30px;
    /* clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 25% 100%, 0% 50%); */
    /* padding: 15px 15px 15px 20px; */
}

.buttons button {
    border: solid 2px var(--cf);
    background-color: transparent;
    /* background-color: var(--c5); */
    color: var(--cf);
    padding: 13px 15px;
    /* cursor: pointer; */
    border-radius: 50%;
    outline: none;
}

.buttons button:active {
    background-color: var(--c1);
    border: solid 2px var(--c1);
    color: var(--cf);
}

/* Backgorund Images */

.background {
    height: 100%;
    z-index: -1;

}

.title--ctn {
    display: flex;
    justify-content: center;
    width: 100%;
}

.title {
    position: absolute;
    bottom: 0;
    background: var(--c3);
    padding: 20px;
    font-size: 30px;
    font-family: var(--fcyber);
    margin-bottom: 20px;
    border-radius: 5px;
}

#home, #windiv {
    background: url('../img/home-bg.jpg') no-repeat center top/cover;
}

#juno {
    background: url('../img/juno-land.jpg') no-repeat center top/cover;
}
#kade {
    background: url('../img/kade-land.jpg') no-repeat center top/cover;
}
#nyah {
    background: url('../img/nyah-land.jpg') no-repeat center top/cover;
}
#vesper {
    background: url('../img/vesper-land.jpg') no-repeat center top/cover;
}
#flux {
    background: url('../img/flux-land.jpg') no-repeat center top/cover;
}

.slide:first-child {
    background: url('../img/missionbg.jpg') no-repeat center top/cover;
}
.slide:nth-child(2) {
    background: url('../img/JUNO.jpg') no-repeat center top/cover;
}
.slide:nth-child(3) {
    background: url('../img/KADE.jpg') no-repeat center top/cover;
}
.slide:nth-child(4) {
    background: url('../img/NYAH.jpg') no-repeat center top/cover;
}
.slide:nth-child(5) {
    background: url('../img/VESPER.jpg') no-repeat center top/cover;
}
.slide:nth-child(6) {
    background: url('../img/FLUX.jpg') no-repeat center top/cover;
}

/* .btn--action {
    width: 100%;
} */

/* BOUTTONS CYBERPUNK */

.btn--ctn {
    display: flex;
    justify-content: space-between;
    z-index: 2;
    position: relative;
    flex-direction: row;
    align-items: flex-end;
}

.progress--ctn {
    width: 100%;

}

.progress--item {
    width: 100%;
    padding: 10px;
    text-align: center;
}

body .cybr-btn + .cybr-btn {
    margin-top: 2rem;
  }

/* GLITCH EFFECT BTN */ 

.cybr-btn {
    font-family: 'Cyber', sans-serif;
    color: var(--cf);
    cursor: pointer;
    background: transparent;
    text-transform: uppercase;
    font-size: 20px;
    outline: transparent;
    letter-spacing: 2px;
    position: relative;
    border: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    transition: background 0.2s;
    left: 0;
    margin-top: 10px;
}

.dual {
    width: 46%;
    margin-top: 0;
}

.cybr-btn:after, .cybr-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    clip-path: var(--clip-left);
    z-index: -1;
}
  
.cybr-btn:before {
    background: var(--c3);
    transform: translate(4px, 0);
}

.cybr-btn:after {
    background: var(--c5);
}
  
.cybr-btn__tag {
    position: absolute;
    padding: 1px 4px;
    letter-spacing: 1px;
    line-height: 1;
    bottom: -5%;
    right: 5%;
    font-weight: normal;
    color: var(--cf);
    font-size: 10px;
}
  
.cybr-btn__glitch {
    position: absolute;
    width: 100%;
    clip-path: var(--clip-left);
    background: var(--c1);
    display: none;

    border: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    bottom: 0;
    /* transition: background 0.2s; */
    animation: glitch 2s infinite;
}

.cybr-btn:active .cybr-btn__glitch {
    display: block;
}

.glitch, .cybr-btn__glitch {
    font-size: 1.5rem;
}

.glitch {
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
      -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
      0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    animation: glitch 500ms infinite;
    clip-path: var(--clip-left);
}

.glitch span {
    position: absolute;
    top: 0;
    left: 0;
}
  
@keyframes glitch {
    0% {
      text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
        -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
        -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    14% {
      text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
        -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
        -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    15% {
      text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
        0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
        -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    49% {
      text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
        0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
        -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    50% {
      text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
        0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    99% {
      text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
        0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    100% {
      text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75),
        -0.025em -0.025em 0 rgba(0, 255, 0, 0.75),
        -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
}

.slider-counter {
    position: absolute;
    width: 100%;
    bottom: 15px;
}

.round--ctn {
    display: flex;
    justify-content: space-evenly;
    width: 200px;
    margin: 0 auto;
}

.round {
    background-color: transparent;
    border: solid 2px var(--cf);
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.activeround {
    background-color: var(--cf);
}

.tech--ctn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    z-index: 8;
    position: relative;

}

.techbtn {
    background: none;
    color: var(--c3);
    border: none;

}
