
html {
    scroll-behavior: smooth;
}
body{
    margin: 0;
    background-color: rgb(250, 248, 240);
    font-family: "Lato", sans-serif;
}

nav{
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 10px 5%;
    width: 90%;
    background-color: white;
    box-shadow: 1px 1px 5px lightgray;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;

    background: rgb(255, 255, 255); /* obligatoire */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(25px);
}
.barrer {
    text-decoration: line-through !important;
    color: rgb(162, 162, 162) !important;
}
.dzcurrency{
    display: none;
    font-weight: bold;
    font-style: italic;
    font-size: 26px;
}
.dollarcurrency{
    font-weight: bold;
    font-style: italic;
    font-size: 26px;
}
p.dollarcurrency{
    font-weight: normal;
    font-size: inherit;
    font-style: normal;
}
.container-course{
    max-width: 1200px;
    margin: 10px auto;
    padding: 10px;
}
.container {
    max-width: 1200px;
    margin: auto;
}
#banner{
    max-width: 1200px;
    background-image:  linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)), url("../imgs/code.jpg");
    height: 300px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-position: center;
    background-size: cover;
    margin: auto;
}
nav a{
    text-decoration: none;
    color: rgb(46, 46, 46);
    margin-left: 15px;
}

nav a.ecoma, #ulinks a.ecoma{
    background-color: rgb(136, 181, 255);
    color: rgb(34, 34, 34);
    /* text-shadow: 1px 1px 1px black; */
    border-radius: 5px;
    padding: 5px 5px;
    letter-spacing: 1px;
}
nav h1{
    font-family: "Asimovian", sans-serif;
    color: rgb(0, 25, 65) !important;
    margin: 2px 0px;
}
nav h1 a{
    color: inherit !important;
}
.banner2{
    background-image:  linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)), url("../imgs/banner2.jpg") !important;
    background-position: bottom;
}
#banner-info {
    display: flex;
    justify-content: left;
    align-items: center;
    margin-left: 20px;
}
#banner-info img{
    border-radius: 50%;
    width: 120px;
    height: auto;
    border: 4px solid white;
    /* box-shadow: 1px 1px 5px lightgray; */
    margin-top: -30px;
}
#banner-info div{
    margin-top: 0px;
    margin-left: 10px;
}
#banner-info div *{
    margin: 3px 0px;
}
#banner-info div h4{
    color: rgb(47, 47, 47);
    margin: 6px 0px;
}
#banner-info div p{
    color: gray;
    font-size: 14px;
    font-style: italic;
}
#banner-info div small{
    font-size: 10px;
    background-color: rgb(218, 246, 218);
    color: rgb(0, 41, 0);
    padding: 3px 5px;
    border:1px solid rgba(3, 55, 3, 0.671);
    border-radius: 50px;
}

#show strong{
    /* border-right: 5px solid rgb(34, 121, 236); */
    padding-right: 10px;
}
#show span{
    color: rgb(34, 121, 236);
    font-weight: bold ;
}


#about{
    position: relative;
    padding-top: 110px;
}

#about div p{
    color: rgb(89, 89, 89);
    line-height: 25px;
    padding: 10px;
}

#show{
    position: absolute;
    top: 5px;
    left: 10px;
}

#work {
    /* background-color: lightblue; */
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
#work section {
    display: inline-block;
    width: 45%;
    border-left: 5px solid rgb(34, 121, 236);
    padding-left: 15px;
    border-radius: 2px;
}

#work section h2{
    margin-top: 5px;
    margin-bottom: 5px;
    color: rgb(34, 121, 236);
}

#work .point {
    position: relative;
    margin-bottom: 30px;
}
#work .pp{
    width: 15px;
    height: 15px;
    border-radius: 50px;
    background-color: rgb(34, 121, 236);
    position: absolute;
    left: -25px;
    top: 10px;
}
#work .desc p{
    font-style: italic;
    color: gray;
}
#work .desc span{
    color: rgb(55, 55, 55);
    font-size: 14px;
}





