@charset "UTF-8";

@font-face {
    font-family: "Erstoria";
    src: url("../fonts/Erstoria.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

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

html{
    font-size: 62.5%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root{
    --first-color: #5402E9;
    --second-color: #F821F4;
    --third-color:#6CAF3D;
    --fourth-color:#F3A103;
    --black: #18181b;
    --white: #f8f9fa;
    --grey: #e9ecef;
    --main-font: "Erstoria", sans-serif;
    --text-xs: 0.75rem;   
    --text-sm: 0.875rem;  
    --text-base: 1rem;    
    --text-lg: 1.125rem;  
    --text-xl: 1.25rem;   
    --text-2xl: 1.5rem;   
    --text-3xl: 1.875rem; 
    --text-4xl: 2.25rem;  
    --text-5xl: 3rem;     
    --text-6xl: 3.75rem;  
    --text-7xl: 4.5rem;   
    --text-8xl: 6rem;     
    --text-9xl: 8rem;      
}

body{
    font-family: var(--main-font);
}

.navbar_container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 5%;
    height: fit-content;
    width: 100%;
    background-color: var(--black);
    position: fixed;
    z-index: 98;
    top: 0;
    left: 0;
}

.logo_container{
    height: 5vh;
    width: auto;
}

.logo_container img{
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: contain;
}

.navbar{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10rem;
}

.navbar a, .navbar button{
    color: var(--white);
    font-weight: 500;
    font-size: var(--text-xl);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: 0.2s ease-in-out;
    border: 0;
    background-color: transparent;
}

.navbar button{
    font-weight: 700;
    font-size: var(--text-2xl);
    cursor: pointer;
}

.navbar a:hover, .navbar button:hover{
    color: var(--second-color);
}

#cart_toggle_btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 3rem;
    border-radius: 1rem;
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    color: var(--white);
    background-color: var(--fourth-color);
    z-index: 99;
    border: 0;
    transition: 0.2s ease-in-out;
}

#cart_toggle_btn:hover{
    color: var(--fourth-color);
    background-color: var(--black);
}

#toggle_menu_btn{
    background-color: transparent;
    border: 0;
    width: 5rem;
    height: 5rem;
    padding: 1rem;
    display: none;
}

#toggle_menu_btn svg{
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: contain;
    stroke: var(--white);
}

.general_footer{
    background-color: var(--first-color);
    height: fit-content;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10rem 15%;
}

.general_footer img{
    width: 8rem;
    height: auto;
}

.footer_section{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}

.footer_section a{
    color: var(--grey);
    font-size: var(--text-2xl); 
    text-decoration: none;
    opacity: .75;
    font-weight: 400;
    transition: 0.2s ease-in-out;
}

.footer_section a:hover{
    opacity: 1;
}

.footer_socials{
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer_socials a{
    width: 5rem;
    height: 5rem;
    padding: 1rem;
    opacity: .75;
    transition: 0.2s ease-in-out;
}

.footer_socials a:hover{
    opacity: 1;
}

.footer_socials a svg{
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: contain;
    stroke: var(--white);
}

/* Estilo para el contenedor de notificaciones */
#notification-container {
    position: fixed;
    top: 4rem;
    right: 4rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

/* Estilo para cada notificación individual */
.notification {
    width: fit-content;
    height: fit-content;
    padding: 2rem 5rem;
    font-size: var(--text-2xl);
    background-color: var(--third-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: var(--white);
    opacity: 0;
    transform: translateX(100%);
    border-radius: 1rem;
    animation: fadeInRight 0.3s forwards, fadeOutRight 0.3s 4.7s forwards;
}

/* Animaciones para las notificaciones */
@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOutRight {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}


@media (max-width: 1024px) {

    .navbar_container{
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 2rem 5%;
        height: fit-content;
        width: 100%;
        position: fixed;
        z-index: 98;
        top: 0;
        left: 0;
        
    }
    
    .logo_container{
        height: 5vh;
        width: auto;
    }
    
    .logo_container img{
        width: 100%;
        height: 100%;
        object-position: center;
        object-fit: contain;
    }
    
    .navbar{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 10rem;
        position: absolute;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 99;
        transform: translateX(100%);
        transition: 0.3s ease-in-out;
        background-color: var(--black);
    }
    
    .navbar a, .navbar button{
        font-weight: 500;
        font-size: var(--text-3xl);
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        transition: 0.2s ease-in-out;
        border: 0;
        background-color: transparent;
    }
    
    #toggle_menu_btn{
        background-color: transparent;
        border: 0;
        width: 5rem;
        height: 5rem;
        padding: 1rem;
        display: initial;
        z-index: 100;
    }
    
    .general_footer{
        height: fit-content;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
        gap: 5rem;
        padding: 10rem;
    }

    .general_footer img{
        width: 8rem;
        height: auto;
    }

    .footer_section{
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        gap: 2rem;
    }

    .footer_section a{
        color: var(--grey);
        font-size: var(--text-2xl); 
        text-decoration: none;
        opacity: .75;
        font-weight: 400;
        transition: 0.2s ease-in-out;
    }

    .footer_section a:hover{
        opacity: 1;
    }

    .footer_socials{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer_socials a{
        width: 5rem;
        height: 5rem;
        padding: 1rem;
        opacity: .75;
        transition: 0.2s ease-in-out;
    }

    .footer_socials a:hover{
        opacity: 1;
    }

    .footer_socials a svg{
        width: 100%;
        height: 100%;
        object-position: center;
        object-fit: contain;
        stroke: var(--white);
    }

}


