
body{
    /* background: linear-gradient(180.27deg, #000211 24.92%, #010B50 49.87%, #29145B 74.82%, #300E2E 99.77%); */
    background: #020202;
    color: #f8f8ff;
    margin: auto;
    padding: 0px;
    font-size: 100%;
}
body::-webkit-scrollbar { width: 13px; /* width of the entire scrollbar */}

body::-webkit-scrollbar-track { background: black; }

body::-webkit-scrollbar-thumb {
    background-color: #9B398C;
    border-radius: 20px;
    border: 3px solid black;
}
a { text-decoration:none; }
p{ margin: 0px; }

footer{ font-size: 100%; margin-top: 4em; }

.error-container{
    width: 100vmax;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2em;
}
.error-image{
    width: 10vmax;
    height: 10vmax;
}


/* background: linear-gradient(116.8deg, #211D2C 0.67%, #111D89 99.79%); */
/* ----------------nav bar------------------ */
.header-svg{
    position: absolute;
    /* top: 4em; */
    width: 100%;
    height: 100%;
    z-index: 0;
    height: auto;
}

.nav-bar{ overflow-x: hidden; }

.nav-bar-links{
    display: flex;
    justify-content: flex-end;
    padding-right: 5%;
    gap: 2%;
}
.nav-link{
    color: #f8f8ff;
    font-size: 2.5vmax;
    font-weight: 600;
    padding: 10px;
}
.nav-link:hover, .footer-link:hover, .projet-link:hover, .part1-h1:hover,.part3-projets-title-a:hover{
    background: linear-gradient(94.9deg, #F41515 0%, rgba(0, 56, 255, 0.76) 113.26%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor:pointer;
}
.header-svg:hover{
    fill:linear-gradient(94.9deg, #F41515 0%, rgba(0, 56, 255, 0.76) 113.26%);
}

.nav-link:active, .footer-link:active, .projet-link:active,.part3-projets-title-a:active{
    font-weight:800;
}

.home-svg{
    position: absolute;
    z-index: -1;
    top: 9%;
    height: 90vh;
    width: 100%;
    overflow: hidden;
}
.bg-image{
    position: absolute;
    z-index: -2;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.backg{
    position: absolute;
    top: 0px;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    z-index: -1;
}

.container{
    width:99%;
    margin: .5em;
    min-height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
}

.part1{
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
    align-content: center;    justify-content: center;
}
.part1-titre{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16vmin;    font-weight: 600; color: #BB61E5; text-align: center;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes scale {
    100% { transform: scale(1);}
}
@keyframes fade-in {
    100% { opacity: 1; filter: blur(0); } }

.part1-hadra{
    display: flex;
    width: 100%;
    align-items: center;
    height: fit-content;
    justify-content: center;
    padding: 1em;
    gap:1.8em;
}
.part1-image{
    object-fit: cover;
    width: 20vmax;
    padding: 1em;
    transform: scale(0.1);
    animation: scale-2 2s .5s forwards ease-in;
    opacity: 0;
}
@keyframes scale-2 {
    100% { transform: scale(1);opacity: 1;}
}
.part1-para{
    text-align: center;
    margin: 0.5em;
    font-size: 3.5vmax;
    animation: slide-in-1 1.5s .5s ease-in;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes slide-in-1 {
    0% {transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0%); opacity: 1; }
}

.part2-h1{
    font-size: 50px;
}

/* _______________________________________________________________ */


.part3-h1{
    text-align: center;
    font-size: 6vmax;
    margin: 1vmax;
}

.part3-projets{
    display: flex;
    overflow-x: scroll;
}
.part3-projets::-webkit-scrollbar {
    width: 12px; /* width of the entire scrollbar */
  }
  
.part3-projets::-webkit-scrollbar-track {
    background: transparent; /* color of the tracking area */
}
  
.part3-projets::-webkit-scrollbar-thumb {
    background-color: #9B398C;
    border-radius: 20px;
    border: 3px solid #010B50;
}

.row{
    display: flex;
    justify-content: center;
    align-items: center;
}
.part3-projets-column{
    display: flex;
    align-content: center;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1%;
    width: 20em;
    height: 22em;
    background-color: #f8f8ff;
    box-shadow: 0 4px 10px 0 rgba(62, 144, 203, 0.695), 0 6px 20px 0 rgba(62, 144, 203, 0.3);
    border-radius: 20px;
    margin: 1em;
}
  
.project--thumbnail{
    width: 90%;
}

.part3-projets-title{
    background-color: #f8f8ff;
    text-align: center;
    width: 100%;
    margin: 2%;
    font-weight: 600;
}
.part3-projets-title-a{
    font-weight: 600;
    color: #001233;
    font-size: 2.2em;
}
.part4,.part3 {
    min-height: auto;
    margin-top: 3em;
}

.part4-h1{
    font-size: 3.75em;
    text-align: center;
    width: auto;
}

.part4-skill-colmn {
    padding: 10px;
    min-width: 20vmax;
    width: 21vmax;
    box-shadow: 0 4px 10px 0 rgba(62, 144, 203, 0.695), 0 6px 20px 0 rgba(62, 144, 203, 0.3);
    border-radius: 20px;
    margin: 1em;
    display: flex;
    border-color: transparent;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}


.part4-skills h5{
    font-size: 1.75em;
    width: 100%;
    margin: 0em;
    text-align: center;
}

.part4-logo{
    width: 5vmax;
}

.part5-para{
    text-align: center;
    font-size: 30px;
    margin: 5px auto;
}

.part6{
    margin-top: 3em;
}

.formulaire{
    margin: .5em;
    font-size: 2.25vmax;
    gap: 1em;
    display: flex;
    align-items: center;
}
.formulaire img{
    width: 80%;
    min-width: 50%;
    transform: translatey(0px);
	animation: float 5s ease-in-out infinite;
}
@keyframes float {
	0%{ transform: translatey(0px); }
	50%{ transform: translatey(-20px); }
	100% { transform: translatey(0px); }
}

.tableau{
    border-spacing: .5em;
    width: 100%;
}
input{
    font-size: .75em;
}

.input-form{
    font-weight: 200;
    width: 95%;
}
.subjet-form{
    width: 95%;
}
.btn-form{
    text-align: -webkit-center;
    border: 3px solid #f8f8ff;
    border-radius: 15px;
    color:#f8f8ff;
    background: unset;
    font-size: 80%;
    padding: .2em 2em .2em 2em;
    transition:.4s ease-in-out all ;
}
.btn-form:hover{
    background: #862B86;
    border-radius: 70px;
    cursor: pointer;
}

/* -----------------------footer---------------------- */
.footer-bar{
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-evenly;
}

.social{
    margin: 0px;
    text-align: center;
}

.social-row{
    display: flex;
}

.social-colmn {
    display: flex;
    justify-content: flex-start;
    padding: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-link{
    font-size: 1em;
    color: #f8f8ff;
    text-decoration: none;
    padding-left: 1em;
}

.social-logo{
    width: 2vmax;
    height:2vmax;
}

.footer-svg{
    transform: rotate(180deg);
    position:absolute;
    width: 100%;
    z-index: -1;
}

.language{
    position: relative;
    display: flex;
    width: auto;
    gap:.25em;
    font-size: 1.25vmax;
}


/* ----------------------------------------------------------------------- */

@media only screen and (max-width:700px){
    .nav-bar-links{
        justify-content: center;
        padding-right: 0px;
    }
    .part1{
        height: auto;
    }
    .part1-hadra{
        flex-direction: column;
    }

    .row{
        flex-wrap: wrap;
    }
    .nav-bar-image{
        top: 0px;
        width: 17%;
    }
    .part3-projets{
        justify-content: flex-start;
    }
    .part3-projets-column {
        width: 17em;
        height: 19em;
    }
    .formulaire {
        flex-direction: column;
    }
    .footer-bar{
        flex-wrap: wrap;
        overflow-x: hidden;
    }
    .social {
        padding-top: 2em;
    }
    .social-colmn{
        padding: 0.75em;
    }
    .footer-svg{
        width: auto;
        /* background: linear-gradient(180.27deg, #000211 24.92%, #010B50 49.87%, #29145B 74.82%, #300E2E 99.77%); */
    }
    
}

