@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import "keyframes.css"; @import "variables.css"; @import "queries.css";

/* --------------------------------- GENERAL -------------------------------- */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}
/* Hide scrollbar for Chrome, Safari and Opera */
*::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
* {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
html{
    scroll-behavior: smooth;
    height: 100%;
}
body{
    width: 100%;
    height: 100vh;
    background-color: rgb(19, 19, 19);
    z-index: 0;
    position: relative;
    background-attachment: fixed;
    font-family: var(--font-poppins);
    color: white;
}
body:after {
    content: "";
    background-image: url("../img/noise-transparent.png");
    height: 300%;
    width: 300%;
    opacity: 0.5;
    position: fixed;
    animation: grain 10s steps(10) infinite;
    left: -50%;
    top: -100%;
    visibility: visible;
    z-index: 0;
}
.sub_body{
    height: 100%;
    width: 100%;
}

/* --------------------------------- HEADER --------------------------------- */
header{
    height: auto;
    width: 100%;
    position: fixed;
    top: 0px;
    z-index: 1002;
    padding: .5rem 1rem;
    margin-bottom: var(--mb-2);
}
.header_content{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: var(--z-indexmax);
}
.logo{
    cursor: pointer;
    z-index: 1001;
    width: auto;
}
.logo-mobile{
    display: block;
    width: 30px;
}
.logo-desk{
    display: none;
}
.menu{
    z-index: 1002;
    cursor: pointer;
    display: block;
    position: relative;
}
.menu_line{
    background-color: #8095ff;
    width: 23px;
    height: 3px;
    z-index: 1006;
    position: relative;
    display: block;
    border-radius: 15px;
    margin-bottom: 4px;
}
.line_last{
    margin-bottom: 0;
}

/* ----------------------------------- NAV ---------------------------------- */
nav{
    position: fixed;
    z-index: 1000;
}
.nav_list{
    height: 100vh;
    width: 100%;
    background-color: rgba(19, 19, 19, 0.8);
    backdrop-filter: blur(3px);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    visibility: collapse;
    opacity: 0;
    transition: .5s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.open{
    visibility: visible;
    opacity: 1;
}
.menu_item{
    margin: 2rem 0;
}
.menu_link{
    color: white;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    font-size: var(--font-big);
    padding: var(--mb-3);
    position: relative;
}
.menu_link::after{
    content: "";
    width: 80%;
    height: 2px;
    background-color: white;
    position: absolute;
    display: block;
    top: 50%;
    margin-left: var(--mb-2);
    
}
.menu_link.menu_active{
    text-decoration: none;
}
.menu_active::before{
    content: url("../img/cd_small.png");
    vertical-align: text-top;
    line-height: normal;
    display: inline-block;
    margin-right: .5rem;
    height: 30px;
    animation: rotate 10s linear infinite;
}
.menu_link.menu_active::after{
    content: "";
    width: 0%;
}
/* ---------------------------------- MAIN ---------------------------------- */
.container, .home_container{
    width: 100%;
    height: auto;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: var(--z-indexmax);
    margin-bottom: var(--mb-2);
}
.container{
    scroll-snap-align: start;
}
.container_second{
    width: 100%;
    z-index: 998;
}
.wrapper{
    padding: var(--mb-2);
    width: 100%;
}
/* ---------------------------------- TEXTS --------------------------------- */
.main_text{
    font-family: var(--font-poppins);
    color: white;
    font-weight: var(--font-bold);
    font-size: var(--font-sizenormal);
    font-size: var(--font-big);
}
.text_outline{
    font-size: var(--font-big);
    text-shadow:
    -1px -1px 0 white,  
     1px -1px 0 white,
    -1px 1px 0 white,
     1px 1px 0 white;
     color: var(--color-dark);
     letter-spacing: 1.45px;
}
/*  services  */
.service_title{
    font-weight: var(--font-semibold);
    font-size: 1.25rem;
    margin-bottom: var(--mb-1);
}
.subtitle{
    color: var(--color-purple);
    font-weight: var(--font-semibold);
    font-size: var(--font-smaller);
}
.service_list{
    margin-bottom: var(--mb-2);
}
.service_item{
    font-weight: var(--font-bold);
    font-size: .9rem;
}
.card_sub{
    color: var(--sub-color);
    font-weight: var(--font-normal);
    font-size: var(--font-smallest);
    margin-bottom: var(--mb-2);
}
.btn.info_btn{
    font-size: var(--font-smaller);
    height: 40px;
}
/* ------------------------------- MAIN TITLE ------------------------------- */
.title_wrapper{
    width: 100%;
    margin-bottom: var(--mb-2);
}
.title_wrap{
    display: flex;
    align-items: center;
    justify-content: center;
}
.main_title{
    color: white;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-weight: normal;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    text-align: center;
}
.main_img_rectangle{
    background-image: url("../img/main_img_one.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: var(--mb-1);
    width: 30%;
    height: 40px;
    position: relative;
    border-radius: 10px;
    display: none;
}
.main_img_circle{
    background-image: url("../img/main_img_two.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    margin-right: 0.5rem;
    border-radius: 50%;
    display: none;
}

/* ------------------------------ MUSIC PLAYER ------------------------------ */
.music_wrapper{
    display: flex;
    justify-content: center;
}
.audio_player{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cd_img{
    width: 65%;
    display: block;
    z-index: 1;
    margin-bottom: var(--mb-2);
}
.music_player{
    display: flex;
    justify-content: center;
    z-index: 1;
    align-items: center;
    margin-bottom: var(--mb-2);
}
/* ------------------------------- PLAY BUTTON ------------------------------ */
.circle{
    width: 50px;
    height: 50px;
    background-color: #735CFF;
    border-radius: 50%;
    position: relative;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease-out;
}
.icon{
    font-size: var(--font-biggest);
    position: absolute;
    transition: all .5s ease;
}
.icon_play{
    top: 2px;
    left: 4px;
}
.music_title, .icon{
    color: white;
}
.play_button{
    margin-right: 1rem;
    cursor: pointer;
    transition: all 0.5s ease-out;
}
.play_button:hover .circle{
    transform: scale(1.1);
    background-color: #5d45ff;
}
.icon_pause{
    opacity: 0;
    left: 1px;
    top: 1px;
}
/* ------------------------------- SONG TITLE ------------------------------- */
.music_name{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.music_title{
    font-family: 'Poppins', sans-serif;
    margin: .2rem 0;
}
.song_title{
    font-weight: 200;
}
.btn{
    border: none;
    background-color: white;
    border-radius: 50px;
    height: 50px;
    padding: .3rem 2rem;
    font-family: var(--font-poppins);
    color: var(--color-purple);
    font-weight: var(--font-normal);
    font-size: var(--font-normal);
    transition: all 0.5s ease-out;
    cursor: pointer;
}
.btn-link{
    color: var(--color-purple);
}
.btn:hover{
    transform: scale(1.05);
    background-color: var(--color-purple);
    color: white;
}
.btn:hover .btn-link{
    color: white;
}

/* ---------------------------------- ABOUT --------------------------------- */
.profile_pic{
    width: 100%;
    height: 150px;
    background-color: grey;
    background-image: url("../img/about_photo.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    margin-bottom: 1rem;
}
.profile{
    margin-bottom: var(--mb-2);
}
.about_text:last-child{
    color: var(--color-purple);
}
.main_text, .text_outline{
    font-size: 1.2rem;
}

/* -------------------------------- SERVICES -------------------------------- */
.card{
    margin-bottom: var(--mb-5);
}
.card_top{
    margin-bottom: var(--mb-4);
}
/* -------------------------------- PROJECTS -------------------------------- */
.container.project_container{
    overflow: hidden;
}
.section_title{
    margin-bottom: var(--mb-3);
    font-size: 1.2rem;
    font-weight: var(--font-normal);
    color: var(--sub-color);
}
.drag-icon{
    animation: drag 2s ease infinite ;
    font-size: 1.5rem;
    margin-bottom: var(--mb-4);
    align-self: center;
}
.drag-icon span{
    font-family: var(--font-poppins);
    font-size: var(--font-smaller);
    vertical-align: middle;
    margin-left: .5rem;
}
@keyframes drag{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(90%);
    }
}
.wrapper.wrapper_project{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.projects_wrapper{
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    height: 100%;
    margin-bottom: var(--mb-3);
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
 /* Hide scrollbar for Chrome, Safari and Opera */
 .projects_wrapper::-webkit-scrollbar {
    display: none;
}
.scroll_active{
    cursor: grabbing;
    cursor: -webkit-grabbing;
}
.project_infos{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* ---------------------------------- cards --------------------------------- */
.cards{
    width: 280px;
    height: 380px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
    flex-shrink: 0;
    margin-right: 1rem;
}
.cards-1{
    background-image: url('../img/Test.jpg');
}
.cards-2{
    background-image: url('../img/Test.jpg');
}
.cards-3{
    background-image: url('../img/Test.jpg');
}
.cards-4{
    background-image: url('../img/Test.jpg');
}
.cards:last-child{
    margin-right: 0;
}
.t-title{
    position: absolute;
    right: 20px;
    top: 20px;
    color: white;
    z-index: 2;
    text-align: center;
    font-size: 18px;
}
.t-title-1{
    font-size: 20px;
}
.t-title-2{
    font-size: 12px;
    color: #735CFF;
}
.cards-reverse{
    width: 280px;
    height: 380px;
    border-radius: 10px;
    background-image: url('../img/Test.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    clip-path: circle(40% at 100% 0);
    transition: all 0.7s ease-in-out;
    filter: grayscale(300%);
    cursor: pointer;
}
.hover-1{
    background-image: url('../img/Test.jpg');
}
.hover-2{
    background-image: url('../img/Test.jpg');
}
.hover-3{
    background-image: url('../img/Test.jpg');
}
.hover-4{
    background-image: url('../img/Test.jpg');
}
.hover-5{
    background-image: url('../img/Test.jpg');
}

.cards-reverse:hover{
    clip-path: circle(141.6% at 100% 0);
}
.b-block{
    width: 100%;
    height: 20%;
    border-radius: 0 0 10px 10px;
    display: flex;
    position: absolute;
    bottom: 0;
    padding: 5%;
    color: white;
    z-index: 2;
    display: flex;
    align-items: center;
}
/* .b-block-grad{
    background: linear-gradient(0deg, black, transparent);
} */
.b-block p{
    margin: 5px;
    font-size: 14px;
}
.infos{
    margin-left: 5%;
}
.client{
    font-weight: 600;
}
.year{
    font-weight: 300;
}
.btn-play{
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background-color: #735CFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s  ease-in-out;
}
.btn-play svg{
    scale: 0.4;
    transform: scale(0.4);
    position: relative;
    right: -2px;
}
.btn-play .icon_pause{
    font-size: 3rem;
    left: initial;
    top: initial;
}
.btn-play:hover{
    scale: 1.05;
    transform: scale(1.1);
    background-color: #5d45ff;
}
.p-sub{
    color: var(--sub-color);
    font-size: var(--font-small);
    text-align: center;
}

/* ------------------------------- FORMULAIRE ------------------------------- */
.wrapper_contact .main_text{
    margin-bottom: var(--mb-5);
}
.wrapper_contact .section_title{
    margin-bottom: var(--mb-3);
}
.form_wrapper{
    scroll-snap-align: start;
}
input, textarea{
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid white;
    font-family: var(--font-poppins);
    font-weight: var(--font-bold);
    font-size: var(--font-sizenormal);
    color: white;
    margin-bottom: var(--mb-4);
}
textarea{
    width: 100%;
    min-height: 27px;
}
input::placeholder, textarea::placeholder{
    color: #585858;
    font-family: var(--font-poppins);
}
input:focus::placeholder, textarea:focus::placeholder{
    color: transparent;
}
input:focus, textarea:focus{
    outline: none;
    background-color: rgba(255, 255, 255, 0.048);
}
.btn.submit_btn{
    width: 50%;
    transition: all .5s ease-out;
}
.submit_btn a{
    color: var(--color-purple);
    transition: all .5s ease-out;  
}
.submit_btn:hover a{
    color: white;
}
/* ------------------------------ JS ADDED CLASSES ----------------------------- */
.paused{
    -webkit-animation-play-state:paused;
    -moz-animation-play-state:paused;
    -o-animation-play-state:paused; 
    animation-play-state:paused;
}
.rotate{
    animation-name: rotate;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.bg-blur{
    filter: blur(2px);
    overflow: hidden;
}
.icon_visible{
    opacity: 1;
}
.icon_hidden{
    opacity: 0;
}
/* -------------------------------- KEYFRAMES ------------------------------- */
@keyframes rotate{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}
@keyframes grain {
    0%, 100% { transform:translate(0, 0) }
    10% { transform:translate(-5%, -10%) }
    20% { transform:translate(-15%, 5%) }
    30% { transform:translate(7%, -25%) }
    40% { transform:translate(-5%, 25%) }
    50% { transform:translate(-15%, 10%) }
    60% { transform:translate(15%, 0%) }
    70% { transform:translate(0%, 15%) }
    80% { transform:translate(3%, 35%) }
    90% { transform:translate(-10%, 10%) }
}



