@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wdth,wght@50..200,200..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* Général */

html{
    font-family: 'Pacifico';
	cursor: none;
}

body {
    margin: 0;
    text-align: center;
    color: #000;
    background-color: #e5f8f4;
    cursor: none;
    padding: 0;
    overflow-x: hidden; /* Empêche le défilement horizontal */
    height: 100vh;
    width: 100vw;
}

div.profile-badge__content{
	cursor: none
}

/* Désactiver le défilement vertical sur les écrans larges (PC) */
@media screen and (min-width: 1023px) {
    body {
        overflow-y: hidden;
    }
}

/* Autoriser le défilement vertical sur les appareils mobiles */
@media screen and (max-width: 1024px) {
    body {
        overflow-y: auto;
    }
}

.cursor {
    position: fixed;
    font-size: 24px;
    color: #00ffff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    pointer-events: none;
    z-index: 10000;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay .message {
    background-color: #fff;
    color: #333;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    font-family: Arial, sans-serif;
    width: 350px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#user-answer {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
    border: 1px solid #1E90FF;
    border-radius: 4px;
    font-size: 1rem;
}

#submit-answer, #retry-button {
    margin-top: 20px;
    padding: 12px 20px;
    background-color: #1E90FF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: none;
}

#submit-answer:hover, #retry-button:hover {
    background-color: #1C86EE;
}

button:focus {
    outline: none;
}

.overlay {
    cursor: none;
}

.logo p {
    margin: 0;
    font-size: 20px;
    text-align: left;
	font-family: "Playfair Display";
}

.logo span {
    font-weight: lighter;
}

.contact-btn {
    border: 2px solid #000;
    background: none;
    padding: 9px 16px;
	margin-right: 15px;
    font-size: 16px;
    border-radius: 20px;
	font-family: "Playfair Display"; 
}

.contact-btn:hover {
    background-color: #000;
    color: #fff;
	cursor: none;
}

.parcours-btn {
    border: 2px solid #000;
    background: none;
    padding: 9px 24px;
	margin-right: 15px;
    font-size: 16px;
    border-radius: 20px;
	font-family: "Playfair Display"; 
}

.parcours-btn:hover {
    background-color: #000;
    color: #fff;
	cursor: none;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    width: 0;
    background-color: #1E90FF;
    transition: width 0.2s ease-out;
    z-index: 1000;
    display: none;
}

.accueil-btn {
    border: 2px solid #000;
    background: none;
    padding: 9px 30px;
    font-size: 16px;
    border-radius: 20px;
	font-family: "Playfair Display"; 
}

.accueil-btn:hover {
    background-color: #000;
    color: #fff;
	cursor: none;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    text-align: center;
    background-image: url('../files/img/header.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8); /* Couleur noire semi-transparente */
    z-index: 1; /* Assurez-vous que l'overlay soit derrière le contenu */
}

.hero > * {
    position: relative;
    z-index: 2; /* Le contenu (texte, etc.) doit rester au-dessus de l'overlay */
}
.hero:hover .cursor {
    display: none; /* Cache le curseur dans la section hero */
}

.hero h1 {
    font-size: 10vh;
    font-family: "Inconsolata", monospace;
    line-height: 1.5;
    color: white;
    text-shadow: 0 0 30px black;
    white-space: nowrap; /* Empêche le texte de se casser */
    overflow: hidden;
    display: inline-block;
}

.hero-text {
    max-width: 50%;
    text-align: left;
}

.herop {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    text-align: center;
    background-image: url('../files/img/parcours.jpeg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    position: relative;
}

.herop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8); /* Couleur noire semi-transparente */
    z-index: 1; /* Assurez-vous que l'overlay soit derrière le contenu */
}

.herop > * {
    position: relative;
    z-index: 2; /* Le contenu (texte, etc.) doit rester au-dessus de l'overlay */
}
.herop:hover .cursor {
    display: none; /* Cache le curseur dans la section hero */
}

.herop h1 {
    font-size: 10vh;
    font-family: "Inconsolata", monospace;
    line-height: 1.5;
    color: white;
    text-shadow: 0 0 30px black;
    white-space: nowrap; /* Empêche le texte de se casser */
    overflow: hidden;
    display: inline-block;
}

