:root {
    --primaire: #ffbd59;
    --secondaire: #75a6e4;
    --tertiaire: #592323;
    --noir: #000000;
    --vert: #3F9A51;
    --blanc: #f4e9dc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    background-color: var(--blanc);
    font-family: "Raleway", sans-serif;
}

header {
    height: 10vh;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primaire);
    width:100%;
    height:150px;
    border-top: 4px solid var(--noir);
}

button {
    pointer-events: auto;
	background: #e7e7e7;
	border: none;
	padding: 1.5rem 3rem;
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	position: relative;
	display: inline-block;
}

button::before,
button::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

input {
    width: 50%;
    height: 70px;
    border-radius: 3px;
    font-family: 'Mina', sans-serif;
}

textarea {
    width: 50%;
    height: 200px;
    border-radius: 3px;
    resize: none;
    margin: 25px 0px;
}

form {
    text-align: center;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.6s ease-in-out,
    opacity 0.6s ease-in-out;
}

form.active {
    transform: translateY(0%);
    opacity: 1;
}

.txt-center {
    text-align: center;
}

.m-bottom50 {
    margin-bottom: 50px;
}
/* Titre pour chaque section */
.titresection {
    color: var(--noir);
    text-align: center;
    margin-top: 150px;
    margin-bottom: 80px;
    font-weight: 600;
    font-size: 6vh;
    font-family: "Signika", system-ui;
    position: relative;
}

.titresection::before{
    content: "";
    position: absolute;
    background-color: var(--primaire);
    height: 45px;
    bottom: 0;
    z-index: -1;
}

.propos::before {
    width: 13%;
    left: 44%;
}

.formations::before {
    width: 17%;
    left: 42%;
}

.projets::before {
    width: 11%;
    left: 45%;
}

.contact::before {
    width: 39%;
    left: 31%;
}

.section-comp .titresection {
    padding-top: 30px;
}
/* Quand on sélectionne du texte/image ect sur la page */
::selection{
    background-color: var(--secondaire);
    color: var(--blanc);
}

::-moz-selection {
    background-color: var(--secondaire);
    color: var(--blanc);
}

/* Section Header */

/* Barre de navigation */
.navbar {
    position: absolute;
    padding: 15px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 2px solid var(--noir);
    background-color: var(--primaire);
}

.navbar a {
    color: var(--blanc);
    text-decoration: none;
    font-family: "Raleway", sans-serif;
    font-size: 1.3em;
    font-weight: 800;
    color: var(--noir);
}

.navbar .logo {
    width: 128px;
}

/* Styles pour le menu burger */
.menu-burger {
    display: none;
    cursor: pointer;
    width: 30px;
}

.navbar .nav-links ul {
    display: flex;
    margin-bottom: 0;
}

.navbar .nav-links ul li {
    margin: 0 35px;
    position: relative;
    list-style: none;
}

.navbar .nav-links ul li a {
    position: relative;
    padding: 5px 0;
    display: inline-block;
}

/* Nouvelles règles pour l'animation */
.navbar .nav-links ul li::before,
.navbar .nav-links ul li::after {
    content: '';
    position: absolute;
    bottom: -3px;
    width: 0;
    height: 4px; /* Épaisseur des traits */
    background-color: var(--noir);
    transition: width 0.3s ease;
    transform: skew(-45deg); /* Inclinaison à 45° */
}

.navbar .nav-links ul li::before {
    left: 50%;
}

.navbar .nav-links ul li::after {
    right: 50%;
}

.navbar .nav-links ul li:hover::before,
.navbar .nav-links ul li:hover::after {
    width: 50%;
}
/* Menu burger */
.navbar .menu-burger {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
}

/* Partie Accueil */

.bloc-accueil {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 85vh;
}

/* Titre "Bastien Mézière" */
.context {
    text-align: center;
    color: var(--noir);
    font-size: 7rem;
    font-weight: 600;
    font-family: "Signika", system-ui;
}
/* Titre "Développeur Web" */
.context2 {
    text-align: center;
    font-size: 5rem;
    font-weight: 300;
    font-family: "Signika", system-ui;
    color: var(--noir);
}
/* Bouton "Mon CV" */
.mon-cv {
    display: inline-block;
    position: relative;
    left: 100px;
    border-radius: 7px;
    border: 3px solid var(--noir);
    background: var(--blanc);
    box-shadow: 4px 4px 0px 0px var(--noir);
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 42px;
    color: var(--noir);
    font-size: 20px;
    font-weight: 700;
    z-index: 1;
    overflow: hidden;
    transition: color .5s;
}
.mon-cv:before {
    background: var(--secondaire);
    content: "";
    position: absolute;
    z-index: -1;
    height: 130px;
    width: 215px;
    border-radius: 50%;
}
.mon-cv:hover {
    transition: 0.6s;
    color: var(--noir);
    border: 3px solid var(--noir);
    box-shadow: 4px 4px 0px 0px var(--noir);
}
.mon-cv:before {
    top: 100%;
    left: 100%;
    transition: all .4s;
}
.mon-cv:hover::before {
    top: -30px;
    left: -30px;
}
/* Bloc de texte des titres "Bastien Mézière" et "Développeur Web" */
.bloc-texte-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
/* Rond fixed pour revenir tout en haut de la page */
.rond-accueil {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 999;
    margin: 15px;
    color: var(--noir);
    font-size: 28px;
    width: 60px;
    height: 60px;
    background-color: var(--secondaire);
    opacity: 80%;
    border-radius: 50%;
    transition: bottom 200ms, transform 200ms;
}
body .fa-solid {
    display: flex;
}
.rond-accueil:hover {
    opacity: 85%;
    bottom: 10px;
}
.rond-accueil.active {
    animation: bounce 1s ease-in-out;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

.bloc-propos {
    display: flex;
    justify-content: center;
}

.bloc-p-propos {
    padding-top: 50px;
    width: 800px;
}
.forme-accueil {
    padding: 0;
}
.image-accueil {
    width: 80%;
}

.image-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: -50px 250px;
    padding-left: 150px;
}

