@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:ital,wght@0,100..900;1,100..900&family=Dancing+Script:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:ital,wght@0,100..900;1,100..900&family=Comfortaa:wght@300..700&family=Dancing+Script:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
}

a {
    text-decoration: none;
    font-size: 13px;
}

/* ***********NAVBAR*********** */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5%;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    width: 40px;
    height: 40px;
}

header .logo h1 {
    font-size: 30px;
    color: #2768f3;
}

.menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    /* Optionnel, mais plus moderne que margin-left */
}

.menu li {
    margin-left: 15px;
    padding-top: 10px;
    position: relative;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.menu li a {
    color: #000;
    transition: 0.5s;
}











.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

h1 {
    color: #2c3e50;
}

.image-projet {
    width: 50%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}

.description {
    font-size: 1rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.auteur {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #555;
}

a.retour {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: #3498db;
}

a.retour:hover {
    text-decoration: underline;
}

.commentaire-form textarea {
    width: 100%;
    height: 100px;
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: inherit;
}

.commentaire-form button {
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #2563eb;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.commentaire {
    border-top: 1px solid #eee;
    padding: 10px 0;
}

.commentaire strong {
    color: #333;
}

.btn-supprimer {
    color: red;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}




.carousel {
    position: relative;
    max-width: 600px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-slide {
    display: none;
    text-align: center;
}

.carousel-slide img {
    width: 100%;
    border-radius: 10px;
}

.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 5px 10px;
    z-index: 10;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}



.competences {
    margin-top: 20px;
}

.competences ul {
    padding-left: 20px;
    list-style-type: disc;
    color: #444;
}