/* DNMADE TROIS > TYPOGRAPHIES BARLOW SEMI CONDENSED + SOURCE CODE PRO */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');

@font-face {
    font-family: 'Roman Grotesque WEBL';
    src: url('//dnmadedg.fr/webfont/RomanGrotesqueWEBL-Black.eot');
    src: url('//dnmadedg.fr/webfont/RomanGrotesqueWEBL-Black.eot?#iefix') format('embedded-opentype'),
        url('//dnmadedg.fr/webfont/RomanGrotesqueWEBL-Black.woff2') format('woff2'),
        url('//dnmadedg.fr/webfont/RomanGrotesqueWEBL-Black.woff') format('woff'),
        url('//dnmadedg.fr/webfont/RomanGrotesqueWEBL-Black.ttf') format('truetype'),
        url('//dnmadedg.fr/webfont/RomanGrotesqueWEBL-Black.svg#RomanGrotesqueWEBL-Black') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Totentanz WEBL Backslanted';
    src: url('//dnmadedg.fr/webfont/TotentanzWEBL-Backslanted.eot');
    src: url('//dnmadedg.fr/webfont/TotentanzWEBL-Backslanted.eot?#iefix') format('embedded-opentype'),
        url('//dnmadedg.fr/webfont/TotentanzWEBL-Backslanted.woff2') format('woff2'),
        url('//dnmadedg.fr/webfont/TotentanzWEBL-Backslanted.woff') format('woff'),
        url('//dnmadedg.fr/webfont/TotentanzWEBL-Backslanted.ttf') format('truetype'),
        url('//dnmadedg.fr/webfont/TotentanzWEBL-Backslanted.svg#TotentanzWEBL-Backslanted') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'dnmade';
    src: url('//dnmadedg.fr/webfont/dnmade-Regular.eot');
    src: url('//dnmadedg.fr/webfont/dnmade-Regular.eot?#iefix') format('embedded-opentype'),
        url('//dnmadedg.fr/webfont/dnmade-Regular.woff2') format('woff2'),
        url('//dnmadedg.fr/webfont/dnmade-Regular.woff') format('woff'),
        url('//dnmadedg.fr/webfont/dnmade-Regular.ttf') format('truetype'),
        url('//dnmadedg.fr/webfont/dnmade-Regular.svg#dnmade-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html, body {
    font-family: 'Barlow Semi Condensed', sans-serif;
    /* em + rem = ok */ font-size: 1em;
    box-sizing: border-box;
    height: 100%;
}

/* .emballage {
    box-sizing: border-box;
    min-height: 100%;
    display: flex;
    flex-direction: column;
} */

header h1 {
    width: 100vh;
    height: 30vw;
    display: flex;
}

header img {
    background-repeat: no-repeat;
    background-size: cover;
}

/* nav {
    flex-grow: 0;
    flex-shrink: 0;
} */

.navbar-brand {
    color: rgb(0, 255, 255);
    padding-left: 0.7em;
}

.navbar-toggler {
    background-color: rgb(255,90,0);
    padding-right: 1.4em;
}

main {
    flex-grow: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 3em;
    padding-bottom: 4em;
}

article {
    margin: 2em;
}

h1, h2 {
    font-family: 'Roman Grotesque WEBL';
    font-weight: 900!important;
    font-style: normal;
}

h3 {
    font-weight: 500;
}

h4 {
    font-weight: 500;
}

h4 span, h4 small em {
    color: rgb(169,167,159);
    font-weight: 200;
}

h5 {
    font-weight: 300;
}

p {
    font-weight: 300;
    line-height: 140%;
}

h2, h3, h4 {
    margin-bottom: 1.2rem;
}

.finpara {
    margin-bottom: 2em;
}

.finpage {
    padding-bottom: 8em;
}

p a, li a {
    text-decoration: none;
    color: rgb(255,90,0);
}

p a:hover{
    text-decoration: none;
    background-color:  rgb(0,255,255);
    color: rgb(255,90,0);
}

b {
    font-weight: 500;
}

mark {
    background-color: rgba(0,255,255,1);
}

picture {
    margin-top: 1.8em;
    margin-bottom: 4em;
    display: flex;
    justify-content: center;
}

picture img {
    max-inline-size: 96%;
    block-size: auto;
    inline-size: auto;
    image-rendering: auto; /* rendu image - net ou flou */
}

footer {
    flex-grow: 0;
    flex-shrink: 0;
    margin-left: 1em;
    background-color: rgb(255,90,0);
    border-radius: 0.8em 0 0 0;
}

footer p {
    padding-left: 1.8em;
    padding-top: 1.4em;
    padding-bottom: 1em;
    font-weight: 200;
    /* rem = ok */ font-size: 0.9rem;
    color: rgb(255,255,255);
}

small {
    font-style: italic;
    /* rem = ok */ font-size: 0.8rem;
}

.lecartelnav {
    font-family: Helvetica, sans-serif;
    width: 96%;
    margin: auto;
    background-color: rgb(248,218,204);
    border-radius: 1.2em;
    padding: 1.5em;
    margin-top: 2em;
    margin-bottom: 2em;
    text-decoration: dotted!important;
}
  
.lecartelnav ul {
    list-style-type: disc;
}

u {
    text-decoration-style: solid;
    text-decoration-color: rgb(85,184,179);
}


/* BOUTTON BACK TO TOP */

#top {
    display: inline-block;
    background-color: rgb(96,96,96);
    width: 3.2em;
    height: 3.2em;
    text-align: center;
    border-radius: 1.6em;
    position: fixed;
    bottom: 0.4em;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    text-decoration: none;
  }