.codeur {
    display: block;
    margin-right: auto;
    margin-left: auto;
    height: 400px;
    border-radius: 63px;
    border: 5px solid var(--textePrimaire, #000);
    box-shadow: 7px 7px 2px 5px #000;
    cursor: pointer;
}

.hide {
    position: absolute;
    opacity: 0;
    width: 100px;
    height: 100px;
    transition: all 0.3s ease;
}

.ampoule {
    top: 10%;
    left: 40%;
    transform: translate(-50%, -50%);
}

.coding {
    top: 60%;
    left: 70%;
    transform: translate(-150%, 0%);
}

.webdesign {
    top: 35%;
    left: 110%;
    transform: translate(-50%, -50%);
}

.image-container:hover .hide {
    opacity: 1;
}

.image-container:hover .ampoule {
    transform: translate(-120%, -100%);
}

.image-container:hover .coding {
    transform: translate(-200%, 180%);
}

.image-container:hover .webdesign {
    transform: translate(100%, 0%);
}

.codeur:hover {
    opacity: 65%;
}

.fade-in {
    animation: slideIn 0.5s ease-in;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px); /* Change de translateY à translateX */
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Section A propos */

hr {
    border: 3px solid var(--noir);
    width: 10%;
    margin: 50px auto;
    opacity: 100;
}

.bloc-qualites {
    display: flex;
    justify-content: center;
}

.qualites {
    width: 30rem;
    margin-left: 150px;
    margin-top: -75px;
}

.qualites2 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Mina', sans-serif;
    font-size: 24px;
    position: relative;
    top: 0px;
    left: 340px;
    border: 5px solid black;
    border-radius: 50%;
    width: 370px;
    height: 240px;
    background-color: var(--tertiaire);
    box-shadow: 8px 8px 0 0 rgb(0, 0, 0);
    z-index: -1;
}

.qualites3 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Mina', sans-serif;
    font-size: 24px;
    position: relative;
    top: 80px;
    left: -50px;
    border: 5px solid black;
    border-radius: 50%;
    width: 380px;
    height: 250px;
    background-color: var(--primaire);
    box-shadow: 8px 8px 0 0 rgb(0, 0, 0);
    z-index: 1;
}

.qualites4 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Mina', sans-serif;
    font-size: 24px;
    position: relative;
    top: -100px;
    left: -210px;
    border: 5px solid black;
    border-radius: 50%;
    width: 340px;
    height: 215px;
    background-color: var(--secondaire);
    box-shadow: 8px 8px 0 0 rgb(0, 0, 0);
    z-index: -2;
}

.bouton-propos {
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.6s ease-in-out,
    opacity 0.6s ease-in-out;
}

.bouton-propos.active {
    transform: translateY(0%);
    opacity: 1;
}

.p-propos {
    color: var(--noir);
    font-size: 1.4rem;
    font-family: 'Mina', sans-serif;
}

.btn-propos {
    border: 2px solid var(--noir);
    border-radius: 15px;
    margin: 180px 40px 0 40px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.8em;
    box-shadow: 5px 6px 0 0 rgb(0, 0, 0);
}

.btn-propos:hover {
    box-shadow: 0px 0px 0 0 rgb(0, 0, 0);
    background-color: var(--secondaire);
    transition: 0.3s;
}

.btn-propos:focus {
    background-color: var(--secondaire);
    color: var(--blanc);
}

tr {
    text-align: center;
}

.sous-titre-comp {
    color: var(--noir);
    text-align: center;
    font-weight: 600;
    margin-bottom: 75px;
    font-family: "Signika", system-ui;
}

.bloc-comp {
    background-color: var(--blanc);
    border: 2px solid var(--noir);
    border-radius: 15px;
    padding: 70px;
}

.bloc-comp-noir {
    margin: 60px 0;
}

.col-separator {
    border-right: 2px solid black;
}

.col-separator:last-child {
    border-right: none;
}

.ligne-comp {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.img-comp {
    width: 9vh;
    margin: auto;
    margin-bottom: 10px;
    margin-top: 40px;
}

.p-comp {
    text-align: center;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.marge-cote {
    margin: 0 auto;
    padding-bottom: 50px;
}
/* Réajustement taille logo HTML car trop petit */
.img-html {
    width: 12.6vh;
    margin: auto;
    margin-bottom: 50px;
}

.bloc-texte-form {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.titre-p-form {
    font-weight: 500;
    font-size: 1.5em;
    margin-top: 50px;
}

.lieu-p-form {
    font-family: 'Mina', sans-serif;
    font-size: 1.5em;
}

.annee-p-form {
    font-weight: 200;
    font-size: 1.3em;
    margin: 0 0 130px 0;
}

.texte-form {
    line-height: 1.5em;
}

.bloc-img-form {
    display: flex;
    justify-content: start;
    flex-direction: column;
}

.img-univ-angers {
    width: 20vh;
    border: 5px solid var(--noir);
    border-radius: 15px;
    margin: 15px 0;
}

.img-esb-exp {
    width: 32vh;
    height: 13vh;
    border: 5px solid var(--noir);
    border-radius: 15px;
    margin: 35px 0;
}

.img-bts {
    width: 20vh;
    border: 5px solid var(--noir);
    border-radius: 15px;
    margin: 15px 120px;
}

.img-bac {
    width: 30vh;
    height: 15vh;
    border: 5px solid var(--noir);
    border-radius: 15px;
    margin: 15px -35px;
}

.img-univ-toulouse {
    width: 30vh;
    height: 15vh;
    border: 5px solid var(--noir);
    border-radius: 15px;
    margin: 15px 120px;
}

.barre-jaune {
    width: 0.5vh;
    height: 850px;
    border: 4px solid var(--noir);
    margin: auto;
    margin-bottom: 60px;
}

.barre-exp {
    width: 0.5vh;
    height: 1050px;
    border: 4px solid var(--noir);
    margin: auto;
    margin-bottom: 60px;
}

.rond-jaune1 {
    position: relative;
    left: -25px;
    top: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--noir);
    background-color: var(--primaire);
}

.rond-jaune2 {
    position: relative;
    left: -25px;
    top: 200px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--noir);
    background-color: var(--primaire);
}

.rond-jaune3 {
    position: relative;
    left: -25px;
    top: 400px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--noir);
    background-color: var(--primaire);
}

