body,
html {
    display: flex;
    flex-direction: column;
    justify-content: start;
    background-image: linear-gradient(to right top, #1d0733, #210327, #20011c, #1c0013, #15000a, #130009, #110007, #0e0006, #14000d, #160015, #17001b, #130223);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin: 0px;
    padding: 0px;
    /* min-height: 100vh;
    max-height: 100vh; */
    overflow-y: auto;
    overflow-x: hidden;
    font-family: "Onest", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

#menu {
    z-index: 10;
    color: white;
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    top: 0px;
    left: 0px;
    min-width: 100vw;
    max-width: 100vw;
    min-height: 60px;
    max-height: 60px;
    transition-duration: 1s;
    transition-property: background, backdrop-filter;
}

#action {

    z-index: 10;
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    bottom: 0px;
    left: 0px;
    width: 100vw;
    height: 60px;
    background: black;
    /* Optional: semi-transparent background for better effect */
}

#menu>section#LOGO img {

    width: 40px;
    height: 40px;

}

#menu>section#LOGO {

    margin-left: 1em;

}

#menu>section#TEXT {

    margin-right: 2em;

}

#menu>section#TEXT p {

    font-weight: 100;

}

#menu>section#TEXT p span {

    color: #f20089;

}

button {
    cursor: pointer;
    padding: 1em;
    margin-right: 1em;
    border-radius: 5px;
    color: white;
    background-color: #9d4edd;
    border: none;
    height: 40px;
    transition: all 0.3s;
}

button:hover {

    background-color: #33174a;
}

button:active {
    background-color: #ffffff;
    color: #9d4edd;
}

#menu.srcolled {

    backdrop-filter: blur(10px);
    /* Adjust blur radius as needed */
    background: rgba(0, 0, 0, 0.5);
    /* Optional: semi-transparent background for better effect */
}



main {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    min-width: 100vw;
    max-width: 100vw;
    /* padding-top: 58vh; */
}

main #SHORT_US {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 80vw;
    max-width: 80vw;
    max-height: 100vh;
    min-height: 100vh;
}

main #WORK {
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    min-width: 100vw;
    max-width: 100vw;
}

main #SHORT_US div {
    margin-top: 0px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    min-width: 100%;
}

main #SHORT_US h3 {
    margin-left: 0vw;
    font-size: 4em;
    margin-bottom: 0.2em;
    font-weight: 900;
}

main #SHORT_US h3 span {
    background: -webkit-linear-gradient(#e500a4, #d506aa, #c311b0, #b01bb6, #9b23ba, #8f2dc0, #8135c7, #723ccc, #6946d5, #5f50de, #5359e6, #4361ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

main #WORK h6 {
    margin-left: 5vw;
    font-size: 3em;
    margin-bottom: 1em;
    margin-top: 0.5em;
}

main #SHORT_US p {
    margin-top: 1em;
    font-size: 1.1em;
    font-weight: 300;
    max-width: 70%;
    min-width: 70%;
}
span._A{
    color:#f20089 ;
}
span._B{
    color:#4361ee ;
}
span._C{
    color:#7b2cbf ;
}
span._D{
    color:#4361ee ;
}


main #WORK #portofolio {
    margin-top: 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;
    min-width: 100vw;
    max-width: 100vw;
    margin-bottom: 15vh;
}

main #WORK #portofolio .custom-image-div {
    z-index: 2;
    width: 30vw;
    height: 30vw;
    /* background-color: #3c096c; */
    background-image: linear-gradient(to right top, #341254, #350b3f, #30092d, #27081e, #1d0512, #1f0614, #220615, #240717, #350628, #43033f, #4b055b, #48137c);
    border-radius: 30px;
    margin: 0.3em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition-duration: 1s;
    transition-property: z-index, position, width, height, background-color, top, left;
}

