/*FONT*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap");
@import url('https://fonts.googleapis.com/css2?family=New+Rocker&display=swap');


/*ROOT*/
:root {
    --color-black: #0d0d0d;
    --color-red: #e73030;
}

h2 {
    font-family: "Archivo Black", sans-serif;
    font-weight: 900;
    font-size: 3rem;
    text-transform: uppercase;
}


p,
a {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
}

a {
    text-decoration: none;
}

* {
    margin: 0;
    padding: 0;
}

body {
    cursor: none;
    overflow-x: hidden;
}

/* POPUP */

.bgBlack{
    height: 100vh;
    width: 100vw;
    background-color: #00000048;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 999;
}

.popup_site{
    display: none;
    background-color: var(--color-black);
    height: 45vh;
    width: 35vw;
    padding: 50px;
    position: fixed;
    top: 20%;
    left: 30%;
    z-index: 99999;
    font-family: "Archivo Black", sans-serif;
    font-weight: 900;
    align-items: center;
    transition: box-shadow .3s ease-in-out;
}

.popup_site:hover{
    -webkit-animation: shadow-pop-br 0.3s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
	 animation: shadow-pop-br 0.3s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}

 @-webkit-keyframes shadow-pop-br {
    0% {
      -webkit-box-shadow: 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff;
              box-shadow: 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff;
      -webkit-transform: translateX(0) translateY(0);
              transform: translateX(0) translateY(0);
    }
    100% {
      -webkit-box-shadow: 1px 1px #fff, 2px 2px #fff, 3px 3px #fff, 4px 4px #fff, 5px 5px #fff, 6px 6px #fff, 7px 7px #fff, 8px 8px #fff;
              box-shadow: 1px 1px #fff, 2px 2px #fff, 3px 3px #fff, 4px 4px #fff, 5px 5px #fff, 6px 6px #fff, 7px 7px #fff, 8px 8px #fff;
      -webkit-transform: translateX(-8px) translateY(-8px);
              transform: translateX(-8px) translateY(-8px);
    }
  }
  @keyframes shadow-pop-br {
    0% {
      -webkit-box-shadow: 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff;
              box-shadow: 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff;
      -webkit-transform: translateX(0) translateY(0);
              transform: translateX(0) translateY(0);
    }
    100% {
      -webkit-box-shadow: 1px 1px #fff, 2px 2px #fff, 3px 3px #fff, 4px 4px #fff, 5px 5px #fff, 6px 6px #fff, 7px 7px #fff, 8px 8px #fff;
              box-shadow: 1px 1px #fff, 2px 2px #fff, 3px 3px #fff, 4px 4px #fff, 5px 5px #fff, 6px 6px #fff, 7px 7px #fff, 8px 8px #fff;
      -webkit-transform: translateX(-8px) translateY(-8px);
              transform: translateX(-8px) translateY(-8px);
    }
  }

.title_popup{
    font-size: 2.5rem;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}

.cross{
    background-color: #fff;
    width: 13%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 15px;
    right: 15px;
    aspect-ratio: 1;
    transition: all .3s ease;
}

.cross:hover{
    transform: rotate(180deg);
    background-color: var(--color-red);
}

.cross img{
    width: 50%;
}

@media (max-width:768px){
    .popup_site{
        padding: 40px;
        left: 15%;
        top: 20%;
        width: 50vw;
    }

    .title_popup{
        font-size: 1.2rem;
    }

}

/*CURSOR*/

#custom_cursor {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    position: fixed;
    z-index: 999999999;
    pointer-events: none;
    mix-blend-mode: difference;
    transition: transform 0.3s ease-in-out, clip-path 0.3s ease-in-out;
}

#custom_cursor.cursor_hover {
    transform: scale(3);
}

#custom_cursor.hover_link {
    clip-path: polygon(37% 23%, 78% 53%, 48% 50%, 30% 70%);
}
/*MENU*/

#menu {
    z-index: 100;
}

#menu-bar {
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: var(--color-red);
    cursor: none;
}

