@font-face {
    font-family: 'charlotte';
    src: url('../assets/fonts/Charlotte.otf');
}

@font-face {
    font-family: 'raleway';
    src: url('../assets/fonts/Raleway-VariableFont_wght.ttf');
}

:root{
    --primary-color: #424242;
    --secondary-color: #303030;
    --color-white: #ffffff;
    --gradiant-color: linear-gradient(45deg, rgb(136, 14, 79), rgb(191, 54, 12));
    --fade-to-top: linear-gradient(to bottom, rgba(66, 66, 66, 1), rgba(66, 66, 66, 0));
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
}

body{
    background: var(--primary-color);
    font-family: "raleway";
}

h1 {
    color: var(--color-white);
    font-weight: 600;
    font-size: 40px;
}

h2 {
    color: var(--color-white);
    font-weight: 600;
    font-size: 35px;
}

h3 {
    color: var(--color-white);
    font-weight: 600;
    font-size: 25px;
}

h4 {
    color: var(--color-white);
    font-weight: 400;
    font-size: 16px;
}

h5 {
    color: var(--color-white);
    font-weight: 200;
    font-size: 35px;
}

p {
    color: var(--color-white);
    font-weight: 400;
    font-size: 14px;
}

/* MENU  */

.container {
    max-width: 960px;
    margin: auto;
}

.header{
    padding: 20px 10px;
    display: flex;
    justify-content: space-between;
}

header .logo{
    background: var(--secondary-color);
    font-family: "charlotte";
    font-size: 25px;
    text-decoration: none;
    color: var(--color-white);
    padding: 5px 40px;
    border-radius: 0px 30px 0px 30px;
    align-items: center;
}

header .menu{
    background: var(--secondary-color);
    border-radius: 30px 0px 30px 0px;
    padding: 10px 50px ;
    text-decoration: none;
}


ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

li {
    list-style:none;
}

header .menu ul {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo {
    width: 205px;
    display: flex;
    align-items: center;
}

header a{
    font-size: 16px;
    color: var(--color-white);
}

header .menu .linkedin{
    width: 10%;
    fill: var(--color-white);
    height: 30px;
    width: 30px;
}

#hbg {
    display: none;
    cursor: pointer;
    padding: 10px 15px;
    background-color: var(--secondary-color);
    border-radius: 30px 0px 30px 0px;
    z-index: 3;
    position: absolute;
    top: 20px;
    right: 20px;
    height: 50px;
}

#hbg span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-white);
    border-radius: 5px;
    margin: 5px 0;
    position: relative;
    transition: all 0.3s ease;
}

body.open {
    overflow: hidden;
}

body.open #hbg span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px; 
}

body.open #hbg span:nth-child(2) {
    opacity: 0;
}

body.open #hbg span:nth-child(3) {
    transform: rotate(-45deg);
    top: -8px; 
}

/* MENU  RESPONSIVE*/

@media screen and (max-width: 760px) {
    header .menu{
        padding: 10px 20px ;
    }
}

@media screen and (max-width: 650px) {

    .header {
        flex-wrap: wrap;
    }

    #hbg {
        display: flex;
    }

    header .menu{
    background: var(--secondary-color);
    border-radius: 30px 0px 30px 0px;
    padding: 10px 70px ;
    text-decoration: none;
    width: 100%;
    }

    .menu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 2;
    }

    .menu.open {
        transform: translateY(0);
    }

    .menu ul {
        justify-content: center;
        flex-direction: column;
        gap: 20px;
    }

    .menu li {
        font-size: 20px;
    }

    .header .bouton:not(.bouton-clone) {
        display: none;
    }

    .menu .bouton-clone .btn {
        font-size: 16px;
        color: var(--color-white);
        text-decoration: none;
        background: none;
        padding: 0;
        border-radius: 0;
        border: none;
    }
}

@media screen and (min-width: 1920px) {
    .container {
    max-width: 1200px;
    margin: auto;
    }

    .header{
        padding: 20px 10px;
        display: flex;
        justify-content: space-between;
    }

    header .logo{
        background: var(--secondary-color);
        font-family: "charlotte";
        font-size: 30px;
        text-decoration: none;
        color: var(--color-white);
        padding: 5px 40px;
        border-radius: 0px 30px 0px 30px;
        align-items: center;
    }

    header .menu{
        background: var(--secondary-color);
        border-radius: 30px 0px 30px 0px;
        padding: 10px 50px ;
        text-decoration: none;
    }

    .logo {
        width: 235px;
        display: flex;
        align-items: center;
    }

    header a{
        font-size: 18px;
        color: var(--color-white);
    }

    .bouton{
    display: flex;
    justify-content: center;
    align-items: center;
    }
    
}


