@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'poppins', sans-serif;
    line-height: 1.6;
    color: #1d1d1d;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* CONTAINER */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

/* HEADER */
header {
    background-color: #e6fff9;
    border-bottom: 1px solid #ccc;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    width: 40px;
}

.nom {
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1.1rem;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav ul {
    display: flex;
    gap: 1.5rem;
}

.cv-btn {
    background-color: #00c3aa;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    transition: background 0.3s;
}

.cv-btn:hover {
    background-color: #009e8a;
}

/* HERO */
.hero {
    background-color: #fbfee5;
    padding: 4rem 2rem;
    position: relative;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.hero .text {
    max-width: 600px;
}

.hero small {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
}

 .hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    position: relative;
    display: inline-block;
}

.underline {
    display: block;
    height: 10px;
    width: 75%;
    background-color: #00c3aa;

}

.hero p {
    margin-top: 1rem;
}

.hero .image {
    max-width: 700px;
    max-height: 350px;
    box-shadow: -10px 0px 50px 40px black;
}

.overlay-boxes {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 4rem;
    align-content: center;
}

.overlay-boxes .box {
    background-color: white;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    width: 430px;
    height: 330px;
    border-radius: 10px;
    transform: translateY(50%);
padding-top: 20px;
}

/* A PROPOS */
.apropos {
    background: #fff;
    padding: 6rem 2rem 4rem;
}

.apropos .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;

}

.apropos .portrait {
    width: 200px;
    border-radius: 10px;
}

.description {
    flex: 1;
}

/* SEPARATEUR */
.separator {
    text-align: center;
    background-color: #e6e6e6;
    padding: 2rem;
    margin-top: 2rem;
}

.separator h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.separator::before,
.separator::after {
    content: "";
    display: inline-block;
    width: 60px;
    height: 5px;
    background-color: #00c3aa;
    margin: 0 1rem;
    vertical-align: middle;
}

/* REALISATIONS */
.realisations {
    padding: 4rem 2rem;
}

.realisations h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.realisations span {
    border-bottom: 10px solid #00c3aa;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 2fr));
    gap: 2rem;
}

.mockup {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.mockup img {
    width: 100%;
    height: auto;
    display: block;
}

.mockup .info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    display: flex;
    justify-content: space-between;
}
.mockup:hover {
    transform: scale(1.02);
    transition: 0.3s ease;
}


.mockup span {
    padding: 0.2rem 0.4rem;
    font-size: 1.25rem;
    margin: 2px 0;
    display: inline-block;
}

/* COMPETENCES */
/* style.css */

body {
    font-family: Arial, sans-serif;
    background-color: #FBFEE5;
    margin: 0;
    padding: 0;
    color: #003b3b;
}

.competences-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.titre-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    color: #00bfa6;
    font-weight: bold;
}

.titre-section .barre {
    width: 60px;
    height: 3px;
    background-color: #00bfa6;
}

h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.competences-bloc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.competences-bloc.dev .skills,
.competences-bloc.design .texte {
    order: 1;
}

.competences-bloc.dev .texte,
.competences-bloc.design .skills {
    order: 2;
}

.skills {
    flex: 1;
    min-width: 300px;
}

.skills .logos {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.skills .logos img {
    height: 40px;
}

.jauge {
    margin-bottom: 15px;
}

.jauge span {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #0074D9;
}

.bar {
    width: 100%;
    height: 10px;
    background-color: #ddd;
    border-radius: 5px;
}

.level {
    height: 100%;
    background-color: #1c78ff;
    border-radius: 5px;
}

.texte {
    flex: 1;
    min-width: 300px;
}

.texte p {
    font-size: 16px;
    line-height: 1.6;
}


/* FOOTER */
footer {
    background-color: #f5f5f5;
    padding: 2rem;
}

footer .socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.footer-bottom .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content,
    .apropos .container,
    .competences .content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}
.picto{
    max-height: 2vh;
}
.picto2{
    max-height: 2.5vh;
}

/*Flèche*/
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: rgba(0, 0, 0, 0.1);
    color: #003b3b;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.3s;
    z-index: 999;
}

.scroll-top:hover {
    background-color: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}


/*Page projet*/

.projet-page {
    font-family: 'Segoe UI', sans-serif;
    color: #2e2e2e;
    line-height: 1.6;
    padding: 2rem;
    background: #fff;
}

.projet-container {
    max-width: 900px;
    margin: auto;
}

.projet-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.projet-date {
    font-style: italic;
    color: #777;
    margin-bottom: 1.5rem;
}

.projet-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.projet-details h2 {
    margin-top: 2rem;
    color: #1b1b1b;
}

.projet-tags {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.projet-tags li {
    background: #e4e4e4;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.projet-retour {
    margin-top: 3rem;
}

.btn-retour {
    background: transparent;
    border: 1px solid #000;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    color: #000;
    transition: 0.3s;
}

.btn-retour:hover {
    background: #000;
    color: #fff;
}
