@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400&display=swap');

/* Body Styling */
body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    background-color: rgba(32, 32, 35, 255); /* Dark mode background */
    font-weight: 500;
    font-size: 22px;
    color: #ffffff;
}

body.light-mode {
    background-color: rgba(240, 231, 219, 255); /* Light mode background color */
    color: #000000; /* Light mode text color */
}

/* For projects section titles (e.g. Love Bombers---Groupe Punk Montréalais)*/
div h4 {
    text-align:center;
    margin-bottom: 2em;
}

/* background-color of the alert message box */
.swal2-popup {
  background-color: rgba(240, 231, 219, 255); /* Light mode background color */ 
}

/* Navbar Styling */
.navbar {
    display:flex;
    font-size: 24px;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100; /* Brings nav bar fowards from other elements */ 
    background-color: rgba(32, 32, 35, 1); /* Default background for dark mode */
    color: #ffffff; /* Dark mode text color */
    width: 100%;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease; /* Smooth transition */
}

.navbar-custom-container {
    max-width: 1000px; /* Set the max width of the navbar content */
    margin: 0 auto; /* Center the container */
    display: flex;
    align-items: center;
    padding: 0 0px; /* Optional padding */
}

body.light-mode .navbar {
    background-color: rgba(244, 237, 228, 1); /* Light mode background color */
    color: #000000; /* Light mode text color */
}

.navbar.scrolled {
    background-color: rgba(32, 32, 35, 0.8); /* Dark mode with transparency */
    backdrop-filter: blur(6px); /* Apply blur effect */
}

body.light-mode .navbar.scrolled {
    background-color: rgba(244, 237, 228, 0.8); /* Light mode with transparency */
    backdrop-filter: blur(6px); /* Apply blur effect */
}



.navbar .nav-link {
    color: #ffffff; /* Dark mode link color */
    margin: 0 10px; /* Add left and right margin to space out items */
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 600;
}

body.light-mode .nav-link {
    color: #000000; /* Light mode link color */
}

.navbar .nav-link:hover {
    background-color: rgba(220, 171, 6, 255); /* Yellow background on hover for dark mode */
    color: #000000; /* Change text color to black for contrast */
    border-radius: 8px; /* Rounded corners on hover */
    transition: background-color 0.3s ease, color 0.3s ease;
}


    .grid {
      margin-top:15px;
      display: grid;
      grid-template-columns: repeat(3, 3fr); /* 2 colonnes par défaut */
      gap: 16px; /* Espacement entre les éléments */
    }

    .grid-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px;
      background-color: #2d3748; 
      border-radius: 8px; /* Coins arrondis */
/*background-color: rgb(94, 55, 50);*/
    }
    .grid-item .icon {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 8px;
      border-radius: .5rem;
    }


body.light-mode .grid-item {
background-color: rgba(244, 237, 228, 255);
}

    .html-svg {
        background-color: #dd4b2526;
    }

    .css-svg {
        background-color: #264de426;
    }

    .javascript-svg {
        background-color: #f0db4f26;
    }

    .bootstrap-svg {
        background-color: #6d10f426;
    }


    .sass-svg {
        background-color: #cf649a26;
    }

    .grid-item .icon img {
      width: 24px;
      height: 24px;
    }
    .grid-item span {
      font-size: 14px;
    }


    




body.light-mode .navbar .nav-link:hover {
    background-color: rgba(94, 55, 50, 255); /* Background on hover for light mode */
    color: #ffffff; /* Ensure text color remains white */
    border-radius: 8px; /* Rounded corners on hover */
    transition: background-color 0.3s ease, color 0.3s ease;
}


.video-container {
  border-radius: 8px; /* Rounded corners on hover */
  border: 2.5px solid rgba(104, 186, 175, 255);
  width: 100%;
  /* Prend toute la largeur disponible */
  height: 70vh;
  max-height:1100px;
  margin: 0 0.5rem 0 0;
  display: flex;
  justify-content: center;
  align-items: center; 
}

body.light-mode .video-container {
    border: 2.5px solid rgba(94, 55, 50, 255);
}
  .video-container video, .video-container img {
  border-radius: 8px; /* Rounded corners on hover */
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Assure que la vidéo ou l'image couvre tout le conteneur */
    display: block; }

/* Hamburger Menu Button */
.navbar-toggler {
    background-color: #343a40;
    color: #ffffff;
    border: none;
}

.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

body.light-mode .navbar-toggler {
    background-color: #e0e0e0; /* Light mode button background color */
    color: #000000; /* Light mode icon color */
}

