body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    background-image: url("../img/background/background2.png");
    background-size: cover;
    background-attachment: fixed;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 400px) {
    body {
        background-color: white;
        background-image: url("");
    }
}

nav {
    background-color: #143562;
}

.name {
    background-color: #143562;
}

.name h1 {
    color: white;
    text-decoration: none;
    font-size: 2em;
}

nav .main_choice a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
}

nav .main_choice a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 7px;
    background-color: #c0ac5c;
    border-radius: 10px;
    transition: width 0.3s ease;
}

nav .main_choice a:hover::after,
nav .main_choice a.active::after {
    width: 100%;
    border: 2px solid #ffff;
}

nav .main_bar a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
}

nav .main_bar a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 7px;
    background-color: #c0ac5c;
    border-radius: 10px;
    transition: width 0.3s ease;
}

nav .main_bar a:hover::after,
nav .main_bar a.active::after {
    width: 100%;
    border: 2px solid #ffff;
}

nav .lang_choice img {
    width: 50px;
}

nav .lang_choice a.active img {
    outline: 5px solid #c0ac5c;
    outline-offset: 0px;
    border-radius: 10px;
    box-shadow: 0 0 0 6px white;
}

nav .lang_choice a:hover img {
    outline: 5px solid #c0ac5c;
    outline-offset: 0px;
    border-radius: 10px;
    box-shadow: 0 0 0 6px white;
}

nav a.active {
    color: #c0ac5c;
}

.button-dropdown {
    display: none;
    background-color: transparent;
    border: none;
    color: white;
    padding: 0px 10px 0px 10px;
    font-size: 2em;
    cursor: pointer;
}

main h2 {
    border-style: solid;
    border-color: #143562;
    border-radius: 10px;
    background-color: #143562;
    color: white;
}

.presentation .info {
    background-color: #143562;
    color: white;
    border-style: solid;
    border-color: #143562;
    border-radius: 10px;
}

.presentation .info a {
    color: white;
}


.presentation .button-container a {
    display: block;
    background-color: #c0ac5c;
    color: white;
    border: solid 1px #c0ac5c;
    border-radius: 10px;
    padding: 10px;
    font-size: 25px;
    text-align: center;
    text-decoration: none;
    width: 100%;
    transition: 0.3s;
    margin-bottom: 10px;
}

.presentation .download-button-container a {
    display: block;
    background-color: #c0ac5c;
    color: white;
    border: solid 1px #c0ac5c;
    border-radius: 10px;
    padding: 10px;
    font-size: 25px;
    text-align: center;
    text-decoration: none;
    width: 100%;
    transition: 0.3s;
}

.presentation .button-container a:hover {
    box-shadow: 0 0 0 5px #c0ac5ca2;
    color: #fff;
}

.presentation .last-project {
    background-color: #143562;
    color: white;
    border-style: solid;
    border-color: #143562;
    border-radius: 10px;

}

.presentation .last-project img {
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}

.presentation .last-project h4 {
    font-size: 25px;
}

.presentation .content-container .img-profile {
    border-radius: 10px;
    height: 450px;
    transition: ease-in 0.5s;
}

/*
.presentation .content-container .img-profile:hover {
    filter:blur(2px);
    cursor: pointer;
}
*/

/*MES COMPETENCES (PARTIE 2)*/

.competences .description {
    border-style: solid;
    border-color: #143562;
    border-radius: 10px;
    background-color: #143562;
    color: white;
}

.competences .description img {
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}

.presentation .contact a,
.competences .mes-certificats a {
    text-decoration: none;
    text-decoration-line: none;
    color: #fff;
}

.presentation .contact,
.competences .mes-certificats,
.competences .logiciel-maitriser,
.competences .dev-competences {
    border-style: solid;
    border-radius: 10px;
    border-color: #143562;
    background-color: #143562;
    color: white;
}

.competences .stat-container article {
    border-style: solid;
    border-color: #c0ac5c;
    border-radius: 10px;
    background-color: #c0ac5c;
}

.competences .stat-container article ul {
    list-style: none;
    text-align: center;
}

.competences .stat-container .progress-bar {
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 25px;
    margin: 1em 0 1em 0;
}

.competences .reseaux-bar,
.competences .telecommunication-bar,
.competences .programmation-bar,
.competences .cybersecurite-bar {
    background-color: #143562;
    color: white;
    height: 100%;
}

.competences .reseaux-bar {
    width: 70%;
}

.competences .telecommunication-bar {
    width: 55%;
}

.competences .programmation-bar {
    width: 70%;
}

.competences .cybersecurite-bar {
    width: 65%;
}

.presentation .contact .content-container .content,
.competences .content-container .content {
    border-style: solid;
    border-color: #c0ac5c;
    border-radius: 10px;
    background-color: #c0ac5c;
}

/*MES EXPERIENCE (PARTIE 3)*/

.experiences article {
    border-style: solid;
    border-color: #143562;
    border-radius: 10px;
    background-color: #143562;
    padding: 10px;
    color: #ffffff;
}