/* .burger{
    width: 30px;
    padding: 5px;
    display: none;
}
.burger div{
    padding: 2px;
    border-radius: 4px;
    background-color: black;
    margin: 3px 0px;
} */

#ulinks{
    padding: 10px;
    padding-left: 20px;
    padding-top: 25px;
    box-sizing: border-box;
    z-index: 22;
    position: fixed;
    top: 40px;
    left: 0px;
    background-color: white;
    width: 100%;
    display: none;
    height: 100vh;
    background: rgba(240, 240, 240, 0.7); /* obligatoire */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
#ulinks a{
    text-decoration: none;
    color: black;
    margin: 15px 0px;
    transition: 0.3s;
    display: block;
    padding-bottom: 10px;
    width: fit-content;
    border-bottom: 1px solid gray;
    /* padding-left: 20px; */
}
#ulinks a:hover{
    color: rgb(3, 51, 109);
    transition: 0.3s;
}
#ulinks a.ecoma:hover{
    color: black !important;
}
.success, .redirection{
    padding: 10px;
    margin: 20px 0px;
    border: 1px solid rgba(4, 60, 4, 0.286);
    color: rgb(6, 53, 6);
    background-color:rgb(209, 243, 209) ;
    border-radius: 4px;
    text-align: center;
    box-shadow: 3px 3px 10px lightgray;
    display: none;
}
.techs {
    margin: 10px 0px;
}
.desc .techs span{
    padding: 3px 6px;
    border-radius: 50px;
    display: inline-block;
    margin: 10px 0px 0px 0px;
    font-weight: bold;
    color: rgb(40, 40, 40) !important;
    background-color: rgba(182, 224, 250, 0.892);
    /* border: 1px solid rgb(66, 167, 234); */
    font-size: 12px !important;
    /* box-shadow: 1px 1px 3px rgb(208, 208, 208); */
}
h1 {
    padding-left: 10px;
}
#services{
    display: grid;
    /* justify-content: left; */
    grid-template-columns: 1fr 1fr 1fr 1fr;
    /* align-items: flex-start; */
    /* flex-wrap: wrap; */
    padding: 8px;
}
.service{
    padding: 12px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px lightgray;
    background-color: white;
    margin: 10px 10px 10px 0px;
    /* width: 20%; */
}
.service i{
    color: rgb(11, 79, 205);
    font-size: 22px;
}
.service h3{
    font-size: 18px;

}
.service span{
    font-size: 14px;
    color: rgb(55, 55, 55);
}

#stack{
    margin: 80px 0px;
    padding: 100px 10px 100px;
    /* background: linear-gradient(70deg, rgb(144, 251, 128), rgb(21, 159, 0)); */
     background: linear-gradient(70deg, rgb(51, 92, 179), rgb(1, 6, 50));
    overflow: hidden;
    position: relative;
    /* height: 150px; */
}

#stack #imgpython{
    position: absolute !important;
    top: -50px;
    left: -50px;
    font-size: 260px !important;
    opacity: 0.1;
    z-index: 10;
}

#stack section {
    max-width: 1100px;
    margin: auto;
    z-index: 20;
    position: relative;
}

#stack section h1{
    color: white;
}

.tech{
    padding: 6px 12px;
    border: 1px solid white;
    background: linear-gradient(70deg, rgb(1, 55, 121),rgb(0, 14, 40));
    color: rgb(250, 250, 250);
    border-radius: 50px;
    font-size: 18px;
    /* box-shadow: 2px 2px 5px rgb(7, 104, 30); */
    margin: 10px 10px 0px 0px;
}
#projects{
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.project {
    /* width: 30% ; */
    border-radius: 4px;
    padding: 80px 10px;
    position: relative;
    /* display: inline-block; */
    margin: 50px 10px 0px 0px;
    box-sizing: border-box;
    /* box-shadow: 3px 3px 10px lightgray; */
     background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("../imgs/banner.jpg");
    background-size: cover;  
    background-position: center; 
}