body.light-mode .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    background-color: rgba(220, 171, 6, 255); /* Yellow for dark mode */
    color: inherit; /* Light text on the button */
    border: none;
}

#codeKafkaTitle:hover {
    cursor: pointer;
}

body.light-mode .dark-mode-toggle {
    background-color: rgba(94, 55, 50, 255); /* Brown for light mode */
    color: #ffffff; /* Light text on the button */
}

/* Animation for Setting and Rising of the Sun/Moon */
@keyframes set-sun {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100vh); /* Moves the icon off-screen */
    }
}

@keyframes rise-moon {
    0% {
        transform: translateY(100vh);
    }
    100% {
        transform: translateY(0);
    }
}

.animate-set-sun {
    animation: set-sun 1s forwards; /* 1s for the setting animation */
}

.animate-rise-moon {
    animation: rise-moon 1s forwards; /* 1s for the rising animation */
}

/* Main Content Container */
.container {
    max-width: 800px; /* Slightly narrower main content */
    margin: 0 auto;
}

/* Gray Box */
.gray-box {
    background-color: #333; /* Dark mode gray box background color */
    padding: 25px;
    margin-bottom: 50px;
    border-radius: 5px;
    max-width: 800px;
    text-align: center;
}

body.light-mode .gray-box {
    background-color: rgba(244, 237, 228, 255); /* Light mode gray box background color */
}

/* Section Titles with Partial Underline */
h2 {
    position: relative;
    display: inline-block;
    color: inherit;
}

bigTitles::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 5px;
    width: 75px;
    background-color: #333; /* Underline color in dark mode */
}

body.light-mode h2::after {
    background-color: #000000; /* Underline color in light mode */
}

/* Name and Description Styling */
.display-4 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.lead {
    font-size: 1.5rem;
    font-weight: 300;
    color: #cccccc;
}

body.light-mode .lead {
    color: rgba(94, 55, 50, 255); /* Brown color for light mode */
}


.main-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position:relative;
    margin-bottom: 100px;
    cursor: e-resize;
}

.left-block {
    flex: 1;
    text-align: left;
}

.right-block {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    border-radius: 5%;
    width: 175px;
    height: 175px;
    object-fit: cover;
    object-position: center 24%;
}

.profile-image-container {
    display: none; /* Initially hidden */
    top:-5%;
    left:75%;
}

.profile-image-container.show {
    display: flex;
    animation: fadeIn 1s ease-in-out;

}

/* Fade in animation for profile image */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 1; transform: scale(1); }
}

/* Beetle Image Tilt */
.tilted {
    transform: rotate(-30deg);
    transition: transform 0.3s ease;
}

.tilted:hover {
    transform: rotate(0deg);
}

/* Animation for the Beetle Moving */
#logo-img.move {
    position: absolute;
    animation: sinusoidal 4s ease-in-out forwards;
}

/* Sinusoidal Animation */
@keyframes sinusoidal {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(calc(var(--beetle-end-x) * 0.25), calc(var(--beetle-end-y) - 30px)); /* Move up */
    }
    50% {
        transform: translate(calc(var(--beetle-end-x) * 0.5), var(--beetle-end-y)); /* Move down */
    }
    75% {
        transform: translate(calc(var(--beetle-end-x) * 0.75), calc(var(--beetle-end-y) - 30px)); /* Move up */
    }
    100% {
        transform: translate(var(--beetle-end-x), var(--beetle-end-y));
    }
}

/* Profession Section */
.professionPar1, .professionPar2, .professionPar3 {
    text-indent: 30px;
    text-align: justify;
}

/* Bio Section */
ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
}

ul li strong {
    font-weight: bold;
    display: inline-block;
    width: 60px;
}

/* Footer */
footer {
    background-color: #1f1f1f;
    padding: 20px 0;
    margin-top: 100px;
}

body.light-mode footer {
    background-color: rgba(94, 55, 50, 255);
    color: #ffffff;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}



.navbar-nav {
    display: flex;
    align-items: center;
    white-space: nowrap; /* Prevent wrapping */
    overflow: hidden; /* Hide overflow if there's not enough space */
    
}

.navbar .navbar-nav .nav-item {
    flex-shrink: 0; /* Prevent items from shrinking */
    text-align:center;
}

/* Media Query for Navbar */
@media (max-width: 1100px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0px;
        padding-left:0px;
    }
}


