/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600&display=swap');

* {
margin: 0%;
padding: 0;
}

body {
    font-family:"Be Vietnam Pro", sans-serif;
   /* background-color: whitesmoke;  */ 
   background-color: rgb(10 10 10 / 100);
}

body#holdupp{
    /* background-color: #0b2343; */
}

html{
    scroll-behavior: smooth;
}

h1{
    /* color: #202230;*/
    color: white;
}

p{
    color: rgb(200, 200, 200);
}

/* TRANSITION */

a, .btn{
    transition: all 300ms ease;
}

/* DESKTOP NAV */

nav,
.nav-links {
    display:flex
}

nav{
    justify-content: space-around;
    align-items: center;
    height: 28vh;
    background-color: #f3d60e;
}

.nav-links{
   gap: 2rem;
   list-style: none;
   font-size: 1.2rem;
}

a{
    color: #202230;
    text-decoration: none;
}

a:hover{
   /* color:white;*/
    text-decoration: underline 0.2rem;
    text-underline-offset: 1rem;
    transition: all 100ms ease;
    font-weight: bolder;
    /* text-decoration-color: brown; */

}

.logo img{
 min-width: 90px;
}

.logo:hover{
    cursor: pointer;
}

/* HAMBURGER MENU */

#hamburger-nav{
    display: none;
}

.hamburger-menu{
    position: relative;
    display: inline-block;
}

.hamburger-icon{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span{
    width: 100%;
    height: 2px;
    background-color: #202230;
    transition: all 0.3 ease-in-out;
}

.menu-links{
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
}

.menu-links a{
    display: block;
    padding: 5px;
    text-align: center;
    font-size: 1.5rem;
    color: #202230;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.menu-links li{
    list-style: none;
}

.menu-links.open{
    max-height: 300px;
}

.menu-links :hover{
    background-color: #f3d60e;
}

.hamburger-icon.open span:first-child{
    transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2){
    opacity: 0;
}

.hamburger-icon.open span:last-child{
    transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child{
    transform: none;
}

.hamburger-icon span:first-child{
    opacity: 1;
}

.hamburger-icon span:first-child{
    transform: none;
}

/* SECTIONS */

.section-container{
    display: flex;
}


/* PROFILE SECTION */

#profile {
    padding-top: 4vh;
    height: 96vh;
    margin: 0 0rem;
    box-sizing: border-box;
    min-height: fit-content;
    display: flex;
    justify-content: center;
    gap: 0rem;
    height: 80vh;
   /* background-image: url(assets/background\ home\ bis.webp);
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;*/
}

/* .section__pic-container{
    display: flex;
    height: 400px;
    width: 400px;
    margin: auto 0;
} */

.section__text{
    margin-top: 10rem;
    text-align: center;
}

.section__text p{
    font-weight: 500;
}

.section__text__p1{
    text-align: center;
}

.section__text__p1{
    font-size: 1rem;
    margin-bottom: 1rem;
    margin-left: 10rem;
    margin-right: 10rem;
}

.title{
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    margin-left: 10rem;
    margin-right: 10rem;
}

.title__secondary{
    font-size: 1.5rem;
    text-align: left;
    margin-bottom: 0rem;
    font-weight: bolder;
}

.socials-container{
    display: flex;
    justify-content: center;
    margin-top: 100px;
    gap: 1rem;
}

.text__changer{
    height: 60px;
    padding: 5px;
    border-radius: 8px;
    display: block;
    color: #f3d60e;
    font-size: 38px;
    font-style: italic;
    font-weight: bolder;
    box-sizing: ;
    margin-bottom: 50px;
}

.fixed__text{
    margin-top: -1px;
    font-size: 36px;
    font-weight: lighter;
    font-style: normal;
    color: whitesmoke;
}

.needs__list{
    overflow:auto;
    position: relative;
    height: 60px;
    scrollbar-width: none;
}

.need{
    display: block;
    height: 100%;
    padding-left: 3px;
    animation: need__change 6s infinite;
}

@keyframes need__change{
    10%{
        transform: translateY(-2%)
    }
    22%{
        transform: translateY(0%)
    }
    30%{
        transform: translateY(-102%)
    }
    42%{
        transform: translateY(-100%)
    }
    50%{
        transform: translateY(-202%)
    }
    62%{
        transform: translateY(-200%)
    }
    70%{
        transform: translateY(-302%)
    }
    82%{
        transform: translateY(-300%)
    }
    90%{
        transform: translateY(-402%)
    }
    100%{
        transform: translateY(-400%)
    }
}

/* EDITO SECTION */

#edito {
    padding-top: 10vh;
    height: 90vh;
    margin: 0 15rem;
    box-sizing: border-box;
    min-height: fit-content;
    display: flex;      
    justify-content: center;
    gap: 0rem;

}

