/* ZONE INTRODUCTION */
.introduction-zone {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    margin-top: 64px;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
}

.my-photo {
    width: 500px;
    height: 500px;
    flex: none;
    background: #2b2b2b;
}

.introduction-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.under-title {
    color: #A2BF95;
    font-weight: 300;
}

.proverb {
    font-family: 'Rajdhani';
    font-size: 57px;
    font-weight: 500;
}

.description-under-proverb {
    font-weight: 500;
}

/* ZONE ABOUT ME */
.about-me-zone {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    padding: 64px min(128px, 8%);
    background: #0F0F0F;
}

.about-me-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-me-description {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-me-description p {
    font-weight: 500;
    font-size: 18px;
}

.about-me-photo {
    width: 550px;
    flex: none;
}

/* ZONE COMPETENCES */
.competence-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 128px;
    gap: 64px;
}

.competence-container {
    display: flex;
    gap: 32px;
}

.competence-title {
    font-size: 18px;
    font-weight: 500;
}

        /* CASE DES LOGICIELS */
.software-used {
    display: flex;
    flex-direction: column;
    gap: 32px;
    border: 1px solid #2B2B2B;
    border-radius: 8px;
    padding: 32px 64px;
    width: 500px;
}

.software-line {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.software-list {
    display: flex;
    gap: 64px;
}

.software {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.software-logo {
    width: 64px;
}

.gsap {
    height: 64px;
    display: flex;
    align-items: center;
}

.competence-name {
    font-size: 16px;
    color: #A2BF95;
    font-weight: 300;
}

        /* CASE DES LANGUAGES */
.langages-speaked {
    display: flex;
    flex-direction: column;
    gap: 32px;
    border: 1px solid #2B2B2B;
    border-radius: 8px;
    padding: 32px 64px;
    width: 500px;
}

.progress-bar-border {
    border: 2px solid #2B2B2B;
    border-radius: 8px;
    width: 100%;
}

.progress-bar {
    background: #A2BF95;
    padding: 4px;
    margin: 4px;
    border-radius: 8px;
}

.english {
    width: 70%;
}

/* ZONE CV */
.CV-zone {
    background: #0F0F0F;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    padding-top: 64px;
    padding-bottom: 64px;
}

.CV-zone p {
    font-size: 18px;
    width: 40%;
}

.CV-btn-function {
    border: none;
    background: #A2BF95;
    padding: 16px 64px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: 0.3s ease-in-out;
    z-index: 0;
    cursor: pointer;
    font-size: 18px;
    font-family: rajdhani;
    font-weight: 500;
}

.CV-btn-function:hover {
    transform: scale(1.1);
}

.CV-btn-function::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: #b9cfb0;
    width: 0%;
    height: 100%;
    transition: 0.5s ease-in-out;
    z-index: -1;
}

.CV-btn-function:hover::after {
    width: 100%;
}



/* MEDIA */
@media (width<1400px) {
    .competence-container {
        flex-direction: column;
    }
}

@media (width < 1300px) {
    .about-me-photo {
        display: none;
    }
}

@media (width < 1100px) {
    h1 {
        display: none;
    }

    .introduction-zone {
        flex-direction: column-reverse;
        gap: 64px;
        margin-top: auto;
    }

    .my-photo {
        width: 300px;
        height: 300px;
    }
}

@media (width < 950px) {
    nav {
        position: fixed;
        z-index: 5;
    }
    .footer-logo {
        display: none;
    }
    .software-used {
        width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .software-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    .langages-speaked {
        width: 300px;
    }
}

@media (width < 555px) {
    footer {
        grid-template-columns: 1fr;
    }
    .legal-mention {
        text-align: right;
    }
}

@media (width < 450px) {
    .software-used {
        width: 200px;
    }
    .langages-speaked {
        width: 200px;
    }
    .CV-zone p {
        width: 60%;
    }
}