.herop-text {
    max-width: 50%;
    text-align: left;
}

/* Animation du curseur */
@keyframes blink {
    0% {
        border-right-color: transparent;
    }
    50% {
        border-right-color: white;
    }
    100% {
        border-right-color: transparent;
    }
}

/* Curseur blanc */
.cursor {
    position: absolute;
    right: 0;
    border-right: 4px solid white; /* Curseur blanc */
    animation: blink 0.75s step-end infinite; /* Animation de clignotement */
    display: inline-block;
}


/* About Section */
.about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5% 10%;
    height: 60vh;
}

.about-text {
    max-width: 50%;
    text-align: center;
}

.about h2 {
    font-size: 24px;
	font-family: "Work Sans";
    text-align: center;
    line-height: 1.5;
}

.about-image {
    max-width: 50%;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: auto;
    height: 400px;
    object-fit: cover;
    margin-top: 20px;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.about-image img:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Work Section */
.work_items {
    background-size: cover;
    min-height: 200px;
    min-width: 300px;
    border-radius: 40px;
    font-size: 40px;
    color: white;
    text-shadow: 0 0 30px black;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border: 3px solid white;
    transition: border 0.2s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.work_items:hover {
    border: 3px solid #FF7373;
}

.work_items img {
    margin-left: 20px;
}

#section_flexbox {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 20px;
}

#section_flexbox .work_items {
    background-size: cover;
    min-height: 200px;
    min-width: 300px;
    border-radius: 40px;
    font-size: 40px;
    color: white;
    text-shadow: 0 0 30px black;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid white;
    transition: border 0.2s, opacity 0.3s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

#section_flexbox .work_items .text-content {
    opacity: 0.5;
    transition: opacity 0.3s;
}

#section_flexbox .work_items:hover .text-content {
    opacity: 1;
}

.grid-item {
    background-size: cover;
    min-height: 200px;
    border-radius: 40px;
    color: white;
    text-shadow: 0 0 30px black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border: 3px solid white;
    transition: border 0.2s, opacity 0.3s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    opacity: 1;
    padding: 20px;
}

#NodeJS {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    background-image: url("../files/img/nodejs.PNG");
    display: block;
    text-align: center;
    min-height: 200px;
    min-width: 300px;
    opacity: 0.25;
    transition: opacity 0.3s;
}

#NodeJS:hover {
    opacity: 0.75;
}

#Web {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
    background-image: url("../files/img/web.PNG");
    display: block;
    text-align: center;
    min-height: 200px;
    min-width: 300px;
    opacity: 0.25;
    transition: opacity 0.3s;
}

#Web:hover {
    opacity: 0.75;
}

#Linux {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
    background-image: url("../files/img/linux.PNG");
    display: block;
    text-align: center;
    min-height: 200px;
    min-width: 300px;
    opacity: 0.25;
    transition: opacity 0.3s;
}

#Linux:hover {
    opacity: 0.75;
}

#NodeJS span, #NodeJS p {
    font-size: calc(8px + 1.5vw);
    line-height: 1.4;
    margin: 0;
}

/* Services Section */
.services {
    padding: 60px 20px;
    text-align: center;
}

.services h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 200px;
}

.service-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    text-align: center;
    width: 300px;
    height: 250px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 14px;
    line-height: 1.5;
}

.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service-item.elevated {
    margin-top: -150px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
}

.service-items {
    margin-top: 150px;
}

/* Footer Section */
.footer {
    background-color: #fff;
    padding: 10px 0px;
    color: #000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    gap: 20px;
}

.footer-left {
    align-self: flex-start;
}

.footer-left h2 {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
}

.footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 5px;
	padding: 0px;
	cursor: none;
}

.footer-links ul li a {
    text-decoration: none;
    color: #000;
	padding: 0;
    font-size: 14px;
}

.footer-links ul li a:hover {
    text-decoration: underline;
	cursor: none;
}

.footer-contact p {
    font-size: 14px;
    margin: 0;
    margin-bottom: 30px;
    font-weight: normal;
    text-decoration: none;
}

