@font-face {
    font-family: 'Redaction50';
    src: url('Fonts/Redaction_50-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Redaction50Bold';
    src: url('Fonts/Redaction_50-Bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Redaction50Italic';
    src: url('Fonts/Redaction_50-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'SometypeMonoRegular';
    src: url('Fonts/SometypeMono-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SometypeMonoMedium';
    src: url('Fonts/SometypeMono-Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SometypeMonoBold';
    src: url('Fonts/SometypeMono-Bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

*{
        cursor: url("IMG/Icon/Cursor.png"), default;
}


html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;

}

body {
    padding-bottom: 80px;
    overflow-x: hidden;
}

body.no-scroll {
    position: fixed;
    overflow: hidden;
    width: 100%;
}


::-moz-selection { /* pour Firefox */
  color: #ffffff(255, 255, 255);
  background: #2d47f1;
}

::selection {
  color: rgb(255, 255, 255);
  background: #2d47f1;
}


a {
    cursor: url("IMG/Icon/Pointer2.png"), pointer !important;
}



h1 {
    font-family: 'Redaction50Bold';
    font-size: 48px;
    color: black;
    text-align: left;
    display: inline-block;
    width: 70%;
    position: relative;
    top: 96px;
}



h2 {
    font-family: 'Redaction50Bold';
    font-size: 30px;
    color: black;
    text-align: left;
    display: inline-block;
    width: 60vw;
    position: relative;
    top: 96px;
    margin: 16px;
}

h3{

    font-family: 'SometypeMonoBold';

    font-size: 24px;
    color: black;

}


span {
    color: #2d47f1;
}


/*HEADER DESKTOP ET MOBILE */



.header {
    padding: 0;
    height: 48px;
    color: #2d47f1;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: solid 4px;
    border-color: #2d47f1; 
}

.Victoire {
    font-family: 'Redaction50Bold';
    font-size: 32px;
    margin-left: 16px;
    text-decoration: none;
    color: #2d47f1;
} 

.menu {
    display: flex;
    height: 100%;
}

.btn_pages {
    font-family: 'Redaction50Bold';
    font-size: 22px;
    color:#2d47f1;
    background-color: #ffffff;
    border-left: solid 4px; 
    border-color: #2d47f1;
    padding: 0 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition:  0.4s ease;

}


.btn_pages:hover {
    background-color: #2d47f1;
    color: white;
    text-decoration: none;
}

.btn_pages.active {
    background-color: #2d47f1;
    color: white;
    text-decoration: none;
}


/* BURGER MENU MOBILE*/

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    position: relative;
    
}

/* barres */
.burger span {
    width: 30px;
    height: 4px;
    background-color: #2d47f1;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* état actif = croix */
.burger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}


.menuBurger {
    display: none;
    flex-direction: column;
}

.btn_burger {
     font-family: 'Redaction50Bold';
     font-size: 24px;
     color: #2d47f1;
    text-decoration: none;
    padding: 16px 16px;
}

.btn_burger_projet {
     font-family: 'Redaction50';
     font-size: 20px;
     color: #2d47f1;
    text-decoration: none;
    padding: 4px 4px 0px 32px;
}

.viewport {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.containerIMG {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  z-index: 1;
}

.box {
  border: 3px solid #666;
  background-color: #ddd;
  border-radius: .5em;
  padding: 10px;
  cursor: grab;
  user-select: none;
  position: relative; 
  z-index: 1;
}

.box:active {
  cursor: grabbing;
  z-index: 100; 
}


.projets {
    position: absolute;
    top: 200px;
    display: flex;
    flex-direction: column;
    width: 100%;
    
}


.projet {
    font-family: 'Redaction50Bold';
    font-size: 62px;
    color: #2d47f1;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 16px;
    display: flex;
    flex-direction: row;
     position: relative; 
    align-items: center;
    text-decoration: none;

}


.IMGBox {
    position: absolute;
    z-index: 1;
    border: solid 4px #2d47f1;
    right: 10%;
    top : 50%; 
    transform: translateY(-50%); 
    height: 280px;
    opacity: 0; 
    filter: drop-shadow(-14px 14px 0px rgba(45, 71, 242, 0.3));
     transition: opacity 0.4s ease;
}


.projet:hover {
    background-color: #2d47f1;
    color: white;
}


.projet:hover .IMGBox {
    opacity: 1;
}



.infos {
    display: flex; 
    flex-direction: row;
}


.infosText{
    display: flex;
    flex-direction: column;
    width: 80vw;
    margin-bottom: 20vh;
}

.infosText a{
 color: #2d47f1;
}

.photoCV {
    border: solid 4px #2d47f1;
    width: 24vw;
    height: auto;
    margin: 32px;
    margin-top: 100px; 
    object-fit: cover;
    display: block;
    filter: drop-shadow(-14px 14px 0px rgba(45, 71, 242, 0.3));
}




.slider {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 40px 0;
    overflow: visible;
    cursor: url("IMG/Icon/Pointer2.png"), pointer !important;
}

.projetIMG{
  display: flex;
  gap: 24px;
  padding: 0 32px;
  transition: transform 0.3s ease-out;
  will-change: transform;
  cursor: grab;
  user-select: none;
   cursor: url("IMG/Icon/Pointer2.png"), pointer !important;
}

.projetIMG:active {
  cursor: grabbing;
}

.projetIMG img {
  height: 480px;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
  border: solid #2d47f1 4px;
  filter: drop-shadow(-14px 14px 0px rgba(45, 71, 242, 0.3));
  pointer-events: none;
}


.projetIMG video {
  height: 480px;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
  border: solid #2d47f1 4px;
  filter: drop-shadow(-14px 14px 0px rgba(45, 71, 242, 0.3));
  pointer-events: none;
}


/* DESCRIPTIF DES PROJETS */ 

.descriptionProjet {
    position: relative;
    font-family: 'SometypeMonoRegular';
    display: flex;
    flex-direction: row;
    margin-right: 16px;
    font-size: 24px;
}

.type {
    margin-top: 8px;
    font-size: 16px;
    font-family: 'SometypeMonoRegular';

}


.date {
    margin-top: 8px;
    font-size: 16px;
    font-family: 'SometypeMonoRegular';
}

.infoProjet { 
    width: 14vw;
    margin:  16px 0 0 32px ;
    position: relative;
}

.description {
    position: relative;
    margin: 32px;
    width: 60vw;
    font-size: 16px;

}


.tags {
    margin-left: 8vw;
    margin-top: 32px;
}


.tag {
    display: block;
    flex-direction: column;
    font-family: 'Redaction50';
    font-size: 16px;
    margin-top: 8px;
    padding: 8px;
    width: fit-content;
    color: white;
    background-color: #2d47f1;
}

.footer {
    position: fixed;
    bottom: 0px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 32px;
    background-color: white;
    left: 0;
    right: 0;
      box-sizing: border-box;
}

.Email {
    font-family: 'Redaction50Bold';
    font-size: 22px;
    color: #2d47f1;
    text-decoration: none;
    cursor: url("IMG/Icon/Cursor.png"), default;

} 


.iconFooter {
    display: flex;
    align-items: center;
    margin-left: -16px;
}


.iconFooter  img{
    cursor: url("IMG/Icon/Pointer2.png"), pointer !important;

}

.btn_icon {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.btn_icon:hover {
    transform: scale(1.1);
}

.btn_icon img {
    height: 48px;
    width: auto;
}


/* DRAGIMG*/ 

.dragIMG {
  position: absolute;
  filter: drop-shadow(-14px 14px 0px rgba(45, 71, 242, 0.3));
  cursor: move;
  text-decoration: none;
    cursor: url("IMG/Icon/Pointer2.png"), pointer !important;
}

.dragIMG img {
  display: block; 
  width: 24vw;
   border: solid #2d47f1 4px;
   cursor: url("IMG/Icon/Pointer2.png"), pointer !important;
}

.nomProjet {
    font-family: 'Redaction50Bold';
    font-size: 22px;
    color: #2d47f1;
    background-color: white;
    border: solid #2d47f1 4px;
    border-bottom: 0px;
    text-align: left;
    padding: 8px;
}

#dragIMG1 {
  top: 360px;
  left: 4vw;
}

#dragIMG2 {
  top: 320px;
  left: 26vw;
}

#dragIMG3 {
  top: 380px;
  left: 42vw;
}

#dragIMG4 {
  top: 320px;
  left: 56vw;
}

#dragIMG5 {
  top: 380px;
  left: 66vw;
}


/* RESPONSIVE */

/* Tablette (max 1024px) */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 36px;
        width: 80%;
    }
    
    h2 {
        font-size: 24px;
        width: 80%;
    }
}

