* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 }

:root {
    --main-bg-color: rgba(233, 227, 221, 1);
    --main-gradient-bg: linear-gradient(90deg, #324460 4.28%, #45636E 28.34%, #46646E 49.4%, #537978 66.32%, #639383 79.48%);
    --main-bg-color-test: rgb(245,245,244);
    --section-bg-color: rgba(217, 217, 217, 0.55);
    --main-black-color: rgba(25, 23, 23, 1);
    --green-color: rgba(10, 66, 73, 1);
    --dark-green: rgba(0, 22, 10, 1);
    --white-for-text: rgba(217, 217, 217, 1);
    --white-bg-color: rgba(217, 217, 217, 1);
    --orange-color: rgba(238, 113, 85, 1);
    --flashy-green: rgba(100, 252, 217, 1);
    --clear-blue: rgba(97, 141, 168, 1);
    --darker-blue: rgba(50, 68, 96, 1);
    --semi-transparent-bg: rgba(245, 245, 245, 0.37);
} 

/* font */

.titillium-web-extralight {
    font-family: "Titillium Web", sans-serif;
    font-weight: 200;
    font-style: normal;
  }
  
  .titillium-web-light {
    font-family: "Titillium Web", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .titillium-web-regular {
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .titillium-web-semibold {
    font-family: "Titillium Web", sans-serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .titillium-web-bold {
    font-family: "Titillium Web", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .titillium-web-black {
    font-family: "Titillium Web", sans-serif;
    font-weight: 900;
    font-style: normal;
  }
  
  .titillium-web-extralight-italic {
    font-family: "Titillium Web", sans-serif;
    font-weight: 200;
    font-style: italic;
  }
  
  .titillium-web-light-italic {
    font-family: "Titillium Web", sans-serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .titillium-web-regular-italic {
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .titillium-web-semibold-italic {
    font-family: "Titillium Web", sans-serif;
    font-weight: 600;
    font-style: italic;
  }
  
  .titillium-web-bold-italic {
    font-family: "Titillium Web", sans-serif;
    font-weight: 700;
    font-style: italic;
  }  

body {
    background-color: var(--section-bg-color);
    /* background: var(--main-gradient-bg); */
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: Titillium Web;
    color: var(--main-black-color);
}

@media (width >= 1024px) {
    .main-body-wrapper {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

@media (width >= 1200px) {
    .main-body-wrapper {
        padding-left: 10rem;
        padding-right: 10rem;
        width: 90rem; 
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}    

/* regrouper tous les elemets repete comme liens paragraph etc */
@media (width >= 768px) {
    #menu {
        display: none;
    }
}

.sticky-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--semi-transparent-bg);
    z-index: 2;
}

.top-menu {
    background-color: var(--dark-green);
    color: var(--white-for-text);
    border-radius: 50px;
    padding: 1rem;
    display: flex;
    justify-content: space-around; 
    align-content: baseline;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;

    & .my-name {
        text-transform: uppercase;
        margin-bottom: 0;
        font-size: large;
    }

    & .photoId-wrapper {

        & .photoId {
            width: 4rem;
        }
    }

    @media (width >= 768px) {
        & .photoId-wrapper {
            display: none;
        }

        & .nav-large {
            display: flex;
            gap: 1rem;
            font-size: x-large;
        }

        & .top-menu {
            display: flex;
            align-items: baseline;
            justify-content: center;
            align-items: baseline;

            & .my-name {
                font-size: xx-large;
            }
        }

        & .social {
            text-decoration: none;
            color: var(--dark-green);
            text-transform: capitalize;
            display: inline-block;
            position: relative;
            white-space: nowrap;
            font-size: large;
        }

        & .social::after {
            content: '';
            position: absolute;
            width: 100%;
            transform: scaleX(0);
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--dark-green);
            transform-origin: bottom right;
            transition: transform 0.25s ease-out;
        }

        & .social:hover::after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }
    }

    @media (width < 768px) {
        & .nav-large {
            display: none;
        }
    }

    & .menu-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;

        & .top-links {
            text-decoration: none;
            color: var(--white-for-text);
            text-transform: capitalize;
        }

        & .top-links {
            text-decoration: none;
            color: var(--white-for-text);
            display: inline-block;
            position: relative;
        }

        & .top-links::after {
            content: '';
            position: absolute;
            width: 100%;
            transform: scaleX(0);
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--white-for-text);
            transform-origin: bottom right;
            transition: transform 0.25s ease-out;
        }

        & .top-links:hover::after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }  
    }
}

.gallery-nav {
    width: 100%;
    height: 5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;

    & .home-btn-container {
        height: 2.5rem;
        width: 5rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    & .home-btn {
        text-transform: uppercase;
        background-color: var(--darker-blue);
        font-weight: lighter;
        color: #000;

        & .black-text {
            color: black;
        }
    }

    & .home-btn:hover {
        background-color: var(--main-black-color);
        color: var(--main-bg-color);
        padding: 0.5rem;
        border-radius: 0.5rem;
        transition: all 0.5s ease;
    }

    & .social-links {
        display: flex;
        justify-content: flex-end;
        gap: 3rem;

        & .social {
            text-decoration: none;
            color: black;
            display: inline-block;
            position: relative;
            white-space: nowrap;
        }

        & .social::after {
            content: '';
            position: absolute;
            width: 100%;
            transform: scaleX(0);
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: black;
            transform-origin: bottom right;
            transition: transform 0.25s ease-out;
        }

        & .social:hover::after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }   
    }

}


    /* #main-page {
        display: flex;
        justify-content: space-between;
        margin-left: 1rem;
        margin-right: 1rem;
        font-size: large;
    } */
    /* width: 100%; */
    /* height: 30rem; */
    /* box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem; */

    /* & #menu {
        display: grid;
        grid-template-rows: repeat(3, 7rem);
        grid-auto-flow: row;
        gap: 0.5rem;
        /* padding: 1rem 2rem; */
        /* color: var(--main-black-color);
        font-family: Lora;
        font-size: 5rem;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-transform: uppercase;
        position: relative;

        & .menu-item {
            text-decoration: none;
            color: black;
            font-style: normal;
            /* padding: 2rem; */
            /* transition: transform 0.5s ease;
            position: inherit; */
        /* } */

        /* & .menu-item:hover {
            transform: scale(1.05) skewX(-5deg);
        }

        @media (width <= 997px) {
            .menu-item {
                margin-top: 2rem;
                margin-bottom: 2rem;
                font-size: 4rem;
            }
        } */ 
    /* } */

    .portfolio-section {
        padding: 1.5rem;
    }

    .porfolio-presentation {
        background: var(--semi-transparent-bg);
        border-radius: 15px;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        justify-items: center;
        justify-content: center;

        & .illustration-wrapper {
            display: grid;
            place-items: center;
        }

        & .portfolio-text {
            margin-top: 1.5rem;
            margin-bottom: 1.5rem;
            text-align: center;
            line-height: 2rem;
        }

        & .portfolio-illusration {
            width: 12rem;
            align-self: center;
        }

        @media (width < 768px) {
            & .portfolio-illusration-xl {
                display: none;
            }

            & .portfolio-xl-title {
                display: none;
            }
        }

        @media (width >= 768px) {
            & .portfolio-illusration-xl {
                width: 20rem;
                padding: 1rem;
            }

            & .portfolio-illusration {
                display: none;
            }
        }
    }

    @media (width >= 768px) {
        & .porfolio-presentation {
            flex-direction: row-reverse;
            justify-content: center;
            align-items: center;

            & .portfolio-xl {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 1rem;
                padding: 2rem;

                & .portfolio-text-section {
                    background: var(--main-bg-color-test);
                    border-radius: 15px;
                    padding: 0.5rem;
                }               

                & .portfolio-xl-title {
                    font-size: xxx-large;
                    text-align: center;
                    text-transform: uppercase;
                    color: var(--dark-green);
                }

                & .portfolio-text {
                    padding: 1rem;
                    margin-left: 1rem;
                    margin-right: 1rem;
                    font-size: larger;
                }
            }

            & .button-wrapper {
                flex-direction: row;
                width: 100%;
                padding: 1rem;
                gap: 1rem;

                & .green-button {
                    width: 100%;
                    background-color: var(--darker-blue);
                    font-size: large;
                    font-weight: 600;
                    text-decoration: none;
                    color: var(--white-for-text);
                    text-transform: uppercase;
                    text-align: center;
                    border-style: solid;
                    border-width: 1px;
                    border-color: var(--darker-blue);
                    letter-spacing: 0.2rem;
                }

                .green-button:hover {
                    color: var(--darker-blue);
                    background-color: var(--white-for-text);
                    transform: scale(0.95);
                    transition: 0.4s ease;
                }
            }
        }
    }

    .portfolio-text-section {
        background-color: var(--main-bg-color-test);
        padding: 1rem;
        margin: 1rem;
        border-radius: 15px;
    }

    .button-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .green-button {
        background: var(--darker-blue);
        padding: 1rem;
        border-radius: 50px;
        border: none;
        color: var(--white-for-text);
        text-decoration: none;
        text-transform: uppercase;
        text-align: center;

        & .white-text {
            text-decoration: none;
            color: var(--white-for-text);
            text-transform: uppercase;
        }
    }

    .green-button:hover {
        color: var(--darker-blue);
        background-color: var(--white-for-text);
        transform: scale(0.95);
        transition: 0.4s ease;
    }

    & #photoId {
        transform: scale(0.8);
    }

    & .home-btn-container {
        width: 3rem;
        height: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    & .home-btn {
        text-transform: uppercase;
        background-color: transparent;
        font-weight: medium;
        color: var(--dark-green);
        text-decoration: none;
        padding: 0.6rem;
        border-radius: 5px;
    }

    & .home-btn:hover {
        background-color: var(--dark-green);
        color: var(--white-for-text);
        padding: 0.5rem;
        border-radius: 0.5rem;
        transition: all 0.5s ease;
    }

    & .navbar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 0.3rem;
        align-items: flex-end;
        padding: 1.5rem;
        font-size: large;

        @media (width > 576px) {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
        }
    }

    & .menu-container {
        width: 3rem;
        height: 2rem;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    & .social-links {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 1rem;
        background-color: transparent;
        border-radius: 5px;
        flex-wrap: inherit;
        width: auto;

        & .small {
            width: 2rem;
            height: auto;
        }

        & .social {
            text-decoration: none;
            text-transform: capitalize;
            color: var(--dark-green);
            display: inline-block;
            position: relative;
            white-space: nowrap;
        }

        & .social::after {
            content: '';
            position: absolute;
            width: 100%;
            transform: scaleX(0);
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--dark-green);
            transform-origin: bottom right;
            transition: transform 0.25s ease-out;
        }

        & .social:hover::after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }

        & .large {
            display: none;
        }
        
        @media (width > 576px) {
            & .large {
                display: flex;
            }
            & .small {
                display: none;
            }
        }
    }

    & .hero-wrapper {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        width: 100%;
        padding: 1.5rem;
        background-color: var(--dark-green);
        border-radius: 25px;

        & .IdPhoto {
            display: flex;
            justify-content: center;
            width: 100%;

            & .idphoto-img {
                width: auto;
                height: 10rem;
            }

            @media (width > 425px) {
                & .idphoto-img {
                    width: auto;
                    height: 16rem;
                }
            }
        }

        & .presentation {
            display: flex;
            justify-content: center;    
            width: 100%;
        }

        & .name {
            color: var(--white-for-text);
            text-transform: uppercase;
        }

        & .about-me {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            color: var(--white-for-text);
            text-align: center;
        }
    }

    @media (width < 640px) {
        .hero-wrapper {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            margin-bottom: 2.5rem;
        }
    }

    @media (width >= 640px) and (width < 1024px) {
        .hero-wrapper {
            display: flex;
            flex-direction: column;
        }
    }

    & .presentation {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        align-self: flex-end;
        /* padding-bottom: 2rem; */

        & .separation-line {
            display: block;
            border: 0.05rem solid;
            border-top: 1rem;
            border-color: var(--white-bg-color);
        }
    }

    @media (width < 640px) {
        .presentation {
            display: flex;
            justify-content: center;
            align-self: flex-start;
            margin-top: 2rem;
        }
    }

    @media (width >= 640px) and (width <= 1024px) {
        .presentation {
            display: flex;
            justify-content: center;
            align-self: flex-start;
            margin-top: 2rem;
    }
    }