@media (max-width: 992px) {
    .navbar-toggler {
        margin-left: 0;
        margin-right: 10px;
    }
    /*.navbar-nav {*/
    /*    font-size:18px;*/
    /*    flex-direction:column;*/
    /*}*/
    /*.navbar-expand-lg .navbar-toggler {*/
    /*    display:flex;*/
    /*}*/

.navbar-collapse {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    z-index: 1050;
    background-color: rgba(32, 32, 35, 1); /* Background matching the navbar */
    padding: 10px 20px;
    width: auto;
    min-width: 200px; /* Set a minimum width to make it look nice */
    display: none; /* Start hidden */

    backdrop-filter: blur(6px); /* Apply blur effect */
}
.navbar-collapse.show {
    display: block !important; /* Display when shown */

}

    body.light-mode .navbar-collapse {
        background-color: rgba(244, 237, 228, 255); /* Match the expanded menu with the page background in light mode */
    }

    .navbar-nav .nav-link {
        color: #ffffff; /* White text in dropdown for dark mode */
    }

    body.light-mode .navbar-nav .nav-link {
        color: #000000; /* Black text in dropdown for light mode */
    }

    .dark-mode-toggle {
    width:100%;
    height:100%;
    }
}


@media (max-width: 576px) {
    .navbar .navbar-brand,
    .navbar .navbar-nav {
        font-size: 14px; /* Reduce font size for very small screens */
    }
}

/* Levitating GNU Image */
.levitating-gnu {
    text-align: center;
    margin-bottom: 20px;
}

.levitate {
    width: 200px; /* Adjust the size of the image */
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px); /* Adjust how high the image floats */
    }
}

/* Button Styling for "Lire mon témoignage" */
.btn-lire-temoignage {
    background-color: rgba(129, 230, 217, 255); /* Button background color */
    color: rgba(32, 32, 35, 255); /* Dark mode text color */
    border: none;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease, color 0;
    text-align: center;


}

.btn-lire-temoignage:hover {
    background-color: rgba(104, 186, 175, 255); /* Slightly darker green for hover */
    color: #ffffff; /* Change text color to white on hover */
    text-decoration: none; /* Ensure underline is removed on hover */
}

body.light-mode .btn-lire-temoignage {
    background-color: rgba(0, 150, 136, 1);
    color: #ffffff; /* Light mode text color */
}

body.light-mode .btn-lire-temoignage:hover {
    background-color: rgba(80, 47, 43, 255); /* Slightly darker brown for hover */
    color: rgba(129, 230, 217, 255); /* Change text color to green on hover */
    text-decoration: none; /* Ensure underline is removed on hover */
}

/* Button Container */
.button-container {
    text-align: center;
    margin: 20px 0; /* Adds some space above and below the button */
}

/* "On the Web" Section */



    @media (max-width: 990px) {
        div.on-the-web {
            display:none;
        }
    }

.on-the-web ul {
    list-style-type: none;
    padding: 0;
    margin: 25px;
}

.on-the-web ul li {
    margin: 10px 10px;
    /*width: 100%;  Make each list item take the full width of the container */
    width:50px;
}

.on-the-web ul li a {
    display: block; /* Make the anchor tag a block element */
    padding: 10px 10px;
    color: rgba(129, 230, 217, 255); /* Text color */
    background-color: transparent; /* Default background color */
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s ease;
    border-radius: 5px;
    width: 100%; /* Make the button take the full width */
}

.socials a {
    color: rgba(129, 230, 217, 255) !important; /* Text color */
    padding:5px;
    border-radius:15%;
    font-size: 20px;
}

a.project-link {
    display: block; /* Make the anchor tag a block element */
    padding: 10px 10px;
    color: rgba(129, 230, 217, 255); /* Text color */
    background-color: transparent; /* Default background color */
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s ease;
    border-radius: 5px;
    width: 75%; /* Make the button take the full width */
    text-align:center;
    margin:10px auto;

}



.on-the-web {
        position: fixed;
        z-index: 100;
        left: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 8rem;
        text-align: center; /* Center the text in the container */

}

body.light-mode .on-the-web ul li a, body.light-mode .socials a{
    color: rgba(94, 55, 50, 255) !important;


}

body.light-mode a.project-link {
    color: rgba(0, 150, 136, 1);

}


.link-bar {
    width: 4px;
    border-radius: 1rem;
    height: 15rem;
    background-color: rgba(204, 255, 245, 1);
    margin-top:-55px;
}

