@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Maven+Pro:wght@400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --orange-color: orangered;
    --black-color: black;
    --white-text-color: white;
    --font-title: "Poppins", system-ui, -apple-system, sans-serif;
    --h3-font: 3rem;
    --h4-font: 2.5rem;
    --h5-font: 2rem;
    --small-font: 1.2rem;
    --big-font: 3.5rem;
    --extra-big-font: 10rem;

    /* grid */
    --bg: #0b0b0e;
    --card: #15151b;
    --text: #ffffff;
    --muted: #9a9a9a;
    --accent: #5c7cfa;
    --radius: 18px;

}

/* precss */
.flex {
    display: flex;
    align-items: center;
}

.bock {
    display: block;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;

}



body {
    font-family: var(--font-title);
    font-weight: 400;
    line-height: 1.6;
    color: #000;
    background: #000;
}

html {
    font-size: 65.2%;
}


a {
    color: var(--white-text-color);
    text-decoration: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1,
h2,
h3 {
    font-family: var(--font-title);
    font-weight: 700;
}

h4,
h5,
h6 {
    font-family: var(--font-title);
    font-weight: 600;
}

button,
nav,
.btn {
    font-family: var(--font-title);
    font-weight: 600;
    letter-spacing: 0.3px;
}


/* css */
/* header */
header {
    position: fixed;
    width: 100%;
    flex-direction: column;
    z-index: 1;

}

.header1 {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 0 2rem;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    background-color: var(--black-color);

}

.header1.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.page_logo_img {
    width: 5rem;
    height: 5rem;
    margin: 0.5rem 0 0.1rem 0.5rem;
    /* background: blue; */
}


.header1 i {
    margin: 0rem;

}

.mode {
    width: 1.5rem;
    height: 1.5rem;
    background-image: linear-gradient(to left, #000 50%, white 50%);
    border-radius: 50%;
    border: 2px solid white;
}



.header_text {
    gap: 1rem;
}

.header_text h5 {
    color: var(--white-text-color);
    font-size: var(--h5-font);
}

.cercle {
    font-size: 1.8rem;
    color: var(--white-text-color);
}


.select {
    color: var(--orange-color);
}

.btn_menu {
    background: linear-gradient(to bottom, var(--orange-color), var(--black-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: var(--big-font);
    transform: rotate(30deg);

}


.header2 {
    width: 100%;
    padding: 1.3rem 2rem;
    justify-content: end;
    transition: all 0.5s ease;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    background-color: rgba(0, 0, 0, 0.8);
    margin-top: 0;
}

.header2.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}



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

.links ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.links li a {
    text-decoration: none;
    font-size: var(--small-font);
    font-weight: bold;
    color: var(--white-text-color);
    position: relative;
    padding-bottom: 5px;
}

.souligner {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: var(--orange-color);
    transition: all 0.3s ease;
}

@media (max-width: 800px) {
    html {
        font-size: 6px;
    }


    .header1 {
        padding: 2rem 0;
        border-bottom: 1px solid var(--orange-color);
    }

    .mode {
        display: none;
    }

    .btn_menu {
        font-size: var(--big-font) !important;
        background: linear-gradient(to bottom, var(--orange-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
        font-size: var(--big-font);
        transform: rotate(30deg);

    }

    .header2.active {

        transform: translateX(100%);
    }

    .header2 {
        background: var(--black-color);
        width: 100%;
        height: 90vh;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .links {
        height: 100%;
        width: 100%;
    }

    .links ul {
        height: 100%;
        width: 100%;
        flex-direction: column;
        justify-content: space-around;
        text-align: center;
    }


    .links li a {
        text-decoration: none;
        font-size: var(--h3-font);
        font-weight: bold;
        color: var(--white-text-color);
        position: relative;
        padding-bottom: 5px;
        border-bottom: 4px solid var(--orange-color);


    }


}



/* bento grid */
.header {
    background: black;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #1f1f26;
}

.header h1 {
    color: var(--white-text-color);
    font-size: 22px;
    font-weight: 600;
}

.search-box {
    width: 300px;
    padding: 1rem;
    max-width: 100%;

}

.search-box input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: none;
    outline: none;
    background: var(--card);
    color: var(--text);
    font-size: 14px;
}

@media (max-width: 800px) {
    .header {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .header h1 {
        align-self: flex-start;
    }

    .search-box {
        width: 300px;
        padding: 1rem;
        max-width: 100%;
        align-self: flex-end;
    }


}

/* ===== GRID ===== */
main {
    padding: 30px;
    padding-top: 10rem;

}

p {
    color: var(--white-text-color);
    font-size: 14px;
    text-align: center;
}


.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
}

.bento-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #15151b;
    color: var(--white-text-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.bento-item:hover {
    transform: translateY(-6px);
}

small {
    color: var(--orange-color);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item img,
.bento-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    font-size: 14px;
}

@media (max-width: 768px) {
    .bento-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* footer */

.social-links {
    width: 100%;
    height: 50px;
    justify-content: center;
    color: black;
    margin-top: 1rem;

}

.social-links a {
    color: black;
    margin: 1rem;
    font-size: var(--h3-font);
    border-radius: 7px;
    background: white;
    transition: all 0.7s ease;


}

.social-links a:hover {
    color: var(--white-text-color);
    background-color: var(--orange-color) !important;
}

footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* ====== FOOTER PARTIE 1 ====== */
.footer1 {
    width: 100%;
    color: var(--white-text-color);
    font-size: var(--h5-font);
    border: 2px solid var(--white-text-color);
    border-left: none;
    border-right: none;
    padding: 3rem 1.5rem;
    align-items: start;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    transform-origin: top center;
}

.footer1 h5 {
    font-size: var(--h5-font);
    margin: 1rem 0;
    color: var(--orange-color);
}

/* UL / LI */
.footer1 ul {
    list-style: none;
    padding: 0;
    font-weight: 400 !important;
}

.footer1 ul li {
    padding: 0;
    margin: 0.3rem 0;
    font-weight: 400 !important;
    transition: color 0.3s ease;
}

.footer1 ul li:hover {
    color: var(--orange-color);
}


.ortouche {
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: start;
}

.ortouche h5 {
    width: 100%;
}

.footer2 {
    width: 100%;
    color: var(--white-text-color);

    padding: 3rem 1.5rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer2 p {
    font-size: var(--h5-font);
    margin: 0.5rem 0;
    letter-spacing: 0.5px;
}

/* LOGO */
.logo_footer img {
    width: 4rem;
    height: 4rem;
}