
@font-face {
    font-family: 'ReemKufi';
    font-display: swap;
    src: url(../fonts/Reem_Kufi/ReemKufi-VariableFont_wght.ttf);
}

@font-face {
    font-family: 'Mada-Light';
    src: url(../fonts/Mada/Mada-Light.ttf);
}

html{
    scroll-behavior: smooth;
    height: 100%;
    min-height: 100% !important;
    width: 100%;
    font-size: 8vw;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    background-color: #F1F224;
  }

html::-webkit-scrollbar {
    display: none;
}

body{
    height: 100%;
    width: 100%;
    background-color: #F1F224;
}

.ReemKufi{
    font-family: 'ReemKufi';
    font-weight: 400;
    font-variation-settings: 'wght' 400;
}

.yell_back {
    background-color: #F1F224;
}

.greyish_back {
    background-color: #29262a;
}

.light_white_back {
    background-color: #fdfdfd;
}

.yell {
    color: #F1F224;
}

.greyish {
    color: #29262a;
}

.light_white {
    color: #fdfdfd;
}

@media only screen and (max-width: 1024px) {
    .capa{
        height: 100%;
        background-size: cover;
        background-image: url("../ressources/img/BIs1.png");
        background-repeat: no-repeat;
    }

    .expe{
        height: 100%;
        background-size: cover;
        background-image: url("../ressources/img/BIs2.png");
        background-repeat: no-repeat;
    }

    .proj1, .proj2{
        height: 100%;
        background-color: #29262a;
    }

    .cv{
        height: 100%;
        background-size: cover;
        background-image: url("../ressources/img/BIs3.png");
        background-repeat: no-repeat;
    }

    .contact{
        height: 100%;
        background-size: cover;
        background-image: url("../ressources/img/BIs1.png");
        background-repeat: no-repeat;
    }
}

@media only screen and (min-width: 1024px){
    #chap1{
        height: 100%;
        width: 100%;
        background-size: cover;
        background-image: url("../ressources/img/BIm2.jpg");
        background-repeat: no-repeat;
    }

    #chap3{
        height: 100%;
        width: 100%;
        background-size: cover;
        background-image: url("../ressources/img/BIm4.jpg");
        background-repeat: no-repeat;
    }
}

@media only screen and (min-width: 1280px) {

    #ecran_accueil{
        background-size: cover;
        background-image: url("../ressources/img/BI1.png");
        background-repeat: no-repeat;
    }

    #chap1{
        height: 100%;
        width: 100%;
        background-size: cover;
        background-image: url("../ressources/img/BI2.png");
        background-repeat: no-repeat;
    }

    #chap2{
        height: 100%;
        width: 100%;
        background-size: cover;
        background-image: url("../ressources/img/BI3.png");
        background-repeat: no-repeat;
    }

    #chap3{
        height: 100%;
        width: 100%;
        background-size: cover;
        background-image: url("../ressources/img/BI4.png");
        background-repeat: no-repeat;
    }
}

@keyframes surlignage_1 {
    0%   {width: 0%; opacity: 0;}
    100% {width: 95%; opacity: 0.6;}
  }

@keyframes surlignage_2 {
    0%   {width: 0%; opacity: 0;}
    50%   {width: 0%; opacity: 0;}
    100% {width: 95%; opacity: 0.6;}
}

.titre{
    position: relative;
    display: flex;
}

.titre::before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin-left: 0.5em;
    margin-top: 0.65em;
    width: 95%;
    height: 45%;
    background-color: #F1F224;
    opacity: 0.6;
}

#prenom::before{
    animation-name: surlignage_1;
    animation-duration: 0.75s;
}

#nom::before{
    animation-name: surlignage_2;
    animation-duration: 1.5s;
}

@keyframes anim_arrow {
    0%   {opacity: 0;}
    25% {opacity: 0;}
    50% {opacity: 0;}
    75% {opacity: 0}
    87.5% {opacity:0.5}
    100% {opacity: 1;}
  }

.arrow{
    position:absolute;
    left: 40%;
    width:20%;
    animation-name: anim_arrow;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-direction: alternate;
    padding-top: 7%; 
}

@media only screen and (min-width: 1024px) {

    .arrow{
        padding-top: 2%;
    }
}

.arrow1{
    top:80vh;
}

.arrow2, .arrow3{
    top:180vh;
}

.arrow4, .arrow5{
    top: 280vh;
}

.arrow6{
    top: 380vh;
}

.arrow7{
    top: 480vh;
}

.arrow8{
    top: 580vh;
}

.arrow9 {
    top: 680vh;
}

.arrow10{
    top: 380vh;
}

