@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');
}

html,
body {
    margin: 0;
    width: 100%;
}

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);
}

#home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
    width: 100%;
}

#title-yellow {
    font-family: 'Satoshi-BlackItalic', sans-serif;
    font-size: 170px;
    color: #FCE803;
}

#title-white {
    font-family: 'Satoshi-BlackItalic', sans-serif;
    font-size: 170px;
    color: white;
}

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

#typed-text {
    font-family: 'Satoshi-BlackItalic', sans-serif;
    font-size: 50px;
    color: white;
    line-height: 1.2;
    display: inline-block;
    vertical-align: middle;
}

.typed-cursor {
    color: #FCE803;
    font-size: 50px;
    opacity: 1;
    animation: typedjsBlink 0.7s infinite;
}

@keyframes typedjsBlink {
    50% {
        opacity: 0.0;
    }
}

#typed-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    margin-top: -150px;
    width: 100%;
}

#download-button {
    background-color: #FCE803;
    border: none;
    color: #1E232C;
    font-family: 'Satoshi-Black';
    border-radius: 3px;
    font-size: 24px;
    padding: 10px 20px;
    transition: transform 0.3s, color 0.3s;
}

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

#fonctionnalites {
    background: #FCE803;
    transform: skewY(-5deg);
    height: 400px;
    margin-top: 350px;
    transition: transform 1s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#space-left-container {
    transform: skewY(5deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30%;
}

#converter-plan {
    background: #1E232C;
    border-radius: 10px 0 10px 0;
    width: 100%;
    height: 100px;
}


#dev-container {
    display: flex;
    flex-direction: row;
    gap: 4%;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
    transform: skewY(5deg);
    width: 30%;
}

#conversion-label {
    font-size: 40px;
    color: white;
    font-family: 'Satoshi-BlackItalic';
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.plan-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

#conversion-icon {
    height: 40px;
}

#resize-plan,
#clear-plan {
    background: #1E232C;
    border-radius: 10px 0 10px 0;
    width: 50%;
    padding: 10px 30px;
    transition: animation 0.3s, transform 0.3s;
}

#resize-plan:hover {
    animation: resize 5s ease-in-out infinite alternate;
}

@keyframes resize {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(0.5);
    }

    50% {
        transform: scale(2);
    }

    75% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}

.dev-label {
    font-size: 25px;
    color: white;
    font-family: 'Satoshi-BlackItalic';
}

#conversion-hover {
    color: #FCE803;
    font-family: 'Satoshi-BlackItalic';
    font-size: 30px;
}

#formats {
    margin-top: 300px;
    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;
}

#formats-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.formats-types-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 5%;
    flex-wrap: wrap;
}

.format-types {
    flex: 1;
    min-width: 150px;
    max-width: 180px;
    text-align: center;
}

.format-types-label {
    color: white;
    font-family: 'Satoshi-BlackItalic', sans-serif;
    font-size: 24px;
    margin-bottom: 15px;
}

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

.format-types-elmt {
    padding: 8px;
    margin: 10px 0;
    background: #FCE803;
    color: #1E232C;
    border-radius: 5px;
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.format-types-elmt:hover {
    background: #1A1C21;
    color: #FCE803;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#format-label {
    color: white;
    font-size: 50px;
    font-family: 'Satoshi-BlackItalic', sans-serif;
}

#format-icon {
    height: 50px;
}

#stats {
    background: #FCE803;
    transform: skewY(5deg);
    height: 400px;
    margin-top: 350px;
    transition: transform 1s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#stats-container {
    display: flex;
    flex-direction: row;
    gap: 100px;

    transform: skewY(-5deg);
}

.stats {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stats-label {
    color: #1E232C;
    font-size: 40px;
    font-family: 'Satoshi-Black', sans-serif;
    margin-top: -80px;
    width: 100%;
}

.stats-number {
    color: #1E232C;
    font-size: 100px;
    font-family: 'Satoshi-Black', sans-serif;
}

#format {
    width: 200px;
}

#conversion {
    width: 250px;
}

#ethique {
    width: 270px;
}

#video-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 300px;
}

#video-label {
    color: white;
    font-size: 30px;
    font-family: 'Satoshi-BlackItalic', sans-serif;
}

.video-zone {
    background: #1E232C;
    height: 300px;
    width: 700px;
}

#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;
}

#returnError {
    font-family: 'Satoshi-Black';
    color: #E41111;
    font-size: 24px;
}

#winButton {
    padding: 10px 20px;
    background: #1e232c;
    border: none;
    border-radius: 5px;
    font-family: 'Satoshi-Bold';
    color: white;
    font-size: 30px;
}

#winButton:hover {
    cursor: pointer;
}

@media (max-width: 1441px) {

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

    #typed-text {
        font-size: 40px;
    }

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

    #conversion-icon {
        height: 30px;
    }

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

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

    #formats {
        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%;
    }


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

    #typed-text {
        font-size: 25px;
        margin-top: 70px;
    }

    .typed-cursor {
        font-size: 25px;
        margin-top: 45px;
    }

    #download-button {
        font-size: 20px;
        padding: 7px 15px;
    }

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

    #conversion-icon {
        height: 25px;
    }

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

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

    #fonctionnalites {
        height: 200px;
        margin-top: 350px;
    }

    #converter-plan {
        height: 60px;
    }

    #resize-plan,
    #clear-plan {
        background: #1E232C;
        border-radius: 10px 0 10px 0;
        width: 50%;
        padding: 5px 15px;
        transition: animation 0.3s, transform 0.3s;
    }

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

    #format-icon {
        height: 25px;
    }

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

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

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

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

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

    #stats-container {
        gap: 15px;
    }

    #format {
        width: 100px;
    }

    #conversion {
        width: 120px;
    }

    #ethique {
        width: 150px;
    }

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

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

    .video-zone {
        background: #1E232C;
        height: 200px;
        width: 50%;
    }

    #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;
}

#audioError {
    width: 300px;
    border-radius: 10px;
}

#error-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}