.separation-line {
    display: block;
    border: 0.05rem solid;
    border-top: 1rem;
    border-color: black;
    padding-right: 2.5rem;
    padding-left: 2.5rem;
    margin-left: 1rem;
    margin-right: 1rem;
} 

.carousel-btn {
    background-color: var(--dark-green);
    border-radius: 50px;
    padding: 1rem;
    z-index: 1;
}

.projects-carousel {
    padding: 1.5rem;
    height: 100%;
    width: 100%;

    & .project-item {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: 1fr 2fr;
        gap: 1rem;
        background-color: var(--section-bg-color);
        padding: 1rem;
        border-radius: 25px;
        width: 100%;
        height: 100%;
        position: relative;

        & .project-pic {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            justify-items: center;
            align-items: center;
            align-content: center;

            & .project-img {
                object-fit: cover;
                border-radius: 15px;
                width: auto;
                height: 100%;
            }
        }
    }

    & .project-description {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    & .project-link {
        text-decoration: underline; 
        display: inline-block;
        position: relative;
        background-color: var(--darker-blue);
        width: 15rem;
        padding: 1rem;
        border-radius: 50px;
        border-width: 0.3px;
        border-style: solid;
        border-color: var(--darker-blue);
        color: var(--white-for-text);
        top: 1.8rem;
        text-align: center;
        font-size: large;
        text-underline-offset: 0.3rem;
    }

    & .project-link:hover {
        background-color: var(--white-for-text);
        color: var(--darker-blue);
        transform: scale(1.1);
        transition: 0.6s ease;
    }

    & .project-text {
        background-color: var(--main-bg-color-test);
        padding: 1.5rem;
        width: 100%;
        border-radius: 25px;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 1rem;

        & .p-text {
            padding-top: 1.5rem;
        }

        & .btn-project {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
    }

    & .project-click {
        background-color: var(--darker-blue);
        text-decoration: none;
        color: var(--white-for-text);
        padding: 0.8rem;
        border-radius: 50px;
        font-size: x-small;
        text-transform: uppercase;
        box-shadow: 8px 8px 21px -15px rgba(66, 68, 90, 1);
    }

    & .project-click:hover {
        background-color: var(--white-for-text);
        color: var(--darker-blue);
        transform: scale(0.95);
        transition: 0.6s ease;
    }

    @media (width >= 768px) {
        & .project-item {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto;
            gap: 1rem;
        }

        & .btn-project {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1rem;
        }

        & .project-click {
            font-size: small;
            padding: 1rem;
            font-size: medium;
            font-weight: 600;
        }
    }

    @media (width <= 425px) {
        & .project-item {
            display: flex;
            flex-direction: column;
            align-self: stretch;
            flex-grow: 2;
            gap: 0.5rem;
            height: 100%;
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
            background-color: transparent;
        }

        & .project-description {
            width: 100%;
            height: 100%;
            display: flex;
            align-self: stretch;
        }

        & .project-pic {
            width: 100%;
            height: 100%;
            display: flex;
            align-self: stretch;

            & .project-img {
                object-fit: cover;
                display: flex;
                align-self: stretch;
                border-radius: 25px;
            }
        }
    }
}

@media (width <= 425px) {
    .carousel-wrapper {
        height: 100%;
    }

    .projects-carousel {
        height: 55rem;
    }
}

@media (width <= 367px) {
    .projects-carousel {
        height: 48rem;
    }
}

/* @media (width >= 768px) {
    .projects-carousel {
        height: 38rem;
    }
}

@media (width < 768px) {
    .projects-carousel {
        height: 78rem;
    }
}

@media (width < 576px) {
    .projects-carousel {
        height: 65rem;
    }
}

@media (width <= 425px) {
    .projects-carousel {
        height: 55rem;
    }
}   */

.projects-bullets {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;

    & .bullet {
        background-color: var(--dark-green);
        border-radius: 50%;
        height: 15px;
        width: 15px;
    }

    & .bullet:hover {
        background-color: var(--orange-color);
        transition: 0.5s ease;
    }
}

/* .projetcs-carousel {
    margin-top: 3rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;

    & .carousel-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 3rem;
        align-self: flex-start;
        scrollbar-width: thin;
        scrollbar-gutter: var(--main-bg-color);
        scrollbar-color: var(--main-black-color);
        scroll-behavior: smooth;
        scroll-snap-stop: always;
        scroll-snap-type: mandatory;
    }

    & .project-carousel-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 1.5rem;
        background-color: var(--section-bg-color);
        padding: 0 1rem 1rem 1rem;
        border-radius: 25px;
        width: 100%;
        flex: 0 0 auto;
        position: relative;

        & .project-text {
            background-color: var(--white-bg-color);
            padding: 1.5rem;
            border-radius: 25px;
            text-align: center;
            display: flex;
            flex-direction: column;
            gap: 1rem;

            & .p-text {
                padding-top: 1.5rem;
            }

            & .btn-project {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 0.5rem;
            }
        }

        & .project-link {
            text-decoration: underline; 
            display: inline-block;
            position: relative;
            background-color: var(--green-color);
            width: 15rem;
            padding: 1rem;
            border-radius: 50px;
            color: var(--white-for-text);
            top: 3rem;
            text-align: center;
        }

        & .project-link:hover {
            background-color: var(--orange-color);
            transform: scale(1.1);
            transition: 0.8s ease;
        }

        & .project-photo {
            width: 100%;
        }

        & .project-click {
            background-color: var(--orange-color);
            text-decoration: none;
            color: var(--white-for-text);
            padding: 0.8rem;
            border-radius: 50px;
            font-size: xx-small;
            text-transform: uppercase;
            box-shadow: 8px 8px 21px -15px rgba(66, 68, 90, 1);
        }

        & .project-click:hover {
            background-color: var(--green-color);
            color: var(--white-bg-color);
            transform: scale(1.1);
            transition: 0.8s ease;
        }

        

        /* & .project-link::after {
            content: '';
            position: absolute;
            width: 50%;
            transform: scaleX(0);
            height: 0.10rem;
            bottom: 0;
            left: 0;
            background-color: #000;
            transform-origin: bottom right;
            transition: transform 0.5s ease;
        }

        & .project-link:hover::after {
            transform: scaleX(1);
            transform-origin: bottom;
        }         */
    /* } */

    /* @media (width >= 768px) {
        & .project-carousel-item {
            width: 22rem;
            gap: 0.5rem;
        }

        & .carousel-container {
            gap: 1rem;
        }
    } */
/* } */ 

.presentation-section {
    padding: 1.5rem;

    & .hero-wrapper {
        background-color: var(--green-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        @media (width > 768px) {
            flex-direction: row-reverse;
            gap: 2rem;
            align-items: center;
        }

        & .name {
            font-size: xx-large;
            font-weight: 400;
            padding: 1rem;
            text-align: center;
        }

        & .about-me {
            font-size: large;
            padding: 1.5rem;

            & .border-btn {
                border-style: solid;
                border-color: var(--white-bg-color);
                border-width: 0.1rem;
                padding: 0.5rem;
                border-radius: 50px;
                text-decoration: none;
                color: var(--white-for-text);
                text-transform: uppercase;
            }

            & .border-btn:hover {
                background-color: var(--white-bg-color);
                color: var(--green-color);
                transition: 0.5s ease-in-out;
            }
        }
    }
}

h2 {
    text-transform: uppercase;
    padding: 1.5rem;
    font-weight: 100;
    letter-spacing: 0.2rem;
    font-size: large;
}

.projets-portfolio {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;

    & .projects-list {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        padding-top: 3rem;
        padding-bottom: 3rem;

        @media (width >= 1024px) {
            .project-list-item {
                display: grid; 
                grid-template-columns: 2fr 1fr; 
                justify-items: start;
                row-gap: 2rem;
                align-items: center; 
            }   
        }

        @media (width >= 640px) and (width <= 1024px) {
            .project-list-item {
                display: grid; 
                grid-template-columns: 2fr 1fr; 
                justify-items: start;
                row-gap: 2rem;
                align-items: center; 
            } 

            .project-title {
                display: flex;
                align-items: flex-start;

                .number {
                    display: none;
                }
            }
        }

        & .project-list-item {
            padding-left: 2rem;
            padding-right: 2rem;

            & button {
                border-style: none;
                background-color: transparent;
            }
                
            .plus-sign {
                height: 1.5rem;
                width: 1.5rem;
            }

            .plus-sign:hover {
                transform: scale(1.2);
                transition: 0.5s ease;
            }

            @media (width >= 1024px) {
                .project-title {
                    display: flex;
                    flex-direction: row;
                    gap: 1.5rem;
                    align-items: center;
    
                    & .title-xl {
                        font-size: 2rem;
                        padding-left: 15rem;
                    }
                }
            }

            .project-details-container {
                display: flex;
                flex-direction: column;
                gap: 3rem;
                background-color: rgba(216, 206, 200, 0.589);
                border-radius: 5%;
                padding: 2.5rem;
                box-shadow: 2px 2px 40px -18px rgba(25, 23, 23, 1);

                & .project-details-text {
                    display: flex;
                    flex-direction: column;
                    gap: 1.5rem;

                    & > h3 {
                        text-transform: uppercase;
                        font-weight: 100;
                    }
                    
                    & .project-links {
                        display: flex;
                        flex-direction: column;
                        gap: 1.5rem;

                        & > a {
                        text-decoration: none;
                        color: #000;
                        text-transform: capitalize;
                        }

                        & > a:hover {
                            transform: translateX(0.3rem);
                            transition: transform 0.5s ease;
                        }
                    }
                }

                & .project-details-image {
                    display: flex;
                    gap: 2.5rem;
                    justify-content: center;

                    & > img {
                        width: 40%;
                        border-radius: 3%;
                    }
                }
            }
        }
    }

    @media (width < 640px) {
        .plus-sign {
            display: none;
        }
        .number {
            display: none;
        }
        .project-list-item {
            display: flex;

        }
    }
}

.technologies-wrapper {
    background-color: var(--main-bg-color-test);
    height: 100%;
    border-radius: 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2.5rem;
    position: relative;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.technologies {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;

    & .tech-title {
        /* background-color: var(--green-color);
        padding: 1rem;
        border-radius: 50px; */
        text-align: center;
        font-size: large;
        color: var(--dark-green);
        text-transform: uppercase;
        position: relative;
        /* top: -3.5rem; */
        font-size: xx-large;
        font-weight: 600;
    }

    & .tech-icons {
        display: grid;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
        justify-items: center;
        justify-content: center;

        & .logo {
            width: 4rem;
        }
    }
}

.tech-illustration {
    padding: 1.5rem;
    
    & .tech-illustration-image {
        width: 13rem;
    }

    @media (width >= 768px) {
        & .tech-illustration-image {
            width: 18rem;
        }
    }
}

@media (width >= 768px) {
    .technologies-section {
        padding: 1.5rem;
    }

    .technologies {
        background-color: var(--section-bg-color);
        display: flex;
        flex-direction: row;
        border-radius: 25px;
        gap: 1rem;
        justify-items: center;
        justify-content: center;
    }
}

#talentAndSkills {
    padding: 0 0.5rem;
    position: relative;
    top: 1rem;

    & .illustration-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    & .skills-img {
        width: 7rem;
    }

    & .subtitle {
        position: relative;
        left: -0.75rem;
        padding-top: 0.5rem;
        padding-bottom: 1.5rem;
        
        & p > button {
            text-transform: uppercase;
            font-size: small;
        }
    }

    & .details {
        position: relative;

        & .details-list {
            text-transform: capitalize;
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            gap: 0.5rem;
            position: relative;
            left: 15rem;
        }

        @media (width <= 997px) {
            .details-list {
                position: relative;
                left: 1.5rem;
            }
        }
    }

    & .progress-circles {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 2rem;
        align-content: center;
        width: 50%;
        position: relative;
        left: 5rem;
        padding: 3rem;

        & .circle {
            height: 6rem;
            width: 6rem;
        }
    }

    @media (width <= 997px) {
        .progress-circles {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr 1fr 1fr;
            gap: 1rem;
        }
    }

    @media (width >= 1024px) {
        & .skills-img {
            width: 10rem;
        }

        & .subtitle {
            
            & p > button {
                text-transform: uppercase;
                font-size: medium;
            }
        }
  }
}

#educationSpecialisation {
    padding: 0 0.5rem;
    position: relative;
    top: 2.5rem;

    & .illustration-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    & .education-img {
        width: 10rem;
    }

    & .subtitle {
        position: relative;
        left: -0.75rem;
        padding-top: 0.5rem;
        padding-bottom: 1.5rem;
        
        & p > button {
            text-transform: uppercase;
            font-size: small;
        }
    }

    & .details {
        position: relative;

        & .school {
            position: relative;
            left: 2rem;
            padding-top: 0;
            padding-bottom: 1.5rem;
            padding-left: 1rem;
            font-size: small;
            text-decoration: underline;
            text-transform: capitalize;
        }

        & .details-list {
            text-transform: capitalize;
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            gap: 0.5rem;
            position: relative;
            left: 15rem;
        }

        @media (width <= 997px) {
            .details-list {
                position: relative;
                left: 1.5rem;
            }
        }
    }

    @media (width >= 1024px) {
        & .education-img {
            width: 12rem;
        }

        & .subtitle {
            
            & p > button {
                text-transform: uppercase;
                font-size: medium;
            }
        }
  }
}

#workBackground {
    padding: 0 0.5rem;
    position: relative;

    & .illustration-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 2rem;
    }

    & .work-img {
        width: 10rem;
    }

    & .subtitle {
        position: relative;
        left: -0.75rem;
        padding-top: 0.5rem;
        padding-bottom: 1.5rem;
        
        & p > button {
            text-transform: uppercase;
            font-size: small;
        }
    }

    & .details {
        position: relative;

        & .place {
            position: relative;
            left: 2rem;
            padding-top: 0;
            padding-bottom: 1.5rem;
            padding-left: 1rem;
            font-size: small;
            text-decoration: underline;
            text-transform: capitalize;
        }

        & .details-list {
            text-transform: capitalize;
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            gap: 0.5rem;
            position: relative;
            left: 15rem;

            & .gallery-link {
                text-decoration: none;
                color: var(--main-black-color);
            }

            & .gallery-link:hover {
                transform: translate(0.5rem);
                text-decoration: underline;
                transition: all 0.5s ease-in-out;
            }
        }

        @media (width <= 997px) {
            .details-list {
                position: relative;
                left: 1.5rem;
            }
        }
    }

    @media (width >= 1024px) {
        & .work-img {
            width: 12rem;
        }

        & .subtitle {
            
            & p > button {
                text-transform: uppercase;
                font-size: medium;
            }
        }
  }
}