.rev_arrow > a > img{
  -webkit-transform:rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

.capa, .expe{
    font-family: 'ReemKufi';
    font-weight: 200;
    font-variation-settings: 'wght' 200;
}

th{
    font-weight: normal;
}

.wrapper_capa, .wrapper_expe, .wrapper_proj1, .wrapper_proj2, .wrapper_cv, .wrapper_contact, .all_contacts{
    margin: 0 auto;
}

.capa_titre, .expe_titre, .proj_titre, .cv_titre, .contact_titre, .bottom_dl_cv{
    text-align: center;
    padding-bottom: 5%;
    font-family: 'ReemKufi';
}

.capa_table{
    text-align: left;
}

.puce{
    height:20px;
    width: 20px;
    background-color: #29262a;
    border-radius: 100%;
}

.body-progress_bar{
    height:20px;
    width:100%;
    background-color: rgba(41, 38, 42, 0.5);
    border-radius: 30px;
}

.progress_bar{
    width: 0%;
    height:20px;
    background-color: rgba(41, 38, 42, 1);
    border-radius: 30px;
}

.puce_expe{
    float: left;
    margin-right: 0.20rem;
    
}

.texte_capa{
    letter-spacing: 0.011rem;
}

.texte_expe{
    width: 90%;
    letter-spacing: 0.011rem;
}

.expe_list{
    text-align: left;
}

.pres_proj, .git_link, .img_hovercap{
    font-family: 'ReemKufi';
    font-weight: 200;
    font-variation-settings: 'wght' 200;
}

.git_link{
    width: 100%;
    transition: 500ms color cursor;
}

.git_link:hover{
    color: #F1F224;
    cursor: pointer;
}

.img_hoverwrap {
    position: relative;
    width: 100%;
}

.img_proj {
opacity: 1;
display: block;
width: 100%;
height: auto;
transition: 0.5s ease filter;
backface-visibility: hidden;
}

.img_middle {
transition: 0.5s ease;
opacity: 0;
position: absolute;
text-align: center;
}

.img_hoverwrap:hover .img_proj {
    filter: blur(2px);
    -webkit-filter: blur(2px);
}

.img_hoverwrap:hover .img_middle {
    opacity: 1.0;
}

.img_hovercap {
width: 30%;
}

@media only screen and (max-width: 1024px) {

    .cv_slot_l{
        margin-left: 5%;
    }

    .cv_slot_r{
        margin-right: 5%;
    }
}

@media only screen and (min-width: 1024px) {

    .cv_slot_r{
        margin-right: 10%;
    }
}

.cv_slot_l, .cv_slot_r{
    width:40%;
}

.bottom_dl_cv{
    font-size: 80%;
}

.img_cv > img{
   -webkit-box-shadow: 0 28px 16px -26px rgba(0, 0, 0);
   -moz-box-shadow: 0 28px 16px -26px rgba(0, 0, 0);
   box-shadow: 0 28px 16px -26px rgba(0, 0, 0);
}

.img_hovercap{
    font-size: 80%;
}

.email_input, .sujet_input{
    border-bottom: 1px solid#29262a;
    background: transparent;
    color:#29262a;
    font-family: 'ReemKufi';
    font-weight: 200;
    font-variation-settings: 'wght' 200;
}

.email_input:focus, .sujet_input:focus {
    border-bottom: 2px solid#29262a;
    outline: none;
}

.email_input::placeholder, .sujet_input::placeholder, .contenu_input::placeholder{
    color: #29262a;
    opacity: 1;
  }

.contenu_input{
    resize: none;
    background: transparent;
    color:#29262a;
    font-family: 'ReemKufi';
    font-weight: 200;
    font-variation-settings: 'wght' 200;
    padding-left: 15px;
    padding-right: 15px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 0px solid transparent;
    border-left: 0px solid transparent;
    outline: 1px solid #29262a;
}

.contenu_input:focus{
    outline: 1px solid #29262a;
}

.wrap_sub_span{
    height:80%;
    width: 40%;
    display: inline;
}

.submit_button{
    color:#29262a;
    border: #29262a 1px solid;
    border-radius: 30px;
    font-family: 'ReemKufi';
    font-weight: 200;
    font-variation-settings: 'wght' 200;
}

@media only screen and (min-width: 1280px) {

    .submit_button > span {
        cursor: pointer;
        display: inline-block;
        position: relative;
        transition: 0.5s;
        margin: 0;
    }
    
    .submit_button > span:after {
        content: '⟶';
        position: absolute;
        opacity: 0;
        top: 0;
        left: 90%;
        transition: 0.5s;
    }
    
    .submit_button:hover > span {
        padding-right: 10%;
    }
    
    .submit_button:hover > span:after {
        opacity: 1;
        left: 95%;
    }

}

@media only screen and (max-width: 1280px) {
    .submit_button{
        transition: 0.3s color ease-out;
        transition: 0.3s background-color ease-out;
    }
    .submit_button:hover{
        background-color: #29262a;
        color:#F1F224;
    }

}