:root{
    --display_Qualifications : none;
    --display_Experiences : none;
    --display_Skills : none;
    --display_freelance: none;
    --display_vicat: none;
    --display_teamwork: none;
    --display_emlyon: none;
    --display_orange: none;
    --display_valid:none;
    --display_invalid:none;
    --display_loading : none;
    --display_send:inline-block;
    --text_color : #ccc;
    --button_color : #2272FF;
    --button_hover : rgba(74, 74, 74, 1);
    --body_text_color : #fff;
    --background_color: #1D1D1D;
    --menu_color :#333;
    --offer_title_color : #2272FF;
    --background_contact_button:#242424 ;
    --section_title_color : #fff;
    --anim_button : invert(34%) sepia(79%) saturate(2301%) hue-rotate(208deg) brightness(99%) contrast(105%);
    --menu_hover : invert(34%) sepia(79%) saturate(2301%) hue-rotate(208deg) brightness(99%) contrast(105%);
    --menu_front : invert(91%) sepia(9%) saturate(2%) hue-rotate(318deg) brightness(88%) contrast(94%);
}
body {
    /*font-family: Calibri, sans-serif;*/
    font-family: 'Poppins', sans-serif;
    font-size: .938rem;
    background: var(--background_color) ;
    color: var(--body_text_color);
    text-align: center;
    justify-content: center;
}

/*
body::after {
    content: "";
    
    background-image: url('images/iaimage.png');
    opacity: 0.4;
    backdrop-filter: blur(6px);
    background-size: cover;
    
    /*display: block;
    overflow: auto;
    background-repeat: no-repeat;
    background-position: center;
    *//*
    width: auto;
    background-attachment: fixed;
    opacity: 0.5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: fixed;
    z-index: -1;
}*/