#languages {
    padding: 0 0.5rem;
    position: relative;

    & .illustration-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 2rem;
    }

    & .languages-img {
        width: 10rem;
    }

    & .subtitle {
        position: relative;
        left: -0.75rem;
        padding-top: 0.5rem;
        padding-bottom: 1.5rem;
        
        & p > button {
            text-transform: uppercase;
            font-size: small;
        }
    }

    & .details {
        position: relative;

        & .details-list {
            text-transform: capitalize;
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            gap: 0.5rem;
            position: relative;
            left: 15rem;
        }

        @media (width <= 997px) {
            .details-list {
                position: relative;
                left: 1.5rem;
            }
        }
    }

    @media (width >= 1024px) {
        & .languages-img {
            width: 12rem;
        }

        & .subtitle {
            
            & p > button {
                text-transform: uppercase;
                font-size: medium;
            }
        }
  }
}

#interests {
    padding: 0 0.5rem;
    position: relative;

    & .illustration-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 2rem;
    }

    & .hobby-img {
        width: 7rem;
    }

    & .subtitle {
        position: relative;
        left: -0.75rem;
        padding-top: 0.5rem;
        padding-bottom: 1.5rem;
        
        & p > button {
            text-transform: uppercase;
            font-size: small;
        }

        & .uppercase {
            text-transform: uppercase;
            font-size: small;
        }
    }

    & .details {
        position: relative;

        & .details-list {
            text-transform: capitalize;
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            gap: 0.5rem;
            position: relative;
            left: 15rem;
        }
        @media (width <= 997px) {
            .details-list {
                position: relative;
                left: 1.5rem;
            }
        }
    }

    @media (width >= 1024px) {
        & .hobby-img {
            width: 9rem;
        }

        & .subtitle {
            
            & p > button {
                text-transform: uppercase;
                font-size: medium;
            }
        }
  }
}

