@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:ital,wght@0,1..1000;1,1..1000&display=swap');

/* style du site */
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Sofia Sans", sans-serif;
}

html, body{
    overflow-x: hidden;
}

/* header */
header{
    border-bottom: 1px solid #dcdcdc;
}

.header{
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.logo img{
    width: 100px;
}

ul{
    list-style: none;
    display: flex;
}

ul li a{
    margin-right: 40px;
    text-decoration: none;
    color: #000000;
    font-size: 18px;
    font-weight: 700;
}

ul li a:hover{
    text-decoration: underline;
}

.menu-burger{
    display: none;
}

/* header portfolio */
.header-projet{
    height: 50vh;
    background-image: url('img/podcast.jpg');
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.titre{
    text-align: center;
    color: #ffffff;
}

.titre h1{
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 15px;
}

/* texte intro */
.intro{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
}

.intro h2{
    font-size: 35px;
    margin-bottom: 20px;
    font-weight: 700;
}

.intro p{
    max-width: 800px;
    line-height: 1.5;
    padding: 10px;
}

/* 3 images */
.images{
    display: flex;
    justify-content: space-around;
    gap: 20px;
    padding: 20px;
    max-width: 90%;
    margin: 0 auto;
}

.image-carré{
    flex: 1;
    aspect-ratio: 1;
}

.image-carré img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* textes pour les images */
.texte-image{
    display: flex;
    justify-content: space-around;
    max-width: 90%;
    margin: 20px auto;
    padding: 0 20px;
    gap: 20px;
    text-align: center;
}

.texte-image p{
    flex: 1;
    line-height: 1.5;
    padding: 10px;
    max-width: 100%;
}

/* grosse image + boutons */
.grosse-image{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
}

.grosse-image img{
    width: 90%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.projet-btn{
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.projet-btn .btn{
    text-decoration: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
}

.btn-noir{
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
}

.btn-blanc{
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
}

.btn-noir:hover{
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
}

.btn-blanc:hover{
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
}

/* footer */
footer{
    display: flex;
    justify-content: space-between;
    padding: 20px 10%;
    border-top: 1px solid #e0e0e0;
}

.footer-gauche{
    display: flex;
    gap: 15px;
}

.footer-gauche a{
    font-size: 15px;
    color: #666666;
    text-decoration: none;
}

.footer-gauche a:hover{
    text-decoration: underline;
    color: #000000;
}

footer p{
    font-size: 15px;
    color: #666666;
    text-align: center;
}

.footer-droite{
    display: flex;
    gap: 15px;
}

.footer-droite i{
    font-size: 20px;
    color: #666666;
}

.footer-droite i:hover{
    color: #000000;
}



/* ----------------------------------------------------------------------------------------------------------------------------- */



/* version mobile */
@media (max-width: 768px){
    /* header */
    .menu-burger{
        display: block;
        font-size: 30px;
        color: #000;
    }

    ul{
        display: none;
    }

    .menu-ouvert ul{
        display: block;
        background-color: #fff;
        padding: 20px;
        text-align: center;
        width: 100vw;
    }

    .menu-ouvert ul li{
        margin: 20px 0;
    }

    header .header{
        width: 100%;
        padding: 0 10px;
    }

    /* header du portfolio */
    .header-portfolio{
        height: 30vh;
        background-position: center;
    }

    .titre h1{
        font-size: 30px;
    }

    /* Images du projet */
    .images{
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
        padding: 0 15px;
    }

    /* Texte associé aux images */
    .texte-image{
        flex-direction: column;
        max-width: 100%;
        padding: 0 15px;
        gap: 15px;
    }

    .texte-image p{
        padding: 5px;
        text-align: left;
    }

    /* Grosse image et boutons */
    .grosse-image{
        padding: 30px 0;
    }

    .grosse-image img{
        width: 100%;
        margin-bottom: 15px;
        border-radius: 0px;
    }

    /* footer */
    footer{
        flex-direction: column;
    }

    .footer-gauche, .footer-droite{
        justify-content: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    footer p{
        order: 3;
    }
}


/* ajouter 1-2 notes pour le rendu */