:root {
    --primary-color: #FFEA44;
    --primary-color-hover: #fff49e;
    --secondary-color: rgb(26, 26, 26);
    --white-color: #FFFFFF;
    --secondary-color-hover: rgb(43, 43, 43);

    --shoes-blue: #8288a7;
    --shoes-green: #82a793;
    --shoes-black: #3f3f3f;

    --circle-card-product: var(--shoes-black);
}

* {
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

.bg-black {
    background-color: var(--secondary-color);
}

.bg-secondary-color {
    background-color: var(--secondary-color-hover);
}

.bg-primary {
    background-color: var(--primary-color);
}

.primary-color {
    color: var(--primary-color);
}

.txt-black {
    color: var(--secondary-color);
}

a,
p,
h1 {
    color: var(--primary-color);
}

a {
    text-decoration: none;
    transition: width 0.3s ease;

    &:hover {
        text-decoration: underline;
        text-underline-offset: 5px;

    }
}

.font-audiowide {
    font-family: 'Audiowide';
}

.txt-white {
    color: var(--white-color);
}

.fondo-imagen {
    position: relative;
    background-color: #1E1E1E;

    overflow: hidden;
    z-index: 0;
}

.fondo-imagen::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("./img/fondo.png");
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
}

.btn-general {
    background-color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    color: var(--secondary-color);
    cursor: pointer;
    transition: all 0.2s;

    &:hover {
        background-color: #f3dc2e;

    }

    &:active {
        scale: 0.9;
    }
}

.custom-search-input {
    background-color: var(--primary-color-hover);
    border-radius: 5px 0px 0px 5px;
    padding: 3px 10px;
    outline: none;
    font-size: 15px;

    &::placeholder {
        color: rgb(108, 108, 108);
        font-size: 14px;
    }
}

.circle-container {
    width: min(400px, 70vw);
    background-color: var(--primary-color-hover);
    /* Color del fondo */
    border-radius: 50%;
    /* Hace que sea un círculo */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circle-container img {
    margin: 40px;
    width: 100%;
    /* Ajusta el tamaño de la imagen */
    height: auto;
    z-index: 1;

    filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.67));

}

.card-product {
    position: relative;
    width: 100%;
    padding: 18px;
    background-color: #fafafa;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.819);
    display: flex;
    flex-direction: column;

    /* OCULTA EL CIRCULO */
    overflow: hidden;
    z-index: 0;
    /* capa base */


    img {
        width: 100%;
        text-align: center;
        margin: 0 auto;
        filter: drop-shadow(6px 6px 4px rgba(0, 0, 0, 0.254));

    }
}

.card-product::before {
    content: "";
    position: absolute;
    top: 5%;
    right: -40%;
    /* mueve el círculo hacia fuera */
    width: 300px;
    height: 300px;
    background-color: var(--circle-card-product);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: -1;

}

.circle {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all 0.2s;

    &:hover {
        scale: 1.1;
        transition: all 0.2s
    }

    &:active {
        scale: 0.9;
    }
}

#count_cart {
    position: relative;
    top: 20px;
    right: 20px;

    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    padding: 12px;
    box-shadow: -10px 4px 8px rgba(0, 0, 0, 0.2);

}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f3dc2e;
}

#main-nav {
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

#main-nav.nav-scrolled {
    background-color: rgba(43, 43, 43, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
}

.shoes-home-animation {
    animation: rotateMove 2s ease-in-out forwards;

}

@keyframes rotateMove {
    0% {
        scale: 0.01;
        transform: translateY(00%) rotateZ(-10deg);
        filter: blur(0);

    }

    20% {
        transform: translateY(-70%) rotateZ(100deg);

        filter: blur(5px);
    }

    40% {
        filter: blur(3px);
    }

    80% {
        filter: blur(0px);
    }

    100% {
        transform: translateY(10%) rotateZ(-10deg);
        filter: blur(0);
    }
}

@media (max-width: 768px) {
    .card-product {
        padding: 10px;
    }

    .circle {
        width: 25px;
        height: 25px;
    }
}