.subtitles {
    margin: 1.5rem;
    border-left: 0.05rem solid;
    border-color: var(--main-black-color);
}

.sub-hover:hover {
    background-color: var(--dark-green);
    color: var(--white-for-text);
    transform: translate(0.5rem);
    transition: all 0.5s ease-in-out;
}

footer {
    background-color: var(--dark-green);
    width: 100%;
    color: white;

    & .footer-content {
        padding: 0 2.5rem 2.5rem;
        display: flex;
        flex-direction: column;
    }

    & a {
        color: azure;
        text-decoration: none;
    }

    .separation-line-white {
        display: block;
        border: 0.05rem solid;
        border-top: 1rem;
        border-color: white;
    }

    & .footer-text {
        display: flex;
        flex-direction: column;
        align-content: center;
        gap: 2rem;
        padding-top: 2.5rem;
        text-transform: uppercase;
        letter-spacing: 0.1rem;
        font-weight: 100;
        font-size: small;
    }

    .mail-footer {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 1rem;

        & .mail-illustration {
            width: 7rem;
        }

        & .contact-email {
            text-decoration: none;
            color: var(--white-for-text);
            display: inline-block;
            position: relative;
        }

        & .contact-email::after {
            content: '';
            position: absolute;
            width: 100%;
            transform: scaleX(0);
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--white-for-text);
            transform-origin: bottom right;
            transition: transform 0.25s ease-out;
        }

        & .contact-email:hover::after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }   
    }

    @media (width >= 768px) {
        .mail-footer {
            display: flex;
            flex-direction: row;
            gap: 2rem;
        }

        .footer-content {
            padding-left: 5rem;
            padding-right: 5rem; 
        }
    }

    @media (width >= 1200px) {
        .footer-content {
            padding-left: 10rem;
            padding-right: 10rem;
        }
    }

    .online {
        display: flex;
        align-items: baseline;
        justify-content: flex-end;
        gap: 1.5rem;

        & a:hover {
            transform: scale(1.1);
            transition: 0.8s ease;
        }

        & .social-logo {
            width: 3rem;
        }
    }
}