.bar {
    height: 5px;
    width: 50%;
    background-color: #fff;
    display: block;
    border-radius: 5px;
    transition: 0.3s ease;
}

#bar1 {
    transform: translateY(-4px);
}

#bar3 {
    transform: translateY(4px);
}

.nav {
    transition: 0.3s ease;
    display: none;
}

.nav ul {
    padding: 0 22px;
}

.nav li {
    list-style: none;
    padding: 12px 0;
}

.nav li a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: none;
}

.nav li a::after {
    content: "";
    display: block;
    margin: 2px;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease-in-out;
}

.nav li:hover a::after {
    width: 25%;
}

.menu-bg,
#menu {
    top: 0;
    left: 0;
    position: fixed;
}

.menu-bg {
    z-index: 10;
    width: 0;
    height: 0;
    margin: 30px 0 20px 20px;
    background: radial-gradient(circle, var(--color-red), var(--color-red));
    border-radius: 50%;
    transition: 0.3s ease;
}

.change {
    display: block;
}

.change .bar {
    background-color: white;
}

.change #bar1 {
    transform: translateY(4px) rotateZ(-45deg);
}

.change #bar2 {
    opacity: 0;
}

.change #bar3 {
    transform: translateY(-6px) rotateZ(45deg);
}

.change-bg {
    width: 520px;
    height: 460px;
    transform: translate(-60%, -30%);
}

/*HEADER*/

header {
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url("../img/bg-header.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
    transition: all .3s ease-in-out;
    
}

.number_header {
    font-family: "New Rocker", system-ui;
    font-weight: 400;
    font-style: normal;
    color: #fff;
    font-size: 5em;
    transition: all .3s ease-in-out;
    z-index: 10;
    animation: tracking-in-expand 1s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}

.number_header:hover{
    filter: blur(2px);
    transform: scale(1.1);
}

@keyframes tracking-in-expand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }
    40% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}

.txt_header{
    font-size: 5rem;
    -webkit-text-stroke: 1px #fff;
    font-family: "Archivo Black", sans-serif;
    font-weight: 900;
    color: transparent;
    text-transform: uppercase;
    transition: all .5s ease-in-out;
}

.portfolio{
    transform: rotate(90deg) translateY(150px);
    position: absolute;
    left: -200px;
    top: 50%;
    filter: blur(10px);
}

.dev{
    transform: rotate(-90deg) translateY(150px);
    position: absolute;
    right: -200px;
    top: 50%;
    filter: blur(10px);
}

.change_saturation{
    filter: grayscale(1);
}

.change_portfolio{
    transform: rotate(90deg) translateY(0);
    filter: blur(0);
}

.change_dev{
    transform: rotate(-90deg) translateY(0);
    filter: blur(0);
}

@keyframes scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-250px * 10))}
}

.slider{
    overflow: hidden;
    position: absolute;
    top: 15%;
    width: 100vw;
    margin: auto;
}

.slider-track{
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: calc(167px * 20);
    animation: scroll 50s linear infinite;
}

.slide{
    width: 167px;
    height: 38px;
}


@media (max-width: 1250px) {
    .number_header{
        font-size: 4em;
    }

    .bar_info p{
        font-size: 10px;
    }

    .txt_header{
        font-size: 4rem;
    }

    .dev{
        right: -170px;
    }

    .portfolio{
        left: -170px;
    }
}






/*SECTION JB*/
.JB {
    min-height: 100vh;
    position: relative;
    background-color: #f5f5f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.line {
    position: absolute;
    left: -30%;
    width: 100%;
    height: 2px;
    background-color: #000;
    top: 50%;
    transform: rotate(-90deg) translateY(-50%);
}

.line_2 {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    top: 75%;
    transform: translateY(-50%);
}

.JB .img_1 {
    position: absolute;
    left: 150px;
    top: 150px;
}

.JB .img_2 {
    position: absolute;
    right: 100px;
    bottom: 50px;
}