.side-nav{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 50;
}
.contact_me-button{
    width: 100px;
    height: 40px;
    position: fixed;
    display: block;
    right: 92%;
    top: 2%;
    background: var(--background_contact_button);
    border-radius: 200px;
    box-shadow: inset 0px 5px 15px rgba(0,0,0,0.4) , inset 0px -5px 15px rgba(255,255,255,0.4);
    cursor: pointer;
    z-index: 50;
    text-decoration:none;
    color: var(--text_color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    align-content: center;
}
.contact_me-button:hover{
    background: var(--button_hover);
}
.change_theme_label{
    width: 100px;
    height: 40px;
    position: fixed;
    display: block;
    left: 92%;
    top: 2%;
    background: #242424;
    border-radius: 200px;
    box-shadow: inset 0px 5px 15px rgba(0,0,0,0.4) , inset 0px -5px 15px rgba(255,255,255,0.4);
    cursor: pointer;
    z-index: 50;
    transition: 0.3s;
}
.change_theme_label::after{
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0px;
    background:linear-gradient(180deg,#777,#3a3a3a);
    border-radius: 180px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
}
.change_theme_input{
    width: 0;
    height: 0;
    visibility: hidden;
}
.change_theme_input:checked + .change_theme_label{
    background: #ebebeb; 
}
.change_theme_input:checked + .change_theme_label::after{
    left: 100px;
    transform: translateX(-100%);
    background:  linear-gradient(180deg, #ffcc89,#d8860b) ;
}
.change_theme_label:active::after{
    width: 60px;
}
.change_theme_label svg{
    position: absolute;
    width: 25px;
    top: 8px;
    z-index: 50;
}
.change_theme_label .moon{
    left: 8px;
    filter: invert(91%) sepia(9%) saturate(2%) hue-rotate(318deg) brightness(88%) contrast(94%);
    transition: 0.3s;
}
.change_theme_label .sun{
    left: 68px;
    filter: invert(91%) sepia(9%) saturate(2%) hue-rotate(318deg) brightness(88%) contrast(94%);
    transition: 0.3s;
}
.change_theme_input:checked + .change_theme_label .moon{
    filter: invert(15%) sepia(18%) saturate(63%) hue-rotate(318deg) brightness(90%) contrast(84%);
}
.change_theme_input:checked + .change_theme_label .sun{
    filter: invert(15%) sepia(18%) saturate(63%) hue-rotate(318deg) brightness(90%) contrast(84%);
}
.wrapper{
    position: fixed;
    bottom: 1rem;
    background-color: var(--menu_color);
    width: 25%;
    height: 7%;
    border-radius: 4rem;
    padding-right: 2.5em;
    backdrop-filter: blur(10px);
    transition: .4s;
    z-index: 50;
}
.nav-bloc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
}
.nav-bloc a{
    display: flex;
}
.nav-bloc svg{
    width: 22px;
    height: 22px;
    z-index: 50;
    filter: var(--menu_front);
}
.nav-bloc .scrolled svg{
    width: 25px;
    height: 25px;
    z-index: 50;
    filter : var(--menu_hover);
}
.nav-bloc svg:hover{
    z-index: 50;
    filter: var(--menu_hover);
}





.introduction{
    display: flex;
    width: 100%;
    min-height: 650px;
    box-sizing: content-box;
}
.intro_text{
    width: 20%;
    float: left;
    align-items: center;
    justify-content: center;
    align-content: center;
}
.hello{
    font-family: 'Times New Roman', Times, serif;
    font-size: 3em;
    color: var(--offer_title_color);
    font-weight: 0;
}
.im{
    font-family: 'Times New Roman', Times, serif;
    font-size: 3em;
    color: var(--offer_title_color);
}
.job{
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.2em;
    color: #fff;
}
.animation{
    float: right;
}

.play_anim_label{
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 45%;
    padding-left: 10%;
    z-index: 50;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    color: #fff;
}
.play_anim_label::after{
    content: "";
    position: absolute;
    transition: 0.3s;
}
.play_anim_input{
    width: 0;
    height: 0;
    visibility: hidden;
}
.play_anim_label svg{
    width: 10%;
    height: 10%;
    filter: var(--anim_button);
    z-index: 50;
}
.play_anim_input:checked + .play_anim_label{
    display: none;
}
.play_anim_label:hover svg{
    width: 9%;
    height: 9%;
    filter: var(--menu_front);
    transition: 0.3s;
}

.animation img{
    width: 70%;
    height: 0 auto;
    object-fit: fill;
    position: absolute;
    opacity: 0; 
    padding: 2%;
}

.play_anim_input:checked{
    ~.process1 {
        animation: anim2 2.5s;
        animation-delay: 0s;
    }
    ~.process2 {
        animation: anim3 2.5s ;
        animation-delay: 2.5s;
    }
    ~.process3 {
        animation: anim 1s ;
        animation-delay: 5s;
    }
    ~.process4 {
        animation: anim 1s;
        animation-delay: 6s;
    }
    ~.process5 {
        animation: anim 1s;
        animation-delay: 7s;
    }
    ~.process6 {
        animation: anim 1s;
        animation-delay: 8s;
    }
    ~.process7 {
        animation: anim 1s;
        animation-delay: 9s;
    }
    ~.process8 {
        animation: anim 1s;
        animation-delay: 10s;
    }
    ~.process9 {
        animation: anim 2s;
        animation-delay: 11s;
    }
    ~.process10 {
        animation: anim 3s;
        animation-delay: 13s;
    }
    ~.process11 {
        animation: anim 1s;
        animation-delay: 16s;
    }
    ~.process12 {
        animation: anim 1s;
        animation-delay: 17s;
    }
    ~.process13 {
        animation: anim 1s;
        animation-delay: 18s;
    }
    ~.process14 {
        animation: anim 1s;
        animation-delay: 19s;
    }
    ~.process15 {
        animation: anim 1s;
        animation-delay: 20s;
    }
    ~.process16 {
        animation: anim 1s;
        animation-delay: 21s;
    }
    ~.process17 {
        animation: anim 1s;
        animation-delay: 22s;
    }
    ~.process18 {
        animation: anim 2s;
        animation-delay: 23s;
    }
    ~.process19 {
        animation: anim 2s;
        animation-delay: 25s;
    }
    ~.process20 {
        animation: anim 2s;
        animation-delay: 27s;
    }
    ~.process21 {
        animation: anim4 3s forwards;
        animation-delay: 29s;
    }
}

@keyframes anim{
    0%{
        opacity: 1;
    }
    100%{
        opacity: 1;
    }
}
@keyframes anim2 {
    0% {
        opacity: 1;
        transform: translateX(200px);
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes anim3 {
    0% {
        opacity: 1;
        transform: translateX(-400px);
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes anim4 {
    0% {
        opacity: 0.5;
    }
    100%{
        opacity:1;
        transform: scale(0.85);
    }
}





.about__container{
    row-gap: 2.5rem;
    display: flex;
    max-width: 800px;
    height: 0 auto;
    margin: 0 auto;
    padding: 15px;
}

.about__img{
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    float: left;
    shape-outside: margin-box;
    margin: 0 15px 15px 0;
    font-display: inherit;
}

.about__data{
    text-align: justify;
}

.about__description{
    margin-bottom: 2rem;
    line-height: 1.5;
    font-size: medium;
    color: #fff;
    text-align: justify;
}


.work__filters{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: .75rem;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: fill 0.2s ease-in-out;
}

.work__item {
    cursor: pointer;
    padding: .25rem .75rem;
    background: var(--background_contact_button);
    border-radius: 200px;
    box-shadow: inset 0px 5px 15px rgba(0,0,0,0.4) , inset 0px -5px 15px rgba(255,255,255,0.4);
    cursor: pointer;
    text-decoration:none;
    color: var(--text_color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    align-content: center;
}

.work__item:hover {
    background: var(--button_hover);
    position: sticky;
}

#Offers {
    display: grid;
    grid-template-columns: repeat(3,33% 33% 33%) ;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-left: 10%;
    padding-right: 10%;
    max-width: 80%;
}
.offer_child {
    display: grid;
    grid-template-rows: repeat(3,8% 85% 7%);
    border-radius: 30px;
    box-shadow: 5px 5px 15px rgba(233, 225, 225, 0.3);
}
.offer_child .first{
    background-color: var(--offer_title_color);
    border-radius: 30px 30px 0 0;
}
.offer_child .second{
    align-items: center;
}
.offer_child .thrid{
    align-items: end;
    font-weight: 500;
    border-radius: 0 0 30px 30px;
    background-color: var(--button_hover);
}
.offer_child .second h5{
    line-height: 0;
    color: var(--text_color);
    font-size: medium;
}
.offer_child .second h3{
    line-height: 1.4;
    color: var(--text_color);
    font-size: large;
}
.offer_child .second p{
    padding: 0 5% 0% 5%;
    text-align: justify;
    color: var(--section_title_color);
}
.offer_child .second ul{
    line-height: 1.4;
    text-align: justify;
    padding: 0 10% 0% 10%;
    font-size: smaller;
    color: var(--section_title_color);
}






#Qualifications {
    display: var(--display_Qualifications);
    grid-template-columns: repeat(3,25%) ;
    grid-template-rows: repeat(1,40% 40% 40%) ;
    gap: 1rem;
    margin-bottom: 6rem;
    padding-left: 10%;
    padding-right: 10%;
    max-width: 80%;
    justify-content: center;
}
.qualification_child {
    position: relative;
    background: var(--background_contact_button);
    border-radius: 30px;
    box-shadow: inset 0px 5px 15px rgba(0,0,0,0.4) , inset 0px -5px 15px rgba(255,255,255,0.4);
}
.first_time{
    opacity: 1;
    position: absolute;
    cursor: pointer;
    left: 30%;
    top: 2%;
}

.first_time img{
    width: 100px;
    height: 100px;
    border-radius: 25px;
    object-fit: contain ;
    padding-top: 8%;
    z-index: 1;
    justify-content: center;
}
.first_time h1{
    line-height: 1.4;
    font-size: small;
    font-weight: 600;
    color: var(--text_color);
    text-align: center;
}

.selected .first_time{
    opacity: 0;
}
.second_time{
    cursor: pointer;
    color: var(--text_color);
    font-size: smaller;
    border-radius: 30px;
    opacity: 0;
}
.selected .second_time{
    opacity: 1;
}
.selected .second_time img{
    font-size: smaller;
    border-radius: 50%;
}
.second_time ul{
    list-style-type: circle;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: small;
}
.second_time h2{
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: smaller;
}





#Experiences {
    display: var(--display_Experiences);
    grid-template-columns: repeat(5,3fr);
    /*grid-template-rows: repeat(3,1fr) fit-content(100%);*/
    gap: .5rem;
    margin-bottom: 2rem;
    padding-left: 10%;
    padding-right: 10%;
    justify-content: center;
    align-items: center;
    max-width: 80%;
    width: 0 auto;
    height: 0 auto;
}
.experiences_child {
    position: relative;
    background: var(--background_contact_button);
    border-radius: 30px;
    box-shadow: inset 0px 5px 15px rgba(0,0,0,0.4) , inset 0px -5px 15px rgba(255,255,255,0.4);
}
.experiences_child:hover {
    background-color: #fff;
    cursor: pointer;
}
.experiences_child img{
    width: 60px;
    height: 60px;
    margin: 0 5px 5px 0;
    /*border-radius: 50px;*/
    object-fit: fill ;
    padding-top: 10%;
}
.experiences_child h1{
    line-height: 1;
    font-size:medium;
    font-weight: 600;
    color: var(--text_color);
}
.experiences_child:hover h1{
    color: #1D1D1D;
}
.experiences_child h2{
    line-height: 1;
    font-size: x-small;
    font-weight: 600;
    color: var(--text_color);
}
.experiences_child:hover h2{
    color: #1D1D1D;
}
#freelance{
    justify-content: center;
    display: var(--display_freelance);
    grid-template-columns: repeat(1,1fr);
    gap: .5rem;
    margin-bottom: 2rem;
    padding-left: 20%;
    padding-right: 20%;
    width: 0 auto;
    height: 0 auto;
}
#vicat{
    justify-content: center;
    display: var(--display_vicat);
    grid-template-columns: repeat(1,1fr);
    gap: .5rem;
    margin-bottom: 2rem;
    padding-left: 20%;
    padding-right: 20%;
    width: 0 auto;
    height: 0 auto;
}
#teamwork{
    justify-content: center;
    display: var(--display_teamwork);
    grid-template-columns: repeat(1,1fr);
    gap: .5rem;
    margin-bottom: 2rem;
    padding-left: 20%;
    padding-right: 20%;
    width: 0 auto;
    height: 0 auto;
}

#emlyon{
    justify-content: center;
    display: var(--display_emlyon);
    grid-template-columns: repeat(1,1fr);
    gap: .5rem;
    margin-bottom: 2rem;
    padding-left: 20%;
    padding-right: 20%;
    width: 0 auto;
    height: 0 auto;
}
#orange{
    justify-content: center;
    display: var(--display_orange);
    grid-template-columns: repeat(1,1fr);
    gap: .5rem;
    margin-bottom: 2rem;
    padding-left: 20%;
    padding-right: 20%;
    width: 0 auto;
    height: 0 auto;
}
.description_exp ul{
    text-align: justify;
    list-style-type: disc;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 2rem;
    line-height: 1.4;
    font-size: medium;
    color: var(--text_color);
}
#sub_des {
    list-style-type: circle ;
}