.rond-jaune4 {
    position: relative;
    left: -25px;
    top: 600px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--noir);
    background-color: var(--primaire);
}

.rond-rouge1 {
    position: relative;
    left: -25px;
    top: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--noir);
    background-color: var(--tertiaire);
}

.rond-rouge2 {
    position: relative;
    left: -25px;
    top: 200px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--noir);
    background-color: var(--tertiaire);
}

.rond-rouge3 {
    position: relative;
    left: -25px;
    top: 400px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--noir);
    background-color: var(--tertiaire);
}

.rond-rouge4 {
    position: relative;
    left: -25px;
    top: 600px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--noir);
    background-color: var(--tertiaire);
}

.rond-rouge5 {
    position: relative;
    left: -25px;
    top: 750px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--noir);
    background-color: var(--tertiaire);
}

/* Pour ne pas afficher les sections au départ */
#comp {
    display: none;
    background-color: var(--primaire);
    margin-top: 75px;
    padding-bottom: 70px;
}

#form {
    display: none;
    margin-top: 75px;
}

#exp {
    display: none;
    background-color: var(--primaire);
    margin-top: 75px;
}

/* Section Projet */

/* Titre "Projet" */
.titreprojets {
    color: var(--noir);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 6vh;
}
/* Fond jaune */
.section-projets {
    margin-top: 150px;
}

#projets {
    margin: 125px 0px;
}

/* Card projet */
.card {
    width: 100%;
    max-width: 750px;
    margin: auto;
    margin-bottom: 3rem;
    padding: 25px;
    background: var(--primaire);
    box-shadow: 8px 8px 0 0 rgb(0, 0, 0);
    border: 3px solid var(--noir);
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 1;
}

.card:hover {
    transition: 0.3s ease-in-out;
    opacity: 70%;
    background: var(--secondaire);
    transform: scale(1.1);
}

/* Styles pour la modal */
.modal-dialog {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

.modal-content {
    background: var(--primaire);
    border: 3px solid var(--noir);
    border-radius: 20px;
}

.modal-header {
    border-bottom: 2px solid var(--noir);
}

.modal-title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 800;
    font-size: 2rem;
}

/* Styles pour la partie description */
.projet-info {
    padding: 20px;
}

.projet-info h3 {
    font-family: "Signika", system-ui;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 15px;
}

.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.tech-tag {
    background: #2c2929;
    color: var(--blanc);
    padding: 5px 15px;
    border-radius: 5px;
    font-family: "Space Grotesk", sans-serif;
}

.github-link {
    margin-top: 30px;
}

.github-link .btn {
    width: 170px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Space Grotesk", sans-serif;
    background-color: var(--tertiaire);
    color: var(--blanc);
}

.github-link .btn:hover {
    background-color: var(--blanc);
    color: var(--noir);
}

/* Styles pour la galerie d'images */
.projet-gallery {
    padding: 20px;
}

.carousel {
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--noir);
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.centre-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.img-projet {
    border: 4px solid var(--noir);
    height: 320px;
    object-fit: cover;
}

.titre-projet {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: "Space Grotesk", sans-serif;
}

.group-btn-projet {
    display: flex;
    margin: 0 10px;
}

.btn-projet {
    text-align: center;
    font-family: "Space Grotesk", sans-serif;
    margin: 10px 0 0 10px;
    border-radius: 5px;
    padding: 5px;
    color: var(--blanc);
    background-color: #2c2929;
    gap: 5px;
}

.btn-projet img {
    width: 30px;
}

.btn-projet.html  {
    display: flex;
    align-items: center;
}

.btn-projet.css  {
    display: flex;
    align-items: center;
}

.btn-projet.bootstrap  {
    display: flex;
    align-items: center;
}

.btn-projet.php  {
    display: flex;
    align-items: center;
}

.btn-projet-clic img {
    width: 30px;
}

.lien-projet {
    text-decoration: none;
    color: var(--noir);
}

.lien-projet:hover {
    color: var(--noir);
}

/* Section Contact */

.alert {
    background-color: #4CAF50;
    color: white;
    border: 2px solid var(--noir);
    padding: 10px;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 600;
    width: 300px;
}

.fond-contact {
    border: 3px solid var(--noir);
    padding: 75px;
    border-radius: 20px;
    box-shadow: 12px 14px 2px var(--noir);
}

/* Phrase reCaptcha Google */
.phrasecaptcha {
    text-align: center;
    color: var(--noir);
    margin: 50px 0px 100px 0px;
    font-family: 'Mina', sans-serif;
}

.lien-recaptcha {
    color: var(--secondaire);
    text-decoration: none;
    font-weight: 700;
}