.footer-contact a {
    text-decoration: none;
    color: inherit;
	cursor: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
	cursor: none;
}

.footer-bottom p {
    margin: 0;
    color: #777;
}


.history-tl-container {
            font-family: "Roboto", sans-serif;
            width: 50%;
            margin: 0 auto;
            position: relative;
        }
        .history-tl-container ul.tl {
            margin: 20px 0;
            padding: 0;
            list-style: none;
            display: inline-block;
        }
        .history-tl-container ul.tl li {
            margin-left: 200px;
            min-height: 50px;
            border-left: 1px dashed #86D6FF;
            padding: 0 0 50px 30px;
            position: relative;
        }
        .history-tl-container ul.tl li:last-child {
            border-left: 0;
        }
        .history-tl-container ul.tl li::before {
            position: absolute;
            left: -18px;
            top: -5px;
            content: " ";
            border: 8px solid rgba(255, 255, 255, 0.74);
            border-radius: 500%;
            background: #258CC7;
            height: 20px;
            width: 20px;
            transition: all 5ms ease-in-out;
        }
        .history-tl-container ul.tl li:hover::before {
            border-color: #258CC7;
            transition: all 1000ms ease-in-out;
        }
        ul.tl li .item-title {
            font-weight: bold;
        }
        ul.tl li .item-detail {
            color: rgba(0, 0, 0, 0.5);
            font-size: 12px;
        }
        ul.tl li .timestamp {
            color: #8D8D8D;
            position: absolute;
            width: 100px;
            left: -50%;
            text-align: right;
            font-size: 12px;
        }


.cv {
    text-align: center;
    margin: 40px 0;
}

.cv a {
    text-decoration: none;
    display: inline-block;
}

.cv img {
    display: block;
    margin: 0 auto 20px;
    border: 2px solid #e0e0e0;
    padding: 3px;
    background-color: white;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    max-width: 100%;
    height: auto;
}

.cv img:hover {
    border-color: #007BFF;
	cursor: none;
}

.cv button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
    cursor: none;
    transition: all 0.3s ease;
    font-family: "Playfair Display";
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.cv button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.btn_send {
    background-color: #1E90FF; /* Bleu électrique */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: none;
    border-radius: 5px;
    transition: background-color 0.3s ease; /* Transition douce pour le survol */
  }

  .btn_send:hover {
    background-color: #005bb5; /* Bleu plus foncé au survol */
  }

label {
            font-family: 'Roboto', sans-serif;
            font-size: 16px;
            margin-bottom: 8px;
            display: block;
            color: #333;
        }

        input[type="text"], input[type="email"], input[type="project_name"], textarea {
            width: 100%;
            padding: 12px;
            margin: 10px 0;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
        }

        textarea {
            height: 150px;
            resize: vertical;
        }



        .success, .error {
            font-family: 'Roboto', sans-serif;
            font-weight: bold;
            text-align: center;
        }

        .success {
            color: green;
        }

        .error {
            color: red;
        }
		textarea, input, label {
   			 cursor: none;
		}
/* Media Queries pour différentes tailles d'écran */

/* Pour écrans jusqu'à 1350px */
@media all and (max-width: 1350px) {
    /* Navigation */
    .navbar {
        padding: 15px 20px;
    }

    .logo p {
        font-size: 18px;
    }

    /* Hero Section */
    .hero h1 {
        font-size: 8vh;
    }

    .hero-text {
        max-width: 70%;
    }

    /* About Section */
    .about {
        flex-direction: column;
        height: auto;
        padding: 5%;
    }

    .about-text, .about-image {
        max-width: 100%;
    }

    .about-image img {
        height: 300px;
    }

    /* Work Section */
    #section_flexbox {
        grid-template-columns: repeat(2, 1fr);
    }

    #NodeJS, #Web, #Linux {
        min-height: 180px;
        min-width: 250px;
    }

    /* Services Section */
    .services h2 {
        margin-bottom: 100px;
    }

    .service-items {
        flex-wrap: wrap;
        justify-content: center;
    }

    .service-item {
        width: 250px;
        height: 220px;
        margin: 10px;
    }
}

