
@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Gloria+Hallelujah&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


:root{
    --color-primary:#4b2974;
    --bg-primary-text:#fff;
}
.bg-primary{
    background-color: var(--color-primary);
    color: var(--bg-primary-text);
}

*{
    margin: 0;
    padding: 0;
}
nav{
    background-color:var(--color-primary);
    position: sticky;
    z-index: 1000;
    top: 0;
}
.menu-container, .hamburger-group{
    display: flex;
    min-height: 10dvh;
    justify-content: space-evenly;
    align-items: center;
    font-size: 2em;
}
.hamburger-group{
    display: none;
    justify-content: end;
    padding-bottom: 3dvw;
}
.menu-item{
    list-style: none;
}
.menu-link{
    color: #fff;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 5px;
}
.menu-link:hover{
    background-color: #fff;
    color: var(--color-primary);
}
.label-toggle{
    color: #fff;
}
@media(max-width:800px){
    .menu-container{
        display: none;
        flex-direction: column;
        gap: 20px;
        padding: 25px 0;
    }
    .hamburger-group{
        display: flex;
    }
}
nav:has(#menu-toggle:checked) .menu-container{
    display: flex;
}
#menu-toggle{
    display: none;
}
.grid{
    display: grid;
    grid-template-columns: 1fr;
    padding: 5dvh 10dvw;
    gap: 20px;
}
@media(min-width:768px){
    .grid-2-1{
        grid-template-columns:2fr 1fr ;
    }
    .grid-1-1-1{
        grid-template-columns: 1fr 1fr 1fr;
    }
}
p{
    font-size: clamp(1em,4vh,1.5em);
    font-family: "roboto",sans-serif;
}
h1{
    font-size: clamp(1em,5vh,3em);
    font-family: "Audiowide",sans-serif;
    font-weight: 400;
}
/*spacing*/
.v-padding{
    padding-top: 5vh;
    padding-bottom: 5vh;
}
.text-center{
    text-align: center;
}
.divider path{
    fill:var(--color-primary)
}
.shadow{
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5));
}
.title-box{
    font-size: 2rem;
    font-family: "Audiowide",sans-serif;
    font-weight: 400;
    font-style: normal;
}
.bg-dark{
    background-color: black;
    color: #fff;
}
.small{
    font-size: 1rem;
    font-weight: 50;
}
/*components*/
.card{
    display: flex;
    flex-direction: column;
    gap: 2dvh;
    border-radius: 10px;
    box-shadow: rgba(149,157,165,0.2) 0px 8px 24px;
}
.card a{
    text-decoration: none;
    color: black;
}
.card a:hover{
    text-decoration: none;
    color: white;
}
.card img{
    border-radius: 10px 10px 0 0;
    width: 100%;
    height: auto;
}
.card h3{
    font-size: clamp(1em, 4vh, 2em);
    padding: 0 2dvh;
}
.card p{
    font-size: 1em;
    padding: 2dvh;
}
.card:hover{
    background-color: var(--color-primary);
    color: #fff;
    filter: brightness(1.2);
}
/*skills*/
.skill{
    font-size: 1.5em;
    font-family: "Audiowide",sans-serif;
    font-weight: 400;
    font-style: normal;
}
.skill progress{
    
    width: 100%;
    height: 2dvh;
}
/*form*/
form{
    display: flex;
    flex-direction: column;
    gap: 1dvh;
}
label{
    font-size: 1em;
    font-family: "roboto",sans-serif;
}
input, textarea{
    border-radius: 5px;
    border: 1px solid var(--color-primary);
    padding: 2px 10px;
}
input{
    height: 3dvh;
}
textarea{
    height: 20dvh;
}
button{
    background-color: var(--color-primary);
    color: #fff;
    padding: 10px;
    font-size: 1em;
    max-width: 200px;
    border-radius: 10px;
}
#mention-legal{
max-width: 900px;
margin: 80px auto;
padding: 40px;
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0 5px 20px #222522;
font-family: "Roboto", sans-serif;
color: #222;
line-height: 1.6;
}

#mention-legal .titre{
font-size: 2.2rem;
margin-bottom: 30px;
}

#mention-legal h2{
font-size: 1.3rem;
margin-top: 30px;
margin-bottom: 10px;
}

#mention-legal p{
font-size: 1.1rem;
margin-bottom: 12px;
}

#mention-legal a{
color: #0066cc;
text-decoration: none;
}

#mention-legal a:hover{
text-decoration: underline;
}
.moi{
    height: 300px;
     border-radius: 80%;
}
main {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    background-color: #f5f5f5;
    min-height: calc(100vh - 80px);
}

/* Carte mentions légales */
.legal-box {
    background-color: white;
    max-width: 700px;
    width: 100%;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.legal-box h1 {
    margin-bottom: 20px;
    font-size: 28px;
}

.legal-box p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}