.gallery {
    width: 100%;
    box-sizing: border-box;
    padding: 3rem;

    & .gallery-title {
        font-size: x-large;
        font-weight: 100;
        padding-left: 3rem;
    }

    @media (width <= 640px) {
        .gallery-pictures {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        .painting {
            height: (2rem);
        }
    }

    @media (width >= 640px) and (width <= 1024px) {
        .gallery-pictures {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr 1fr 1fr;
            row-gap: 10rem;
            column-gap: 5rem;
            padding: 2.5rem;
            justify-content: center;
            justify-items: center;
        }
    }

    @media (width >= 1024px) {
        & .gallery-pictures {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            grid-template-rows: 1fr 1fr 1fr;
            row-gap: 10rem;
            column-gap: 5rem;
            padding: 2.5rem;
            justify-content: center;
            justify-items: center;
        }
    }
}

.title {
    background-color: var(--green-color);
    color: var(--white-for-text);
    text-align: center;
    font-weight: 400;
    font-size: xx-large;
}

.title-main {
    background-color: var(--green-color);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    & .large {
        text-align: center;
        font-weight: 400;
        font-size: xxx-large;
        color: var(--white-for-text);
    }
}

.medium {
    text-align: center;
    text-transform: capitalize;
}

.project-details-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    text-align: center;

    & .persona-tech-section {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;

        & .medium {
            font-size: x-large;
        }
    }
}

