@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=DM+Serif+Text:ital@0;1&family=Indie+Flower&family=Limelight&display=swap');

:root{
    --color-primary: #106bac;
}
*{
    margin: 0;
    padding: 0;
}
nav{
    background-color: var(--color-primary);
    position: sticky;
    /*nous laisse nos élément en place*/
    top: 0;
    /*reste tout en haut*/
    z-index: 1000;
    /*superpostion de nos balise*/
}
.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: white;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 2px;
}
.menu-link:hover{
    background-color: white;
    color: var(--color-primary);
}
.label-toggle{
    color: white;
}
nav:has(#menu-toggle:checked) .menu-container{
    display: flex;
}
#menu-toggle{
    display: none;
}
.img{
    width: 220px;
    border-radius: 10px;
}
@media(max-width: 768px){
    .menu-container{
        flex-direction: column;
        gap: 25px;
        padding: 25px 0;
        display: none;
    }
    .hamburger-group{
        display: flex;
    }
}
.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;
    }
}

/*typographie par défaut*/
h1{
    font-size: 5rem ;
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-style: normal;
}
p{
    font-size: 1.5rem;
    text-align: center;
}
.colonnes{
    font-size: 1.8rem;
    text-align: center;
    color: #106bac;
}   

/*classe de design réutilisable*/
.bg-primary{
    background-color: var(--color-primary);
    color: white;
}
.bg-dark{
    background-color:#147eca;
    color: white;
}
.text-center{
    text-align: center;
}

/*spacing*/
.v-padding{
    padding-top: 5dvh;
    padding-bottom: 5dvh;
}
.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: "DM Serif Text", serif;
    font-weight: 400;
    font-style: normal;
    color: #106bac;
}
.small{
    font-size: 1rem;
    font-weight: 50;
}

/*composant*/
.card{
    display: flex;
    flex-direction: column;
    gap: 2dvh;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.card img{
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
}
.card h3{
    font-size: clamp(1rem, 4dvh ,2em);
    padding: 0 2dvh;
    text-align: center;
}
.card p{
    padding: 3dvh 2dvh;
    /*décolle les élément du bord*/
    font-size: 1.3rem;
}
.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: #106bac;
    color: white;
    filter: brightness(1.2);
}
.descover{
    text-align: center;
    font-size: 1.2rem;
    text-decoration: none;
    color: black;
}
.skill{
    font-size: 1.7rem ;
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-style: normal;
}
.skill progress{
    width: 100%;
}
form{
    display: flex;
    flex-direction: column;
    gap: 1dvh;
}
form label{
    font-size: 1em;
    font-family: "roboto", sans-serif;
}
form input, form textarea{
    border-radius: 5px;
    border: 1px solid var(--color-primary);
    padding: 2px 10px;
}
button{
    background-color: #106bac;
    color: white;
    padding: 10px;
    font-size: 1em;
    max-width: 200px;
    border-radius: 10px;
}
.lien{
    display: flex;
    justify-content: flex-start; 
    align-items: flex-start;   
    margin: 1%;
}
.marketing{
    display: grid;
    grid-template-columns: 50% 50%;
    margin: 1%;
}
.prg h2{
    color: #106bac;
    font-size: 35px;
}
.prg img{
    font-size: 20px;
}
.prg{
    grid-template-columns: 2 / 3;
    text-align: center;
}
.imgm{
    grid-template-columns: 1 / 2;
    align-self: center;    /* vertical */
    justify-self: center; /* horizontal */
}
.prg h3{
    color: #106bac;
    font-size: 20px;
}
.legal{
    text-align: center;
    font-size: 1.2rem;
    text-decoration: none;
    color: black;
    margin: 1%;
}
.mention h1{
    color: #106bac;
    font-size: 35px;
    text-align: left;
}
.politique h1{
    color: #106bac;
    font-size: 35px;
    text-align: left;
}
.mention p{
    font-size: 20px;
    text-align: left;
}
.politique p{
    font-size: 20px;
    text-align: left;
}
.legal{
    margin: 1%;
}