body {
    margin:0px 2rem 0px 2rem;
    font-family: 'Arial', sans-serif;
    background-color: #0d0d0d;
    color: white;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 2rem;
    background-color: #1a1a1a;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-content{
    display: flex;
    padding: 2rem 5rem;
    gap: 5rem;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.cta {
    margin-top: 1rem;
    padding: 1rem 2rem;
    background-color: #1ec11e;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 0 10px #1ec11e80;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cta:hover {
    background-color: #0e5a0e;
    box-shadow: none;
}

.hero-image{
    display: flex;
    align-items: center;
}

.hero-image img {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    object-fit: cover;
}

.stack {
    text-align: left;
}

section{
    padding: 2rem;
}

.logos {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.logos img {
    height: 40px;
    filter: grayscale(1) brightness(0.7);
    background-color: #1a1a1a;
    padding: 0.5rem;
    border-radius: 10px;
}
.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-btn {
    color: white;
    background-color: #1a1a1a;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background 0.3s;
}

.social-btn:hover {
    background-color: #333;
}
.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #1ec11e; /* Vert ou autre */
}

.stack-selector {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    cursor: pointer;
}

.stack-selector li {
    padding: 0.5rem 1rem;
    background: #1a1a1a;
    border-radius: 5px;
    color: white;
    transition: background 0.3s;
}

.stack-selector li:hover{
    background: #0e5a0e;
    color: white;
}
.stack-selector li.active {
    background: #1ec11e;
    color: white;
}
.carousel {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    scroll-behavior: smooth;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

/*.carousel::-webkit-scrollbar {*/
/*    display: none;*/
/*}*/
/*.carousel {*/
/*    scrollbar-width: none; !* Firefox *!*/
/*}
j'aime l'idée mais je veux que si il y a du hidden le carousel bouge de gauche à droite sans s'arrêter
*/

.tech-card {
    min-width: 120px;
    max-width: 150px;
    background: #222;
    color: white;
    border-radius: 8px;
    text-align: center;
    padding: 0.5rem 0.5rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tech-card img {
    width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

/*timeline*/
 .timeline {
     position: relative;
     margin-left: 20px;
     border-left: 3px solid #1ec11e;
     padding-left: 20px;
 }

.timeline-item {
    margin-bottom: 20px;
    position: relative;
}

.timeline-date {
    font-weight: bold;
    color: #1ec11e;
    margin-bottom: 5px;
}

.timeline-content {
    background: #1e1e1e;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/*travaux*/
#travaux_carousel.carousel {
    display: flex;
    overflow: hidden;
    width: 100%;
    scroll-behavior: smooth;
    position: relative;
}

.travail-card {
    height: 100%;
    max-height: 450px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    background-color: #1e1e1e;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.travail-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #333;
}


.travail-info {
    padding: 1rem;
    text-align: center;
}


.travail-info h3 {
    margin: 0 0 0.5rem;
    color: #1ec11e;
}

.travail-info p {
    font-size: 0.9rem;
    color: #ccc;
}
/*certifications*/
#certifications_list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

.certif-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    width: 250px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    text-align: center;
}

.certif-card:hover {
    transform: scale(1.03);
}

.certif-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-bottom: 1px solid #333;
}

.certif-info {
    padding: 1rem;
}

.certif-info h3 {
    margin: 0.5rem 0 0;
    color: #1ec11e;
    font-size: 1rem;
}

.certif-date {
    display: block;
    font-size: 0.85rem;
    color: #bbb;
}
/*footer */
.footer {
    background-color: #1a1a1a;
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #bbb;
    margin-top: 3rem;
}

.footer a {
    color: #1ec11e;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.footer a:hover {
    color: #0e5a0e;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