.imgJB {
    transform: scale(0);
    box-shadow: none;
    border: none;
    transition: transform 0.3s ease-out;
}

 .animIMG {
    box-shadow: 1px -1px var(--color-red), 2px -2px var(--color-red),
        3px -3px var(--color-red), 4px -4px var(--color-red),
        5px -5px var(--color-red), 6px -6px var(--color-red),
        7px -7px var(--color-red), 8px -8px var(--color-red);
    transform: scale(1) translateX(-8px) translateY(8px);
    border: 1px solid var(--color-red);
}

.change_img {
    box-shadow: 1px -1px #fff, 2px -2px #fff, 3px -3px #fff, 4px -4px #fff,
        5px -5px #fff, 6px -6px #fff, 7px -7px #fff, 8px -8px #fff !important;
    border: 1px solid #fff !important;
}

.change_line {
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.change_title {
    color: #fff !important;
    transition: all 0.3s ease-in-out;
}

.change_stroke {
    -webkit-text-stroke: 2px #fff !important;
    transition: all 0.3s ease-in-out;
}

.change_img_select {
    transform: translateY(-5%) rotate(5deg) !important;
}

.bg_jb {
    background-color: var(--color-red);
}

.title_container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


@media (min-width: 1024px) and (max-width: 1450px){
    .JB img{
        width: 15%;
    }

    .JB .img_1{
        top: 50px;
        left: 6%;
    }

    .JB .img_2{
        bottom: 50px;
        right: 50px;
    }

}

.JB h2{
    overflow: hidden;
    opacity: 0;
    color: var(--color-black);
    line-height: 50px;
    text-transform: uppercase;
    text-align: center;
}

.JB .stroke {
    -webkit-text-stroke: 2px var(--color-black);
    color: transparent;
}

.JB .titleAppear{
    opacity: 1;
}

.JB h2 span{
    display: block;
    transform: translate(0,100%);
    transition: transform .3s ease-in-out;
}

.titleAppear span{
    animation: reveal .6s cubic-bezier(0.77, 0, 0.175, 1) 0.5s both;
}

@keyframes reveal {
    0% {
      transform: translate(0,100%);
    }
    100% {
      transform: translate(0,0);
    }
  }


@media (max-width: 768px) {
    .JB h2{
        font-size: 2rem;
    }
    .JB .lines{
        width: 0;
    }
    
    .JB .img_1{
        position: relative;
        left: 60px;
        top: 20px;
    }
    
    .JB .img_2{
        position: relative;
        bottom: 20px;
        right: 60px;
    }
    .change_stroke{
        font-family: sans-serif;
    }

    .JB .stroke{
        font-family: sans-serif;
    }

    .JB{
        flex-direction: column;
        gap: 5rem;
        padding: 50px 0; 
    }

    
    .animIMG{
        transform: scale(1);
        box-shadow: 1px -1px var(--color-red), 2px -2px var(--color-red),
            3px -3px var(--color-red), 4px -4px var(--color-red),
            5px -5px var(--color-red), 6px -6px var(--color-red),
            7px -7px var(--color-red), 8px -8px var(--color-red);
        transform: scale(1) translateX(-8px) translateY(8px);
        border: 1px solid var(--color-red);
        width: 50%;
    }
}

/* SECTION PROJETS*/

.projet {
    background-color: var(--color-black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 100px;
}

.projet h2 {
    text-align: left;
    color: #fff;
}

.container_projets {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 50px;
}

.projets {
    width: 100%;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    transition: all 0.5s ease-out;
}

.projets:hover .voir_projets {
    height: 12rem;
    animation: shadow-pop-tr 0.5s cubic-bezier(0.47, 0, 0.745, 0.715) both;
}

.projets:hover .para_projets {
    animation: appearPara 0.5s both;
}

.projets:hover .txt_projets h3 {
    -webkit-text-stroke: 1px #fff;
    font-weight: 900;
    color: transparent;
    transition: all 0.5s ease-in-out;
}
.projets:hover .img_arrow {
    transform: rotate(-90deg);
}

.txt_projets {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 45%;
}

.txt_projets h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    text-align: left;
    color: #fff;
}

.para_projets {
    color: #fff;
    text-align: justify;
    opacity: 0;
    line-height: 0;
}

@keyframes appearPara {
    0%,
    80% {
        opacity: 0;
        line-height: 0;
    }

    100% {
        opacity: 1;
        line-height: 20px;
    }
}

.voir_projets {
    background-image: url('../img/Nike.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: 0;
    width: 35%;
    justify-content: center;
    background-position: center;
    align-items: center;
    display: flex;
    transition: all 0.5s ease-in-out;
}

 .sushi{
    background-image: url('../img/sushi.png') ;
}

.adher{
    background-image: url('../img/adher.png');
}

.popup{
    background-image: url('../img/popup.png');
}

@keyframes shadow-pop-tr {
    0% {
        box-shadow: 0 0 var(--color-red), 0 0 var(--color-red),
            0 0 var(--color-red), 0 0 var(--color-red), 0 0 var(--color-red),
            0 0 var(--color-red), 0 0 var(--color-red), 0 0 var(--color-red);
        transform: translateX(0) translateY(0);
    }
    80% {
        box-shadow: 0 0 var(--color-red), 0 0 var(--color-red),
            0 0 var(--color-red), 0 0 var(--color-red), 0 0 var(--color-red),
            0 0 var(--color-red), 0 0 var(--color-red), 0 0 var(--color-red);
        transform: translateX(0) translateY(0);
    }
    100% {
        box-shadow: 1px -1px var(--color-red), 2px -2px var(--color-red),
            3px -3px var(--color-red), 4px -4px var(--color-red),
            5px -5px var(--color-red), 6px -6px var(--color-red),
            7px -7px var(--color-red), 8px -8px var(--color-red);
        transform: translateX(-8px) translateY(8px);
    }
}

.voir_projets a {
    padding: 15px 25px;
    background-color: var(--color-red);
    color: #fff;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    cursor: none;
}

.projets:hover .voir_projets a {
    opacity: 1;
}

.voir_projets a:hover {
    background-color: #c12626;
    transition: all 0.3s ease;
}

.voir_projets:hover {
    background-color: #afafaf;
    transition: all 0.3s ease;
}

.projets .arrow {
    display: flex;
    align-items: end;
}

.img_arrow {
    transition: transform 0.5s ease;
}

@media (min-width: 1024px) and (max-width: 1450px){
   .projet{
    padding: 100px 50px;
   }
}

@media (max-width: 768px) {
    .projet{
        padding: 25px;
    }

    .projets:hover{
        gap: 2rem;
    }

    .projet h2{
        font-size: 1.5rem;
    }

    .projets{
        flex-direction: column;
    }

    .txt_projets{
        width: 100%;
    }

    .voir_projets{
        width: 100%;
    }

    .txt_projets h3{
        font-size: 1.2rem;
    }

    .txt_projets p{
        font-size: 14px;
        margin-top: 25px;
    }

    .arrow img{
        width: 15%;
    } 

    .projets:hover .txt_projets h3{
        font-family: sans-serif;
    }
}

/*SKILLS*/

.skills {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 100px 0 0 0;
    background-color: #f5f5f5;
    transition: all 0.3s ease-in-out;
}

.skills h2 {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-red);
    text-align: left;
    margin: 0 100px;
    transition: -webkit-text-stroke 0.3s ease-in-out, color 0.3s ease-in-out, opacity 1s ease-in, transform 1s ease-in;
}

.skill .arrow_skill {
    transition: all 0.3s ease-in-out;
}

.skills h2 .change_title_skills {
    color: var(--color-red);
    -webkit-text-stroke: 0px;
    margin-left: 15px;
    transition: all 0.3s ease-in-out;
}

.container_title_skills {
    margin-left: 50px;
}

.container_skills {
    display: flex;
    flex-direction: column;
    margin-top: 100px;
}

.skill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px;
    position: relative;
    border-top: 1px solid var(--color-red);
}

