@import url('https://fonts.googleapis.com/css2?family=Funnel+Sans:ital,wght@0,300..800;1,300..800&family=Jost:ital,wght@0,100..900;1,100..900&family=Noto+Kufi+Arabic:wght@100..900&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Noto+Kufi+Arabic:wght@100..900&family=Nova+Round&family=Quantico:ital,wght@0,400;0,700;1,400;1,700&family=Vend+Sans:ital,wght@0,300..700;1,300..700&display=swap');

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body{
    background: url(../BG/bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: max-content;
    padding-block: 30px;
    row-gap: 10px;
}

:root {
    --header-ar-font: "Noto Kufi Arabic", sans-serif;
    --header-fr-font: "Funnel Sans", sans-serif;
    --fr-font: "Jost", sans-serif;
    --ar-font-Two: "Zain", sans-serif;
    --header-background: #f4d081;
    --navbar-color: #000;
    --button-color: #fdcd64;
}

.header {
    height: 65px;
    width: 95%;
    display: flex;
    box-shadow: 0px 0px 2px 0px black;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 30px;
    backdrop-filter: blur(10px);
    border-radius: 5px;
    background-color: #ffffff4c;
    animation: shadow 4s infinite alternate;
    z-index: 99999;
}


.logo-box {
    height: 65px;
    width: 25%;
    display: flex;
    align-items: center;
    overflow-y: hidden;
}

.logo-box img {
    height: 200px;
}

.navbar {
    height: 65px;
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: right;
    z-index: 1000;
    transition: all 1.8s;
    column-gap: 30px;
}

.navbar-link {
    height: max-content;
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    font-family: var(--header-fr-font);
    position: relative;
    column-gap: 10px;
    text-transform: capitalize;
}

.navbar-link:hover {
    color: #ffffff;
    text-shadow: 0 0 5px black,0 0 5px black,0 0 5px black,0 0 5px black,0 0 5px black;
}

.navbar-link>i {
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.side-bar {
    display: none;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
    position: relative;
}

.side-bar>img {
    position: absolute;
    inset: 0;
    margin: auto;
    height: 40px;
    display: none;
}

.heading{
    height: 60vh;
    width: 95%;
    backdrop-filter: blur(8px);
    background-color: #ffffff33;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 5px #0000006d;
}

.heading h1{
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    letter-spacing: 1px;
}

.service-lister{
    display: grid;
    grid-template: 400px 400px / 1fr 1fr 1fr 1fr ;
    height: max-content;
    width: 95%;
    backdrop-filter: blur(8px);
    background-color: #ffffff33;
    box-shadow: 0 5px 5px #0000006d;
    gap: 10px;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 5px;
}
.service-lister .service-lister-cards{
    display: grid;
    border-radius: 5px;
    font-size: 25px;
    font-weight: 600;
    font-family: sans-serif;
    box-shadow: 0 5px 10px #000000;
    row-gap: 10px;
    background-color: #fff;
    padding-block: 10px;
    padding-inline: 10px;
}

.service-lister-cards img{
    height: 180px;
    width: 100%;
    border-radius: 5px;
    align-self: self-start;
    justify-self: center;
    /* background: url(../Images/optimiser_profil_linkedin_attirer_recruteurs_2_1e4f730e96.webp); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.service-lister-cards-desc{
    height: max-content;
    width: 100%;
    text-align: left;
    font-weight: 600;
    font-size: 18px;
    color: #000000;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.service-lister-cards button{
    height: 40px;
    width: max-content;
    display: flex;
    border-radius: 25px;
    align-items: center;
    padding-inline: 10px;
    border: 0;
    color: #00a6ff;
    font-size: 15px;
    font-weight: 700;
    align-self: self-end;
    justify-self: left;
    text-align: left;
    background-color: transparent;
    cursor: pointer;
}

.service-lister-cards button:hover{
    text-decoration: underline;
}

.filter-bar{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    grid-area: 1/4/3/5;
    border-radius: 5px;
    overflow: hidden;
    padding: 5px;
}

.types-laguages-filter{
    height: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

#overflow-one{
    display: none;
}

.title-languages-filter{
    height: 40px;
    width: 100%;
    border-bottom: 2px solid #0077ff;
    display: flex;
    align-items: center;
    font-family: sans-serif;
    box-sizing: border-box;
    padding-inline: 10px;
    cursor: pointer;
    color: #0077ff;
}

.list-opts-container{
    display: flex;
    flex-direction: column;
    flex: 1;
    border: 2px solid #0077ff;
    padding: 10px 30px;
    list-style-type: none;
    border-top: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.selecting-option-list{
    position: relative;
    height: max-content;
    width: 100%;
    padding: 5px 0;
    font-family: sans-serif;
    display: flex;
    align-items: center;
    text-indent: 25px;
    cursor: pointer;
}

.selecting-option-list::after{
    position: absolute;
    display: none;
    content: '';
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid black;
    flex: 0;
}

@media (max-width:950px) {
    header {
        justify-content: space-between;
        box-sizing: border-box;
        padding-inline: 20px;
        z-index: 9999;
        backdrop-filter: blur(3px);
    }
    .logo-box img {
        height: 110px;
        overflow: auto;
    }
    .side-bar {
        display: flex;
    }
    .logo-box {
        width: 40%;
        overflow: hidden;
    }
    .side-bar {
        display: flex;
    }
    .side-bar img.active {
        display: flex;
    }
    .navbar {
      position: absolute;
      display: none; /* caché par défaut */
      flex-direction: column;
      top: 70px;
      right: 0;
      height: max-content;
      overflow: hidden;
      width: 100%;
      border-radius: 5px;
      background-color: #004e83;
      z-index: 9999; /* seul et raisonnable */
    }

    .navbar.active {
      display: flex;
    }

    .navbar-link {
        height: 60px;
        width: 100%;
        align-items: center;
        justify-content: left;
        box-sizing: border-box;
        color: #fff;
        z-index: 1000000;
        column-gap: 10px;
        box-sizing: border-box;
        padding-inline: 20px;
        text-shadow: 0;
        border-bottom: 1px solid #ffffff56;
    }
    .navbar-link:nth-child(5) {
        border-bottom: none;
    }
    .navbar-link:active {
        color: #000000;
        text-shadow: none;
    }
    .navbar-link:hover {
        color: #ffffff;
        background-color: #00000073;
    }
    .navbar-link i {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #activated-navlink{
        text-shadow: none;
    }
    .heading{
        height: 30vh;
    }
}