/*! normalize.css v8.0.0 | 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;
}

/**
 * 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: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    margin: 0;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background: #F5F5F5;
    color: #2c2c2c;
}

textarea, select, input, button { outline: none; }


.wrapper{

    /*  min-height: 100vh; */
    /* background: #F5F5F5; */
    /*
      position: relative;
      margin-bottom: 100px;
    */
    max-width: 960px;
    margin: 0 auto;

}

.grid{

    /*display: grid;
    grid-template-columns: 28% auto;
    column-gap: 40px;*/
    max-width: 1000px;
    /*    margin: 0 auto; */
}

main{
    padding: 20px 1.6% 20px 1.6%;
    position: relative;
    z-index: 10;
    max-width: 640px;
    margin: 0 auto 100px auto;
    border-radius: 4px;
    background: white;
    box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
}


header{
    padding: 1.6%;
    position: relative;
    display: flex;
    align-items: baseline;
}


header nav {
    margin-left: auto;
}

header nav ul{
    display: flex;
    align-items: baseline;
    justify-content: center;
}

header .nav-item--user a{
    padding-right: 32px;
}

header .nav-item--user img{
    width: 24px;
    height: 24px;
    border-radius: 4px;
    position: absolute;
    top: 6px;
    right: 6px;
}


header .nav-item--user .unseen{
    color: #FFF;
    position: absolute;
    right: 0;
    top: 0;
    background: #f44336;
    padding: .1em .2em;
    border-radius: 4px;
}

header .user-nav-item .unseen{
    position: relative;
}

/* lessons */

.lesson-step{
    height: 0;
    overflow: hidden;
    transition-property: opacity;
    transition-duration: .5s;
    opacity: 0;
}

.lesson-step h2{
    font-weight: normal;
    font-size: 32px;
}
.lesson-step p {
    line-height: 1.6;
    font-size: 16px;
}
button{
    border: #4d90fe 2px solid ;
    margin: 20px 0 0 0;
    background-color: #4d90fe;
    border-radius: 4px;
    padding: 10px 10px;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
}

button:hover{
    background-color: #fff;
    color: #4d90fe;
}

.lesson-step--shown{
    height: auto;
    opacity: 1;
}

.lesson-step--active{
    min-height: 100vh;
}

/* title */

.title--logo{
    font-weight: normal;
    line-height: 20px;
}
.title--logo span{
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
}

.title--nav{
    font-size: 14px;
    text-transform: uppercase;
}


/* deco ouverture console */

.console{
    position: fixed;
    left: 90%;
    top: 50%;
    transform: translateY(-50%);
    text-transform: uppercase;
    color: rgba(111, 111, 111, 0.72);
    font-size: 12px;
}
.console span{
    display: block;
    width: 23px;
    height: 23px;
    background-image: url(console.svg);
    background-repeat: no-repeat;
    background-size: cover;
    opacity: .2;
    transform: rotate(180deg);
    left: 35%;
    top: -40px;
    position: absolute;
}

/* nav */

.nav{
    list-style: none;
    padding: 0;
}
.nav li{
    position: relative;
}

.nav a{
    text-decoration: none;
    color: #000;
    font-size: 14px;
    padding: .5em;
    margin: .25em;
    display: block;
    border-radius: 4px;
}



