 /* ===== Colours ===== */
 :root{
    --nav-color:#000;
    --side-nav: #000;
    
}
body {
    margin: 0;
    font-family: Times,  serif, sans-serif;
    background-color: #000;
    color: white;
    text-align: center;
}
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    padding-top: 70px;
    background: #24b7f6;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    transition: background 0.3s;
    z-index: 1000;
}
header.scrolled {
    background: rgb(0, 0, 0);
    color: #24b7f6;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    left: 20px;
}

    .menu-toggle {
        display: none;
    }
    nav{
        position: fixed;
        top: 0;
        left: 0;
        height: 60px;
        width: 100%;
        background-color: var(--nav-color);
        z-index: 100;
        padding-top: 30px;
    }
    
    body.dark nav{
        border: 1px solid #393838;
    
    }
    
    nav .nav-bar{
        position: relative;
        height: 100%;
        max-width: 1000px;
        width: 100%;
        background-color: var(--nav-color);
        margin: 0 auto;
        padding: 0 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    nav .nav-bar .sidebarOpen{
        color: var(--text-color);
        font-size: 25px;
        padding: 5px;
        cursor: pointer;
        display: none;
    }
    
    nav .nav-bar .logo a{
        font-size: 25px;
        font-weight: 500;
        color: var(--text-color);
        text-decoration: none;
    }
    
    .menu .logo-toggle{
        display: none;
    }
    
    .nav-bar .nav-links{
        display: flex;
        align-items: center;
    }
    
    .nav-bar .nav-links li{
        margin: 0 5px;
        list-style: none;
    }
    
    .nav-links li a{
        position: relative;
        font-size: 17px;
        font-weight: 400;
        color: var(--text-color);
        text-decoration: none;
        padding: 10px;
    }
    
    .nav-links li a::before{
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        height: 6px;
        width: 6px;
        border-radius: 50%;
        background-color: var(--text-color);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav-links li:hover a::before{
        opacity: 1;
    }
    
    .nav-bar .darkLight-searchBox{
        display: flex;
        align-items: center;
    }
    
    .darkLight-searchBox .dark-light,
    .darkLight-searchBox .searchToggle{
        height: 40px;
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 5px;
    }
    
    .dark-light i,
    .searchToggle i{
        position: absolute;
        color: var(--text-color);
        font-size: 22px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .dark-light i.sun{
        opacity: 0;
        pointer-events: none;
    }
    
    .dark-light.active i.sun{
        opacity: 1;
        pointer-events: auto;
    }
    
    .dark-light.active i.moon{
        opacity: 0;
        pointer-events: none;
    }
    
    .searchToggle i.cancel{
        opacity: 0;
        pointer-events: none;
    }
    
    .searchToggle.active i.cancel{
        opacity: 1;
        pointer-events: auto;
    }
    
    .searchToggle.active i.search{
        opacity: 0;
        pointer-events: none;
    }
    
    .searchBox{
        position: relative;
    }
    
    .searchBox .search-field{
        position: absolute;
        bottom: -85px;
        right: 5px;
        height: 50px;
        width: 300px;
        display: flex;
        align-items: center;
        background-color: var(--nav-color);
        padding: 3px;
        border-radius: 6px;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    
    .searchToggle.active ~ .search-field{
        bottom: -74px;
        opacity: 1;
        pointer-events: auto;
    }
    
    .search-field::before{
        content: '';
        position: absolute;
        right: 14px;
        top: -4px;
        height: 12px;
        width: 12px;
        background-color: var(--nav-color);
        transform: rotate(-45deg);
        z-index: -1;
    }
    
    .search-field input{
        height: 100%;
        width: 100%;
        padding: 0 45px 0 15px;
        outline: none;
        border: none;
        border-radius: 4px;
        font-size: 14px;
        font-weight: 400;
        color: var(--search-text);
        background-color: var(--search-bar);
    }
    
    body.dark .search-field input{
        color: var(--text-color);
    }
    
    .search-field i{
        position: absolute;
        color: var(--nav-color);
        right: 15px;
        font-size: 22px;
        cursor: pointer;
    }
    
    body.dark .search-field i{
        color: var(--text-color);
    }
    
    @media (max-width: 790px) {
        nav .nav-bar .sidebarOpen{
            display: block;
        }
    
        .menu{
            position: fixed;
            height: 100%;
            width: 320px;
            left: -100%;
            top: 0;
            padding: 20px;
            background-color: var(--side-nav);
            z-index: 100;
            transition: all 0.4s ease;
        }
    
        nav.active .menu{
            left: -0%;
        }
    
        nav.active .nav-bar .navLogo a{
            opacity: 0;
            transition: all 0.3s ease;
        }
    
        .menu .logo-toggle{
            display: block;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
    
        .logo-toggle .siderbarClose{
            color: var(--text-color);
            font-size: 24px;
            cursor: pointer;
        }
    
        .nav-bar .nav-links{
            flex-direction: column;
            padding-top: 30px;
        }
    
        .nav-links li a{
            display: block;
            margin-top: 20px;
        }
    
    }  

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    background-image:linear-gradient(rgba(0, 0, 0, 0.659), rgba(0, 0, 0, 0.741)),url("../img/bin.gif");
    background-position: center;
    opacity: 0;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    animation: fadeIn 1.5s ease-in-out forwards; 
}





@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero p {
    animation: slideIn 1.5s ease-in-out forwards;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: rgb(160, 2, 8);
    color: white;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}
.btn:hover {
    background: rgba(77, 2, 4, 0.945);
}
.section {
    padding: 50px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.section a {
    display: flex;
    justify-content: center;
}
.section img {
    width: 700px;
    height: 500px;
    object-fit: cover;
    margin: 20px auto;
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
    transition: transform 0.3s;
}
.section img:hover {
    transform: scale(1.1);
}
.content {
    max-width: 600px;
    text-align: center;
}
.footer {
    padding: 20px;
    background: rgb(0, 0, 0);
    text-align: center;
    margin-top: 0px;
    color: #24b7f6;
    font-weight:bolder;
    
}


/* A partir de cette ligne wrap, tout le code sert au design de la card image de la home page */		
.wrap {
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
width: 90vmin;
height: 65vmin;
margin: 2rem auto;
border: 8px solid;
border-image: linear-gradient(
    -50deg,
    rgb(82, 2, 105),
    rgb(194, 196, 194) 35% 65%,
    rgb(82, 2, 105),
    rgb(194, 196, 194) 35% 65%,
    rgb(82, 2, 105),
    rgb(82, 2, 105),
    rgb(82, 2, 105)
)
1;
transition: 0.3s ease-in-out;
position: relative;
overflow: hidden;
}
.overlay {
position: relative;
display: flex;
width: 100%;
height: 100%;
padding: 1rem 0.75rem;
background: #7f05c5;
transition: 0.4s ease-in-out;
z-index: 1;
font-size: 10px;
}
.overlay-content {
display: flex;
flex-direction: column;
justify-content: space-between;
width: 15vmin;
height: 100%;
padding: 0.5rem 0 0 0.5rem;
border: 3px solid;
border-image: linear-gradient(
    to bottom,
    rgb(82, 2, 105) 5%,
    rgb(194, 196, 194) 35% 65%,
    rgb(82, 2, 105) 95%
)
0 0 0 100%;
transition: 0.3s ease-in-out 0.2s;
z-index: 1;
}
.image-content {
position: absolute;
top: 0;
right: 0;
width: 80vmin;
height: 100%;
background-image: url("../img/go.png");
background-size: cover;
transition: 0.3s ease-in-out;

/* border: 1px solid green; */
}
/*home developpement web */
.image-content2 {
position: absolute;
top: 0;
right: 0;
width: 80vmin;
height: 100%;
background-image: url("../img/web.jpg");
background-size: cover;
transition: 0.3s ease-in-out;
/* border: 1px solid green; */
}

.inset {
max-width: 50%;
margin: 0.25em 1em 1em 1em;
border-radius: 0.25em;
float: left;
}

.dots {
position: absolute;
bottom: 1rem;
right: 2rem;
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
width: 55px;
height: 10vmin;
transition: 0.3s ease-in-out 0.3s;
}
.dot {
width: 14px;
height: 14px;
background: rgb(199, 145, 236);
border: 1px solid indigo;
border-radius: 50%;
transition: 0.3s ease-in-out 0.3s;
}

.textCard {
position: absolute;
top: 0;
right: 0;
width: 60vmin;
height: 100%;
padding: 3vmin 0.50vmin;
background: #fff;
box-shadow: inset 1px 1px 15px 0 rgba(0 0 0 / 0.4);
overflow-y: scroll;
font-size: max(10pt, 2.5vmin);
line-height: 1.4;
color: #0e390e;
margin-bottom: 1.5rem;


}

.wrap:hover .overlay {
transform: translateX(-60vmin);
}
.wrap:hover .image-content {
width: 30vmin;
}
.wrap:hover .overlay-content {
border: none;
transition-delay: 0.2s;
transform: translateX(60vmin);
}
.wrap:hover .dots {
transform: translateX(1rem);
}
.wrap:hover .dots .dot {
background: white;
}

/* Animations and timing delays */
.animate {
animation-duration: 0.7s;
animation-timing-function: cubic-bezier(0.26, 0.53, 0.74, 1.48);
animation-fill-mode: backwards;
}
/* Pop In */
.pop {
animation-name: pop;
}
@keyframes pop {
0% {
opacity: 0;
transform: scale(0.5, 0.5);
}
100% {
opacity: 1;
transform: scale(1, 1);
}
}

/* Slide In */
.slide {
animation-name: slide;
}
@keyframes slide {
0% {
opacity: 0;
transform: translate(4em, 0);
}
100% {
opacity: 1;
transform: translate(0, 0);
}
}

/* Slide Left */
.slide-left {
animation-name: slide-left;
}
@keyframes slide-left {
0% {
opacity: 0;
transform: translate(-40px, 0);
}
100% {
opacity: 1;
transform: translate(0, 0);
}
}

.slide-up {
animation-name: slide-up;
}
@keyframes slide-up {
0% {
opacity: 0;
transform: translateY(3em);
}
100% {
opacity: 1;
transform: translateY(0);
}
}

.delay-1 {
animation-delay: 0.3s;
}
.delay-2 {
animation-delay: 0.6s;
}
.delay-3 {
animation-delay: 0.9s;
}
.delay-4 {
animation-delay: 1.2s;
}
.delay-5 {
animation-delay: 1.5s;
}
.delay-6 {
animation-delay: 1.8s;
}
.delay-7 {
animation-delay: 2.1s;
}
.delay-8 {
animation-delay: 2.4s;
}

.containerArticle {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin: 20rem auto;


}

.articles {
flex: 1;
display:inline-block;
width: 200px;
padding: 10px;
padding-top: 50px;



}

@keyframes example {
from {background-color: #0a0a0a;}
to {background-color: rgba(152, 149, 151, 0.868);}

50% {transform:rotate(360deg);}



}



.articles article {
background: rgb(20, 20, 20);
padding: 0rem 0rem ;
margin-bottom: 2rem;
border-radius: 20px;
border: 1px ivory rgb(23, 1, 74);
animation-name: example;
animation-duration: 5s;
animation-iteration-count: 1;

}

.articles article:hover{
animation-duration: 0;
animation-play-state: paused;
animation:step-end;

}


@keyframes circle {
    from {background-color: #4a016bfc;}
    to {background-color: #cba8f0d1;}
}
.circleDesign{

border-radius: 5%;
max-width: 200px;
height: 200px;
background-color: #C8BED1;
padding: 0px;
padding-top: 20px;
margin: 10px;
display: inline-block;
border: ivory #000;
animation-name: circle;
animation-duration: 5s;
animation-iteration-count:0;


}

@keyframes circle2 {
    from {background-color: #4a016bfc;}
    to {background-color: #cba8f0d1;}
}


.circleDesign2{

border-radius: 5%;
max-width: 200px;
height: 200px;
background-color: #D9D9D9;
padding: 0px;
padding-top: 20px;
margin: 10px;
display: inline-block;
border: ivory #000;
animation-name: circle2;
animation-duration: 5s;
animation-iteration-count:0;


}

@keyframes circle3 {
    from {background-color: #4a016bfc;}
    to {background-color: #cba8f0d1;}
}


.circleDesign3{

border-radius: 5%;
max-width: 200px;
height: 200px;
background-color: #055ba25e;
padding: 0px;
padding-top: 20px;
margin: 10px;
display: inline-block;
border: ivory #000;
animation-name: circle3;
animation-duration: 5s;
animation-iteration-count:0;


}    


input[type=text], textarea, input[type=email] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    margin-right: 0px;
    margin-left: 0px;
    resize: vertical;
  }
  label{margin-right: 0px;
    margin-left: 0px;
    width: 100%; color: #000;}
  
  input[type=submit] {
    background-color: #1255a2;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  input[type=submit]:hover {
    background-color: #1872D9;
  }
  
  .container {
    /* Ajouter box-sizing */
    box-sizing : border-box;
    border-radius:5px;
    background-color:#f2f2f2;
    padding:20px;
    width: 100%;
    /* redéfinition 400 + 2*20 */
    max-width: 440px;
    margin:0 auto;
    display: inline-block;
  }


  /* dropping text dans la page home(hero) */
  @import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400');
  .dropping-texts {
  animation:bg 5s linear infinite;
} 

.dropping-texts {
  display: inline-block;
  width: 300px;
  height: 40px;
  /*vertical-align: -2px;*/
  padding-left: 100px;
  padding-right: 100px;
  color:#eef3f5;
  
}

.dropping-texts > div {
  font-size:0px;
  opacity:0;
  margin-left:-30px;
  position:absolute;
  font-weight:300;   
  box-shadow: 0px 60px 25px -20px rgba(0,0,0,0.5);
  padding: 0;
}

.dropping-texts > div:nth-child(1) {
  animation: roll 5s linear infinite 0s;
}
.dropping-texts > div:nth-child(2) {
  animation: roll 5s linear infinite 1s;
}
.dropping-texts > div:nth-child(3) {
  animation: roll 5s linear infinite 2s;
}
.dropping-texts > div:nth-child(4) {
  animation: roll2 5s linear infinite 3s;
}

@keyframes roll {
  0% {
    font-size:0px;
    opacity:0;
    margin-left:-30px;
    margin-top:0px;
    transform: rotate(-25deg);
  }
  3% {
    opacity:1;
    transform: rotate(0deg);
  }
  5% {
    font-size:inherit;
    opacity:1;
    margin-left:0px;
    margin-top:0px;
  }
  20% {
    font-size:inherit;
    opacity:1;
    margin-left:0px;
    margin-top:0px;
    transform: rotate(0deg);
  }
  27% {
    font-size:0px;
    opacity:0.5;
    margin-left:20px;
    margin-top:100px;
  }
  100% {
    font-size:0px;
    opacity:0;
    margin-left:-30px;
    margin-top:0px;
    transform: rotate(15deg);
  }
}

@keyframes roll2 {
  0% {
    font-size:0px;
    opacity:0;
    margin-left:-30px;
    margin-top:0px;
    transform: rotate(-25deg);
  }
  3% {
    opacity:1;
    transform: rotate(0deg);
  }
  5% {
    font-size:inherit;
    opacity:1;
    margin-left:0px;
    margin-top:0px;
  }
  30% {
    font-size:inherit;
    opacity:1;
    margin-left:0px;
    margin-top:0px;
    transform: rotate(0deg);
  }
  37% {
    font-size:200px;
    opacity:0;
    margin-left:-1000px;
    margin-top:-800px;
  }
  100% {
    font-size:0px;
    opacity:0;
    margin-left:-30px;
    margin-top:0px;
    transform: rotate(15deg);
  }
}

@keyframes bg {
  /*  0% {background: #5f03a1;}
  3% {background: #0094ff;}
  20% {background: #0094ff;}
  23% {background: #6b6401;}
  40% {background: #b200ff;}
  43% {background: #cedcbf;}
  60% {background: #0f0f0f;}
  63% {background: #22041e;}
  80% {background: #b5b2b2;}
  83% {background: #F44336;}
  100% {background: #196361;} */
    
  
}