body.light-mode .link-bar {
    background-color: rgba(94, 55, 50, 255);
}

.swal2-image {
    margin-top:75px;
}



.on-the-web ul li a:hover, .socials a:hover {
    background-color: rgba(204, 255, 245, 1); /* Pale green background on hover */
    color: #000000 !important; /* for high contrast */

}




div.container a.project-link:hover {
    background-color: rgba(204, 255, 245, 1); /* Pale green background on hover */

    color: #000000; /* for high contrast */

}

body.light-mode .on-the-web ul li a:hover, body.light-mode .socials a:hover {
  background-color: rgba(94, 55, 50, 255) !important;
    color: #ffffff !important; /* White text color for high contrast */
}

body.light-mode a.project-link:hover {
    background-color: rgba(0, 150, 136, 1); /* Darker green for light mode */
  background-color: rgba(94, 55, 50, 255);
    color: #ffffff; /* White text color for high contrast */
}

/* Link Styles in Paragraphs */
p a {
    color: rgba(240, 94, 184, 255); /* Pink color for dark mode */
    text-decoration: none;
    transition: color 0.3s ease, text-decoration-color 0.3s ease; /* Smooth transition */
}

body.light-mode p a {
    color: rgba(94, 55, 50, 255); /* Brown color for light mode */
    text-decoration: none; /* Underline with the same color */
}

p a:hover {
    color: rgba(240, 94, 184, 255);
    text-decoration: underline rgba(240, 94, 184, 255); /* Underline with the same color */
}


body.light-mode p a:hover {
    text-decoration-color: rgba(94, 55, 50, 255); /* Brown underline color on hover */
    text-decoration: underline rgba(94, 55, 50, 255); /* Brown underline color on hover */
}

li a.WorkExperience {
    color: rgba(240, 94, 184, 255); /* Default color for dark mode */
    text-decoration: none; /* No underline */
}

body.light-mode li a.WorkExperience {
    color: rgba(94, 55, 50, 255); /* Default color for light mode */
}

/* Slideshow Container */
.slideshow-container {
    max-width: 700px; /* Smaller width */
    position: relative;
    margin: auto;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center; /* Centrage vertical des contenus */
    justify-content: center; /* Centrage horizontal */
}

/* Individual Slide */
.slides {
    display: none;
    width: 100%;
}

/* Style for Each Image */
.slide-image {
    width:100%;
    height:auto;
    border-radius: 12px; /* Rounded corners */
    object-fit: cover;
    display:block;
}

/* Navigation Buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */

}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
}



.prev:hover, .next:hover {
    /*background-color: rgba(0, 0, 0, 0.8);*/
    background-color:rgb(220, 171, 6); 
    color: white;
}

body.light-mode .prev:hover, body.light-mode .next:hover {
    background-color: rgb(94, 55, 50) ;
    color: white;
}

/* Dot Indicators */
.dots-container {
    text-align: center;
    position: relative;
    top: 90%;
    margin-top:20px;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

 .actives, .dot:hover {
    /*background-color: #717171;*/
    background-color:rgb(220, 171, 6); 
}

body.light-mode .actives, body.light-mode .dot:hover {
    background-color: rgb(94, 55, 50) ;
}

/* Smooth Scrolling Effect */
.slides {
    animation: slide-animation 1s ease-in-out forwards;
}

@keyframes slide-animation {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

html {
    scroll-behavior: smooth;
}

/* Technologies Section */
.tech-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between icons */
    margin-top: 30px;
}

.tech-icon {
    width: 80px; /* Adjust the size as needed */
    height: 80px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-icon:hover {
    transform: scale(1.1); /* Slightly enlarge the icon on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow on hover */
}

/* Section Title Styling */
h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: inherit; /* Inherits the color based on light or dark mode */
}

/* Tux 3D Container */
#tux-container {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 1/1;
    margin: auto;
    background-color: transparent;
    position: relative;
    overflow: visible;
}

#computer-container {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 1/1;
    margin: auto;
    background-color: transparent;
    position: relative;
    overflow: visible;

}

#Typewriter-container {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 1/1;
    margin: -10.5rem auto 2rem auto ;
    background-color: transparent;
    position: relative;
    overflow: visible;
}

/* Cockroach Container */


#simple-cockroach-container {
    cursor: pointer;
    width: 105px;
    height: 50px;
    background-color: transparent; /* Just to make sure the container is visible */
    padding-top:20px;
    display: flex; 
    align-items: center;
    justify-content: center;
}


