@font-face {
    font-family: "DM Sans";
    font-weight: 100 1000;
    font-style: normal;
    font-display: swap;
    src: url("font/dmsans-variablefont.ttf") format(opentype) tech(variations),
         url("font/dmsans-variablefont.ttf") format("opentype-variations");
}

.dm-sans {
    font-variation-settings: "opsz" var(--dm-sans-opsz, 9), "wght" var(--dm-sans-wght, 400);
}@font-face {
    font-family: "DM Sans";
    font-weight: 100 1000;
    font-style: italic;
    font-display: swap;
    src: url("font/dmsans-italic-variablefont.ttf") format(opentype) tech(variations),
         url("font/dmsans-italic-variablefont.ttf") format("opentype-variations");
}
.dm-sans {
    font-variation-settings: "opsz" var(--dm-sans-opsz, 9), "wght" var(--dm-sans-wght, 400);
}


html{
    background-color: antiquewhite;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    font-family: "DM Sans";
    /*overflow: hidden;*/
}

#accueil{
    scroll-margin: 200px;
}

::selection {
    background: rgb(195, 125, 125);
}

.header{
    display: flex;
    background-color: black;
    height: 80px;
    margin: 0;
    position: fixed;
    min-width: 100%;
    top: 0%;
    left: 0%;
    justify-content: start;
    font-family: "DM sans";
    font-size: 15px;
}



.menu li{
    display: inline-block;

}

.menu li a{
    list-style: none;
    color: beige;
    display: inline-block;
    min-width: 170px;
    text-align: center;
    padding: 10px;
    transition: all 1s;
}

.menu li a:hover{
    color: rgb(185, 125, 125);
    font-size: 20px;
}



h1{
    font-size: 50px;
    text-align: center;
    margin-top: 20%;
    font-family: "DM Sans";   
    color: white;
    animation: mutant 5s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}


@keyframes mutant {
    0% { font-variation-settings: "opsz" 9, "wght" 0 }
    25% { font-variation-settings: "opsz" 40, "wght" 0 }
    50% { font-variation-settings: "opsz" 40, "wght" 1000 }
    75% { font-variation-settings: "opsz" 9, "wght" 1000 }
    100% { font-variation-settings: "opsz" 9, "wght" 0 }
}

.bloc{
    height: 100vh;
    width: 100vh;
    overflow: hidden;
}

.bloc video{
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    top: 20%;
    left: 52%;
    z-index: -100;
    transform: translate(-50%,-50%);
}


img{
    width: auto;
    height: 580px;
    transition: all .5s;
}

.projets img:hover{
    transform: scale(1.02);
}

h2{
    color: rgb(199, 94, 24);
    font-size: 30px;
}

.presentation{
    display: flex;
    margin-bottom: 10px;
    margin-top: 10px;
    padding: 20px;
    justify-content: center;
    font-size: 13px;
}

.presentation .texte{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 600px;
}

.presentation h2{
    margin-left: 30px;
}

details:hover{
    color: rgb(199, 94, 24);
}


.ligne{
    width: 90%;
    height: 2px;
    border: 0 none;
    margin-right: auto;
    margin-left: auto;
    margin-top: 50px;
    margin-bottom: 100px;
    background-color: rgb(0, 0, 0);
}


#pratique{
    display: flex;
    gap: 30px;
    margin: 8%;
    scroll-margin: -30px;
}

.outils{
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px;
    width: 330%;
    height: 650px;
}

.processus{
    margin-top: 33px;
    font-size: 15px;
    background-color: rgb(239, 221, 197);
    padding: 10px;
}

h3{
    font-size: 20px;
    margin-top: 10px;
}

.processus a{
    color: rgb(199, 94, 24);
    text-decoration: underline;
}

#oeuvre h2{
    margin: 40px;
    margin-bottom: 10px;
}

.projets{
    display: flex;
    width: 100%;
    gap: 40px;
    margin: 20px;
    margin-top: 10px;
    list-style-type: none;
    padding: 0;
    overflow-x: scroll;
    padding-bottom: 50px;
}


span{
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

a{
    text-decoration: none;
    color: black;
}

.sources{
    display: grid;
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); 
gap: 20px;
}

footer{
    border-top: 1px solid var(--border-color-base,#4e321a);
    padding: 0.75em 0;
    margin: 20px;
    font-size: 10px;
    margin-bottom: 50px;
    margin-top: 150px;
    list-style-type: square;
}

footer li{
    text-decoration: underline;
    color: rgb(199, 94, 24);
}


footer h2{
    font-size: 15px;
    color: #4e321a;
}

