/* Global Styles */
body {
    font-family: 'Roboto Mono', monospace;
    line-height: 1.6;
    background-color: #282a36;
    color: #f8f8f2;
    margin: 0;
    padding-top: 60px;
    cursor: url('https://cur.cursors-4u.net/cursors/cur-11/cur1027.cur'), auto;
}




h2 {
    color: #8be9fd  ;
    margin-bottom: 20px;
    font-family: 'Roboto Mono', monospace;
    font-size: 1.25rem;
    text-transform: none;
    background-color: #44475a;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    position: relative;
    margin-left: 0;
}
h2::before {
    content: 'def ';
    color: #ffb86c;
}
h2::after {
    content: ':';
    color: #ffb86c;
}

section {
    margin-bottom: 30px;
    font-family: 'Roboto Mono', monospace;
}

section > article {
    padding-left: 40px;
}

section p {
    margin-bottom: 10px;
}


/* Compétences Techniques Styles */
#competences-techniques h4, #projets-realisations h4, #parcours h4 {
    color: #50fa7b;
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: bold;

}

#competences-techniques ul, #projets-realisations ul {
    margin-top: 10px;
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: square;
}

#competences-techniques ul li, #projets-realisations ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Sidebar Styles */
aside.col-md-4 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    background-color: #0d1117;
    padding: 8px;
    border: 1px solid #30363d;
}


#competences-techniques .col-md-4 p {
    margin: 0;
    font-size: 0.95rem;
    color: #c9d1d9;
}

/* Zoom Effect on CV Class */
.cv:hover {
    transform: scale(2);
    transition: transform 0.3s ease-in-out;
}

/* Navbar */
.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto Mono', monospace;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #44475a;
}
.navbar + * {
    margin-top: 56px;
}
.navbar-brand {
    color: #ff79c6 !important;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
}
.navbar-brand::before {
    content: 'class ';
    color: #ffb86c;
}
.navbar-brand::after {
    content: ':';
    color: #ffb86c;
}
.nav-link {
    color: #f8f8f2 !important;
    font-weight: 500;
    margin-right: 10px;
    position: relative;
}
.nav-link::before {
    content: '#\00a0 ';
    color: #6c757d;
}
.nav-link:hover {
    color: #8be9fd !important;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #161b22;
    color: #c9d1d9;
    padding: 10px 0;
    text-align: center;
    font-family: 'Roboto Mono', monospace;
}
footer p {
    margin: 0;
}

/* Button Styles (optional for links or actions) */
button, .btn {
    background-color: #50fa7b;
    color: #282a36;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Roboto Mono', monospace;
}
button:hover, .btn:hover {
    background-color: #8be9fd;
    color: #282a36;
}

/* Media Queries */
@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
    }
    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }
    .nav-link {
        margin-bottom: 10px;
    }
}

.project-block {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start;
    border-radius: 8px;
    padding: 20px;
}



.project-text {
    flex: 1 1 60%;
}

.project-image {
    flex: 1 1 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #30363d;
    background-color: #0d1117;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}



@media (max-width: 768px) {
    .project-block {
        flex-direction: column;
    }

    .project-text, .project-image {
        flex: 1 1 100%;
    }
}

ul {
    list-style-type: square;
}
ul li::marker {
    color: #ff79c6;
}

h4::before {
    content: '→ ';
    color: #f1fa8c;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: none;
}
img[src*="safe.svg"] {
    width: 300px;
    max-width: 100%;
    height: auto;
}

img[src*="esaip.webp"] {
    width: 750px;
    max-width: 100%;
    height: auto;
}

img[src*="mfb_factory.jpg"] {
    width: 1000px;
    max-width: 100%;
    height: auto;
}

img[src*="budapest.jpg"] {
    width: 500px;
    max-width: 100%;
    height: auto;
}

.project-image img:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease;
    filter: brightness(1.05);
}

/* Dans styles.css */
.easter-mode {
    filter: hue-rotate(180deg);
    background: repeating-linear-gradient(45deg, #ff79c6, #bd93f9 10px, #50fa7b 20px);
}

.monkey-mode {
    font-family: 'Comic Sans MS', cursive !important;
    animation: spin 1s infinite linear;
    background: linear-gradient(45deg, magenta, yellow);
    color: black;
}
@keyframes spin {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}


    [data-easter] {
        transition: transform 0.4s ease;
    }

    [data-easter]:hover {
        transform: scale(1.05) rotate(1deg);
    }


#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: #50fa7b;
    width: 0%;
    z-index: 1001;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

a:hover, button:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease-in-out;
}

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;

}