#Skills{
    position: relative;
    display: var(--display_Skills);
    background-color: #fff;
    max-width: 600px;
    width: 100%;
    margin-left: 30%;
    padding: 10px 20px;
    border-radius: 7px;
    
}
#Skills h3{
    text-align: left;
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    line-height: 0;
}
.act{
    padding-top: 15px;
}

.skill_box {
    width: 100%;
    padding-top: 15px;
}

.skill_box .title{
    text-align: left;
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.skill_box .skill_bar{
    height: 8px;
    width: 100%;
    border-radius: 6px;
    margin-top: 6px;
    background: rgba(0,0,0,0.1);
}
.skill_bar .skill_per{
    position: relative;
    display: block;
    height: 100%;
    width: 90%;
    border-radius: 6%;
    background: #4070f4;
    animation: progress 0.4s ease-in-out forwards;
    opacity: 0;
}
.skill_per.ninety{
    width: 90%;
    animation-delay : 0.1s;
}
.skill_per.eighty{
    width: 80%;
    animation-delay : 0.2s;
}
.skill_per.seventy{
    width: 70%;
    animation-delay : 0.3s;
}
.skill_per.sixty{
    width: 60%;
    animation-delay : 0.4s;
}
.skill_per.fifty{
    width: 50%;
    animation-delay : 0.5s;
}
@keyframes progress{
    0%{
        width: 0;
        opacity: 1;
    }
    100%{
        opacity: 1;
    }
}
.skill_per .tooltip{
    position: absolute;
    right: -14px;
    top: -20px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    padding: 2px 6px;
    border-radius: 6px;
    background: #4070f4;
    z-index: -1;
}
.tooltip::before{
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    height: 10px;
    width: 10px;
    z-index: -1;
    background-color: #4070f4;
    transform: translateX(-50%) rotate(45deg);
}






#section_title{
    font-family: Times, 'Times New Roman', serif;
    font-size: 3em;
    line-height: 2;
    color: var(--section_title_color);
}



