@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: auto;
    background-color: black;
    color: white;
    overflow-y: scroll;
    scroll-behavior: smooth; /* Smooth scrolling */
}

nav {
    width: 100%;
    height: 10vh;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.logo span {
    color: rgb(0, 255, 195);
    text-shadow: 0 0 10px rgb(0, 255, 195);
}

.hamburg,
.cancel {
    cursor: pointer;
    color: white;
    display: none;
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
}

.nav-container .links {
    display: flex;
    gap: 20px;
}

.nav-container .links a {
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.nav-container .links a:hover {
    color: rgb(0, 255, 195);
    border-bottom: 2px solid rgb(0, 255, 195);
}

.dropdown {
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow: 0 0 20px black;
    transition: 0.2s linear;
    padding-top: 10vh; /* Ajout d'espace pour aligner la croix de fermeture */
}

.dropdown .links {
    position: relative;
}

.dropdown .links a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px;
    text-align: center;
    transition: 0.2s linear;
}

.dropdown .links a:hover {
    background-color: rgb(0, 255, 195);
}

.cancel {
    display: block;
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 2rem;
    z-index: 101;
}

section {
    width: 100%;
    min-height: 100vh;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.section-container {
    width: 100%;
    max-width: 900px; /* Uniforme pour toutes les sections */
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: rgb(0, 255, 195);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-container p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
    margin-bottom: 20px;
    max-width: 600px;
}

.section-container .custom-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.section-container .custom-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-container .custom-list-item::before {
    content: "•"; /* Ajout d'un point pour chaque élément */
    color: rgb(0, 255, 195);
    font-size: 1.5rem;
}

/* .main-container .content {
    color: white;
    width: 40%;
    min-height: 100px;
    text-align: center;
} */

/* .content h1 {
    font-size: clamp(1.5rem, 1.5rem + 3vw, 2.5rem);
} */

.content h1 span {
    font-weight: 700;
    text-shadow: 0 0 10px rgb(0, 255, 195);
    color: rgb(0, 255, 195);
}

.content .typewriter {
    /* font-size: clamp(1rem, 1rem + 5vw, 2.5rem); */
    font-weight: 700;
}

.typewriter span {
    color: rgb(0, 255, 195);
    text-shadow: 0 0 10px rgb(0, 255, 195);
}

.content p {
    /* font-size: clamp(1rem, 0.8rem + 2vw, 1.2rem); */
    margin: 20px 0;
}


.social-links {
    margin: 20px 0;
}

.social-links i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid rgb(0, 255, 195);
    border-radius: 50%;
    color: rgb(0, 255, 195);
    margin: 0 15px;
    font-size: 1.5rem;
    transition: 0.2s linear;
}

.social-links i:hover {
    scale: 1.3;
    filter: drop-shadow(0 0 10px rgb(0, 255, 195));
    color: black;
    background-color: rgb(0, 255, 195);
}

button {
    width: 50%;
    height: 6vh;
    margin: 30px;
    background-color: rgb(0, 255, 195);
    color: white;
    border: none;
    outline: none;
    font-size: 120%;
    font-weight: 700;
    border-radius: 5px;
    transition: 0.2s linear;
}

button:hover {
    scale: 1.1;
    color: rgb(0, 255, 195);
    border: 2px solid rgb(0, 255, 195);
    background-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 40px 5px rgb(0, 255, 195);
}

.main-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.main-container .content {
    width: 40%;
    min-height: 100px;
    text-align: center;
    color: white;
}

.main-container .image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 50px rgb(0, 255, 195);
    margin: 20px;
}

.main-container .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-container .image:hover {
    animation: animate 1.5s ease-in-out infinite;
}

@keyframes animate {
    0% {
        scale: 1;
    }
    50% {
        scale: 1.05;
    }
    100% {
        scale: 1;
    }
}

@media (max-width: 884px) {
    nav .logo {
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 1.5rem;
    }

    .main-container {
        flex-direction: column-reverse;
    }

    .nav-container .links {
        display: none;
    }

    .hamburg,
    .cancel {
        display: block;
    }

    .main-container .content {
        width: 80%;
    }

    .social-links i {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }

    .main-container .image {
        width: 50%;
        height: 50%;
    }
}

@media (max-width: 440px) {
    .main-container .image {
        width: 70%;
        height: 60%;
    }

    .main-container .content {
        width: 90%;
    }

    button {
        margin-top: 15px;
    }
}

/* Ajout de marge sous tous les titres de sections */
#about h2,
#skills h2,
#services h2,
#contact h2 {
    margin-bottom: 20px; /* Ajustez cette valeur pour obtenir l'espacement désiré */
}
/* Section Contact */
#contact {
    background-color: #0d0d0d;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.cyberpunk-form {
    width: 100%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border: 2px solid #00ffc3;
    border-radius: 10px;
    box-shadow: 0 0 15px #00ffc3, 0 0 25px #00ffc3, 0 0 50px #00ffc3;
    backdrop-filter: blur(5px);
    color: #ffffff;
}

.cyberpunk-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.cyberpunk-form label {
    font-size: 1rem;
    color: #00ffc3;
    text-shadow: 0 0 5px #00ffc3;
    display: block;
    margin-bottom: 5px;
}

.cyberpunk-form input[type="text"],
.cyberpunk-form input[type="email"],
.cyberpunk-form textarea {
    width: 100%;
    padding: 10px;
    background-color: transparent;
    border: 2px solid #00ffc3;
    color: #ffffff;
    border-radius: 5px;
    outline: none;
    font-size: 1rem;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.cyberpunk-form input[type="text"]:focus,
.cyberpunk-form input[type="email"]:focus,
.cyberpunk-form textarea:focus {
    border-color: #ff00ff;
    box-shadow: 0 0 8px #ff00ff, 0 0 16px #ff00ff;
}

.cyberpunk-form .submit-button {
    width: 100%;
    padding: 12px;
    background-color: #00ffc3;
    color: #0d0d0d;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px #00ffc3, 0 0 16px #00ffc3;
}

.cyberpunk-form .submit-button:hover {
    background-color: #ff00ff;
    color: #ffffff;
    box-shadow: 0 0 12px #ff00ff, 0 0 24px #ff00ff;
}
/* Blurred effect on content container */
#content-container {
    transition: all 0.3s ease; /* Smooth transition for the blur effect */
}

.blurred {
    filter: blur(8px); /* Amount of blur */
    pointer-events: none; /* Disable interactions with the blurred content */
}

/* Drawer menu styles */
.dropdown {
    z-index: 101; /* Ensure the drawer menu stays above the blurred content */
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow: 0 0 20px black;
    transition: 0.2s linear;
    padding-top: 10vh;
    background-color: rgba(0, 0, 0, 0.8);
}