/* Mobile (max 768px) */
@media screen and (max-width: 768px) {
    .header {
        flex-direction: row;
        height: 48px;
    }

    .menu {
        display: none;
    }

    .burger {
        display: flex;
        margin: 16px;
    }
    
    /* Menu caché par défaut sur mobile */
    .menuBurger {
        display: none; 
        position: absolute;
        top: 56px;
        right: -100%;
        width: 100vw;
        height: calc(100vh - 56px);
        flex-direction: column;
        background-color: white;
        border: solid 4px #2d47f1;
        border-top: 0;
        transition: right 0.4s ease;
        z-index: 99;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        overflow-x: hidden; 
        

    }
    
   .menuBurger.active {
        right: 0;
        display: flex;
    }

    .iconBurger {
        display: flex;
        flex-direction: row;
        position: absolute;
        bottom: 0;
        margin-left: 8px;

    }


    h1 {
        font-size: 28px;
        top: 20px;
        padding: 16px;
    }
    
    h2 {
        font-size: 24px;
        width: 80vw;
        top: 20px;
        margin: 16px;
        margin-bottom: 0;
    }
    

    h3 {
        margin-top: 16px;
    }

    .viewport { 
        display: flex;
        flex-direction: column;
        overflow-x: hidden;

    }

.slider {
    gap: 0;
}

    .infos {
        flex-direction: column;
    }
    
    .photoCV {
        width: 90%;
        height: auto;
        margin: 16px auto;
    }
    
    .projets {
        top: 100px;
    }
    
    .projet {
        font-size: 32px;
        padding: 8px;
    }
    
    .IMGBox {
        display: none;
    }
    
    .projetIMG img,
    .projetIMG video {
        height: 300px;
    }
    
    .descriptionProjet {
        flex-direction: column;
    }
    
    .infoProjet {
        width: 90%;
        margin: 16px;
    }
    
    .description {
        width: 90%;
        margin: 16px;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .tags {
        margin-left: 16px;
        margin-top: 8px;

    }
    
    .footer {
        flex-direction: row;
        gap: 4px;
        padding-top: 8px;
        align-items: normal;
        width: 100vw;
        align-items: center;
    }

    .Email { 
        font-size: 18px;

    }
    
    .dragIMG {
        position: relative !important;
        cursor: default;
        margin: 16px auto;
        left: auto !important;
        top: auto !important;
    }

    .dragIMG img{
        width: 80vw;
    }

}

/* Petit mobile (max 480px) */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .projet {
        font-size: 24px;
    }
    
    
    .Victoire {
        font-size: 24px;
    }
}