@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');

*{
    margin: 0;
    padding: 0;
}

nav{
    background-color: #4b9fff;
}

.menu-container, .hamburger-group{
    display: flex;
    min-height: 10dvh; 
    justify-content: space-evenly;
    align-items: center;
    font-size: 2em;
}

.hamburger-group{
    justify-content: end;
    padding-right: 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{
        flex-direction: column;
        gap: 20px;
        padding: 25px 0;
    }
}

.hamburger-group{
    display: none;
    justify-content: end;
    padding-right: 3dvw;
}

@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;
}
:root{
    --color-primary: #46c7ff;
}

*{
    margin: 0;
    padding: 0;
}

nav{
    background-color: var(--color-primary);
}

.grid{
    display: grid;
    grid-template-columns: 1fr;
    padding: 5dvh 10dvw;
}

@media(min-width : 768px){
    .grid-2-1{
        grid-template-columns: 2fr 1fr ;
    }
    .grid-1-1-1{
    grid-template-columns: 1fr 1fr 1fr;
}
}

/** classes de design réutilisable **/

.bg-primary{
    background-color: var(--color-primary);
    color: var(--bg-primary-text);
}

/** Changer la typographie par défaud**/

p{
    font-size:  clamp(1em, 4vh, 1.5em);
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

h1{
    font-size: clamp(1em, 5vh, 3em);
    font-family: "Audiowide", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.hero-image img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.v-padding{
    padding-top: 5vh;
    padding-bottom: 5vh;
}

.text-center{
    text-align: center;
}

.custom-shape-divider-top-1764669295 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1764669295 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 129px;
}

.custom-shape-divider-top-1764669295 .shape-fill {
    fill: #FFFFFF;
}

.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: 300;
    font-style: normal;
}

.grid-1-1-1{
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}
.card{
    display: flex;
    flex-direction: column;
    gap: 2dvh;
    border-radius: 2%;
    box-shadow:rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.card img{
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
}

.card h3{
    padding:0 2dvh ;
    font-size: clamp(1em,4vh,2em);
}

.card p{
    font-size: 1.2em;
    padding: 2dvh;
}

.footer{
background-color:var(--color-primary);
display: flex;
min-height: 10dvh; 
justify-content: space-evenly;
align-items: center;
font-size: 2em;

}
.footer p{
color: white;
height: 10px;
font-size: 15px;
}

a href {
    color: black;
    text-decoration: none;
}

a:hover {
    color: blue;
}