.lien-recaptcha:hover {
    color: var(--noir);
    transition-duration: 0.2s;
}
/* On cache le recaptcha Google */
.grecaptcha-badge {
    opacity: 0;
}
/* Bouton "Envoyer" */
.boutoncontact {
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    background-color: var(--blanc);
    border: 2px solid var(--noir);
    box-shadow: 5px 5px 0 var(--noir);
    margin-top: 40px;
    border-radius: 7px;
    padding: 15px 25px;
    overflow: hidden;
    color: var(--noir);
    font-weight: 700;
    transition: .2s transform ease-in-out;
}
.boutoncontact::after {
    background-color: var(--secondaire);
    border-radius: 3rem;
    content: '';
    display: block;
    height: 150%;
    width: 150%;
    position: absolute;
    left: -30px;
    top: 0;
    transform: translate(-100%, 0) rotate(10deg);
    transform-origin: top left;
    transition: 0.2s transform ease-out;
    will-change: transform;
    z-index: -1;
  }
  .boutoncontact:hover::after {
    transform: translate(0, 0);
  }
  .boutoncontact:hover {
    transform: scale(1.05);
    will-change: transform;
  }

/* Input/Textarea */
.input-nom {
    margin-bottom: 25px;
    border: 1px solid var(--noir);
}

.input-reste {
    margin: 25px 0px;
    border: 1px solid var(--noir);
}

.form-control:focus {
    border: 4px solid var(--secondaire);
    box-shadow: 12px 8px 8px var(--noir);
}
/* Placeholder dans les input + textarea */
.section-contact input::placeholder {
    color: gray;
    font-family: 'Mina', sans-serif;
    font-size: 19px;
}

.section-contact textarea::placeholder {
    color: gray;
    font-family: 'Mina', sans-serif;
    font-size: 19px;
}

/* Section Footer */

/* Texte Footer */
.txt-footer {
    display: flex;
    justify-content: center;
    color: var(--noir);
    font-family: 'Mina', sans-serif;
    font-size: 1.2em;
}

/* Section Erreur 404 */

.erreur {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--blanc);
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