.skill:last-child {
    border-bottom: 1px solid #fff;
}

.skill p {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    text-align: left;
    color: #000;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

.skill img {
    transform: scale(0);
    position: absolute;
    right: 50px;
    top: -80px;
    transition: transform 0.5s ease;
    z-index: 10;
}

.skill:hover img {
    animation: scale 0.5s both;
}

@keyframes scale {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.3) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0);
    }
}

.skill:hover {
    background-color: var(--color-red);
    border-top: 1px solid #fff;
}

.skill:hover .title_skill {
    color: #fff;
}

.bg_change_skill {
    background-color: var(--color-black);
}

.hover_title_skill {
    color: #fff !important;
}

.hover_title_skill_stroke {
    -webkit-text-stroke: 1px #fff !important;
    color: transparent !important;
}

.skill_change .title_skill {
    color: #fff;
}

.skill:hover .title_skill {
    transform: translateZ(12px);
}

.skill_change {
    border-top: 1px solid #fff;
}

@media (prefers-reduced-motion) {
    .skill {
        transform: none !important;
    }
}

@media (min-width: 1024px) and (max-width: 1250px){
    .skill img{
        width: 50%;
        right: 15px;
        top: -25%;
        bottom: 0;
    }

    .skill .title_skill{
        font-size: 2.5rem;
    }

    
}

