@font-face {
    font-family: 'Satoshi-Black';
    src: url('./assets/fonts/Satoshi-Black.otf');
}

@font-face {
    font-family: 'Satoshi-BlackItalic';
    src: url('./assets/fonts/Satoshi-BlackItalic.otf');
}

@font-face {
    font-family: 'Satoshi-Bold';
    src: url('./assets/fonts/Satoshi-Bold.otf');
}

@font-face {
    font-family: 'Satoshi-BoldItalic';
    src: url('./assets/fonts/Satoshi-BoldItalic.otf');
}

@font-face {
    font-family: 'Satoshi-Regular';
    src: url('./assets/fonts/Satoshi-Regular.otf');
}

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

body {
    background: linear-gradient(180deg, #101318 0%, #1a2332 100%);
}

html::-webkit-scrollbar {
    display: none;
}

#particles-js {
    z-index: 0;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
    width: 100%;
}

#banner {
    height: auto;
    width: auto;
    margin-right: 200px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 0;
    padding: 0;
    margin-right: 10px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

li {
    font-family: 'Satoshi-Black';
    color: white;
    cursor: pointer;
    text-align: center;
}

#download-nav {
    background: #FCE803;
    padding: 5px 10px;
    color: #1E232C;
    border-radius: 3px;
    transition: transform 0.3s, color 0.3s;
    margin-left: 200px;
}

#download-nav:hover {
    background: #1A1C21;
    color: #FCE803;
    transform: scale(1.1);
}


#pc-container {
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    max-width: 1200px;
    padding: 20px 50px;
    background: rgb(16, 19, 24);
    border-radius: 10px;
    z-index: 1;
    justify-content: center;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 10%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

#footer {
    background: #FCE803;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
    height: 600px;
    margin-top: 250px;
    transition: transform 1s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.number {
    display: flex;
    flex-direction: row;
}

#footer {
    background: #FCE803;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
    margin-top: 100px;
    position: relative;
}

#end-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    position: relative;
    top: 100px;
}

#filemod-text {
    max-width: 500px;
    margin-right: 50px;
    position: relative;
    top: -15px;
    color: #101318;
    font-family: 'Satoshi-BlackItalic';
    font-size: 25px;
}

#end-description-filemod {
    color: #101318;
    font-family: 'Satoshi-Bold', sans-serif;
    margin-top: -20px;
    font-size: 18px;
    line-height: 1.5;
}

#site-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 50px;
}

#title-filemod-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
}

.links-title {
    color: #101318;
    font-family: 'Satoshi-BlackItalic', sans-serif;
    font-size: 25px;
    margin-bottom: 20px;
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.links-list-elmt {
    color: #101318;
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s;
}

.links-list-elmt:hover {
    color: #FCE803;
    background: #101318;
    padding: 5px 10px;
    border-radius: 5px;
}

#copyright {
    text-align: center;
    color: #101318;
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: 16px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 20px;
}

#copyright::before {
    content: "";
    display: block;
    width: 300px;
    height: 1px;
    background: #101318;
    margin: 0 auto 10px;
}

#pc-container li {
    font-family: 'Satoshi-Regular';
    color: white;
    font-size: 17px;
    text-align: start;
}

#pc-container a {
    text-decoration-color: #FCE803;
    color: #FCE803;
}

h1 {
    font-family: 'Satoshi-Black';
    color: white;
    font-size: 30px;
}

h2 {
    font-family: 'Satoshi-Bold';
    color: white;
    font-size: 24px;
}

h3 {
    font-family: 'Satoshi-Bold';
    color: white;
    font-size: 20px;
}

p {
    font-family: 'Satoshi-Regular';
    color: white;
    font-size: 17px;
}

@media (max-width: 1441px) {

    #pc-container {
        margin: 300px auto;
        width: 90%;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    position: relative;
    margin-right: 11%;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 15px;
    transition: all 0.3s ease;
}


.hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}