/* Responsive */
@media screen and (max-width: 2400px) {
    .image-accueil {
        width: 90%;
    }
    .bloc-texte-header {
        padding-left: 100px;
    }
    .card {
        width: 700px;
        padding: 20px;
    }
}
@media screen and (max-width: 2200px) {
    .propos::before {
        width: 15%;
        left: 43%;
    }
    .formations::before {
        width: 19%;
        left: 41%;
    }
    .card {
        width: 650px;
    }
}
@media screen and (max-width: 2100px) {
    .image-accueil {
        width: 95%;
    }
    .context {
        font-size: 5.5em;
    }
    .context2 {
        font-size: 4em;
    }
    .bloc-texte-header {
        padding-left: 200px;
    }
    .card {
        width: 600px;
    }
}
@media screen and (max-width: 1990px) {
    .image-accueil {
        width: 100%;
    }
    .propos::before {
        width: 16%;
        left: 42%;
    }
    .formations::before {
        width: 21%;
        left: 40%;
    }
    .card {
        width: 550px;
    }
}
@media screen and (max-width: 1900px) {
    .image-accueil {
        width: 105%;
    }
    .context {
        font-size: 5.2em;
    }
    .context2 {
        font-size: 3.7em;
    }
}
@media screen and (max-width: 1800px) {
    .image-accueil {
        width: 110%;
    }
    .context {
        font-size: 5em;
    }
    .context2 {
        font-size: 3.4em;
    }
    .propos::before {
        width: 18%;
        left: 41%;
    }
}
@media screen and (max-width: 1750px) {
    .context {
        font-size: 5em;
    }
    .context2 {
        font-size: 3.5em;
    }
    .card {
        width: 500px;
    }
    .bloc-p-propos {
        padding: 50px 0 0 150px;
    }
    .image-container {
        padding-left: 150px;
    }
    hr {
        margin: 50px auto;
    }
    .formations::before {
        width: 23%;
        left: 39%;
    }
}
@media screen and (max-width: 1720px) {
    .image-accueil {
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }
}
@media screen and (max-width: 1699px) {
    .bloc-p-propos {
        padding: 50px 0 0 0;
    }
    .image-container {
        margin-top: 100px;
        padding-left: 0;
    }
    .section-form .img-univ-toulouse {
        margin: 30px 100px;
        width: 35vh;
    }
    .section-form .img-univ-angers {
        width: 25vh;
    }
    .section-form .img-bts {
        width: 25vh;
    }
    .section-form .img-bac {
        width: 35vh;
        margin: 35px -35px;
    }
    .section-exp .img-univ-toulouse {
        width: 35vh;
        margin: 55px 100px;
    }
    .section-exp .img-esb-exp {
        width: 35vh;
        margin: 25px 0;
    }
    .section-exp .img-bts {
        margin: 35px 90px;
    }
    .section-exp .img-bac {
        margin: 35px 0;
    }
    .col-custom {
        flex: 0 0 50%; /* Largeur de 50% (2 colonnes) */
        max-width: 50%; /* Largeur maximale à 50% */
    }
    .card {
        width: 700px;
    }
}
@media screen and (max-width: 1650px) {
    .image-accueil {
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }
    .context {
        font-size: 4.2em;
    }
    .context2 {
        font-size: 3em;
    }
    .bloc-texte-header {
        padding-left: 150px;
    }
}
@media screen and (max-width: 1572px) {
    .section-exp .titre-p-form {
        font-size: 1.3em;
    }
    .section-exp .lieu-p-form {
        font-size: 1.2em;
    }
    .barre-exp {
        height: 1450px;
    }
    .section-exp .img-univ-toulouse {
        width: 25vh;
        margin: 25px 100px;
    }
    .section-exp .img-esb-exp {
        width: 25vh;
        margin: 25px 0;
    }
    .section-exp .img-bts {
        margin: 25px 90px;
    }
    .section-exp .img-bac {
        margin: 35px 0;
    }
    .propos::before {
        width: 20%;
        left: 40%;
    }
    .formations::before {
        width: 26%;
        left: 37%;
    }
}
@media screen and (max-width: 1500px) {
    .card {
        width: 600px;
    }
}
@media screen and (max-width: 1470px) {
    .p-comp {
        font-size: 1rem;
    }
    .propos::before {
        width: 22%;
        left: 39%;
    }
}
@media screen and (max-width: 1400px) {
    .bloc-qualites {
        margin-top: 50px;
    }
    .qualites2 {
        left: 280px;
        width: 420px;
        height: 200px;
    }
    .qualites3 {
        width: 430px;
        height: 200px;
    }
    .qualites4 {
        top: -70px;
        width: 420px;
        height: 200px;
    }
    .sous-titre-comp {
        font-size: 1.5rem;
    }
    .section-exp .img-univ-toulouse {
        width: 25vh;
        height: 12vh;
        border: 4px solid var(--noir);
        margin: 15px 70px;
    }
    .section-exp .img-esb-exp {
        border: 3px solid var(--noir);
        margin: 35px 0;
    }
    .section-exp .img-bts {
        width: 20vh;
        border: 5px solid var(--noir);
        margin: 15px 120px;
    }
    .section-exp .img-bac {
        width: 30vh;
        height: 15vh;
        border: 5px solid var(--noir);
        margin: 15px -35px;
    }
}
@media screen and (max-width:1387px) {
    .formations::before {
        width: 29%;
        left: 36%;
    }
}
@media screen and (max-width: 1354px) {
    .titre-projet {
        font-size: 1rem;
    }
    .p-projet {
        font-size: 0.8rem;
    }
}
@media screen and (max-width: 1353px) {
    .p-comp {
        font-size: 0.9rem;
    }
    .section-exp .titre-p-form {
        font-size: 1.2em;
    }
    .section-exp .lieu-p-form {
        font-size: 1.1em;
    }
    .section-exp .img-univ-toulouse {
        margin: 35px 100px;
    }
    .section-exp .img-esb-exp {
        margin: 35px 0;
    }
    .section-exp .img-bts {
        margin: 35px 90px;
    }
    .section-exp .img-bac {
        margin: 35px 0;
    }
}
@media screen and (max-width: 1330px) {
    .context {
        font-size: 4em;
    }
    .context2 {
        font-size: 3em;
    }
    .bloc-texte-header {
        padding-left: 120px;
    }
    .titresection {
        margin-bottom: 50px;
        font-size: 5em;
    }
    .propos::before {
        width: 25%;
        left: 38%;
    }
    .formations::before {
        width: 34%;
        left: 34%;
    }
}
@media screen and (max-width: 1275px) {
    .card {
        width: 550px;
    }
}
@media screen and (max-width: 1222px) {
    .context {
        font-size: 3.7em;
    }
    .context2 {
        font-size: 2.6em;
    }
    .bloc-texte-header {
        padding-left: 120px;
    }
}
@media screen and (max-width: 1199px) {
    .bloc-qualites {
        margin-top: 60px;
    }
    .qualites2 {
        left: 210px;
        width: 420px;
        height: 170px;
        border: 4px solid black;
        box-shadow: 5px 5px 0 0 rgb(0, 0, 0);
    }
    .qualites3 {
        width: 450px;
        height: 170px;
        border: 4px solid black;
        box-shadow: 5px 5px 0 0 rgb(0, 0, 0);
    }
    .qualites4 {
        top: -50px;
        width: 450px;
        height: 170px;
        border: 4px solid black;
        box-shadow: 5px 5px 0 0 rgb(0, 0, 0);
    }
    .col-custom {
        flex: 0 0 100%; /* Largeur de 100% */
        max-width: 100%; /* Largeur maximale */
    }
    .card {
        width: 700px;
    }
}
@media screen and (max-width: 1166px) {
    .titresection {
        margin-bottom: 40px;
        font-size: 4.7em;
    }
    .propos::before {
        width: 29%;
        left: 36%;
    }
}
@media screen and (max-width: 1150px) {
    .context {
        font-size: 3.4em;
    }
    .context2 {
        font-size: 2.3em;
    }
    .bloc-texte-header {
        padding-left: 100px;
    }
}
@media screen and (max-width: 1104px) {
    .titre-projet {
        font-size: 0.8rem;
    }
    .p-projet {
        font-size: 0.7rem;
    }
}
@media screen and (max-width: 1086px) {
    .context {
        font-size: 3em;
    }
    .context2 {
        font-size: 1.8em;
    }
    .bloc-texte-header {
        padding-left: 80px;
    }
    .mon-cv {
        border: 2px solid var(--noir);
        box-shadow: 3px 3px 0px 0px var(--noir);
        font-size: 17px;
    }
    .barre-jaune {
        height: 650px;
    }
    .barre-exp {
        height: 850px;
    }
    .sous-titre-comp {
        font-size: 1.3rem;
    }
    .titre-p-form {
        font-size: 1.3em;
    }
    .lieu-p-form {
        font-size: 1.2em;
    }
    .annee-p-form {
        font-size: 0.9em;
        margin: 0 0 50px 0;
    }
    .section-form .rond-noir1 {
        top: 125px;
    }
    .section-form .rond-noir2 {
        top: 250px;
    }
    .rond-jaune2 {
        top: 150px;
    }
    .rond-jaune3 {
        top: 250px;
    }
    .rond-jaune4 {
        top: 350px;
    }
    .rond-rouge1 {
        top: 60px;
    }
    .rond-rouge2 {
        top: 150px;
    }
    .rond-rouge3 {
        top: 300px;
    }
    .rond-rouge4 {
        top: 420px;
    }
    .rond-rouge5 {
        top: 550px;
    }
    .titresection {
        font-size: 4.5em;
    }
    .formations::before {
        width: 36%;
        left: 32%;
    }
    .section-form .img-univ-toulouse {
        width: 16vh;
        height: 8vh;
        border: 3px solid var(--noir);
        margin: 15px 40px;
    }
    .section-form .img-univ-angers {
        width: 10vh;
        border: 3px solid var(--noir);
    }
    .section-form .img-bts {
        width: 10vh;
        border: 3px solid var(--noir);
    }
    .section-form .img-bac {
        width: 15vh;
        height: 7vh;
        border: 3px solid var(--noir);
    }
    .section-exp .img-univ-toulouse {
        width: 22vh;
        height: 11vh;
        border: 3px solid var(--noir);
        margin: 15px 50px;
    }
    .section-exp .img-esb-exp {
        width: 22vh;
        height: 11vh;
        border: 3px solid var(--noir);
        margin: 15px 0;
    }
    .section-exp .img-bts {
        width: 15vh;
        border: 3px solid var(--noir);
        margin: 15px 120px;
    }
    .section-exp .img-bac {
        width: 22vh;
        height: 11vh;
        border: 3px solid var(--noir);
        margin: 15px -15px;
    }
}
@media screen and (max-width: 1012px) {
    .titresection {
        margin-bottom: 40px;
        font-size: 4.5em;
    }
    .propos::before {
        width: 32%;
        left: 34%;
    }
}
@media screen and (max-width: 991px) {
    .image-accueil {
        display: none;
    }
    .context {
        font-size: 4em;
    }
    .context2 {
        font-size: 3.2em;
    }
    .bloc-texte-header {
        padding-left: 0;
    }
    .mon-cv {
        border: 3px solid var(--noir);
        box-shadow: 4px 4px 0px 0px var(--noir);
        font-size: 22px;
    }
    .codeur {
        height: 350px;
    }
    .bouton-propos {
        margin-top: 25px;
    }
    .btn-propos {
        margin-top: 70px;
    }
    .bloc-texte-header {
        align-items: center;
        margin-top: 25px;
    }
    .mon-cv {
        left: 0;
    }
    .forme-propos {
        width: 100%;
        height: 300px;
    }
    .bloc-qualites {
        margin-top: 100px;
    }
    .qualites2 {
        top: 30px;
        left: 140px;
        width: 350px;
        height: 130px;
        font-size: 16px;
    }
    .qualites3 {
        width: 350px;
        height: 130px;
        font-size: 16px;
    }
    .qualites4 {
        top: -30px;
        left: -160px;
        width: 350px;
        height: 130px;
        font-size: 16px;
    }
    .p-propos {
        font-size: 1.2rem;
    }
    .titre-projet {
        font-size: 1.3rem;
    }
    .p-projet {
        font-size: 0.9rem;
    }
}
@media screen and (max-width: 916px) {
    .p-comp {
        font-size: 0.8rem;
    }
    .section-comp img {
        width: 50%;
    }
    .section-form .img-univ-toulouse {
        width: 26vh;
        height: 13vh;
        border: 4px solid var(--noir);
        margin: 15px 100px;
    }
    .section-form .img-univ-angers {
        width: 16vh;
        border: 4px solid var(--noir);
        margin: 13px 0;
    }
    .section-form .img-bts {
        width: 17vh;
        border: 4px solid var(--noir);
        margin: 15px 120px;
    }
    .section-form .img-bac {
        width: 25vh;
        height: 12vh;
        border: 4px solid var(--noir);
        margin: 35px -15px;
    }
    .titre-p-form {
        font-size: 1.2em;
        margin-top: 15px;
    }
    .lieu-p-form {
        font-size: 1.1em;
    }
    .annee-p-form {
        font-size: 0.8em;
    }
}
@media screen and (max-width: 900px) {
    .sous-titre-comp {
        font-size: 1.1rem;
    }
}
@media screen and (max-width: 862px) {
    .titre-projet {
        font-size: 1.1rem;
    }
    .p-projet {
        font-size: 0.8rem;
    }
    .section-exp .img-univ-toulouse {
        width: 10vh;
        height: 5vh;
        border: 2px solid var(--noir);
        margin: 15px 20px;
    }
    .section-exp .img-esb-exp {
        width: 10vh;
        height: 4vh;
        border: 2px solid var(--noir);
        margin: 15px 0;
    }
    .section-exp .img-bts {
        width: 8vh;
        border: 2px solid var(--noir);
        margin: 15px 50px;
    }
    .section-exp .img-bac {
        width: 10vh;
        height: 5vh;
        border: 2px solid var(--noir);
        margin: 15px -15px;
    }
}
@media screen and (max-width: 835px) {
    .p-comp {
        font-size: 0.7rem;
    }
    .titre-p-form {
        font-size: 1em;
        margin-top: 20px;
    }
    .lieu-p-form {
        font-size: 0.9em;
    }
    .annee-p-form {
        font-size: 0.7em;
    }
    .section-exp .titre-p-form {
        font-size: 0.9em;
        margin-top: 20px;
        margin-bottom: 0;
    }
    .section-exp .lieu-p-form {
        font-size: 0.8em;
        margin-bottom: 0;
    }
    .section-exp .annee-p-form {
        font-size: 0.6em;
        margin-bottom: 70px;
    }
}