.experiences article a {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 2px 5px 2px 5px;
    text-decoration: none;
    color: #ffffff;
    white-space: nowrap;
    font-size: 0.8em;
}

.experiences article i {
    border-style: solid;
    border-color: #c0ac5c;
    border-radius: 50%;
    background-color: #ffffff;
    color: #c0ac5c;
    padding: 3px 5px 3px 5px;
    margin-right: 10px;
}

/*MES PROJET REALISES (PARTIE 4)*/

.projet article {
    border-style: solid;
    border-color: #143562;
    border-radius: 10px;
    background-color: #143562;
    padding: 10px;
    color: #ffffff;
}

.projet .button-container a {
    display: block;
    background-color: #c0ac5c;
    color: white;
    border: solid 1px #c0ac5c;
    border-radius: 10px;
    padding: 10px;
    font-size: 25px;
    text-align: center;
    text-decoration: none;
    width: 100%;
    transition: 0.3s;
}

.projet .button-container a:hover {
    box-shadow: 0 0 0 5px #c0ac5ca2;
    color: #fff;
}

.projet article img {
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}



/*FOOTER (PARTIE 5)*/

footer {
    background-color: #143562;
    padding: 10px;
    color: white;
}


footer .contact-container i {
    border-style: solid;
    border-color: #c0ac5c;
    border-radius: 50%;
    background-color: white;
    color: #c0ac5c;
    padding: 10px;
    font-size: 20px;
}

footer .contact-container a {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 10px;
    text-decoration: none;
}


/*SKI (PARTIE 1)*/

.description {
    border-style: solid;
    border-color: #143562;
    border-radius: 10px;
    background-color: #143562;
    color: white;
}

.description img {
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}

.description picture {
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}



/*MUSIQUE (PARTIE 4)*/

.musique .content-container .music-container {
    background-color: #143562;
    padding: 1em;
    border-radius: 10px;
    color: white;
}


/* PROJET */

/* STYLE DU MAIN PROJET */
.projet {
    font-family: Arial, Helvetica, sans-serif;
    color: #143562;
}

.project-img img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.project-info h3 {
    font-size: 2em;
    color: #c0ac5c;
}

.project-info h4 {
    font-size: 1.2em;
    margin-top: 10px;
}

.project-info ul {
    margin-left: 20px;
}

.button-container a {
    background-color: #c0ac5c;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-size: 1em;
    text-decoration: none;
    text-align: center;
    transition: 0.3s;
    display: inline-block;
    margin-top: 10px;
}

.button-container a:hover {
    box-shadow: 0 0 0 5px #c0ac5ca2;
}

/* INTEGRATIF */

/* --- Titres --- */
.integratif .title-container h2 {
    font-size: 40px;
    padding: 15px;
}

/* --- Bloc projet --- */
.integratif .line {
    background-color: #143562;
    color: #fff;
    border: 2px solid #143562;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.integratif .line h3 {
    font-size: 1.5rem;
    margin: 0.5em 0;
}

.integratif .line p {
    line-height: 1.6;
    margin-bottom: 1em;
}

.integratif .line a {
    text-decoration: none;
}

.integratif .line a:hover {
    text-decoration: underline;
}

/* --- Image --- */
.integratif .line .img-container img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* --- Liste technique (style visuel) --- */
.list-tech li {
    background: rgba(255, 255, 255, 0.1);

    border-left: 4px solid #c0ac5c;

    border-radius: 6px;
    color: #fff;

}

.list-tech-2 li {
    background: rgba(221, 221, 221, 0.452);
    border-radius: 6px;
    color: #143562;

}

.list-theme a {
    text-decoration: none;
    color: #c0ac5c;
    font-weight: 600;
    transition: color 0.2s;
}

.list-theme a:hover {
    color: #fff;
}

.integratif .text-container-2 {
    background-color: #143562;
    color: #fff;
    border: 2px solid #143562;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin-bottom: 2em;

}

.integratif .download-button-container a {
    display: block;
    background-color: #c0ac5c;
    color: white;
    border: solid 1px #c0ac5c;
    border-radius: 10px;
    padding: 10px;
    font-size: 25px;
    text-align: center;
    text-decoration: none;
    width: 100%;
    transition: 0.3s;
    margin-top: 10px;
}

.integratif .text-container-2 .conclusion {
    text-align: justify;
    line-height: 2;

}

.integratif .text-container-2 .container {
    display: flex;
    justify-content: center;
    font-size: 20px;
}


.images article {
    border-style: solid;
    border-color: #143562;
    border-radius: 10px;
    background-color: #143562;
    padding: 10px;
    color: #ffffff;
}

.images .button-container a {
    display: block;
    background-color: #c0ac5c;
    color: white;
    border: solid 1px #c0ac5c;
    border-radius: 10px;
    padding: 10px;
    font-size: 25px;
    text-align: center;
    text-decoration: none;
    width: 100%;
    transition: 0.3s;
}

.images .button-container a:hover {
    box-shadow: 0 0 0 5px #c0ac5ca2;
    color: #fff;
}

.images article img {
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}