
@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

body {
    background-color: black;
}

html::-webkit-scrollbar{
    width: 0.5rem;
    background-color:black;
}

html::-webkit-scrollbar-thumb {
    border-radius: 30px;
    background-color: #6ec7e0;
    width: 30px;
}

header {
    background-image: url(../img/image\ code.png);
    height: 620px;
    width: 100%;
}

nav{
    position: fixed;
    top: 0;
    right: 0;
    background: linear-gradient(to bottom, black, black, black,black,#6ec7e0 );
    width: 100%;
}

.nav ul {
    display: flex;
    justify-content: end;
    padding-top: 50px;
    margin-right: 300px;
}

nav ul li a {
    margin: 30px;
    font-size: 18px;
}

nav a:hover {
    background-color: rgb(52, 158, 187)
}

li {
    list-style-type: none;
    text-align: center;
}

a {
    text-decoration: none;
    color: white;
}

.titre {
    color: white;
    text-shadow: .1em .1em .3em #6ec7e0;
    text-align: center;
    padding-top: 200px;
    font-size: 20px;
}

h3 {
    font-family: 'Silkscreen', sans-serif;
    color: #6ec7e0;
    font-size: 1.5rem;
    text-align: center;
}

h4, h5 {
    color: rgb(52, 158, 187);
    text-align: center;
}

.text {
    color: white;
    text-align: center;
    width: 70%;
    margin: auto;
    font-size: 23px;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.tabl {
    margin-top: 100px;
}

.tableau {
    display: flex;
    justify-content: space-around;
}

.design {
    margin-top: 100px;
    color: white;
    border: 3px solid #6ec7e0;
    ;
    border-radius: 25px;
    padding: 80px;
    font-size: 20px;
    width: 200px;
}

.deux {
    text-align: center;
}

.cv {
    background-color: #38a2c0;
    ;
    text-align: center;
    padding: 5px;
    margin-top: 50px;
}

.cv:hover {
    background-color: #007ea1;
}

.moi {
    width: 100%;
    margin-bottom: 30px;
}

.projet {
    margin-top: 100px;
}

.img {
    display: flex;
    justify-content: space-around;
}

.Myimg img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.8s;
    
}

.Myimg:hover img{
    transform: scale(1.5);
}

.Myimg {
    width: 25%;
    overflow: hidden;
    border-radius: 16px;
}

.loader {
    width: 20px;
    margin-top: 30px;
    aspect-ratio: 4;
    background: radial-gradient(circle closest-side, #6ec7e0 90%,#0000) 0/calc(100%/3) 100% space;
    clip-path: inset(0 100% 0 0);
    animation: l1 1s steps(4) infinite;
}
    @keyframes l1 {to{clip-path: inset(0 -34% 0 0)}}  

.flex{
    display: flex;
    justify-content: center;
}

footer{
    margin-top: 100px;
    background: linear-gradient(to top, black, black, black, black, black,black,#6ec7e0 );
}

.icon{
    display: flex;
    justify-content: center;
}

i{
    font-size: 50px;
    color: white;
    margin: 20px;
    margin-top: 80px;
}

/* RESPONSIVE MOBILE */
@media screen and (max-width:768px) {
    .tableau{
        flex-direction: column;
    }

    .design{
        width: 150px;
        margin: auto;
        margin-top: 20px;
        padding: 90px;
    }

    .img{
        flex-direction: column;
    }

    .img .Myimg{
        width: 90%;
        margin: 0 auto;
    }

    nav{
        display: none;

    }
}