@media (max-width: 768px){

    .skills{
        padding: 50px 0 0 0;
    }
    .skills h2{
        margin: 0 10px;
        font-size: 1.5rem;
    }

    .skills h2, .hover_title_skill_stroke{
        font-family: sans-serif;
    }
    
    .skills h2 span img{
        width: 8%;
    }
    
    .container_title_skills{
        margin-left: 10px;
    }

    .container_skills{
        margin-top: 25px;
    }
    
    .skill{
        flex-direction: column;
        padding: 25px;
        max-height: 55vh;
    }
    
    .skill p{
        font-size: 1.5rem;
        margin-top: 15px;
    }
    
    .skill img{
       display: none;
    }

    @keyframes scale {
        0% {
            transform: scale(0);
        }
        50% {
            transform: scale(1.3) rotate(10deg);
        }
        100% {
            transform: scale(.45) rotate(0);
        }
    }
}

/*Formation*/

.formations {
    background-color: var(--color-red);
    min-height: 100vh;
    padding: 100px 25px;
}

.formations h2 {
    font-size: 8rem;
    color: var(--color-black);
    text-align: left;
    display: flex;
}

.container_title_site{
    position: relative;
}

.normal_title{
    -webkit-text-stroke: 1px #000;
    color: transparent;
}

.border_title{
    -webkit-text-stroke: 1px #000;
    color: transparent;
    position: absolute;
    left: 0;
    width: 100%;
    transition: all 1.8s ease-in-out;
}

/* .border_title:hover{
    left: 8px;
    color: #000;
} */

.container_formation {
    display: flex;
    flex-direction: column;
}