main #WORK #portofolio .custom-image-div.developed {
    z-index: 8;
    width: 100vw;
    height: 80vh;
    background-color: black;
    background-image: none;
    border-radius: 0px;
    margin: 0em;
    position: fixed;
    left: 0vw;
    top: 10vh;
}

main #WORK #portofolio .custom-image-div .action_image {
    width: 30vw;
    height: 30vw;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    opacity: 0;
    transition-duration: 0.3s;
    transition-property: opacity;
}

main #WORK #portofolio .custom-image-div button:nth-child(2),
main #WORK #portofolio .custom-image-div.developed button:nth-child(1) {
    display: none;
}

main #WORK #portofolio .custom-image-div.developed button:nth-child(2) {
    display: flex;
}

main #WORK #portofolio .custom-image-div:hover .action_image {


    opacity: 1;
}

main #WORK #portofolio .custom-image-div img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
}

main #WORK #portofolio .custom-image-div.developed .action_image {
    width: 30vw;
    height: 60px;
    background-color: none;
    background: none;
    bottom: 10vh;
    right: 0.5em;
    opacity: 1;
}

#order_form {
    z-index: 20;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    overflow-y: auto;
    min-width: 100vw;
    max-width: 100vw;
    min-height: 100vh;
    max-height: 100vh;
    /* background-color: black; */
    background-image: linear-gradient(to right bottom, #000000, #200513, #320624, #42013a, #4d0057, #4c005e, #4a0066, #46026e, #41005d, #3b004d, #33003e, #2b0030);
    top: 130vh;
    left: 0px;
    position: fixed;
    transition: all 0.3s;
}

#order_form.ONFORM {
    top: 0vh;
}

#order_form>form {

    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    min-width: 80%;
    max-width: 80%;
    margin-bottom: 50px;
}

#order_form #final_disclamer {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: start;
    width: 80%;
    margin: 0.5em;
}

#order_form #final_disclamer div {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    width: 50%;
    margin: auto;
    margin-left: 0em;
}

#order_form .input_div {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    width: 80%;
    margin: 0.5em;
}

#order_form form #final_disclamer>img {
    width: auto;
    height: 150px;
    margin: 0.5em;
    margin-left: 1em;
    margin-right: 0em;
}

#order_form form #final_disclamer h4 {
    margin-bottom: 0.1em;
    margin-top: 0.2em;
    margin-left: 0em;
    font-size: 2em;
}

#order_form form #final_disclamer p {

    margin-bottom: 0.1em;
    margin-top: 0.1em;
    margin-left: 2em;
    font-size: 1em;
}

#order_form .input_div select,
#order_form .input_div select:focus,
#order_form .input_div input,
#order_form .input_div input:focus {
    outline: none;
    margin-top: 0.2em;
    width: 80%;
    background-color: #3c096c;
    border-radius: 12px;
    height: 30px;
    color: white;
    border-color: white;
    border-width: 1.5px;
    border-style: solid;
    border-top-style: solid;
    box-shadow: none;
    padding-left: 0.8em;
    transition-property: padding-left, width;
    transition: 1s;
}

#order_form .input_div select:focus,
#order_form .input_div input:focus {
    padding-left: 1.5em;

}

#order_form .input_div textarea,
#order_form .input_div textarea:focus {
    outline: none;
    margin-top: 0.2em;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: start;
    width: 80%;
    background-color: #3c096c;
    border-radius: 12px;
    border-bottom-right-radius: 0px;
    min-height: 150px;
    color: white;
    border-color: white;
    border-width: 1.5px;
    border-style: solid;
    border-top-style: solid;
    box-shadow: none;
}

#order_form .action_form {

    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 80%;
    border-radius: 10px;
    padding: 1em;
    background-color: rgba(0, 0, 0, 0.5);
}