.persona-illustration {
    width: 10rem;
    align-self: center;
}

.project-section {
        background-color: var(--section-bg-color);
        border-radius: 25px;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
        justify-items: center;
        justify-content: center;
        width: 100%;

        & .project-presentation {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 1.5rem;
            background-color: var(--main-bg-color-test);
            border-radius: 15px;
            padding: 1.5rem;

            & .medium {
                font-size: xx-large;
            }
        }

        & .project-pic {
            border-radius: 15px;
        }

        .list-items {
            background-color: var(--main-bg-color-test);
            border-radius: 15px;
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 0.5rem;
        }

        & .small-text {
            line-height: 160%;
            font-size: large;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        & .text-underline {
            text-decoration: underline;
        }

        & .for-who {
            text-align: left;
            font-size: large;

        }

        .green-button {
            background: var(--darker-blue);
            padding: 1rem;
            border-radius: 50px;
            border: none;
            text-decoration: none;
            border-style: solid;
            border-width: 1px;
            border-color: var(--darker-blue);
            letter-spacing: 0.2rem;
    
            & .white-text {
                text-decoration: none;
                color: var(--white-for-text);
                text-transform: uppercase;
                text-align: center;
                font-weight: 600;
                font-size: large;
            }
        }
    
        .green-button:hover {
            background-color: var(--white-for-text);
            transform: scale(0.95);
            transition: 0.6s ease;
            color: var(--darker-blue);

            & .white-text  {
                color: var(--darker-blue);
            }
        }

        & .project-img {
            display: flex;
            justify-content: center;
            justify-items: center;
            width: 100%;

            & .project-pic {
                width: 100%;
                object-fit: cover;

                & .project-img {
                    object-fit: cover;
                    max-width: 100%;
                    height: auto;
                }
            }
        }

        & .tech-icons {
            display: grid;
            gap: 1rem;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto;
            justify-items: center;
            align-items: center;
            justify-content: center;
        }

        & .icon {
            width: 3rem;
        }

        @media (width > 425px ) {
            & .tech-icons {
                display: flex;
                gap: 2rem;
                justify-items: center;
                align-items: center;
                justify-content: center;
            }
    
            & .icon {
                width: 3rem;
            }
        }
}

@media (width >= 768px) {
    .objectives {
        flex-direction: row;

        & .project-presentation {
            width: 100%;
            padding: 1.5rem;
        }
    }

    .project-details-text {
        
        & .persona-tech-section {
            display: flex;
            flex-direction: row;
            gap: 1.5rem;
        }
    }

    .inspiration {
        flex-direction: row-reverse;

        & .project-presentation {
            width: 100%;
            padding: 1.5rem;
        }
    }

    .project-links {
        flex-direction: row;
        gap: 3rem;

        & .green-button {
            width: 100%;
        }
    }
}

.project-next {
    display: flex;
    flex-direction: row;



    & .text {
        text-underline-offset: 0.3rem;
        color: var(--darker-blue);
    }

    & .next:hover {
        transform: translateX(0.3rem);
        transition: transform 0.5s ease;
    }

    & .previous:hover {
        transform: translateX(-0.3rem);
        transition: transform 0.3s ease;
    }
}

.cv-img-container {
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 2rem;

    & .cv-img {
        display: flex;
        justify-self: center;
        width: 100%;
    }
}