nav h3 {
    margin-right: 10px; 
    margin-top: 10px;
    display: flex; 
    align-items:center; 
    letter-spacing:-0.06em;
}











.descriptionBox {
    display: none;
    place-items: center;
    position: relative; /* Ensure it is positioned relative to its nearest positioned ancestor */
    height: 300px;
    width: 100%;
    background: #333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
    z-index: 10; /* Ensure it appears above other elements */
    padding-left: 15px;
    padding-right: 15px;
}

.descriptionBox::before,
.descriptionBox::after {
    content: "";
    position: absolute;
}

.descriptionBox::before {
    width: 10%;
    height: 400%;
    background: #fff;
    background-color: rgba(240, 94, 184, 255);
    opacity: 10%;
    transform: rotate(45deg);
    transition: 0.3s;
    animation: animate 3s linear infinite;
}

body.light-mode .descriptionBox::before {
    background-color: white;
}

.descriptionBox::after {
    inset: 5px;
    background: #333;
}

@keyframes animate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#app {
    z-index: 100;
    width:100%;
    color:white;
    position: relative;
    font-size: 30px;
}


#Kafka3D {
    width: 100%;
    position: relative;
}

.tech-section {
    display: flex;
    align-items: center; /* Vertically center align the items */
    justify-content: center; /* Horizontally center align the items */
    gap: 20px; /* Space between the two elements */
    }
    



.descriptionBox2 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    width: 100%;
    background: #333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    transform: translate(-80px, -80px);
    border: 2px solid rgba(255, 72, 10, 255);
}




.descriptionBox2::before {
    content: "";
    position: absolute;
    width: 25px; /* Width of the spinning bar */
    height: 250%; /* Height of the spinning bar */
    background: #fff;
    opacity: 10%;
    transition: 0.3s;
    animation: animate2 3s linear infinite;
    z-index: 1;
}

body.light-mode .descriptionBox2, body.light-mode .descriptionBox2::after {
    background-color: rgba(94, 55, 50, 255);
}


body.light-mode .descriptionBox, body.light-mode .descriptionBox::after {
    background-color: rgba(94, 55, 50, 255);
}

.descriptionBox2::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: #333;
    z-index: 2; /* Above the spinning bar */
}


@keyframes animate2 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#app2 {
    width:100%;
    height: 70%;
    color:white;
    position: relative;
    font-size: 20px;
    text-align: left;
    z-index: 1000;
    visibility: visible;
}

    

.technologie-text { 
    margin-bottom: 50px;
}



#language-toggle {
    background-color: rgba(94, 55, 50, 255); /* Brown color */
    color: white;
    border: none;
}


#language-toggle.en {
    background-color: rgba(220, 171, 6, 255); /* Couleur jaune */
    color: white;
}

#language-toggle:hover {
    cursor: pointer;
    opacity: 0.8;
}

/* Common Button Styling */
.button-common {
    width: 45px; /* Set a fixed width */
    height: 45px; /* Set a fixed height */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px; /* Ensure consistent rounding */
    padding: 0; /* Remove any internal padding */
    margin: 0 5px; /* Add some margin for spacing */
    font-size: 16px; /* Ensure consistent font size */
    transition: background-color 0.3s ease, transform 0.5s ease;
}



/* Example usage for each font */
#codeKafkaTitle {
    /*font-family: 'Dancing Script', cursive;*/
    /*font-family: 'Satisfy', cursive;*/
    /*font-family: 'Allura', cursive;*/
    /*font-family: 'Sacramento', cursive;*/
    font-family: 'Lobster', cursive;
    /*font-family: 'Great Vibes', cursive;*/
    /*font-family:'Alex Brush', cursive;*/
    /*font-family: 'Pacifico', cursive;*/
}


    @media (max-width:600px) {
        a.project-link, .prev, .next  {
                font-size:12px;
        }
        
        body, #app2, .descriptionBox #app {
            font-size:16px;
        }

        .navbar {
            font-size:18px;
        }

        .btn-lire-temoignage { 
            font-size:0.75rem;    
        }

        #tux-container {
        margin:-40px auto -40px auto
        }
    }


    @media (max-width:900px) {
        .tech-section {
            flex-direction:column;
            gap:5px;
        }
        
        .descriptionBox2 {
            transform: none;
        }

        .main-container {
            flex-direction:column;
        }
        
    }

    @media (max-width:440px) {

    .grid   {
      grid-template-columns: repeat(2, 3fr); /* 2 colonnes par défaut */

        }
    }