.edito__whole{
display: flex;
/* align-items: center; */
}

.edito__img{
    flex: 1;
    width: auto;
    height: 300px;
    /* background-color: rgb(99, 197, 99); */
}

.edito__title{
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.edito__text{
    flex: 1;
    width: auto;
    height: 300px;
    /* background-color: rgb(177, 113, 71); */
}

.edito__text__p1{
    text-align: justify;
    margin-left: 1rem;
}

.edito__text__p2{
    
}

/* PROJECTS SECTION */

#projects {
    padding-top: 10vh;
    height: 90vh;
    margin: 0 0;
    box-sizing: border-box; 
    min-height: max-content ; 
    display: flex;
    flex-wrap: wrap;    
    justify-content: center;
    gap: 2rem;

}

 .project__title__small{
    color:white;
    font-size: 18px;
}

.project__sub__title__small{
     color:lightgrey;
    font-size: 12px;
}

.gallery{
    border: 1px solid lightgray;
}

.gallery:hover{
    border: 3px solid #f3d60e;
    
    
}

.gallery img{
    width: 100%;
    height: auto;
}

.gallery img:hover{
    opacity: 0.6;
    cursor: pointer;
}

.details__projets{
    padding: 10px;
    text-align: center;
}

.details__projets:hover{
    color: black;
    cursor: none;
}

.responsive__projets{
    padding: 0 8px;
    float: left;
    width: 20%;

}

/* .responsive__projets__2{
    padding: 0 8px;
    float: left;
    width: 50%;
    background-color:;
} */

/* PROJET FOCUS SECTION */

.title__projet{
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
}

#projet__focus{
    padding-top: 10vh;
    height: 90vh;
}

.images__focus{
    left: 52.5%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 95vw;
	position: relative;
	right: 50%;
	width: 95vw;
    font-size: 0;
}

.images__focus img{
    gap: 0;
}

.projet__text{
    margin-top: 15vh;
    margin-bottom: 15vh;
    margin-left: 15vw;
    margin-right: 15vw;
    font-size: 25px;
}

.button__back__projets{
    align-items: center;
    align-content: center;
    margin-left: 5vw;
}

/* EXPERIENCE SECTION */

#experience{
    padding-top: 4vh;
    height: 96vh;
    margin: 0 15rem;
    box-sizing: border-box;
    min-height: fit-content;
    display: flex;
    justify-content: center;
    gap: 0rem;
    height: 80vh;
}

.title__troisieme{
    font-size: 1rem;
    text-align: left;
    margin-bottom: 0.6rem;
    color: whitesmoke;
}
/* SHOWREEL VIDEO */

#projet__focus__video{
    margin: 0 0;
    left: 52.5%; /*(50+(5/2))*/
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 95vw;
	position: relative;
	right: 50%;
	width: 95vw;
    font-size: 0;
   /* background-color: blue;*/
}


.video iframe{
    aspect-ratio: 16/9;
    width: 50%;  
    align-self: center;
    margin-left: 24vw;
}


/* CONTACT SECTION */

#contact{
    padding-top: 4vh;
    height: 96vh;
    margin: 0 8rem;
    box-sizing: border-box;
    min-height: fit-content;
    display: flex;
    justify-content: center;
    gap: 0rem;
    height: 80vh;
    text-align: center;
}

.title__contact {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.bold__text{
    font-weight: 900;
    color:whitesmoke;
    margin-top: 1rem;
}

/* ICONS */

.icon{
    cursor: pointer;
    height: 2rem;
}

/* BUTTONS */

.btn-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn{
    font-weight: 500;
    transition: all 500ms ease;
    padding: 1rem;
    width: 10rem;
    border-radius: 2rem;
}


.btn-color-1{
color: whitesmoke;
background: #202230;
border: none;
}

.btn-color-2{
color: #202230;
background: whitesmoke ;
border: solid #202230 0.5px;
}

.btn-color-1:hover,
.btn-color-2:hover{
color: black;
background: #f3d60e;
border:none;
cursor: pointer;
}

.btn-container{
    gap:1rem;
}