/* ACCUEIL */

.bouton{
    display: flex;
    justify-content: center;
}

.btn{
    background: var(--gradiant-color);
    padding: 10px 20px;
    border-radius: 50px;
    border: 3px solid var(--primary-color);
    transition: 0.6;
    width: fit-content;
}

.section-portfolio .btn{
    border: 3px solid var(--secondary-color);
}

.section-formulaire .btn{
    border: 3px solid var(--secondary-color);
}

.btn:hover{
    background: var(--primary-color);
    border: 3px solid var(--secondary-color);
}

.accueil{
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.border-gradiant{
    width: 5px;
    height: 400px;
    background: linear-gradient(180deg, rgba(136, 14, 79, 1), rgba(191, 54, 12, 1));
    margin-left: 10px;
}

.texte-btn{
    flex: 1.5;
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.bouton a{
    text-decoration: none;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.texte-accueil{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.photo {
    width: fit-content;
    flex: 1;
    display: flex;
    justify-content: end;
}

/* CHANGEMENT CODE ACCUEIL */

#presentation{
    scroll-margin-top: 30px;
}

.container-gradient{
    max-width: 100%;
    background-image: var(--fade-to-top), var(--gradiant-color);
    padding-bottom: 80px;
}

.bg{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding-top: 80px;
    padding-bottom: 20px;
}

.alexis{
    text-align: center;
}

.charline span{
    display: block;
    height: 100%;
    text-align: center;
    color: var(--color-white); 
    font-weight: 500;
    font-size: 40px;
    animation: spin_words 10s infinite;
}

.charline{
    overflow: hidden;
    height: 50px;
}

@keyframes spin_words{
    10%{
        transform: translateY(-112%);
    }
    25%{
        transform: translateY(-100%);
    }
    35%{
        transform: translateY(-212%);
    }
    50%{
        transform: translateY(-200%);
    }
    60%{
        transform: translateY(-312%);
    }
    75%{
        transform: translateY(-300%);
    }
    85%{
        transform: translateY(-412%);
    }
    100%{
        transform: translateY(-400%);
    }
}

.btn-accueil {
    margin-top: 50px;
    background-color: var(--primary-color); 
    border-radius: 50%;                  
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    position: relative;
    box-shadow: 0 0 0 #424242;
    animation: pulse 2s infinite;
    transition: transform 0.2s ease;
    text-decoration: none;
  }
  
  .btn-accueil:hover {
    transform: scale(1.1);
  }
  
  .btn-accueil svg {
    width: 30px;
    height: 30px;
    stroke: white;
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 #323232;
    }
    70% {
      box-shadow: 0 0 0 10px rgba(233, 30, 99, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(233, 30, 99, 0);
    }
  }

html {
    scroll-behavior: smooth;
}

h6{
    color: var(--color-white);
    font-weight: 500;
    font-size: 18px;
}

/* ACCUEIL RESPONSIVE */

@media screen and (max-width: 760px) {
    .accueil{
        display: flex;
        flex-direction: column;
        gap: 50px;
        justify-content: center;
        width: 450px;
    }

    .border-gradiant{
        display: none;
    }

    .texte-accueil{
        text-align: center;
        width: 450px;
    }

    h1{
        font-size: 50px;
    }

    .photo{
        display: flex;
        justify-content: center;
        order: -1;
    }

    header #hbg{
		display: block;
	}

	header .container nav{
		order:1;
		flex-flow: column;
		min-width: 100%;
		max-height:0;
		gap:30px;
		overflow: hidden;
		transition: max-height .5s ease;
	}

	header.open .container nav{
		max-height: 350px;
	}

    header.open .menu {
		display: flex;
		background: var(--grey);
		text-align: center;
		gap: 40px;
		margin-top: 45px;
	}

    .presentation{
        display: flex;
        flex-direction: column;
        margin-top: 30px;
    }
}

@media screen and (max-width: 450px) {
    .bg {
        min-height: 750px;
        justify-content: center;
        gap: 30px;
        padding-top: 50px;
        padding-bottom: 20px;
    }

    .container-gradient{
        height: 750px;
    }

    .charline span {
        font-size: 28px;
    }

    .charline {
        height: 35px;
    }

    .btn-accueil {
        margin-top: 30px;
        width: 40px;
        height: 40px;
    }

    .btn-accueil svg {
        width: 22px;
        height: 22px;
    }

    h6 {
        font-size: 14px;
    }
}

@media screen and (min-width: 1920px) {
    .container-gradient{
        max-width: 100%;
        height: 800px;
        background-image: var(--fade-to-top), var(--gradiant-color);
    }

    .bg {
        min-height: 800px;
        justify-content: center;
        gap: 70px;
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .charline span {
        font-size: 60px;
    }

    .charline {
        height: 75px;
    }

    .btn-accueil {
        margin-top: 70px;
        width: 70px;
        height: 70px;
    }

    .btn-accueil svg {
        width: 45px;
        height: 45px;
    }

    h6 {
        font-size: 26px;
    }

    p{
        font-size: 18px;
    }
}

/* PRESENTATION */
#presentation{
    margin-top: 50px;
    margin-bottom: 50px;
}

.presentation{
    display: flex;
    align-items: center ;
}

.presentation-texte{
    width: 50%;
}

.presentation-texte p{
    padding-top: 40px;
}

.presentation-texte .bouton{
    margin-top: 50px;
    justify-content: left;
}

#presentation h2{
    padding-left: 40px;
}

.beurre{
    margin-top: 20px;
    display: flex;
    margin-left: 40px;
    gap: 30px;
}

.beurre svg {
    background-color: transparent;
    border: 1.5px solid white;        
    border-radius: 50%;                 
    padding: 7px;                       
    width: 40px;                    
    height: 40px;
    box-sizing: border-box;
  }

  .beurre img {
    background-color: transparent;
    border: 1.5px solid white;        
    border-radius: 50%;                 
    padding: 5px;                       
    width: 40px;                    
    height: 40px;
    box-sizing: border-box;
  }

  .photo-accueil{
    width: 70%;
    }

.container-img{
    max-width: 960px;
    margin: auto;
    display: flex;
    justify-content: center;
}

.mockup-accueil{
    align-items: center;
    width: 80%;
}

.container-img{
    max-width: 960px;
    margin: auto;
    display: flex;
    justify-content: center;
}

#mockup1{
    margin-top: 50px;
    padding: 30px 0;
}

