@font-face {
    font-family: 'MyCustomFont';
    src: url('fonts/MyCustomFont.woff2') format('woff2'),
         url('fonts/MyCustomFont.woff') format('woff');
}
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');


body {
    font-family: 'Poppins', sans-serif;
    /* background: url('/imgs/bg5.png') no-repeat center center/cover; */
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    background-color: #0c0c0c;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

.logo {
    position: absolute;
    top: 10px;
    left: 30px;
    z-index: 1000;
}

.logo img {
    max-height: 120px;
    width: auto;
}

header .logo {
    position: absolute;
    top: 10px;
    left: 30px;
    z-index: 1000;
}

header .logo img {
    max-height: 80px;
    width: auto;
}


.grey-title {
    margin-top: 200px;
    margin-bottom: 50px;
    font-size: 44px;
    color: #ffffff;
    font-family: 'Anton', sans-serif;
    font-weight: 900;
    letter-spacing: -1px;
}

#accueil {
    position: relative;
    padding-top: 0px;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    background: transparent;
    overflow: hidden;
    z-index: 0;
}


#accueil h1 {
    font-family: 'Anton', sans-serif;
    font-size: 60px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: -10px;
}

#accueil p {
    font-size: 24px;
    max-width: 700px;
    font-weight: 800; 
    color: #ffffff;
    font-style: italic;
}




#accueil-2 {
    position: relative;
    padding-top: 0px;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    background: transparent;
    overflow: hidden;
    z-index: 0;
}


#accueil-2 h1 {
    font-family: 'Anton', sans-serif;
    font-size: 60px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: -10px;
    margin-top: -39px;
}


#accueil-2 p {
    font-size: 24px;
    max-width: 700px;
    font-weight: 800; 
    color: #ffffff;
    font-style: italic;
}


.small-text {
    font-size: 40px;
    vertical-align: baseline; 
    position: relative;
    top: -5px;
}

  

.btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 10px 0 110px 0;
    background: linear-gradient(45deg, #333, #555, #777);
    background-size: 400% 400%;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Press Start 2P', cursive;
    animation: gradientAnimation 5s ease infinite;
    cursor: pointer;
    border: 2px solid #444;

}

.btn:hover {
    background: linear-gradient(45deg, #ff6f61, #6a1b9a, #00bcd4, #4caf50);
    background-size: 400% 400%;
    transform: translateY(-4px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}


.btn-play {
    display: inline-block;
    padding: 17px 28px;
    font-size: 21px;
    font-weight: bold;
    color: #fff;
    background-color: #333;
    border: 2px solid #444;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn-play i {
    margin-left: 8px; 
    font-size: 20px; 
}

.btn-play:hover {
    background-color: #444;
    border-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

.btn-play:active {
    background-color: #222;
    border-color: #333;
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}



@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


header {
    position: relative;
    width: 100%;
    margin-top: 20px;
    padding: 30px 20px 0;
    z-index: 1000;
    background: transparent;
    box-sizing: border-box;
    font-weight: bold;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 20px;
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #f0f0f0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav ul li a:hover::before {
    transform: scaleX(1);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    z-index: 1000;
    border-radius: 4px;
    padding: 0;
    background: transparent;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden; 
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    margin-top: 10px; 
}

.dropdown a {
    color: #fff;
    padding: 10px;
    display: block;
    text-decoration: none;
    background: transparent;
    position: relative;
    border-radius: 10px;
}

.dropdown a::before {
    content: none; 
}

.dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.1); 
}

nav ul li:hover .dropdown {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    #features {
        display: none !important; 
    }
}



.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}







footer {
    background-color: #292929;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    position: relative;
    margin-top: auto;
}

footer p {
    margin: 0;
    font-weight: bold;
    font-size: 1rem;
}

.container-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    footer {
        padding: 20px;
    }

    footer p {
        font-size: 0.9rem;
    }
}



#loadingoverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}


.loading-spinner {
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top: 8px solid #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}












.panier-container {
    background-color: #0e0e10;
    color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    height: 700px;
    max-width: 900px;
    margin: auto;
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.7);
}

.panier-container h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
}

#cartItems {
    max-height: 380px; 
    overflow-y: auto;
    margin-bottom: 25px;
    padding-right: 10px; 
}

#cartItems::-webkit-scrollbar {
    width: 8px;
}

#cartItems::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 4px;
}

#cartItems::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

#cartItems::-webkit-scrollbar-track {
    background-color: #1c1c1e;
    border-radius: 4px;
}

.cart-item {
    display: flex;
    align-items: center;
    background-color: #1c1c1e;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
}

.cart-item-image {
    width: 210px;
    height: 130px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 20px;
}

.cart-item-details h3 {
    font-size: 22px;
    margin: 0 0 10px;
    color: #ffffff;
}

.cart-item-details p {
    font-size: 18px;
    color: #d3d3d3;
    margin: 4px 0;
}

.cart-item-details span {
    color: #ffffff;
}

.remove-button {
    background-color: #555;
    color: #ffffff;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    margin-left: auto;
    transition: background-color 0.3s;
}

.remove-button:hover {
    background-color: #333;
}

.panier-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-top: 1px solid #444;
}

.panier-total h3 {
    font-size: 24px;
    color: #ffffff;
}

#totalPrice {
    font-weight: bold;
    color: #ffffff;
}

.btn-commande {
    background-color: #333;
    color: #ffffff;
    padding: 15px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

.btn-commande:hover {
    background-color: #222;
}

.back-button {
    background-color: #222;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 12px 20px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.back-button:hover {
    background-color: #333;
}

.back-button i {
    font-size: 22px;
}






















.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-right: 20px;
    margin-top: 20px;
    border-radius: 30%;
    background-color: #222;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid #a3a3a3;

}

.icon-button:hover {
    background-color: #444;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: #333;
}



.login-section {
    position: fixed; 
    top: 20px;       
    right: 20px;     
}


.login-button {
    display: inline-block;
    padding: 18px 26px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #333;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: background-color 0.3s ease, transform 0.3s ease; 
    margin-top: 20px;
    margin-right: 20px;

    border: 2px solid #a3a3a3; 
}
.login-button:hover {
    background-color: #444; 
    transform: scale(1.05); 
}

.login-button:active {
    background-color: #222; 
    transform: scale(1); 
}