*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

body {
    background-color: #000;
    color : #fff;
    font-family: 'Open Sans', sans-serif;
}

a {
    color: #ccc;
    text-decoration: underline;
}

.top-bar {
    background-color: #fff; /* Fond du bandeau blanc */
    height: 120px; /* Hauteur du bandeau */
    display: flex;
    align-items: center;
    padding: 0 20px; /* Espace intérieur du bandeau */
    justify-content: flex-start;
}
.titre {
    flex: 0 0 45%
}

.nom {
    flex: 0 0 50%;
    font-size: 10px;
    color: #000;
    font-size: 18px;
    line-height: 12px;
}

.prenom {
    font-weight: bold;
}

.titreDA {
    font-size: 10px;
    color: #A97F2D;
}

h1 {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    letter-spacing: 5px;
}


.logo img {
    height: 50%;
}

nav {
    text-align: center;
    margin-top: 10px;
}

.menu {
    list-style: none;
}

.menu li {
    display: inline-block;
    margin: 0 20px; /* Espace entre les éléments du menu */
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    position: relative; /* Position relative pour le soulignement */
    transition: 0.3s; /* Transition de 0.3 seconde pour l'animation */
}

.menu a:hover {
    color: #A97F2D; /* Changement de couleur au survol */
    /* Ajout d'un soulignement orange au survol */
    &:after {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        background-color:#A97F2D;
        bottom: 0;
        left: 0;
    }
}

.menu a.active {
    color: #A97F2D;
}

.content {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    flex-direction: column;
    align-items: center;
}

.orange {
    color: #A97F2D
}

.titrepageContact {
    width: 100%;
    margin-left: 98%;
    margin-bottom: 30px;
}

.titrepage {
    width: 100%;
    text-align: center;
}

.info {
    padding-top: 50px;
    width: 100%;
    margin-left: 98%;
    line-height: 25px;
}

.caroussel {
    height: 600px;
    display: flex;
    align-items: center;
}

.carousel ul, .carousel ol {
    list-style: none;
}

.carousel li {
    display: none;
}

.carousel li:first-child {
    display: block;
}

.carousel li img {
    max-width: 650px;
    max-height: 590px;
}

.boutons {
    display: flex;
}

#prevButton, #nextButton {
    display: block;
    width: 30px;
    height: 50px;
    border: none;
    background-repeat: no-repeat;
    background-position:center center;
    background-color: transparent;
    cursor: pointer;
}

#prevButton {
    background-image: url('img/flecheP.png');
    margin-right: 20px;
}

#nextButton {
    margin-left: 20px;
    background-image: url('img/flecheS.png');
}

.cv_lm {
    margin-top: 50px;
}

.img_cv {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

#downloadCV {
    cursor: pointer;
}

@media screen and (max-height: 845px) {
    .caroussel {
        height: 500px;
    }

    .carousel li img {
        max-height: 490px;
    }
}

@media screen and (max-width: 420px) {
    .top-bar {
        flex-direction: column;
    }
}