#tel{
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 10px;
    border-radius: 50%;
    background-color: rgb(49, 247, 49);
    color: white;
    /* box-shadow: 1px 1px 1px rgb(171, 171, 171); */
    font-size: 24px;
    z-index: 21 ;
}
.project > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: absolute;
    width: 100%;
    top: 170px;
    left: 0px;
}
.project i{
    color: rgb(220, 220, 220);
}
.golden{
    color: rgb(255, 191, 0) !important;
}

.review i{
    font-size: 16px;
    color: gray;
}

.text-project{
    position: absolute;
    width: fit-content !important;
    padding: 5px;
    border-radius: 10px;
    top: 10px !important;
    left: 10px !important;
    font-weight: bold;
    color: white !important;
    background-color: rgb(46, 46, 46, 0.5) !important;
}


form{
    margin-top: 80px;
    padding: 10px;
    margin-bottom: 100px;
}

.champs {
    width: 48%;
    display: inline-block;
    margin: 0px 10px 0px 0px;
}
.champs input {
    border: 1px solid lightgray;border-radius: 4px;
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    box-shadow: 2px 2px 6px lightgray;
}
form label{
    display: block;
    margin: 10px 0px 10px 0px;
}

form textarea{
    display: block;
    box-shadow: 2px 2px 6px lightgray;
    box-sizing: border-box;
    height: 200px;
    width: 98%;
    padding: 10px;
    border: 1px solid lightgray;border-radius: 4px;
}

form button{
    padding: 15px;
    border: 1px solid black;
    color: black;
    background-color: transparent;
    display: block;
    width: 200px;
    border-radius: 4px;
    transition: 0.3s;
    margin-top: 20px;
}
form button:hover{
    color: white;
    cursor: pointer;
    background-color: black;
    transition: 0.3s;
}

footer{
    padding: 30px 10px;
    text-align: center;
    background-color: rgb(35, 35, 35);
    color: rgb(246, 246, 246);
}
footer h1{
    font-family: "Asimovian", sans-serif;
    color: white;
}

footer div a i{
    font-size: 20px;
}
footer a{
    text-decoration: none;
    color: rgb(230, 230, 230);
}
footer div{
    border-bottom: 1px solid rgb(175, 175, 175);
    padding-bottom: 20px;
}


.course{
    display: inline-block;
    width: 32%;
    margin: 10px 10px 10px 0px;
    border-radius: 5px;
    box-shadow: 3px 3px 10px lightgray;
    background-color: white;
    
}
.container-img{
    width: 100%;
    height: 220px;
    
    overflow-y: hidden;
}

.container-img img{
    width: 100%;
    height: auto;
}

.course .notes i{
    color: rgb(214, 214, 214);
}
.course h2 a{
    text-decoration: none;
    color: rgb(0, 115, 255);
}
.course .info span{
    padding: 4px 8px;
    border: 1px solid rgb(18, 81, 148);
    background-color: rgb(196, 227, 247) ;
    color: rgb(6, 51, 125);
    font-size: 12px;
    border-radius:50px ;
    margin: 10px 10px 10px 0px;
    display: inline-block;
}
.price{
    padding: 5px 8px;
    background-color: rgb(212, 246, 212);
    color: rgb(5, 80, 5);
    font-size: 12px;
    margin: 10px 0px;
    border-radius: 5px;
    width: fit-content;
}
#courses{
    padding: 10px;
    margin-bottom: 100px;
}

.subs {
    display: block;
    margin: 10px 0px;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    color: white;
    text-decoration: none;
    background-color: rgb(0, 115, 255);
}

#banner-course{
    margin-top: 60px;
    border-radius:6px ;
    background-position: center;
    background-size: cover;
    padding: 150px 10px;
    width: 100%;
    box-sizing: border-box;
}
.prereq{
    padding: 5px 8px;
    margin: 0px 10px 0px 0px;
    background-color: rgb(246, 246, 246);
    color: black;
    border: 1px solid rgb(175, 175, 175);
    border-radius: 5px;
}