#top:after {
    content: "\f077"; /* content: "\f062"; */
    font-family: 'FontAwesome';
    font-weight: normal;
    font-style: normal;
    /* rem = ok */ font-size: 1.4rem;
    line-height: 2.1em;
    color: rgb(0,255,255);
}

#top:hover {
    cursor: pointer;
    background-color: rgb(255,90,0);
}

#top:active {
    background-color: rgb(133,123,123);
}

#top.show {
    opacity: 1;
    visibility: visible;
}

/* FIN BOUTTON BACK TO TOP */


/* ONBOARDING & SPLASH SCREEN */


.onboard {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    width: 100%;
    margin: 1em;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 2.2em;
}

.titreonboard {
    height: 2.5em;
    /* rem = ok */ font-size: 1.8rem;
    padding-top: 1.4em;
    padding-bottom: 2em;
    color: rgb(255,90,0); /*orange*/
}

.clic {
    color: rgb(158,158,158);
    /* rem = ok */ font-size: 0.6rem;
    margin-left: 0.9em;
  }

a picture {
    /*cursor: zoom-in;*/
    cursor: cell;
}

h5 a {
    text-decoration: none;
    color: rgb(255,90,0);
}

h5 a:hover {
    text-decoration: none;
    background-color:  rgb(0,255,255);
    color: rgb(255,90,0);
}  

/* FIN ONBOARDING & SPLASH SCREEN */


/* LA COULEUR */


table {
    width: 100%;
    margin: auto;
    text-align: center;
    justify-content: center;
    margin-bottom: 4em;
}

td {
    width: 20%;
    height: 6em;
    /* rem = ok */ font-size: 0.7rem;
    border-radius: 1.5em;
}

#bordnoir {
    margin: 1em;
}

.red {
    width: 49%;
    height: 4em;
    /* rem = ok */ font-size: 0.9rem;
}

.blue {
    width: 33%;
    height: 4em;
    /* rem = ok */ font-size: 0.9rem;
}

.gris {
    height: 5em;
    /* rem = ok */ font-size: 0.8rem;
}

#vide {
    width: 1%;
}

.coolors {
    margin-left:auto;
    margin-right: auto;
    text-align: center;
    margin-top: -3.6em;
    margin-bottom: 1.5em;
    color: #9a9a9a;
}

/* FIN LA COULEUR */


/* LA TYPOGRAPHIE */

.googlefont {
    margin-left:auto;
    margin-right: auto;
    text-align: center;
    margin-top: -3.6em;
    margin-bottom: 1.5em;
    color: #9a9a9a;
}

/* FIN LA TYPOGRAPHIE */


/* OPEN PDF */

.open-pdf  {
  font-size: 1em;
}

.open-item:hover {
  text-decoration: none;
  background-color:  rgb(0,255,255);
  color: rgb(255,90,0);
}
  
  
.open {
  /* display: inline-block; */
  color: rgb(255,90,0);
}

.open-pdf .open .open-name > .open-items > .open-item {
  display: inline-block;
}


.open-pdf .open .open-name > .open-items > .open-item:before {
  font-family: 'dnmade';
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  -webkit-font-smoothing: antialiased;
  content: "\EA13";
  font-size: 24px;
  margin-right: 3px;
}

/* FIN OPEN PDF */



