/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
body {
            margin: 0;
            padding: 0;
            overflow: auto;
}

.custom-slider { display: none; }
.slide-container {
    max-width: 800px;
    max-height: 600px;
    position: relative;
    margin: auto;
}


.slide-container-diapo {
       position: relative;
       width: 100%;
       height: 100vh;
       overflow: hidden;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 30px;
    background-color: rgba(0,0,0,0);
    transition: background-color 0.6s ease;
}
.prev{ left: 15px; }
.next { right: 15px; }
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.5);
}
.slide-text {
    position: absolute;
    color: #ffffff;
    font-size: 15px;
    padding: 15px;
    bottom: 40px;
    width: 100%;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* ombre portée pou
}

      
    





.slide-index {
 /*   color: #ffffff; */
    color: #000000;
    font-size: 13px;
    padding: 15px;
    position: absolute;
    top: 0;
    text-align: center;
}
.slide-img{
    width: 100%;
 /*   height: 300px; */
    height: 400px; 
/*    object-fit: cover;*/
    object-fit: contain;
    object-position: center;
}
.slide-image {
    width: 100%;
    height: 100vh;
    object-fit: contain;
    position: center;
    top: 0;
    left: 0;
}
.overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Couleur de fond avec une opacité de 0.5 */
        color: white;
        text-align: center;
        padding: 20px;
}




.slide-dot{ text-align: center; }
.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #999999;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active, .dot:hover { background-color: #111111; }
.fade {
    animation-name: fade;
    animation-duration: 1s;
}
@keyframes fade {
    from {opacity: 0}
    to {opacity: 1}
}


.portrait{
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    align-items: start;

    width: 95%;
    margin: 40px auto;
    padding: 30px;

    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}



.portrait h2{
    margin: 20px 0;
    width: 90%;
}

.children-list {
    display: flex;
    flex-direction: column;
}

.photo{
    grid-column: 1;
    text-align: center;
}

.contact{
    grid-column: 2;
}



.interet{
    width: 100%;
    margin-bottom: 20px;
}





.photo img{
    width: 150px;
    height: 150px;
    border: 3px solid #fff;
    box-shadow: 0px 0px 10px #777;
    border-radius: 50%;
    margin-top: -80px;
}
.prez{
    border-bottom: 2px dashed #ccc;
}
.prez a{
    display: block;
    text-align: center;
    padding: 10px;
    margin: 10px auto 30px auto;
    color: #fff;
    background-color: #EA0;
    box-shadow: 0px 0px 10px #ccc;
    border-radius: 5px;
}

.contact-flex {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 8px 15px;
    align-items: start;
    margin-bottom: 8px;
}

.contact-flex .label {
    font-weight: 600;
}

.contact-flex p {
    margin: 0;
}

.contact h2 {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 6px;
}



.label {
    font-weight: 600;
}

.contact-flex .value {
    display: flex;

    gap: 4px;
    flex-wrap: wrap;  /* IMPORTANT */
}

.icons {
    display: flex;
    gap: 10px;
}

.icons img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}






.social{
    display: flex;
    justify-content: space-around;
    margin: 10px auto 0px auto;
}
.social img{
    width: 40px;
    height: 40px;
}

/*SECTION EXP ET FORMATION*/
.exp{
    display: flex;
    flex-flow: row wrap;
    border-bottom: 1px solid #bbb;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.exp-info{
    display: flex;
    flex-flow: column wrap;
}
.exp-logo{
    flex: 0 0 25%;
    max-width: 100px;
}
.exp-info{
    flex: 0 0 70%;
    margin-left: auto;
}
.exp img{
    width: 100%;
}
.exp h3{
    font-size:  1.2em;
}
.exp h4{
    font-size:  1em;
    font-weight: normal;
}

/*SECTION COMPETENCES*/
.h3gauche{
    width: 90%;
}
.comp{
    display:flex;
    flex-flow: row wrap;
    margin-bottom: 10px;
}
.comp p{
    flex: 0 0 40%;
}
.conteneur-barre{
    flex: 0 0 60%;
    border-radius: 5px;
    background-color: grey;
    border-bottom: 1px ridge grey;
}
.barre{
    display: block;
    height: 100%;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.c85{
    width: 85%;
    background-color: #8B8;
}
.c90{
    width: 90%;
    background-color: #4B8;
}
.c95{
    width: 95%;
    background-color: #4B8;
}
.c100{
    width: 100%;
    background-color: #4B8;
    border-radius: 5px;
}
.comp2{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.conteneur-barre2{
    flex: 0 0 100%;
    height: 0.5em;
    margin-bottom: 0.25em;
    border-radius: 5px;
    background-color: grey;
}

/*SECTION INTERETS*/

.interets-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column: 2;
    gap: 18px 30px;
    margin-top: 25px;
    
    width: 100%;
    max-width: 600px;
    margin: 25px auto 0 auto;

    justify-items: center; 
}

.interet {
    display: flex;
    align-items: center;
    gap: 12px;
}


.interet-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.interet-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.interet-text {
    display: flex;
    flex-direction: column;
}

.interet-text strong {
    font-size: 0.9rem;
    color: #444;
}

.interet-text span {
    font-size: 0.95rem;
}




.interet img:hover{
    transform: scale(1.08);
}


.interet img{
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.interet-text {
    display: flex;
    flex-direction: column;
}

.interet-text strong {
    font-size: 0.9rem;
    color: #444;
}

.interet-text div,
.interet-text span {
    font-size: 0.95rem;
}


/*VERSION BUREAU DU CV*/
@media screen and (min-width: 980px){
    article{
        width: 80%;
        box-shadow: 0px 0px 10px #bbb;
    }
    a:hover{
        color: #EA0;
    }
    header h1{
        width: 80%;
    }
    .prez, .contact{
        flex: 0 0 45%;
    }
    .prez{
        border-bottom: none;
        border-right: 2px solid #ccc;
        padding-right: 20px;
        margin-left: auto;
    }

    .prez a{
        border: 2px solid transparent;
    }
    .prez a:hover{
        color: #f28835;
        background-color: #fff;
        border: 2px solid #f28835;
        box-shadow: 0px 0px 20px #666;
    }
    .exp-logo{
        flex: 0 0 25%;
    }
    .exp-info, .exp-desc{
        flex: 0 0 95%;
        margin-left: auto;
    }
    
}

.contact figure.interet{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}


.icons img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.icons img:hover {
    transform: scale(1.1);
}





@media screen and (max-width: 1100px){
    .portrait{
        grid-template-columns: 1fr;
    }

    .photo,
    .contact,
    .interets-wrapper{
        grid-column: auto;
    }

 
}

@media (max-width: 600px) {

    .contact-flex {
        grid-template-columns: 1fr;
    }



    
}