/* footer section part */
#main-footer {
    background: #1d0733;
    color: #fff;
    padding: 2em 0 1em 0;
    text-align: center;
    font-size: 1em;
    margin-bottom:60px;
}
#main-footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7em;
}
#main-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-weight: bold;
    font-size: 1.2em;
    letter-spacing: 2px;
}
#main-footer .footer-slogan {
    font-size: 1em;
    opacity: 0.8;
}
#main-footer .footer-social a {
    color: #fff;
    margin: 0 0.5em;
    font-size: 1.4em;
    transition: color 0.2s;
}
#main-footer .footer-social a:hover {
    color: #f20089;
}
#main-footer .footer-copy {
    margin-top: 1em;
    font-size: 0.95em;
    opacity: 0.7;
}
/* end--------------------------------- */

/* team members part  */
/* Design pour la section équipe */
#TEAM {
    background: #1d0733;
    padding: 3em 0 2em 0;
    color: #fff;
    text-align: center;
}

#TEAM h6 {
    font-size: 2em;
    margin-bottom: 1.5em;
    letter-spacing: 2px;
    color: #f20089;
    font-weight: 700;
}

#team {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
}

.team_member {
    background: #240046;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    padding: 2em 1.5em 1.5em 1.5em;
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.team_member:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(242,0,137,0.18);
}

.team_member img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f20089;
    margin-bottom: 1em;
    background: #fff;
}

.team_member h5 {
    margin: 0.5em 0 0.3em 0;
    font-size: 1.25em;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
}

.team_member p {
    font-size: 1em;
    color: #e0aaff;
    margin: 0;
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 900px) {
    #team {
        flex-direction: column;
        gap: 1.5em;
    }
    .team_member {
        width: 90vw;
        max-width: 340px;
        margin: 0 auto;
    }


    #menu {

        backdrop-filter: blur(10px);
        /* Adjust blur radius as needed */
        background: rgba(0, 0, 0, 0.5);
        /* Optional: semi-transparent background for better effect */
    }

    main #WORK #portofolio {

        display: flex;
        flex-direction: row;
        justify-content: start;
        align-items: start;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    main #WORK #portofolio .custom-image-div {
        min-width: 80vw;
        max-width: 80vw;
        height: 56vh;

    }

    main #WORK #portofolio .custom-image-div.developed {
        min-width: 100vw;
        max-width: 100vw;
        height: 100vh;
        top: 0px;
    }

    main #WORK #portofolio .custom-image-div .action_image {
        width: 30vw;
        height: 30vw;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: absolute;
        opacity: 0;
        transition-duration: 0.3s;
        transition-property: opacity;
    }

    main #WORK #portofolio .custom-image-div button:nth-child(1),
    main #WORK #portofolio .custom-image-div.developed button:nth-child(1) {
        display: none;
    }

    main #WORK #portofolio .custom-image-div:hover .action_image {


        opacity: 0;
    }

    main #WORK #portofolio .custom-image-div.developed:hover .action_image {


        opacity: 1;
    }


    main #SHORT_US {
        min-width: 100vw;
        max-width: 100vw;
    }

    main #SHORT_US h3 {
        font-size: 4em;
        margin-top: 0em;
        margin-left: auto;
        min-width: 96vw;
        max-width: 96vw;
    }

    main #SHORT_US p {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        min-width: 100%;

    }

    main #SHORT_US div {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        min-width: 90%;
        max-width: 90%;
        margin-left: 5vw;
    }

    main #SHORT_US div button {

        min-width: 90%;
        max-width: 90%;
        margin-left: 5%;
    }

    #order_form #final_disclamer {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        width: 100%;
        margin: 0em;
    }

    #order_form #final_disclamer>img {
        margin-left: auto;
        margin-right: auto;

    }

    #order_form>form {

        align-items: center;
        min-width: 100%;
        max-width: 100%;
        margin-bottom: 50px;
    }

    #order_form form #final_disclamer h4 {
        text-align: center;
        margin-left: auto;
    }

    #order_form form #final_disclamer p {

        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    #order_form #final_disclamer div {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        width: 100%;
        margin: auto;
        margin-left: auto;
    }
}