@media screen and (max-width: 768px) {
    .titresection {
        margin-top: 60px;
        margin-bottom: 70px;
    }
    .forme-propos {
        height: 460px;
    }
    ul {
        padding-left: 0;
    }
    .img-exp {
        width: 30vh;
        height: 15vh;
    }
    .section-projets {
        clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 100%);
    }
    .titreprojets {
        margin-top: 50px;
        margin-bottom: 60px;
        padding-top: 0px;
    }
    .bloc-qualites {
        margin-top: 50px;
        margin-left: 30px;
    }
    .qualites2 {
        top: 30px;
        left: 50px;
        width: 350px;
        height: 130px;
    }
    .qualites3 {
        top: 70px;
        left: 20px;
        width: 350px;
        height: 130px;
    }
    .qualites4 {
        top: -30px;
        left: -160px;
        width: 350px;
        height: 130px;
    }
    .p-comp {
        font-size: 1rem;
    }
    .sous-titre-comp {
        font-size: 1.5rem;
    }
    .section-form .img-univ-toulouse {
        width: 10vh;
        height: 5vh;
        border: 2px solid var(--noir);
        margin: 15px 40px;
    }
    .section-form .img-univ-angers {
        width: 6vh;
        border: 2px solid var(--noir);
    }
    .section-form .img-bts {
        width: 6vh;
        border: 2px solid var(--noir);
    }
    .section-form .img-bac {
        width: 8vh;
        height: 5vh;
        border: 2px solid var(--noir);
    }
    .titre-projet {
        font-size: 1.5rem;
    }
    .p-projet {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 721px) {
    .menu-burger {
        display: block;
    }

    .navbar {
        height: 55vh;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--tertiaire);
        padding: 40px;
        border-bottom: 2px solid var(--noir);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    /* Cache la navigation horizontale */
    .navbar .nav-links:not(.active) ul {
        display: none;
    }
    .btn-propos {
        margin-top: 50px;
        margin-bottom: 20px;
    }
    .sous-titre-comp {
        margin-top: 50px;
    }
    .section-projets {
        clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 100%);
    }
    .titreprojets {
        margin-top: 50px;
        margin-bottom: 60px;
        padding-top: 0px;
    }
    .bouton-propos {
        margin-top: 75px;
    }
    .txt-footer {
        font-size: 1em;
    }
    .barre-jaune {
        border: 5px solid var(--noir);
    }
}
@media screen and (max-width: 672px) {
    .p-comp {
        font-size: 0.9rem;
    }
    .titre-p-form {
        font-size: 0.9em;
        margin-top: 20px;
        margin-bottom: 0;
    }
    .lieu-p-form {
        font-size: 0.8em;
        margin-bottom: 0;
    }
    .annee-p-form {
        font-size: 0.6em;
        margin-bottom: 70px;
    }
    .section-form .img-univ-toulouse {
        width: 10vh;
        height: 5vh;
        border: 2px solid var(--noir);
        margin: 15px 40px;
    }
    .section-form .img-univ-angers {
        width: 6vh;
        border: 2px solid var(--noir);
    }
    .section-form .img-bts {
        width: 6vh;
        border: 2px solid var(--noir);
    }
    .section-form .img-bac {
        width: 8vh;
        height: 5vh;
        border: 2px solid var(--noir);
    }
    .section-exp .img-univ-toulouse {
        border: 3px solid var(--noir);
        margin: 35px 0;
    }
    .section-exp .img-esb-exp {
        border: 3px solid var(--noir);
        margin: 35px 0;
    }
    .section-exp .img-bts {
        width: 15vh;
        border: 3px solid var(--noir);
        margin: 35px 30px;
    }
    .section-exp .img-bac {
        border: 3px solid var(--noir);
        margin: 45px -15px;
    }
    .section-exp .titre-p-form {
        font-size: 0.8em;
        margin-top: 20px;
        margin-bottom: 0;
    }
    .section-exp .lieu-p-form {
        font-size: 0.7em;
        margin-bottom: 0;
    }
    .section-exp .annee-p-form {
        font-size: 0.6em;
        margin-bottom: 50px;
    }
}
@media screen and (max-width: 619px) {
    .p-comp {
        font-size: 0.8rem;
    }
}
@media screen and (max-width: 600px) {
    .titre-p-form {
        font-size: 0.8em;
        margin-top: 20px;
        margin-bottom: 0;
    }
    .lieu-p-form {
        font-size: 0.7em;
        margin-bottom: 0;
    }
    .annee-p-form {
        font-size: 0.5em;
        margin-bottom: 80px;
    }
    .section-exp .img-univ-toulouse {
        border: 3px solid var(--noir);
        margin: 35px 0;
    }
    .section-exp .img-esb-exp {
        border: 3px solid var(--noir);
        margin: 35px 0;
    }
    .section-exp .img-bts {
        width: 15vh;
        border: 3px solid var(--noir);
        margin: 35px 30px;
    }
    .section-exp .img-bac {
        border: 3px solid var(--noir);
        margin: 45px -15px;
    }
}

