
@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Bodoni+Moda+SC:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Gloria+Hallelujah&display=swap');



:root{
    --color-primary: #dd56fb ;
}

*{
    margin: 0;
    padding: 0;
}

/**système du menu (hamburger)**/

nav{
    background-color: var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.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;
}

.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;
}

@media(max-width:768px){
    .menu-container{
        flex-direction: column;
        gap: 25px;
        padding: 25px 0;
        display: none;
    }
    .hamburger-group{
        display: flex;
    }
}

/**sytème de grilles**/

.grid{
    display: grid;
    grid-template-columns: 1fr;
    padding: 5dvh 10dvw;
    gap: 20px;
}

.gap-lg{
    gap: 50px;
}

@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;
    font-family: "Lato", sans-serif;
    font-weight: 100;
    font-style: normal;
}

h3{
    font-size: 30px;
    padding-top: 5dvh;
}

/**téléphone**/

@media (max-width: 768px) {
  h1{
    font-size: clamp(2.5rem, 10vw, 3.8rem);
  }
  p{
    font-size: 1.1rem;
  }
}


/**classes de design réutilisables**/

.bg-primary{
    background-color: var(--color-primary);
    color: white;
}
    /**Pour appliquer des padding partout (on les reutilisse dans le HTLM)**/
.v-padding{   
    padding-top: 5dvh;
    padding-bottom: 5dvh;
}

.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: 2.5rem;
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-style: normal;
}

.bg-blue{
    background-color: var(--color-primary);
    color: white;
}

.small{
    font-size: 1rem
}


/**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(1em, 4vh, 2em);
    padding: 0 2dvh;
}

.card p{
    padding: 3dvh 2dvh;
    font-size: 1.2rem;
}

.card:hover{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    background-color: var(--color-primary);
    color: white;
    filter: brightness(1.2);
}

/**skill**/

.skill{
    font-size: 1.75em;
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-style: normal;
}

.skill progress{
    width: 100%;
}


/**Styler le formulaire**/

form label{
    font-size: 1.5em;
    font-family: "Roboto", sans-serif;
}

form input, form textarea{
    border-radius: 5px;
    border: 1.75px solid var(--color-primary);
    font-size: 1.5em;
    padding: 2px 20px;
}

form input{
    height: 3dvh;
}

form textarea{
    height: 35dvh;
}

form button{
    background-color: var(--color-primary); 
    color: white;
    width: 35dvh;
    font-size: 1.5em;
    border-radius: 10px;
}

@media (max-width: 768px) {
  form button{
    width: 100%;
  }
}


/**Mentions légales**/

.bas{
    color: white;
    text-decoration: none;
    padding: 3dvh;
    display: flex;
    flex-direction: column;
}

.Mention{
    padding-left: 5dvh;
    padding-right: 5dvh;
}

/**Lien portfolio**/

.Lien{
    text-decoration: none;
    font-size: 30px;
    color: rgb(211, 47, 148);
    padding-bottom: 4dvh;
    text-align: center;
}

.Lien:hover{
    color:rgb(211, 47, 148);
    background-color: white;
    border-radius: 5px;
    padding: 5px;
}

.Retour{
    font-size: large;
    text-decoration: none;
    color: white;
}

.padding-retour{
    padding-left: 1.5rem;
    padding-top: 1.5rem;
}

/**Affiche publicitaire**/

.titre{
    font-size: 60px;
    padding: 5dvh;
}

.taille{
    font-size: 40px;
}

.barre{
    
    text-align: center;
    border-top: solid rgb(211, 47, 148);
    padding-top: 4dvh;
}

.barre-dessous{
    font-size: 40px;
    text-align: center;
    border-bottom: solid rgb(211, 47, 148);
    padding-bottom: 4dvh;
}

.bonne{
    border: solid rgb(211, 47, 148);
    padding: 25px;
}

.espace{
    padding-bottom: 4dvh;
}

.card2{
    display: flex;
    flex-direction: column;
    gap: 2dvh;
}

.card2 img{
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.contour{
    border: solid rgb(211, 47, 148);
    padding: 7px;
    border-radius: 5px;
}

.grid-texte{
    grid-column: 3 / 4;
    text-align: center;
}

/**Meetout**/

.cadre{
    border: solid black 1px;
    border-radius: 5px;
}