/* OPEN HTML */

.open-html  {
  font-size: 1em;
}

.open-item:hover {
  /* background-color: rgb(80,255,255); */
  text-decoration: underline 4px rgb(80,255,255);
}
  
  
.open {
  /* display: inline-block; */
  color: rgb(255,90,0);
}

.open-html .open .open-name > .open-items > .open-item {
  display: inline-block;
}


.open-html .open .open-name > .open-items > .open-item:before {
  font-family: 'dnmade';
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  -webkit-font-smoothing: antialiased;
  content: "\EA14";
  font-size: 24px;
  margin-right: 3px;
}

/* FIN OPEN HTML */



/* OPEN PNG */

.open-png  {
    font-size: 1em;
  }
  
.open-item:hover {
    /* background-color: rgb(80,255,255); */
    text-decoration: underline 4px rgb(80,255,255);
}
    
    
.open {
    /* display: inline-block; */
    color: rgb(255,90,0);
}
  
.open-png .open .open-name > .open-items > .open-item {
    display: inline-block;
}
  
  
.open-png .open .open-name > .open-items > .open-item:before {
    font-family: 'dnmade';
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    content: "\EA15";
    font-size: 24px;
    margin-right: 3px;
}
  
/* FIN OPEN PNG */


/* HEADER */

