@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap%27');
 
:root{
    --color-primary:rgb(246, 162, 7);
    --bg-primary-text:rgb(255, 255, 255);
}
 
*{
    margin: 0;
    padding: 0;
}
 
nav{
    background-color: var(--color-primary);
}
 
.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: 3dvw;
}
 
.menu-item{
    list-style: none;
}
 
.menu-link{
    color: rgb(250, 250, 250);
    text-decoration: none;
    padding:  5px 15px;
    border-radius: 5px;
}
 
.menu-link:hover{
    background-color: rgb(255, 255, 255);
    color: var(--color-primary);
}
 
.label-toggle{
    color: white;
}

.image-photo img{
    border-radius: 50%;
    height: 300px
}
 
@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;
}
 
nav{
    background-color: var(--color-primary);
    position: sticky;
    z-index: 1000;
    top: 0;
}
 
/** système de grilles **/
 
.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;
    }
}
 
.bg-primary{
    background-color: var(--color-primary);
    color: var(--bg-primary-text);
}
 
 
 
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;
}
 
.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: white;
}

.small{
    font-size: 1rem;
    font-weight: 50;
    text-decoration: none;
}

footer a{
    text-decoration: none;
    color: white;
}

footer a:hover{
    font-weight: bold;

}

/*components*/

.card{
    display: flex;
    flex-direction: column;
    gap: 2dvh;
    border-radius: 10px;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}

.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: white;
    filter: brightness(1.2);
}

/*skill*/

.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 #3d62b3;
    padding: 2px 10px;
}

input{
    height: 3dvh;
}

textarea{
    height: 20dvh;

}

button{
    background-color: var(--color-primary);
    color: white;
    padding: 10px;
    font-size: 1em;
    max-width: 200px;
    border-radius: 10px;
}

.card a{
    text-decoration: none;
    color: black;
}

.card a:hover{
    background-color: var(--color-primary);
    color: white;
}



#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;
}


.confi {
  max-width: 900px;          
  margin: 60px auto;         
  padding: 20px;           
  font-size: 1rem;
  line-height: 1.6;  
  color: #000;
  background-color: #fff;    
}

.confi h2{
    font-size: 3rem;
    padding-bottom: 30px;
}

.confi {
  border-left: 4px solid orange;
  padding-left: 24px;
}