@media screen and (max-width: 575px) {
    .section-projets {
        clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 100%);
    }
    .titreprojets {
        margin-top: 50px;
        margin-bottom: 60px;
        padding-top: 0px;
    }
    .rond-accueil {
        margin: 10px 10px;
        width: 50px;
        height: 50px;
    }
    .bloc-comp-blanc {
        margin: 0 150px;
    }
    .bloc-comp-noir {
        margin: 0 150px;
    }
    .bloc-comp-secondaire {
        margin: 0 150px;
    }
    .p-comp {
        font-size: 1rem;
    }
    .section-form .img-univ-toulouse {
        width: 10vh;
        height: 5vh;
        border: 2px solid var(--noir);
        margin: 15px 40px;
    }
    .section-form .img-univ-angers {
        width: 6vh;
        border: 2px solid var(--noir);
    }
    .section-form .img-bts {
        width: 6vh;
        border: 2px solid var(--noir);
    }
    .section-form .img-bac {
        width: 8vh;
        height: 5vh;
        border: 2px solid var(--noir);
    }
    .barre-jaune {
        height: 70vh;
    }
    .rond-jaune1 {
        left: -20px;
        width: 40px;
        height: 40px;
        border: 2px solid var(--noir);
    }
    
    .rond-noir1 {
        left: -20px;
        top: 125px;
        width: 40px;
        height: 40px;
        border: 2px solid var(--noir);
    }
    
    .rond-noir2 {
        left: -20px;
        top: 250px;
        width: 40px;
        height: 40px;
        border: 2px solid var(--noir);
    }
    
    .rond-jaune2 {
        left: -20px;
        top: 375px;
        width: 40px;
        height: 40px;
        border: 2px solid var(--noir);
    }
    .annee-p-form {
        margin-bottom: 60px;
    }
}