.nav .lesson--locked:before{
    content: "";
    width: 10px;
    height: 10px;
    background-image: url(lock.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: .3;
}
.nav .lesson--locked a{
    color: rgba(0,0,0,.4);
}
.nav a:hover, .nav a:focus, .nav-item--active a{
    background: #fff;
    text-decoration: none;
    color: #4d90fe;
}


.credit, .credit small, .credit a{
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(0,0,0,.5);
    text-decoration: none;
}


a:hover{
    text-decoration: underline;
}

.shortcut{

}

h1, h2, h3, h4, h5{


}

kbd, code {
    font-family: 'Source Code Pro', monospace;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 6px 1px;
    margin: 0 0.1em;
    box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
    background-color: #f7f7f7;
}

footer {
    font-size: 16px;
    z-index: 1;
    color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    height: 100px;
    width: 100%;
}

footer div{
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    color: #2F323A;
    text-align: right;
}

/* QUIZZ */
   .js-quizz-question,
   .js-quizz-group{
       display:none;
   }

.js-quizz-group.active {

    display:block;
    -webkit-animation: slide-down .3s ease-out;
    -moz-animation: slide-down .3s ease-out;
}

.js-quizz-question.active:not(:first-child){
    -webkit-animation: slide-left .3s ease-out;
    -moz-animation: slide-left .3s ease-out;
}

.js-quizz-question.active{
    display:block;
}

.js-quizz-question ul{
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.js-quizz-question ul li{
    margin: 10px;
}

.js-quizz-question ul li button{
    margin: 0;
}



@-webkit-keyframes slide-down {
    0% { opacity: 0; -webkit-transform: translateY(-100%); }
    100% { opacity: 1; -webkit-transform: translateY(0); }
}
@-moz-keyframes slide-down {
    0% { opacity: 0; -moz-transform: translateY(-100%); }
    100% { opacity: 1; -moz-transform: translateY(0); }
}

@-webkit-keyframes slide-left {
    0% { opacity: 0; -webkit-transform: translateX(-100%); }
    100% { opacity: 1; -webkit-transform: translateX(0); }
}
@-moz-keyframes slide-left {
    0% { opacity: 0; -moz-transform: translateX(-100%); }
    100% { opacity: 1; -moz-transform: translateX(0); }
}



/* TESTING STUFF */
h2 {
    position: relative;
    padding-bottom: .5em;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25%;
    height: 4px;
    background: #4d90fe;
}


ol {
    counter-reset: section;
    padding: 0;
}

ol li {
    list-style-type: none;
    position: relative;
    padding: 0em 0 1em 1em;
    margin: 2em 2em 0 3em;
    border-left: 2px solid #4d90fe;
}

ol.wo-space li {
    margin: 0em 2em 0 3em;
}

ol li::before {
    counter-increment: section;
    content: counter(section);
    position: absolute;
    font-size: 1.5em;
    left: -1em;
    top: 0;
    opacity: .5;
    line-height: .75em;
}



ol {
    counter-reset: section;
    padding: 0;
}

ol li {
    list-style-type: none;
    position: relative;
    padding: 0em 0 1em 1em;
    margin: 2em 2em 0 3em;
    border-left: 2px solid #4d90fe;
}

ol.wo-space li {
    margin: 0em 2em 0 3em;
}

ol li::before {
    counter-increment: section;
    content: counter(section);
    position: absolute;
    font-size: 1.5em;
    left: -1em;
    top: 0;
    opacity: .5;
    line-height: .75em;
}




.lesson-step pre{
    font-size: 16px;
    font-family: 'Source Code Pro', monospace;

}




table {
    border: solid 1px #f7f7f7;
    border-collapse: collapse;
    border-spacing: 0;
    font: normal 13px Arial, sans-serif;
}
table th {
    background-color: #fff;
    border: solid 1px #f7f7f7;
    color: #4d90fe;
    padding: 10px;
    text-align: left;
    text-shadow: 1px 1px 1px #fff;
    padding: 1em;
}
table tbody td {
    border: solid 1px #f7f7f7;
    color: #333;
    padding: 10px;
    text-shadow: 1px 1px 1px #fff;
}






.task{
    padding: .5em 1em;
    background-color: #f7f7f7;
    border-left: 2px solid #4d90fe;
}

.task code{
    background-color: #fff;
}


/* FORM */

/*
form{
    font-size: 16px;
}

.field{
    padding: 0;
}

.field--block label{
    display: block;
    font-weight: bold;
}
*/


/*LINKS */
main a:not([class]) {
    text-shadow: white 1px 0px 0px, white 0.540302px 0.841471px 0px, white -0.416147px 0.909297px 0px, white -0.989992px 0.14112px 0px, white -0.653644px -0.756802px 0px, white 0.283662px -0.958924px 0px, white 0.96017px -0.279415px 0px;
    text-decoration: none;
    background-image: linear-gradient(#4d90fe 50%, #4d90fe 50%);
    background-size: 10000px 1px;
    color: #4d90fe;
    background-repeat: no-repeat;
    background-position: 0 1em;
    background-position: -10000px 1em;
}


main a:not([class]):hover {
    background-position: 0 1em;
    transition: background-position 2s ease-in-out;
}


/* H3 */

h3:before{
    content: '» ';
    font-size: 1.4em;
    color: #4d90fe;
}

.links-list{
    list-style: none;
    padding: 0;
}

.links-list-el .link-title, 
.links-list-el .link-desc
{
    display: block;
    color: #2c2c2c;
}

.links-list-el .link-title{
    font-weight: bold;
    padding: .5em 0 0 0;
    margin: 0 0 .25em 0;
}

.links-list-el:hover{
        background: #fbfbfb;
}

.links-list-el:hover .link-title{
    color: #4d90fe;
}


.links-list-el:hover{
    
}


.links-list-el--disabled{
    
}