@media (max-width: 1130px) {

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 40%;
        height: 100%;
        margin: 0;
        padding: 80px 20px 20px;
        background-color: #10131880;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        /* Changez pour répartir les éléments aux extrémités */
        align-items: center;
        padding: 15px 30px;
        width: 100%;
    }

    #pc-container {
        margin-top: 150px;
        width: 70%;
        max-width: 700px;
        padding: 10px 10px;
        width: 100px;
    }

    #footer {
        height: 500px;
    }

    #end-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-bottom: 25px;
        padding: 0;
        top: 100px;
    }

    #filemod-text {
        max-width: 60%;
        margin-right: 12px;
        font-size: 15px;
    }

    #logo-end-icon {
        height: 20px;
    }

    #end-description-filemod {
        margin-top: -20px;
        font-size: 11px;
        line-height: 1.5;
    }

    #site-links {
        gap: 15px;
    }

    #title-filemod-container {
        gap: 2px;
    }

    .links {
        width: 150px;
    }

    .links-title {
        font-size: 15px;
        margin-bottom: 0;
    }

    .links-list {
        padding: 0;
        margin: 0;
        flex-direction: column;
        gap: 2px;
    }

    .links-list-elmt {
        font-size: 10px;
    }

    .links-list-elmt:hover {
        padding: 2px 5px;
        border-radius: 2px;
    }

    #copyright {
        font-size: 10px;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        padding: 0 0;
    }

    #copyright::before {
        width: 300px;
        height: 1px;
        margin-top: 0px;
    }

    @media (max-width: 768px) {
        .nav-links {
            width: 100%;
        }

        #title-yellow,
        #title-white {
            font-size: 50px;
        }

        #typed-text {
            font-size: 12px;
            margin-top: 100px;
        }

        .typed-cursor {
            font-size: 15px;
            margin-top: 75px;
        }

        #download-button {
            font-size: 15px;
            padding: 3px 7px;
            margin-top: -10px;
        }

        #conversion-label {
            font-size: 30px;
        }

        #conversion-icon {
            height: 30px;
        }

        .dev-label {
            font-size: 30px;
        }

        #resize-icon,
        #eraser-icon {
            height: 30px;
        }

        #fonctionnalites {
            height: 300px;
            margin-top: 300px;
        }

        #converter-plan {
            height: 60px;
            display: flex;
            flex-direction: row;
            gap: 5px;
            width: 200px;
            border-radius: 5px 0 5px 0;
        }

        #eraser-label {
            font-size: 15px;
        }

        #dev-container {
            flex-direction: column;
            margin-top: 10px;
            width: 100%;
            gap: 10px;
        }

        #resize-plan,
        #clear-plan {
            border-radius: 5px 0 5px 0;
            display: flex;
            flex-direction: row;
            gap: 3px;
            width: 170px;
            height: 50px;
            margin-top: 0;
        }

        #resize-label {
            font-size: 20px;
        }

        #formats {
            margin-top: 100px;
            width: 70%;
            max-width: 500px;
            padding: 5px;
        }

        #format-icon {
            height: 30px;
        }

        #format-label {
            font-size: 30px;
        }

        #formats-title {
            gap: 7px;
            margin-bottom: -5px;
        }

        .format-types-elmt {
            padding: 4px;
            margin: 5px 0;
            border-radius: 2px;
            font-size: 20px;
        }

        .format-types-list {
            padding: 0;
            margin: 0;
        }

        .format-types-label {
            font-size: 30px;
        }

        #stats {
            height: 500px;
            margin-top: -200px;
        }

        .stats-number {
            font-size: 50px;
        }

        .stats-label {
            font-size: 20px;
            margin-top: -15px;
        }

        #stats-container {
            flex-direction: column;
            gap: 0px;
        }

        #format {
            width: 50px;
        }

        #conversion {
            width: 50px;
        }

        #ethique {
            width: 75px;
        }

        #video-container {
            margin-top: 50px;
        }

        #video-label {
            font-size: 24px;
        }

        .video-zone {
            height: 140px;
            width: 60%;
        }

        #footer {
            height: 800px;
            clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%);
        }

        #end-container {
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100%;
            margin-bottom: 25px;
            padding: 0;
            top: 50px;
        }

        #filemod-text {
            max-width: 60%;
            margin-right: 12px;
            font-size: 20px;
        }

        #logo-end-icon {
            height: 20px;
        }

        #end-description-filemod {
            margin-top: -10px;
            font-size: 12px;
            line-height: 1.5;
        }

        #site-links {
            gap: 10px;
            flex-direction: column;
        }

        #title-filemod-container {
            margin-top: 30px;
            gap: 2px;
        }

        .links {
            width: 150px;
        }

        .links-title {
            font-size: 15px;
            margin-bottom: 0;
        }

        .links-list {
            padding: 0;
            margin: 0;
            flex-direction: column;
            gap: 2px;
        }

        .links-list-elmt {
            font-size: 15px;
        }

        .links-list-elmt:hover {
            padding: 2px 5px;
            border-radius: 2px;
        }

        #copyright {
            font-size: 10px;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            padding: 0 0;
        }

        #copyright::before {
            width: 150px;
            height: 1px;
            margin-top: 0px;
        }
    }

}

.nav-links.active {
    display: flex;
}

body.menu-open {
    overflow: hidden;
}

.nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}