.container_line {
    display: flex;
    width: 100%;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.line_formation {
    height: 1px;
    background-color: var(--color-black);
    width: 90%;
}

.container_line p {
    font-family: "Archivo Black", sans-serif;
    font-size: 15px;
    font-weight: 900;
    width: 10%;
}
.container_txt_formation:first-of-type {
    margin-bottom: 100px;
}
.container_txt_formation {
    padding: 100px 0 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.container_para_formation {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 50px;
}

.container_width_txt {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.title_txt {
    text-transform: uppercase;
    font-size: 16px;
    text-align: left;
    color: var(--color-black);
}

.para_formation {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.para_formation p {
    width: 50%;
    text-align: justify;
    color: var(--color-black);
}

.subtitle_formation {
    width: 45%;
    position: relative;
}

.subtitle_formation {
    position: relative;
    left: 0;
    bottom: 0;
}

.subtitle_formation img{
    width: 90%;
}


@media (min-width: 1024px) and (max-width: 1350px){
    
    .formations h3{
        font-size: 13rem;
    }
    
    .container_line p{
        font-size: 14px;
    }
    .formations h2{
        font-size: 5rem;
    }
    
}

@media (min-width: 1351px) and (max-width: 1450px){
    .container_line p{
        font-size: 14px;
    }
    .formations h3{
        font-size: 16rem;
    }
    .formations h2{
        font-size: 5rem;
    }
 }

@media (max-width: 768px) {
    .formations{
        padding: 40px 20px;
    }

    .formations h2{
        font-size: 1.8rem;
    }

    .border_title{
        display: none;
    }

    .normal_title{
        font-size: 1.7rem;
        -webkit-text-stroke: 0;
        color: #000;
    }

    .formations .container_line{
        width: 90%;
    }

    .container_line .line_formation{
        width: 90%;
    }

    .container_line p{
        font-size: 8px;
    }

    .container_txt_formation{
        flex-direction: column;
        padding: 0;
    }

    .container_width_txt{
        width: 100%;
    }

    .container_width_txt img{
        width: 30%;
    }

    .container_para_formation{
        margin-top: 15px;
    }

    .container_para_formation p {
        font-size: 13px;
    }

    .subtitle_formation{
        width: 275px;
    }
}

/* FOOTER */

footer {
    position: relative;
    padding: 100px;
    background-color: var(--color-black);
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
}

footer a{
    cursor: none;
}

.container_button {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    text-align: center;
    width: 100%;
    flex-wrap: wrap;
}

.container_button .button{
    width: 25%;
}
.container_button a {
    padding: 25px 30px;
    background-color: #fff;
    color: var(--color-red);
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    cursor: none;
    box-shadow: 8px 8px 0 0 var(--color-red);
    transition: all .3s ease-in-out;
    display: block;
}

.container_button a:hover {
    background-color: var(--color-red);
    color: #fff;
    box-shadow: 12px 12px 0 0 #fff;
}


footer h2 {
    font-weight: 900;
    font-size: 5rem;
    color: #fff;
    margin-bottom: 100px;
    transition: color .3s ease-in-out;
}

footer:hover h2 {
    transform: translateZ(12px);
}

footer h2:hover {
    -webkit-text-stroke: 1px #fff;
    color: transparent;
}

.button_footer.active {
    transform: translateY(-15px);
    filter: blur(0);
}

.button_footer.blur {
    transform: rotate(5deg) scale(0.8);
    filter: blur(3px);
}

@media (prefers-reduced-motion) {
    footer {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    footer{
        padding: 25px;
    }

    footer h2{
        font-size: 1.8rem;
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .container_button{
        flex-direction: column;
    }

    .container_button .button{
        width: 100%;
    }

    .container_button a{
        font-size: 1rem;
        padding: 15px 15px;
    }

    footer h2:hover{
        font-family: sans-serif;
    }
}

/*REVEAL*/

.element{
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 1.8s ease-in, transform 1.8s ease-in;
}

.skillElement{
    opacity: 0;
    transform: translateX(100%);
}


.element.reveal{
    opacity: 1;
    transform: translateY(0);
}

.skillElement.reveal2{
    opacity: 1;
    transform: none;
}

.title_formation, .container_line {
    opacity: 0;
    transform: translateY(-100px);
    transition: opacity 1.8s ease-in, transform 1.8s ease-in;
}

.txt_formation{
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1.8s ease-in;
}

.img_formation{
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1.8s ease-in, transform 1.8s ease-in;
}

.reveal_title_forma, .reveal_line_forma{
    opacity: 1;
    transform: translateY(0);
}

.reveal_title_forma .border_title{
    animation: revealBorder 2s ease-in both;
}

@keyframes revealBorder {
    0%, 80%{
        color: transparent;
        left: 0;
    }
    100%{
        color: #000;
        left: 8px;
    }
}

.reveal_txt_forma, .reveal_img_forma{
    opacity: 1;
    transform: translateX(0);
}
  
@media (max-width: 1024px) {

    .title_formation, .container_line {
        transform: translateY(30px);
    }

    .txt_formation{
        transform: translateY(30px);
    }
    
    .img_formation{
        transform: translateY(30px);
    }

    .reveal_txt_forma, .reveal_img_forma {
        opacity: 1;
        transform: translateX(0);
    }

    .reveal_title_forma, .reveal_line_forma {
        opacity: 1;
        transform: translateY(0);
    }


}