/* Style général */
.carousel {
    position: relative;
    max-width: 450px;
    max-height: 450px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 1);
}

.carousel-inner {
    display: flex;
    width: 100%;
    transition: transform 0.3s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-item img {
    width: 100%;
    border-radius: 10px;
    height: 300px;
    object-fit: cover;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    user-select: none;

}

.carousel-prev:hover, 
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 10px;
    z-index: 1000;
}

.carousel-next {
    right: 10px;
    z-index: 1000;
}


/* Section principale */
#section_a_propos {
    width: 90%;
    background: #ffffff3f;
    position: relative;
    padding: 40px 60px;
    margin: 20px auto;
    top: 110px;
    padding-bottom: 100px;
    font-weight: 700;
    font-size: larger;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: rgba(255, 255, 255, 0.205);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.9px);
    -webkit-backdrop-filter: blur(4.9px);
    z-index: 100;
}

.mini_logo{
    width:20px; 
    height:20px;
}
/* Ajustements pour les écrans moyens (tablettes) */
@media (max-width: 768px) {
    #section_a_propos {
        padding: 20px 30px;
        font-size: medium;
        top: 50px;
    }

    .carousel {
        max-width: 350px;
        max-height: 350px;
    }

    .carousel-item img {
        height: 250px;
    }

    .carousel-prev,
    .carousel-next {
        padding: 8px;
        font-size: 14px;
    }
}

/* Ajustements pour les petits écrans (mobiles) */
@media (max-width: 480px) {
    #section_a_propos {
        padding: 15px 20px;
        font-size: small;
    }

    .carousel {
        max-width: 300px;
        max-height: 300px;
    }

    .carousel-item img {
        height: 200px;
    }

    .carousel-prev,
    .carousel-next {
        padding: 6px;
        font-size: 12px;
    }
}

/* Boutons pour le carousel */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 4000;
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    z-index: 4000;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.1s;
    z-index: 5000;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
main {
    display: grid;        
    place-items: center;  
    height: 100vh;         
}

#experiences {
    padding: 20px;
}

.experience {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .experience {
        font-size: 14px;
    }
}

#timeline {
    padding: 20px;
    background: rgba(151, 144, 144, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
}

.timeline-container {
    position: relative;
    padding-left: 40px;
    border-left: 3px solid #0078d7;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -10px; 
    top: 10px;
    width: 15px;
    height: 15px;
    background: #0078d7;
    border-radius: 50%;
    border: 3px solid white;
}


.timeline-item {
    margin-bottom: 20px;
    position: relative;
}

.timeline-date {
    font-weight: bold;
    color: #0078d7;
    margin-bottom: 10px;
    top: 10px;
    left: 20px;
    position: relative;
}

.timeline-content {
    background: rgba(169, 152, 152, 0.8);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 10px;
    width: 15px;
    height: 15px;
    background: #0078d7;
    border-radius: 50%;
    border: 3px solid white;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #333;
}

.timeline-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