#subscribe-form{
    margin: 50px 0px 100px 0px;
    background-color: white;
    border-radius: 8px;
}

#subscribe-form .champs{
    margin: 20px 5px 0px 0px;
}
#subscribe-form .champs input{
    padding: 12px;
    box-shadow: 2px 2px 3px rgb(229, 229, 229);
}
#subscribe-form h2{
    color: rgb(0, 115, 255);
    margin: 5px 0px;
}
#subscribe-form button{
    color: rgb(252, 252, 252);
    margin: 20px 0px;
    background-color: rgb(0, 115, 255);
    border: none;
    box-shadow: 5px 5px 10px rgb(183, 183, 183);
}
#subscribe-form button:hover{
    background-color: rgb(4, 87, 188) !important;
    color: white !important;
}
.alert{
    padding: 15px;
    background-color: rgb(255, 244, 224);
    color: orange;
    text-align: center;
    margin: 20px 0px;
    border: 1px solid rgb(237, 155, 2);
    display: none;
    border-radius: 5px;
}
.err{
    padding: 15px;
    background-color: rgb(255, 226, 224);
    color: rgb(124, 23, 16);
    text-align: center;
    margin: 20px 0px;
    border: 1px solid rgb(66, 19, 7);
    border-radius: 5px;
    display: none;
}

._when{
    padding: 6px 9px;
    background-color: white;
    border: 1px solid lightgray;
    border-radius: 50px;
    width: fit-content;
}

.desc_course{
    margin: 20px 0px 40px;
}
.desc_course p{
    color: gray;
    max-width: 800px;
}
.desc_course h3::before{
    content:">>";
    color: black;
    font-size: 22px;
    margin-right: 20px;
}
.desc_course h3{
    font-weight: 600;
    letter-spacing: 1px;
}

.flex{
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
}
.stack {
    width: 20%;
    margin: 20px 10px 0px 0px;
    padding: 10px;
    /* border: 1px solid rgb(43, 236, 43); */
    border-radius: 5px;
    background-color: white;
    
}

.stack h3{
    color: rgb(13, 195, 56);
    text-align: center;
    background-color: rgb(249, 249, 249);
    padding: 5px 9px;
    border-radius: 50px;
    margin: -20px auto 10px;
    width: fit-content;
    font-size: 14px;
    box-shadow: 2px 2px 5px lightgray;
}
.stack div{
    margin: 20px 0px;
    display: flex;
    justify-content: left;
    align-items: center;
}
.stack span{
    font-style: italic;
    font-weight: bold;
}
.stack img{
    width: 30px !important;
    margin: 0px 10px;
    padding: 0px;
}



.banner-ecommerce{
    height: 200px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    padding-top: 100px;
    padding-bottom: 150px;

    background-image: 
        linear-gradient(-45deg, rgba(20,186,28,0.6), rgba(30,189,38,0.6), rgba(17,70,203,0.7), rgba(37,117,252,0.8)),
        url("../imgs/becom.jpg");

    background-position: center;
    background-size: cover;
    /* background-size: 400% 400%; */
    text-align: center;
    background-blend-mode: darken;
    margin-top: 50px;
    /* animation: gradientMove 10s ease infinite; */
}

/* .banner-ecommerce{
    height: 200px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    padding-top: 100px;
    padding-bottom: 150px;

    background-image: linear-gradient(-45deg, #14ba1c, #1ebd26, #1146cb, #2575fc), url("../imgs/becom.jpg");
    background-position: center;
    background-size: 400% 400%;
    background-size: cover;
    animation: gradientMove 10s ease infinite;
    text-align: center;
} */

@keyframes gradientMove{
    0%{background-position:0% 50%;}
    50%{background-position:100% 50%;}
    100%{background-position:0% 50%;}
}