.app_button{
    display: none;
    cursor: pointer;
    transition: fill 0.2s ease-in-out;
    padding: .25rem .75rem;
    border-radius: .5rem;
    color: var(--button_color);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    background: #383c80;
}

.app_button:hover {
    background: rgba(74, 74, 74, 1);
    transform: translateX(.25rem);
    position: sticky;
}

#App1 h2{
    color: var(--body_text_color);
}




#contact_container{
    width: 75%;
    margin-right: 10%;
    margin-bottom: 5%;
    border-radius: 6px;
    padding: 30px 60px 40px 40px;
}
.content{
    display:flex;
    align-items: center;
    justify-content: space-between;
}
.content .left-side{
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    position: relative;
}
.content .left-side::before{
    content: '';
    position: absolute;
    height: 70%;
    width: 2px;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: #afafb6;
}
.content .left-side .details{
    margin: 14px;
    text-align: center;
}
.content .left-side .details i{
    font-size: 70px;
    color: #2272FF;
}
.content .left-side .details .topic{
    font-size: 12px;
    font-weight: 700;
    color: var(--body_text_color);
}
.content .right-side{
    width: 80%;
    margin-left: 75px;
    border: none;
}
.content .right-side form{
    border: none;
}
.content .right-side .topic-text{
    font-size: 22px;
    font-weight: 600;
    color: #2272FF;
}
.content .right-side p{
    color: var(--text_color);
}
.right-side .input-box{
    height: 50px;
    width: 100%;
    margin: 12px 0;
}
.right-side .input-box input,
.right-side .input-box textarea{
    height: 100%;
    width: 100%;
    border: none;
    font-size: 16px;
    background:none;
    border-radius: 6px;
    padding: 0 15px;
    resize: none;
    border: 2px solid #ccc;
    color: var(--text_color);
}
.right-side .message-box{
    min-height: 110px;
    margin-top: 6px;
}
.right-side .button{
    display: var(--display_send);
    margin-top: 12px;
}
.right-side .valid{
    display: var(--display_valid);
    color: #2272FF;
}
.right-side .invalid{
    display: var(--display_invalid);
    color: #2272FF;
}
.loading{
    display: var(--display_loading);
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: visible;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Transparent Overlay */
.loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 1500ms infinite linear;
    -moz-animation: spinner 1500ms infinite linear;
    -ms-animation: spinner 1500ms infinite linear;
    -o-animation: spinner 1500ms infinite linear;
    animation: spinner 1500ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.right-side .button input[type="button"]{
    color: #fff;
    font-size: 18px;
    outline: none;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    background: #2272FF;
    cursor: pointer;
    transition: all 0.3s ease;
}
.button input[type="button"]:hover{
    background: #5029bc;
}

@media (max-width:820px){
    #contact_container{
        width: 80%;
        margin-right: 0%;
        margin-bottom: 5%;
        border-radius: 6px;
        padding: 30px 0px 0px 0px;
    }
    .content .right-side{
        width: 100%;
        margin-left: 0;
    }
    .content .right-side .topic-text{
        font-size: 15px;
        width: 100%;
        margin: 0;
        padding: 0 15px;
    }
    .content .right-side p{
        font-size: small;
        text-align: justify;
        padding-left: 20px;
        padding-right: 0;
        display: none;
    }
    .right-side .input-box input{
        font-size: smaller;
    }
    .right-side .message-box textarea{
        font-size: smaller;
    }
    .right-side .button input[type="button"]{
        font-size: 12px
    }
    .contact_container{
        margin: 40px 0;
        height: 100%;
    }
    .content{
        flex-direction:row;
    }
    .content .left-side{
        width: 100%;
        flex-direction: column;
        margin-top: 40px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .content .left-side::before{
        display: none;
    }
    .content .left-side .details i{
        font-size: 60px;
    }
    .content .left-side .details .topic{
        font-size: 10px;
        width: 100%;
        margin: 12px 0;
    }
}
@media (max-width: 820px){
    .nav-bloc svg{
        width: 18px;
        height: 18px;
    }
    .nav-bloc .scrolled svg{
        width: 20px;
        height: 20px;
    }
    .wrapper{
        width: 45%;
        height: 9%;
    }
    #section_title {
        font-size: 2em;
    }
    .about__container{
        max-width: 900px;
        height: 0 auto;
    }
    .about__description{
        font-size: small;
        margin-left: 15%;
        margin-right: 10%;
    }
    .animation{
        min-height: 250px;
    }
    .introduction{
        min-height: 250px;
    }
    #Offers {
        grid-template-columns: repeat(1,90% ) ;
        grid-auto-rows: 1fr;
        gap: 2em;
        padding-left: 10%;
        padding-right: 10%;
        justify-content: center;
    }
    .offer_child .second h5{
        font-size: smaller;
    }
    .offer_child .second h3{
        font-size: smaller;
    }
    .offer_child .second p{
        font-size: smaller;
    }
    .offer_child .second ul{
        line-height: 1.4;
        text-align: justify;
        padding: 0 8% 0% 8%;
        font-size: smaller;
    }
    .offer_child .first{
        font-size: small;
    }
    .offer_child .thrid{
        font-size: smaller;
    }
    .work__item{
        font-size: 12px;
    }
    #Qualifications{
        grid-template-columns: repeat(1,33% 33% 33%) ;
        grid-template-rows: repeat(3,33%) ;
    }
    .qualification_child img{
        width: 70px;
        height: 70px;
        bottom: 5%;
    }
    .first_time h1{
        font-size: xx-small;
    }
    .second_time h2{
        font-size: x-small;
    }
    .second_time ul{
        font-size: xx-small;
    }
    .first_time img{
        padding-top: 0%;
    }
    #Experiences{
        grid-template-columns: repeat(2, 50%);
    }
    .experiences_child h1{
        font-size: x-small;
        line-height: 1;
    }
    .description_exp ul{
        font-size: small;
        padding: 0 10px;
    }
    .experiences_child h2{
        font-size: xx-small;
    }
    #freelance{
        padding-left: 15%;
        padding-right: 10%;
    }
    #emlyon{
        padding-left: 15%;
        padding-right: 10%;
    }
    #orange{
        padding-left: 15%;
        padding-right: 10%;
    }
    #vicat{
        padding-left: 15%;
        padding-right: 10%;
    }
    #teamwork{
        padding-left: 15%;
        padding-right: 10%;
    }
    #Skills{
        max-width: 250px;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    .skill_box .title{
        font-size: 10px;
        padding-right: 40%;
    }
    .skill_per .tooltip{
        font-size: 9px;
    }
    .hello{
        font-size: 1.3em;
    }
    .im{
        font-size: 1.3em;
    }
    .job{
        font-size: 1em;
    }
    .intro_text{
        align-items: end;
    }
    .contact_me-button{
        width: 60px;
        height: 25px;
        font-size: x-small;
        right: 85%;
    }
    .change_theme_label{
        width: 60px;
        height: 25px;
        left: 85%;
    }
    .change_theme_label::after{
        width: 25px;
        height: 25px;
        left: 0px;
    }
    .change_theme_input:checked + .change_theme_label::after{
        left: 60px;
    }
    .change_theme_label:active::after{
        width: 30px;
    }
    .change_theme_label svg{
        width: 18px;
        top: 4px;
    }
    .change_theme_label .moon{
        left: 4px;
    }
    .change_theme_label .sun{
        left: 38px;
    }
    .play_anim_label{
        top: 15%;
    }
    .play_anim_label p{
        font-size: small;
    }
}
@media (max-width: 620px){
    .animation{
        min-height: 200px;
    }
    #introduction{
        min-height: 200px;
        padding-top: 15%;
    }
    .hello{
        line-height: 1;
    }
    .wrapper{
        width: 50%;
        height: 7%;
    }
    .about__img{
        width: 150px;
        height: 150px;
    }
    .play_anim_label{
        top: 20%;
    }
    .play_anim_label p{
        font-size: small;
    }
    #Qualifications{
        grid-template-columns: repeat(1,40% 40%) ;
        grid-template-rows: repeat(5, 20%) ;
    }
    .first_time{
        left: 20%;
        top: 10%;
    }
    .right-side .valid{
        font-size: smaller ;
    }
    .right-side .invalid{
        font-size: smaller;
    }
}