@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@200&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*{
    margin:0;
    padding: 0;
}

body{
    font-family: "Inter", sans-serif;
}

.slider{
    width: 100%;
    height: 80vh;
    aspect-ratio: 16/9;
    background-color: black;
    position: relative;
}

.slider-background{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(55%);
}

.slider-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%, -50%);
    text-align: center;
}

h1{
    color: white;
    font-size: 3rem;
}

h2{
    font-size: 3rem;
    margin-bottom:100px;
}

p{
    font-size: 1.5rem;
    line-height: 1.5em;
}

.slider-content p{
    color: white;
    font-size: 2rem;
    font-weight: 300;
}

.section{
    padding: 100px 0;
}

.boxed{
    max-width: 1280px;
    margin-inline:auto;
}

.flex{
    display: flex;
}

.dark{
    background: black;
    color: white;
}

.w40{
    width: 40%;
}

.w60{
    width: 60%;
}

.text-center{
    text-align: center;
}

.w20{
    width: 20%;
}

.w30{
    width: 30%;
}

.space-between{
    justify-content: space-between;
}

.gap20{
    gap: 20px;
}

.wrap{
    flex-wrap: wrap;
}

.skill{
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
}

.skill img{
    width: 100px;
    height: 100px;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.skill h3{
    margin-top: 10px;
    color: black;
}

.projets{
    height: auto;
    aspect-ratio: 1/1;
    position: relative;
}

.projets h3{
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    width: max-content;
}

.projets a{
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
}

.projets img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(55%);
    transition:.4s ease;
}

.projets:hover img{
    filter: brightness(85%);
}

.icon{
    display: block;
    font-size: 40px !important;
}

.label{
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    margin: 10px 0;
    font-size: 1.6rem;
}

.value{
    display: block;
    font-size: 1.5rem;
    color: white;
}

.contact{
    border: 2px dashed white;
    border-radius: 15px;
    padding: 30px;
    box-sizing: border-box;
}

.aligncenter{
    align-items: center;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 999;
    padding-block: 10px;
    box-shadow: 1px 1px 25px rgba(0, 0, 0, 0.1);
}

.header-logo{
    display: block;
}

.header-logo img{
    width: 60px;
}

.header-menu{
    display: flex;
    align-items: center;
    list-style: none;
}

.header-menu li a{
    text-decoration: none;
    color: black;
    padding: 10px 20px;
    display: block;
    box-sizing: border-box;
    transition: .2s ease;
}

.header-menu li a:hover {
    background-color: #f2f2f2;
    border-radius: 5px;
}

.header-menu-mobile{
    display: none;
}

@media(max-width:810px) {

    header{
        height: 60px;
    }

    .header-menu-mobile{
        display: block;
        border: 0px;
        background-color: white;
        position: absolute;
        left: 5%;
        top: 50%;
        transform: translateY(-50%);
        z-index: 991;
    }

    .header-logo{
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 991;
    }

    .header-menu{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        display: none;
    }

    .active{
        display: flex;
    }

    h2{
        font-size: 1.75rem;
        margin-bottom: 30px;
    }

    .slider{
        height: 60vh;
    }

    .slider-content{
        width: 90%;
    }

    .slider-content p{
        margin: 20px;
        font-size: 1.5rem;
        text-wrap: balance;
    }

    h1{
        font-size: 2rem;
    }

    p{
        font-size: 1rem;
        text-wrap: balance;
    }

    .toColumn{
        flex-direction: column;
    }

    .mCenter{
        justify-content:center;
        align-items: center;
        text-align: center;
    }

    .wm100{
        width: 100% !important;
    }
    
    .section{
        padding: 50px 0;
    }

    .boxed {
        max-width: 90%;
    }

    .wm47{
        width: 47%;
    }

    .projets h3{
        display: none;
    }

    .mgap20{
        gap: 20px;
    }
}