.ecom{
    max-width: 600px;
    min-width: 350px;
    display: block;
    width: 60%;
    margin: auto;
    height: auto;
    margin-top: -140px;
}

/* #banner-ecommerce{
    background:linear-gradient(70deg, rgb(90, 249, 76), rgb(0, 113, 0)) ;
    height: 250px;
    padding-top: 100px;
} */

.banner-ecommerce h1, .banner-ecommerce h3{
    font-size: 40px;
    font-family: "Asimovian", sans-serif;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 2px black;
    letter-spacing: 2px;
    margin: 20px 0px;
}
.banner-ecommerce p{
    color: white;
    font-family: "Alexandria";

}
.banner-ecommerce h3{
    font-size: 36px;
    color: rgb(248, 204, 124);
    font-family: "Alexandria";
}

#plans{
    margin-top: 100px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}
.plan {
    padding: 10px;
    background-color: white;
    box-shadow: 0px 0px 30px rgb(202, 202, 202);
    border-radius: 10px;
    transition: 0.3s;
    width: 320px;
    margin: 15px 5px;
    position: relative;
    cursor: pointer;
    border: 2px solid gray;
}
.plan.selected{
    border: 2px solid rgb(13, 92, 195);
}
.plan .seli{
    position: absolute;
    top: -10px;
    font-size: 30px;
    right: -5px;
    color: rgb(13, 98, 195);
    display: none;
}
.plan:hover{
    transform: translateY(-4px);
    transition: 0.3s;
}
.plan h3{
    text-align: center;
    color: rgb(13, 92, 195);
    font-size: 40px;
    letter-spacing: 1px;
    font-weight: bold;
    margin: 10px 0px;
}
.plan p{
    color: rgb(83, 83, 83);
    display: flex;
    justify-content: left;
    gap: 10px;
    align-items: center;
}
.plan .pursue{
    padding: 10px 0px;
    text-align: center;
    background: linear-gradient(to right, rgb(30, 159, 251),rgb(0, 22, 96));
    color: white;
    border-radius: 4px;
    margin: 10px 0px;
    box-sizing: 0px 0px 5px rgb(161, 161, 161);
}



#plan_form{
    padding: 10px;
    background-color: white;
    box-shadow: 0px 0px 30px lightgray;
    margin: 50px auto;
    border-radius: 10px;
    border-top: 5px solid rgb(13, 113, 195);
}

.champ {
    width: 100%;
    position: relative;
    background-color: lightblue;
    margin: 10px 0px;
}

.champ > i{
    position: absolute;
    top: 10px;
    left: 5px;
    color: gray;
}
#plan_form .flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    /* grid-template-columns: 1fr 1fr; */
}
.champ.md{
    width: 48% !important;
}

.champ input{
    display: block;
    padding: 10px;
    padding-left: 30px;
    border: 1px solid lightgray;
    width: 100%;
    box-sizing: border-box;
}

#plan_form h2, #plan_form .center{
    text-align: center;
     font-family: "Alexandria";
     margin: 20px 0px;
}

#plan_form select{
    padding: 10px;
    border: 1px solid lightgray;
    width: 100%;
    box-sizing: border-box;
}

#plan_form button{
    display: block;
    margin: 20px auto;
}

#plan_form .success{
    /* display: block; */
    font-family: "Alexandria";
}
#plan_form .success i{
    font-size: 36px;
}



#burger {
    width: 35px;
    height: 30px;
    /* display: flex;
    flex-direction: column;
    justify-content: space-between; */
    cursor: pointer;
    display: none;
    
}

#burger div {
    height: 4px;
    background-color: #000;
    border-radius: 2px;
    transition: all 0.4s ease;
    margin: 4px 0px;
}

/* Lorsque le burger est actif */
#burger.active div:nth-child(1) {
    transform: rotate(43deg) translate(6px, 6px);
}

#burger.active div:nth-child(2) {
    opacity: 0;
}

#burger.active div:nth-child(3) {
    transform: rotate(-43deg) translate(6px, -6px);
}

