body,
html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: black;
    color: #ffffff;
    min-height: 100vh;

}

header {

    background-color: rgba(243, 243, 243, 0.9);
    font-weight: 500;
    margin: 25px auto;
    border-radius: 30px;
    padding: 10px 11px;
    width: fit-content;
    position: relative;
    transition: all 404ms ease;
}

header:hover {
    background-color: #013afb;
    transition: all 0.42s ease;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

li {
    display: inline-block;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

header a {
    text-decoration: none;
    display: inline-block;
    width: 120px;
    text-align: center;
    line-height: 2.5;
    color: #000000;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.42s ease;
}

header a:hover {
    background: linear-gradient(135deg, rgba(225, 225, 225, 0.3) 0%, rgba(182, 182, 182, 0.7) 100%);
    color: #ffffff;
}

#hello {
    transition: opacity 1s ease-in-out;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}



.contact_section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}


.contact-my_info {
    flex: 1;
    text-align: left;
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-right: 20px;
    margin: auto;
    margin: 1
}


#form_contact {
    flex: 1;
    border-radius: 10px;
    margin: 24px;
}

footer p {
    margin: 0;
    padding: 0;
}

footer {
    bottom: 0;
    left: 0;
    right: 0;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 14px;
    margin-top: 100px;
}

footer a {
    margin: 10px;
}


/*----- Logo Instagram -----*/
.instagram-logo {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url("logo/Instagram_Glyph_White.png");
    background-size: contain;
    transition: all 0.3s ease;
}

.instagram-logo:hover {
    background-image: url("logo/Instagram_Glyph_Gradient.png");
    transform: scale(1.1);
}

/*----- END Instagram -----*/


/*----- Logo Github -----*/
.github-logo {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url("logo/GitHub_Invertocat_Light.png");
    background-size: contain;
    transition: all 0.3s ease;
}

.github-logo:hover {
    transform: scale(1.1);
}

/*----- END Github -----*/


/*----- Logo Linkedin -----*/
.linkedin-logo {
    display: inline-block;
    width: 30px;
    height: 28px;
    background-image: url("logo/InBug-White.png");
    background-size: contain;
    transition: all 0.3s ease;
}

.linkedin-logo:hover {
    background-image: url("logo/LI-In-Bug.png");
    transform: scale(1.1);
}

/*----- END Linkedin -----*/



/*---- Bouton tel et mail de contact ---- */
.bouton_contact {
    margin: 25px auto;
    text-decoration: none;
    display: inline-block;
    width: auto;
    text-align: center;
    line-height: 1.5;
    color: #ffffff;
    border-radius: 10px;
    background-color: #2e2e2e;
    font-weight: 500;
    padding: 10px 20px;
    margin: 10px;

}

.bouton_contact:hover {
    outline: none;
    background-color: #002bcc;
    transform: scale(1.1);
    transition: all 0.42s ease;
}

/*---- Bouton tel et mail de contact  END ---- */



/*------ animation du _ ------*/
.underscore {

    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/*----- animation du _ END ----*/


.section-container {
    display: flex;
    flex-wrap: wrap;
    /* block les un en dessous des autre */
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* espacement*/
    margin: 0 auto;
    max-width: 80%;
    /* largeur*/
    padding: 20px;
}

.section-item {
    margin: 20px;
    background-color: #2e2e2e;
    padding: 24px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 250px;
    /*largeur et hauteru max */
    max-width: 350px;
}

.dgac_logo,
.gg-an_logo,
.orange_logo,
.HQE_logo,
.EPITECH_logo,
.UNSS_logo,
.vik_logo ,
.ppnm_logo{
    display: block;
    width: auto;
    height: 60px;
    margin: 8px;
    text-align: center;
}

.section-container.formation {
    flex-direction: column;
    align-items: center;
}

.titre {
    align-items: center;
    text-align: center;
}

.dgac_logo:hover,
.gg-an_logo:hover,
.orange_logo:hover,
.HQE_logo:hover,
.EPITECH_logo:hover,
.UNSS_logo:hover,
.vik_logo:hover,
.ppnm_logo:hover {
    transform: scale(1.1);
}


/* FORMULAIRE */

.form-container {
    width: 50%;
}


.custom-form-container {


    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}


.form-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: #ffffff;
}


.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 2px;
    font-weight: 500;
    color: #cccccc;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(20, 20, 20, 0.7);
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    resize: vertical;
    box-sizing: border-box;
}

.form-group textarea {
    min-height: 150px;
}


.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #013afb;
    box-shadow: 0 0 0 2px rgba(1, 58, 251, 0.3);
}

/* Bouton envoyer */
.submit-button {

    padding: 14px;
    background-color: #013afb;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: #002bcc;
}


.form-response {
    margin-top: 20px;
    padding: 12px;
    text-align: center;
    border-radius: 5px;
    font-weight: 500;
    font-size: 16px;
}

.home_me {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
    max-width: auto;
    padding: 20px;
}


.image_me {
    left: 5%;
    width: 300px;
    height: auto;
    position: relative;
    margin: 20px;
    padding: 24px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 300px; 

}

.me_text {
    width: 50%;
    margin: 20px;
    padding: 24px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    gap: 8px;
    box-sizing: border-box;
}

.me_text h1 {
    margin: 0;
    display: inline-block;
}