/* Pour écrans jusqu'à 800px */
@media all and (max-width: 800px) {
    .navbar {
        flex-direction: column;
        padding: 10px;
    }

    .logo, .contact-btn {
        margin-bottom: 10px;
    }

    .hero {
        height: 70vh;
    }

    .hero h1 {
        font-size: 6vh;
    }

    .hero-text {
        max-width: 90%;
    }

    #section_flexbox {
        grid-template-columns: 1fr;
		}

    #NodeJS, #Web, #Linux {
        grid-column: 1;
        grid-row: auto;
        min-height: 200px;
        min-width: 100%;
    }

    .services h2 {
        margin-bottom: 50px;
    }

     .service-items {
        display: flex;
        flex-direction: column; /* Dispose les éléments en colonne */
        align-items: center; /* Centre les cartes horizontalement */
        gap: 20px; /* Espacement général entre les cartes */
    }

    /* Espacement spécifique pour la première carte ("Développement web") */
    .service-item:first-child {
        margin-bottom: 175px; /* Ajoute un espace supplémentaire sous la première carte */
    }

    /* Dimensions fixes pour les cartes */
    .service-item {
        width: 390px;
        height: 260px;
    }
}

/* Pour écrans jusqu'à 570px */
@media all and (max-width: 570px) {
    .hero {
        height: 60vh;
    }

    .hero h1 {
        font-size: 4vh;
    }

    .logo p {
        font-size: 16px;
    }

    .about-image img {
        height: 200px;
    }

    .services h2 {
        font-size: 24px;
    }

    .service-item {
        padding: 15px;
    }

    .service-item img {
        width: 80px;
        height: 80px;
    }

    .service-item h3 {
        font-size: 16px;
    }

    .service-item p {
        font-size: 12px;
    }

    .footer-left h2 {
        font-size: 28px;
    }
}

/* Media Queries spécifiques aux appareils mobiles */

/* Smartphones en portrait (verticalité) */
@media screen and (max-width: 480px) and (orientation: portrait) {
    /* Navigation */
    .navbar {
        flex-direction: column;
        padding: 10px;
    }

    .logo p {
        font-size: 16px;
        text-align: center;
    }

    .contact-btn {
        width: 100%;
        margin-top: 10px;
    }

    /* Hero Section */
    .hero {
        height: 60vh;
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 5vh;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    /* About Section */
    .about {
        flex-direction: column;
        padding: 20px 10px;
    }

    .about-text, .about-image {
        max-width: 100%;
    }

    .about-image img {
        height: 250px;
        width: 250px;
        margin: 20px auto;
    }

    /* Work Section */
    #section_flexbox {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 10px;
    }

    #NodeJS, #Web, #Linux {
        min-height: 150px;
        min-width: 100%;
        grid-column: 1;
        grid-row: auto;
    }

    /* Services Section */
    .services {
        padding: 30px 10px;
    }

    .services h2 {
        font-size: 24px;
        margin-bottom: 50px;
    }

    .service-items {
        flex-direction: column;
        gap: 20px;
    }

    .service-item {
        width: 100%;
        max-width: 350px;
        height: auto;
        padding: 15px;
    }

    .service-item img {
        width: 70px;
        height: 70px;
    }

    .service-item h3 {
        font-size: 16px;
    }

    .service-item p {
        font-size: 13px;
    }

    /* Footer Section */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-left h2 {
        font-size: 24px;
    }

    .footer-right {
        text-align: center;
        align-items: center;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}


@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 12px; /* Largeur de la scrollbar */
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.6); /* Couleur de la poignée (semi-transparente noire) */
    border-radius: 10px; /* Arrondi de la poignée */
    border: 3px solid rgba(255, 255, 255, 0.7); /* Bord blanc semi-transparent */
}

::-webkit-scrollbar-track {
    background: rgba(211, 239, 231, 1); /* Couleur du fond de la piste (teinte pastel) */
    border-radius: 10px; /* Arrondi */
}

/* Effet au survol */
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.8); /* Couleur plus sombre au survol */
}
