@import 'style.css';





#congtact1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    gap: 50px;
    width: 100%;

    padding: 200px 10px 50px 10px;
    flex-direction: column;
    position: relative;
}

.image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-container img {
    width: 100%;
    height: auto;
}

.image-container p {
    position: absolute;
    bottom: 30px;
    left: 10px;
    font-family: var(--font-fam-one);
    font-weight: 400;
    font-size: 1rem;
    color: #000;
}

#qsuis {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    flex-direction: column;
    position: relative;
    perspective: 800px;

}



#qsuis [data-depth] {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

#qsuis h6 {
    font-family: var(--font-fam-one);
    font-size: 1.8rem;
    font-weight: 100;
    position: absolute;
    top: -50px;
    left: 0;
    color: var(--text-color);
    letter-spacing: 2px;
}

.image-container svg {
    width: 45px;
    height: auto;
    position: absolute;
    bottom: -52px;
    left: 50%;
    transform: translateX(-50%);
}

.legende {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.legende p {
    width: 100%;
    font-family: var(--font-fam-one);
    font-size: 1rem;
    color: var(--text-color);

}

.legende span {
    width: 100%;
    text-align: center;
    width: 100%;
    font-family: var(--font-fam-one);
    font-weight: 400;
    font-size: 1.2rem;
    color: var(--text-color);
}


#halo-contact {
    top: -37%;
    left: 20%;
    transform: rotate(33deg);
    width: 200%;
    height: 100%;
}




.decobloccontact {
    height: 25%;
    width: 215%;
    animation: gradientMove 2s linear infinite;
    position: absolute;
    transform: translate(-50%, -50%) rotate(314deg);
    left: 50%;
    top: 50%;
    background: radial-gradient(ellipse at 50% 100%,
            rgb(0, 255, 233) 0%,
            rgb(207, 125, 255) 20%,
            rgba(207, 125, 255, 0.8) 35%,
            rgb(0, 255, 233) 60%,
            #cf7dff 80%);
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    opacity: 1;
    will-change: transform;
}


.decobloccontact::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 100%, rgb(0, 255, 233) 0%, rgb(207, 125, 255) 20%, rgba(207, 125, 255, 0.8) 35%, rgb(0, 255, 233) 60%, #cf7dff 80%);
    filter: blur(5px);
    pointer-events: none;
    background-size: 200% auto;
    animation: gradientMove 10s linear infinite;

}

.decobloccontact::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 100%, rgb(0, 255, 233) 0%, rgb(207, 125, 255) 20%, rgba(207, 125, 255, 0.8) 35%, rgb(0, 255, 233) 60%, #cf7dff 80%);
    filter: blur(55px);
    pointer-events: none;

}


#contact2 {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    isolation: isolate;
    background-color: #00000004;
}

#contact2 h2 {
    font-size: 1.2rem;
    font-family: var(--font-fam-one);
    font-weight: 100;
    letter-spacing: 2px;
    color: #ffffffe7;
    text-shadow: 0px 0px 20px #000;
    width: 90%;
    z-index: 10;
}


#contact2 #form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: relative;
    width: 100%;
    gap: 20px;
    padding: 50px 0;
    border-top-right-radius: 30%;
    border-bottom-left-radius: 30%;
    overflow: hidden;
    box-shadow: 0px 0px 20px rgb(0 0 0 / 15%);
    max-width: 600px;
    background: #00000000;
    border: 0.5px solid #ffffff1a;

}




/* ton verre */
#form::before {
    content: '';
    inset: 0;
    top: 0;
    left: 0;
    backdrop-filter: blur(35px);
    position: absolute;
    background-color: #ffffff00;
}



#contact2 #form div:not(.buttonrelative) {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 20px;
    z-index: 1;
}

#contact2 #form div p {
    font-family: var(--font-fam-one);
    font-weight: 500;
    color: var(--text-color);
    font-size: 1rem;
    letter-spacing: 1px;
    filter: drop-shadow(4px 4px 7px rgba(0, 0, 0, 0.68));
}

#contact2 #form div input {
    border: none;
    width: 100%;
    height: 50px;
    border-radius: 5px;
    font-family: var(--font-fam-one);
    font-weight: 500;
    color: var(--color-font);
    font-size: 1rem;
    letter-spacing: 1px;
    padding-left: 20px;
}


#contact2 #form div textarea {
    border: none;
    width: 100%;
    height: 100px;
    padding-left: 20px;
    border-radius: 5px;
    font-family: var(--font-fam-one);
    font-weight: 500;
    color: var(--color-font);
    font-size: 1rem;
    letter-spacing: 1px;
    padding-left: 20px;
    padding-top: 20px;
}




#lescontacts {
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 150px;
}


@media (min-width:1024px) {

    .legende p {
        width: 100%;
        font-family: var(--font-fam-one);
        font-size: 1.5rem;
        color: var(--text-color);
    }

    .decobloccontact {
        height: 30%;
        width: 215%;
        transform: translate(-50%, -50%) rotate(348deg);
    }

    #halo-contact {
        top: -33%;
        left: -33%;
        transform: rotate(315deg);
        width: 100%;
        height: 100%;
    }

    #qsuis {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 100px;
        flex-direction: row;
        position: relative;
        perspective: 800px;
        padding: 0 5%;
    }

    .image-container img {
        width: auto;
        height: 80vh;
    }

    #qsuis {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 100px;
        flex-direction: row;
        position: relative;
        perspective: 800px;
        padding: 0 5%;
    }

}