.header-cartel-home {
    width: 100%;
    background-image: url('http://dnmadedg.fr/img/degrade.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    margin-left: 1em;
    flex-direction: column;
}

.header-cartel-pra {
    width: 100%;
    background-image: url('http://dnmadedg.fr/img/degrade.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    margin-left: 1em;
    flex-direction: column;
}

.header-cartel-box {
    display: flex!important;
    flex-direction: column!important;
    height: 30vh!important;
    /*padding: 3rem!important;*/
    padding-bottom: 1rem!important;
}

.header-cartel-box h1 {
    padding-top: 2.2rem!important;
    margin-top:  calc(9rem + 0.5vw)!important;
    padding-left: 4rem;
    /* rem = ok */ font-size: calc(1.5rem + 0.5vw);
    line-height: 1!important;
    font-weight: 200!important;
    color: rgba(0,255,255,0.3);
}

.puce:before {
    background-color: rgb(255,90,0);
    border-radius: 50%;
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    margin-top: -4px;
    vertical-align: middle;
}

/* FIN HEADER */


/* MEDIA QUERIES */

/* format smartphone */
@media screen and (max-width: 767px) {
    body { background-color: rgb(28,27,27); line-height: 1.3em; color: rgb(235,232,219); }

    /* rem = ok */ h1, h2 { font-size: 2rem; color: rgba(235,232,219,0.8); }
    /* rem = ok */ h3 { font-size: 1.4rem; }

    h2 span { color:rgba(255,255,255,0.3); }
    h3, h4 { color: rgba(235,232,219,0.9); }
    h3 span { color:rgba(255,255,255,0.2); }
    h5 { font-weight:400; color: rgba(235,232,219,0.8); }
    p { color: rgb(235,232,219); }

    /* rem = ok */ code { font-family: 'Source Code Pro', monospace; font-size: 0.95rem; color: rgb(34,145,170); }
    code span { font-family: 'Source Code Pro', monospace; color: black; }
    /* rem = ok */ .specode { font-family: 'Source Code Pro', monospace; font-size: 0.95rem; color: rgb(34,170,48); }
    .specode span { font-family: 'Source Code Pro', monospace; color: black; }

    .emballage header { display: none; }
    nav { width: 100vw; position: fixed!important; top: 0!important; flex-grow: 0; flex-shrink: 0; z-index: 1;}
    .navbar-expand-lg { height: 56px; margin-left: 1em; border-radius: 0 0 0 0.8em;}
    .dropdown-menu{ --bs-dropdown-bg:rgba(80,255,255,0.3); }
    .progress_bar { height: 4px; position: fixed; top: 56px; left: 33px; right: 0; background: rgb(0,255,255); z-index: 1;}
    .percentage { color:  rgb(28,27,27); position: fixed; right: 0; }
    .decal { padding-top: 2.2em; }
    
    .lecartelnav { font-family: Helvetica, sans-serif; color: rgb(95,88,85); width: 96%; margin: auto; background-color: rgb(248,218,204); border-radius: 1.2em; padding: 1.5em; margin-top: 2em; margin-bottom: 2em; text-decoration: dotted!important; }
    .lecartelnav { color: rgb(95,88,85); }
    hr { width: 80vw; margin: auto; border: none; border-top: 3px double rgb(133,123,123); color: rgb(255,255,255); overflow: visible; text-align: center; margin-top: 3em; margin-bottom: 2em; }
    /* rem = ok */ hr:after { background: rgb(28,27,27); content: ']['; font-size: 1rem; padding: 0 0.4em; position: relative; top: -0.6em; }*/
    .vignette { width: 40%; margin-left: auto; margin-right: auto; margin-bottom: 1.4em; display: block;}
    .splash { width: 85%; margin-top: 2em; margin-left: auto; margin-right: auto; display: block; }
    #top { left: 43.5%; }
    /* rem = ok */ .lecartelcode { font-size: 0.9rem; background-color: rgba(219,232,232,1); width: 98%; margin: auto; border-radius: 1.2em; padding: 1.5em; margin-top: 2em; margin-bottom: 2em; line-height: 1.4rem; }

    .vimeo-v { padding:100% 0 0 0; position:relative; margin-left: auto; margin-right: auto; }
}

/* format ordinateur de bureau */
@media screen and (min-width: 768px) and (max-width: 2880px) {
    body { background-color: rgb(235,232,219); line-height: 1.4em; color: rgb(28,27,27); }

    /* rem = ok */ h1, h2 { font-size: 2.4rem; }
    /* rem = ok */ h3 { font-size: 1.8rem; }
    h1, h2, h3, h4, h5 { color: rgba(36,33,32,0.8); }
    h5 { font-weight:400; }
    h2 span { color:rgba(36,33,32,0.3); }
    h3 span { color:rgba(36,33,32,0.4); }
    p { font-size: 1.1rem; color: rgb(28,27,27); }

    /* rem = ok */ li { font-size: 1rem; list-style: none; font-weight: 300; }
    /* rem = ok */ code { font-family: 'Source Code Pro', monospace; font-size: 0.95rem; color: rgb(34,145,170); }
    code span { font-family: 'Source Code Pro', monospace; color: black; }
    /* rem = ok */ .specode { font-family: 'Source Code Pro', monospace; font-size: 0.95rem; color: rgb(34,170,48); }
    .specode span { font-family: 'Source Code Pro', monospace; color: black; }
    
    .emballage header { display: block; }
    nav { width: 100vw; position: relative!important; top: 0!important; flex-grow: 0; flex-shrink: 0; z-index: 1;; border-radius: 0 0 0 0.8em;}
    .navbar-expand-lg { height: 4em; margin-left: 1em; }
    .dropdown-menu{ --bs-dropdown-bg:rgba(0,255,255,0.8); }
    /* .navbar-toggler { margin-right: 1em; } */
    .progress_bar { height: 0px; display: none; }
    .percentage { display: none; }
    .decal { display: block; }
    
    hr { width: 45vw; margin: auto; border: none; border-top: 3px double rgb(133,123,123); color: rgb(31,29,29); overflow: visible; text-align: center; margin-top: 3em; margin-bottom: 2em; }
    /* rem = ok */ hr:after { background: rgb(235,232,219); content: ']['; font-size: 1rem; padding: 0 0.4em; position: relative; top: -0.6em; }
    picture { width: 70%; margin-left: auto; margin-right: auto;}
    .vignette { width: 20%; }
    .splash { width: 50%; }
    #top { left: 48.6%; }

    /* décalage du menu vers la gauche */
    .glisse { padding-right: 5em;}
    
    /* rem = ok */
    .lecartelcode { font-size: 0.9rem; background-color: rgba(169,191,191,0.5); width: 98%; margin: auto; border-radius: 1.2em; padding: 1.5em; margin-top: 2em; margin-bottom: 2em; line-height: 1.4rem; }
    .header-cartel-box h1 { font-family: 'Totentanz WEBL Backslanted'!important; font-weight: normal!important; font-style: italic!important; }
    .vimeo-v { padding:100% 0 0 0; position:relative; margin-left: auto; margin-right: auto; }

    /* carousel */
    .container1, .container2, .container3, .container4, .container5, .container6, .container7, .container8, .container9, .container10, .vimeo { width: 45vh; margin-left: auto; margin-right: auto; margin-bottom: 5px}
    .carousel-dots1 { position: absolute; z-index: 0; left: 50%; right: 50%; bottom: -1.5%!important; display: flex; justify-content: center; } /* points du carrousel #1 */

}

/* FIN DE MEDIA QUERIES */