@import 'style.css';

.contactimg {
    width: auto;
    height: 100vh;
}


.buttonrelative {
    position: relative;
}

#main-content {
    gap: 0;
}

#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;
}

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

#congtact1 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;


}

.blocmsgcontact h3 {
    font-size: 1.5rem;
    font-family: var(--font-fam-one);
    font-weight: 100;
    letter-spacing: 2px;
    color: #ffffffe7;
    text-shadow: 0px 0px 20px #000;

}

.blocmsgcontact img {
    height: 60px;
    width: auto;
    transform: rotate(90deg);
}

#particle {
    position: fixed;
    top: 0;
    left: 0;
    /* ou absolute/fixed selon ton layout */
    inset: 0;
    width: 100%;
    height: 100vh;
    /* ajuste si besoin */
    overflow: hidden;
    pointer-events: none;
    /* les clics passent à travers */
}

/* optionnel : si #particle recouvre tout, passe-le derrière ton contenu */
#particle.is-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.decobloc {
    height: 25%;
    width: 200%;

    position: absolute;
    transform: translate(-50%, -50%) rotate(314deg);

    left: 50%;
    top: 50%;
    background: radial-gradient(ellipse at 0% 100%, rgb(0 78 255) 0%, rgb(255 0 0) 20%, rgb(0 118 255 / 81%) 35%, rgb(0 0 255 / 63%) 60%, #ff3b3b 80%);
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    opacity: 1;
}


.decobloc::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 100%,
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 0, 255, 0.2) 20%,
            transparent 50%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.decobloc::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 40% 90%, rgba(0, 255, 150, 0.08), transparent 60%),
        radial-gradient(circle at 60% 85%, rgba(255, 255, 0, 0.08), transparent 60%),
        radial-gradient(circle at 50% 100%, rgba(255, 100, 255, 0.07), transparent 50%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}


#contact2 {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    min-height: 90vh;
    border-top: 4px solid black;
}

#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: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    width: 100%;
    gap: 20px;
    padding: 50px 0;
    border-top-right-radius: 30%;
    border-bottom-left-radius: 30%;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 600px;
}

#contact2 #form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top-right-radius: 30%;
    border-bottom-left-radius: 30%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 0;
}

#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(--color-font);
    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) {

    #congtact1 h2{
        width: 70%;
        text-align: center;
    }

    #lescontacts{
        height: 100vh;
        flex-direction: row;
        gap: 0;
    }

    #contact2{
        width: 50%;
        height: 100vh;
        overflow: visible;
    }

    #congtact1{
        width: 50%;
    }

    #contact2 #form{
        width: 80%;
        height: auto;
        max-height: 80vh;
        transform: translate(-50%, -42%);
    }

    #contact2 h2{
        z-index: 10;
        width: 100%;
    }
    
}