#mockup2{
    width: 100%;
    overflow: hidden;
    background-color: var(--secondary-color);
}

@media screen and (max-width: 650px) {
    .mockup-accueil{
        align-items: center;
        width: 100%;
    }

    .presentation{
        display: flex;
        text-align: center;
        align-items: center ;
    }

    .presentation-texte .bouton{
        margin-top: 30px;
        justify-content: center;
    }

    .photo-accueil{
        width: 60%;
    }
}


/* PORTFOLIO ACCUEIL */

.section-portfolio{
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-portfolio h2{
    padding-left: 40px;
}

.section-portfolio a{
    text-decoration: none;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-portfolio{
    display: flex;
    justify-content: center;
}

.grid-container {
    width: 960px;
    height: 600px;
    display: grid;
    grid-gap: 5px;
    grid-template-columns: 1fr 1fr 1fr 1fr; 
    grid-template-rows: 1fr 1fr 1fr; 
}

.projet-ac {
    position: relative;
    background-color: var(--secondary-color);
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projet-ac img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tall {
    grid-column: 1 / 2;  
    grid-row: 1 / 5; 
}

.wide {
    grid-column: 2 / 4; 
}

@media screen and (max-width: 650px) {
    .projet-ac {
        width: 300px;
        height: 250px;
    }

    .portfolio{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .projet-ac:nth-child(n+7) {
        display: none;
    }

    .section-portfolio{
        gap: 0px;
    }
}

/* FOOTER */

.bas-page{
    max-width: 960px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    justify-content: space-between;
    display: flex;
}

#contact .container{
    padding-top: 50px;
}

#contact .container h2{
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

#contact .btn{
    border: 3px solid var(--secondary-color);
}

.footer-menu .titre-footer{
    display: flex;
    margin-bottom: 10px;
}

.footer-menu{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-menu li, .footer-menu li a{
    list-style: none;
    font-size: 14px; 
    color: var(--color-white); 
    text-decoration: none;
}

.footer-menu ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    margin: 0;
    font-size: 14px; 
}

.mention-back{
    background-color: var(--secondary-color);
}

.mention{
    max-width: 960px;
    margin: auto;
    padding-top: 5px;
    padding-bottom: 5px;
    justify-content: space-between;
    display: flex;
    font-size: 12px;
}

.mention p{
    font-size: 12px;
}

.mention li a{
    list-style: none;
    font-size: 12px; 
    color: var(--color-white); 
    text-decoration: none;
}

#contact .logo{
    font-family: "charlotte";
    font-size: 30px;
    text-decoration: none;
    color: var(--color-white);
    justify-content: center;
    align-items: center;
}

/* RESPONSIVE FOOTER  */
@media screen and (max-width: 950px) {
    .contact{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section-info .titre{
        margin-left: 0px;
    }

    .section-info{
        padding-top: 30px;
        padding-bottom: 30px;
        text-align: center;
        width: 350px;
    }

    .section-formulaire{
        padding-left: 0;
        width: 450px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mention{
        padding-left: 0;
        display: flex;
        justify-content: center;
    }
 }

 @media screen and (max-width:650px) {
    #contact .container {
        padding-top: 30px;
        text-align: center;
        padding: 30px 20px;
    }

    #contact .container h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }

    #contact .container-fluid {
        padding-bottom: 0;
    }

    .bas-page {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 30px;
        margin-bottom: 30px;
        gap: 30px;
        padding: 0 20px;
    }

    .footer-menu{
        align-items: center;
    }

    .bas-page .logo {
        order: -1;
        font-size: 24px;
    }

    .mention {
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        text-align: center;
    }
 }

/* PAGE PORTFOLIO */

.titre-portfolio{
    padding-top: 50px;
}

 .portfolio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 20px;
    padding: 40px;
    width: 100%;
}
.projet {
    position: relative;
    background-color: var(--secondary-color);
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.projet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.projet:hover .overlay {
    opacity: 1;
}
.overlay h3 {
    margin: 0;
    font-weight: 700;
    color: var(--secondary-color);
}
.overlay p {
    margin: 5px 0 0;
    font-size: 14px;
    text-align: center;
    padding: 0 10px;
    color: var(--secondary-color);
}

.icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.icons .svg-icon {
    width: 10px;  
    height: 10px;
    fill: var(--secondary-color);  
    transition: transform 0.3s ease;
}

.icons .svg-icon:hover {
    transform: scale(1.1);
}

.wide {
    grid-column: span 2;
}

.tall {
    grid-row: span 2;
    height: 520px;
}

.video {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 100%; 
    height: 250px;
}

.video video {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* RESPONSIVE PORTFOLIO  */

@media screen and (max-width: 950px) {
    .page-portfolio .portfolio {
        display: flex;
        flex-direction: column;
    }

    .titre-portfolio{
        text-align: left;
    }
}

@media screen and (max-width: 650px) {
    .titre{
        text-align: left;
    }
    
    .portfolio {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        padding: 15px;
        display: flex;
        flex-direction: column;
    }

    .projet {
        width: 300px;
        height: 250px;
    }
}

/* PAGE PROJET */

.projet-1{
    margin-top: 50px;
}
.blocimg {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.blocimg figure {
    width: 100%;
}

.blocimg figure img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.bloctxt-img{
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.bloctxt-img p{
    width: 50%;
    padding: 50px;
}

.bloctxt-img figure {
    width: 50%;
}

.bloctxt-img figure img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.projet-1 .suivant{
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
}

.projet a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.projet a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RESPONSIVE PAGE PROJET IMG */

@media screen and (max-width: 650px) {
    .container {
        text-align: center;
        padding: 0px 20px;
    }

    .projet-1 {
        width: 300px;
        margin: 30px auto 0 auto;
    }

    .projet-1 p {
        font-size: 14px;
        text-align: justify;
    }

    .blocimg {
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
    }

    .blocimg figure {
        width: 100%;
    }

    .blocimg figure img {
        width: 100%;
        height: auto;
    }

    .bloctxt-img {
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
    }

    .bloctxt-img p {
        width: 100%;
        padding: 0;
        font-size: 14px;
        text-align: justify;
    }

    .bloctxt-img figure {
        width: 100%;
    }

    .projet-1 .suivant {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
        text-align: center;
    }
    
}

/* PAGE CONTACT */

.message{
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.form-contact {
    flex: 2;
}

.form-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.form-group.full {
    width: 100%;
}

.form-group label {
    font-size: 14px;
    color: var(--color-white);
}

.form-group input,
.form-group textarea {
    background-color: var(--color-white);
    border: 0px solid var(--color-white);
    border-radius: 10px;
    padding: 8px 15px;
    color: var(--secondary-color);
    font-size: 14px;
    outline: none;
}

.form-group textarea {
    height: 100px;
    resize: none;
}

.message .bouton{
    justify-content: left;
}

button.btn {
    text-decoration: none;
    color: var(--color-white);
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    background: var(--gradiant-color);
}

.message-succes{
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.message-succes .bouton{
    display: flex;
    justify-content: center;
}

/* RESPONSIVE PAGE CONTACT  */
@media screen and (max-width: 650px) {
    .message img{
        display: none;
    }

    .form-row{
        display: flex;
        flex-direction: column;
    }

    .form-group label{
        text-align: left;
    }

    .form-contact .bouton{
        display: flex;
        justify-content: center;
    }
}


/* PAGE DE CONNEXION */

.formulaire-login{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 15px;
}

.formulaire-login input {
    display: flex;
    flex-direction: column;
    border: none;
    outline: none;
    width: 400px;
    height: 20px;
    margin-top: 20px;
    background-color: transparent;
    border-bottom: 1px solid white;
    font-family: 'raleway';
}

.formulaire-login input:hover {
    border-bottom: 1px solid white;
    transition: 0.2s;
}

.formulaire-login label {
    color: var(--color-white);
}

/* GESTION DES PROJETS */

.btn-primary {
    background: var(--gradiant-color);
    color: var(--color-white);
    margin: 25px 30px;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-container{
    padding-top: 15px;
    padding-bottom: 20px;
}

.btn-warning {
    background: var(--gradiant-color);
    color: var(--color-white);
    margin-right: 8px;
}

.btn-warning:hover {
    background: linear-gradient(45deg, #f57c00, #e65100);
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--gradiant-color);
    color: var(--color-white);
}

.btn-danger:hover {
    background: linear-gradient(45deg, #d32f2f, #c62828);
    transform: translateY(-1px);
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.table thead {
    background: var(--secondary-color);
}

.table thead th {
    padding: 18px 20px;
    color: var(--color-white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    border: none;
    text-align: center;
}

.table tbody tr {
    border-bottom: 1px solid #e9ecef;
}

.table tbody td {
    padding: 16px 20px;
    color: var(--color-white);
    text-align: center;
    font-size: 14px;
    border: none;
}

/* NOUVEAU PROJET */

.form-content {
    padding: 40px;
}

.form-element {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-white);
    font-weight: 600;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    background: var(--color-white);
}

.group-img {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.insert-img {
    flex: 1;
    min-width: 250px;
    padding: 20px;
}

.placeholder {
    text-align: center;
    margin-bottom: 15px;
}

.placeholder img {
    max-width: 100%;
    height: auto;
}

.insert-img {
    max-width: 50%;
    border-radius: 12px;
    padding: 20px;
}

.group-img{
    width: 100%;
    align-items: center;
}

.group-txt{
    width: 50%;
    display: flex;
    flex-direction: column;
}

.mb-3 {
    margin-bottom: 30px;
}

.form-select {
    width: 100%;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--primary-color);
    background: var(--color-white);
    cursor: pointer;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-white);
    font-weight: 600;
    font-size: 14px;
}

/* POP'UP SUPPRESSION PROJET */

.custom-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center; align-items: center;
}

.custom-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.custom-modal-header, .custom-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  cursor: pointer;
  font-size: 20px;
}















/* FORMATION */

.container-fluid{
    max-width: 100%;
    background-color: var(--secondary-color);
    padding-bottom: 50px;
}


.carousel {
    display: flex;
    transition: all 0.5s ease-in-out;
    gap: 90px;
}

.switch-container {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.formation{
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.formation h2{
    padding-left: 40px;
}

.formation-1{
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.photo-formation{
    width: 150px;
    height: 150px;
    background: #ffffff;
}

.section-formation {
    overflow: hidden;
    width: 100%;
    position: relative; 
}

.fleche {
    stroke: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.container-fleche:hover {
    background-color: var(--primary-color);
}

.container-fleche:hover .fleche {
    stroke: var(--color-white);
}

.container-fleche {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 150px;
    background-color: var(--color-white);
    transition: all 0.3s ease-in-out;
    gap: 15px;
}

/* RESPONSIVE FORMATION */

@media screen and (max-width: 1050px) {
    .titre{
        margin-left: 30px;
    }
}

@media screen and (max-width: 760px) {
    .carousel {
        display: block;
        position: relative;
        width: 100%;
        height: 300px;
    }
            
    .formation-1 {
        position: absolute; 
        top: 0;
        left: 50%;
        transform: translateX(-50%); 
        opacity: 0; 
        transition: all 0.5s ease-in-out;
        width: 180px;
    }
            
    .formation-1.active {
        opacity: 1; 
        z-index: 2;
    }
            
    .switch-container {
        display: none; 
    }
            
    .section-formation {
        touch-action: pan-y; 
    }
}

/* EXPERIENCE */

.experience{
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.experience h2{
    padding-left: 40px;
}

.section-entreprise{
    display: flex;
    justify-content: space-between;
}

.experience-1 {
    position: relative;
    width: 230px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.experience-1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../assets/img/lilano.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0.5; /* Rend l'image de fond semi-transparente */
    z-index: 1;
}

.experience-2 {
    position: relative;
    width: 230px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.experience-2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../assets/img/mlc.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0.5; /* Rend l'image de fond semi-transparente */
    z-index: 1;
}

.experience-3 {
    position: relative;
    width: 230px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.experience-3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../assets/img/fives\ nordon.jpeg);
    background-size: cover;
    background-position: center;
    opacity: 0.5; /* Rend l'image de fond semi-transparente */
    z-index: 1;
}

.experience-4 {
    position: relative;
    width: 230px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.experience-4::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../assets/img/lesvergers.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0.5; 
    z-index: 1;
}

.entreprise, .description {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.description{
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.entreprise{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    transition: transform 0.3s ease-in-out;
}

.section-entreprise > div:hover .description {
    opacity: 1;
    visibility: visible;
    transform: translateX(0%) translateY(20px);
}


.section-entreprise > div:hover .entreprise {
    transform: translate(-50%, -100%);
}

/* EXPERIENCE RESPONSIVE */

@media screen and (max-width: 1000px) {
    .section-entreprise{
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
 }

/* LOISIRS */

.loisir{
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.loisir h2{
    padding-left: 40px;
}

.section-loisir{
    display: flex;
    justify-content: space-between;
}

.container-picto{
    width: 140px;
    height: 140px;
    background: var(--secondary-color);
    border-radius: 0px 40px 0px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
    overflow: hidden; 
    transition: transform 0.5s ease, background-color 0.5s ease; 
}

.container-picto:hover {
    transform: rotateY(180deg); 
    background-color: var(--primary-color); 
}

.picto {
    width: 40px;
    height: 40px;
    transition: opacity 0.5s ease; 
}

.picto-png{
    width: 50px;
    height: 50px;
    transition: opacity 0.5s ease;
}

.container-picto:hover .picto {
    opacity: 0; 
}

.picto-text {
    position: absolute;
    color: white;
    font-size: 16px;
    font-weight: bold;
    opacity: 0; 
    transition: opacity 0.5s ease; 
    transform: rotateY(180deg);
}

.container-picto:hover .picto-text {
    width: 140px;
    height: 140px;
    background: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

/* RESPONSIVE LOISIR  */
@media screen and (max-width: 1000px) {
    .section-loisir{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .picto{
        opacity: 0;
    }

    .picto-png{
        opacity: 0;
    }

    .picto-text{
        opacity: 1;
        transform: rotateX(360deg);
    }
 }


/* COMPETENCES */

.competence{
    padding-top: 50px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.competence h2{
    padding-left: 40px;
}

.creation {
    text-align: center;
}

.competence .haut {
    display: flex;
    justify-content: center;
}

.competence .milieu {
    display: flex;
    justify-content: center;
}

.competence .bas {
    display: flex;
    justify-content: center;
}

.card{
    display: flex;
    align-items: center;
    width: 230px;
    height: 120px;
    padding: 10px;
}

.card-black{
    display: flex;
    align-items: center;
    width: 230px;
    height: 120px;
    padding: 10px;
    background: var(--secondary-color);
    
}

.card img,
.card-black img,
.card-bord-right img,
.card-bord-left img{
    width: 50%;
    height: auto;
}

/* RESPONSIVE COMPETENCES  */
@media screen and (max-width: 1000px) {
    .haut{
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .bas{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .card-bord-left, .card-bord-right{
        border-radius: 0 0 0 0;
    }

 }