@media screen and (max-width: 545px) {
    .bloc-comp-blanc {
        margin: 0 100px;
    }
    .bloc-comp-noir {
        margin: 0 100px;
    }
    .bloc-comp-secondaire {
        margin: 0 100px;
    }
    .section-comp img {
        width: 40%;
    }
    .logo-bm {
        width: 100px;
    }
}

@media screen and (max-width: 484px) {
    .context {
        font-size: 7vh;
    }
    .qualites4 {
        top: -30px;
        left: -120px;
        width: 350px;
        height: 130px;
    }
    .section-form .img-univ-toulouse {
        margin: 30px 30px;
    }
    .section-form .img-bts {
        margin: 50px 60px;
    }
    .titre-p-form {
        font-size: 0.6em;
        margin-top: 30px;
        margin-bottom: 0;
    }
    .lieu-p-form {
        font-size: 0.5em;
        margin-bottom: 0;
    }
    .annee-p-form {
        font-size: 0.4em;
        margin-bottom: 65px;
    }
}
@media screen and (max-width: 472px) {
    .titre-projet {
        font-size: 1rem;
    }
    .p-projet {
        font-size: 0.8rem;
    }
    .txt-footer {
        font-size: 0.8em;
    }
}
@media screen and (max-width: 456px) {
    .context {
        font-size: 6vh;
    }
    .context2 {
        font-size: 4vh;
    }
    .forme-propos {
        width: 100%;
        height: 300px;
    }
    .btn-propos {
        margin-top: 35px;
    }
    .rond-accueil {
        margin: 7px 7px;
        width: 45px;
        height: 45px;
    }
}

@media screen and (max-width: 400px) {
    .codeur {
        margin-top: 40px;
    }
    .qualites4 {
        top: -30px;
        left: -100px;
        width: 350px;
        height: 130px;
    }
    .bloc-comp-blanc {
        margin: 0 50px;
    }
    .bloc-comp-noir {
        margin: 0 50px;
    }
    .bloc-comp-secondaire {
        margin: 0 50px;
    }
    .section-form .img-univ-toulouse {
        margin: 30px 0;
    }
    .section-form .img-bts {
        margin: 50px 0;
    }
    .titre-p-form {
        font-size: 0.5em;
        margin-top: 30px;
        margin-bottom: 0;
    }
    .lieu-p-form {
        font-size: 0.5em;
        margin-bottom: 0;
    }
    .annee-p-form {
        font-size: 0.5em;
        margin-bottom: 65px;
    }
    .logo-bm {
        width: 82px;
    }
}

@media screen and (max-width: 370px) {
    .codeur {
        margin-top: 60px;
        height: 200px;
        border-radius: 40px;
        box-shadow: 5px 3px 1px 0px #000;
    }
    .context {
        font-size: 5vh;
    }
    .context2 {
        font-size: 3.5vh;
    }
    .mon-cv {
        border: 3px solid var(--secondaire);
        padding: 5px 35px;
        font-size: 16px;
    }
    .rond-accueil {
        margin: 5px 5px;
        font-size: 2.5vh;
        width: 40px;
        height: 40px;
    }
    .bloc-qualites {
        margin-left: 15px;
    }
    .section-comp img {
        width: 40%;
    }
    .p-comp {
        font-size: 1rem;
    }
}
@media screen and (max-width: 368px) {
    .titre-projet {
        font-size: 0.8rem;
    }
    .p-projet {
        font-size: 0.6rem;
    }
    .txt-footer {
        font-size: 0.7em;
    }
}
@media screen and (max-width: 350px) {
    .titresection {
        font-size: 5vh;
        margin-top: 30px;
    }
    .p-propos {
        font-size: 1rem;
    }
    hr {
        border: 3px dashed var(--tertiaire);
    }
    .qualites2 {
        height: 100px;
        border: 2px solid var(--noir);
        box-shadow: 3px 3px 0 0 rgb(0, 0, 0);
    }
    .qualites3 {
        height: 100px;
        border: 2px solid var(--noir);
        box-shadow: 3px 3px 0 0 rgb(0, 0, 0);
    }
    .qualites4 {
        top: 0;
        left: -70px;
        height: 100px;
        border: 2px solid var(--noir);
        box-shadow: 3px 3px 0 0 rgb(0, 0, 0);
    }
    .bloc-qualites {
        margin-left: 5px;
    }
    .bloc-qualites p {
        font-size: 0.8rem;
    }
    .bouton-propos {
        margin-top: 40px;
    }
    .btn-propos {
        margin: 50px 20px 0 20px;
        font-size: 0.6rem;
        box-shadow: 3px 4px 0 0 rgb(0, 0, 0);
    }
    .sous-titre-comp {
        margin-top: 0;
    }
    .titre-p-form {
        font-size: 0.5em;
        margin-top: 30px;
        margin-bottom: 0;
    }
    .lieu-p-form {
        font-size: 0.5em;
        margin-bottom: 0;
    }
    .annee-p-form {
        font-size: 0.5em;
        margin-bottom: 45px;
    }
}

@media screen and (max-width: 312px) {
    .context {
        font-size: 4.5vh;
    }
}