@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
:root{
    --color-primary:#106bac;
}
*{
    margin: 0;
    padding: 0;
}
/* Le menu*/
nav{
    background-color: var(--color-primary);
    position:sticky; /* garder le menu toujours visible*/
    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-right: 5dvw;
}
.menu-item{
    list-style: none;
}
.menu-link{
    color: #ffffff;
    text-decoration: none;
    padding: 5px 15px;
    border-radius:5px ;
    transition: background-color 500ms;
}
.menu-link:hover{
    background-color: #ffffff;
    color:var(--color-primary);
}
.label-toggle{
    color: #ffffff;
}
nav:has(#menu-toggle:checked) .menu-container{
    display: flex;
}
#menu-toggle{
    display: none;
}
@media(max-width:768px){
    .menu-container{
        display: none;
        flex-direction: column;
        gap: 25px;
        padding: 25px 0;
    }
    .hamburger-group{
        display: flex;
    }
}
/*système de grilles*/
.grid{
    display: grid;
    grid-template-columns: 1fr;
    padding: 5dvh 10dvw;
    gap:20px;
}
.image{
    width: 300px;
}
@media(min-width:768px){
    .grid-2-1{
        grid-template-columns: 2fr 1fr;
    }
    .grid-1-1-1{
        grid-template-columns: 1fr 1fr 1fr;
    }
    
}
/* typographie par défaut*/
h1{
    font-size: 5rem;
    font-family: "Spectral", serif;
    font-weight: 200;
    font-style: normal;
}
p{
    font-size: 2rem;
    font-family: "Golos Text", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}
/* une classe de design réutilisables*/
.bg-primary{
    background-color: var(--color-primary);
    color: #ffffff;
}
.text-center{
    text-align: center;
}
.v-padding{
    padding-top: 5dvh;
    padding-bottom: 5dvh;
}.v-padding img{
    width: 100%;
    border-radius: 50%
}
.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: "Spectral", serif;
    font-weight: 200;
    font-style: normal;
}
.bg-dark{
    background-color: black;
    color: #ffffff;
}
.small{
    font-size: 1rem;
    font-weight: 50;
}
.legal{
    margin: 2%;
}

/* composants*/
.card{
    display: flex;
    flex-direction: column;
    gap:2dvh;
    border-radius: 10px 10px 0 0;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.card img{
    width: 100%;
    border-radius: 10px 10px 0 0;
    height: auto;
}
.card h3{
    font-size: clamp(1em, 4dvh, 2rem);
    padding: 0 2dvh;
}
.card p{
    padding: 3dvh 2dvh;
    font-size: 1.2rem;
}
.card a{
    text-decoration: none;
    list-style: none;
    color: #000;
    text-align: center;
    font-size: 18px;
    padding-bottom: 3dvh;
}
.card:hover{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    background-color: var(--color-primary);
    color: #ffffff;
    filter:brightness(1.2)
}
.card a:hover{
    color: #ffffff;
}
.skill{
    font-size: 1.5rem;
    font-family: "Spectral", serif;
    font-weight: 200;
    font-style: normal;
}
.skill progress{
    width: 100%;
}
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);
    font-size:1em;
    padding: 5px 10px;
}
input{
    height: 3dvh;
}
textarea{
    height:35dvh;
}
button{
    background-color: var(--color-primary);
    color: #ffffff;
    width: 10dvw;
    font-size: 1em;
    border-radius: 10px;
}
