.cabecalho {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    background-color: #111111;
    height: fit-content;
    padding: 0px 56px;
    height: 100px;
    z-index: 999;
    /* flex-wrap: wrap; */
}


.logo {
    height: 70px;
}

/* @media screen and (min-width: 1150px){
    .cabecalho {
        justify-content:space-between;
    }

    .logo {
        height: 70px;
    }
} */





:root {
    --color-leve-blue: rgb(118, 118, 235);
    --color-leve-red: rgb(214, 83, 83);
    --color-pesada-blue: midnightblue;
    --color-pesada-red: rgb(78, 6, 6);
    --color-red: red;
    --color-blue: blue;
}



/* From Uiverse.io by Lakshay-art */
.grid {
    height: 800px;
    width: 800px;
    background-image: linear-gradient(to right, #0f0f10 1px, transparent 1px),
        linear-gradient(to bottom, #0f0f10 1px, transparent 1px);
    background-size: 1rem 1rem;
    background-position: center center;
    position: absolute;
    z-index: -1;
    filter: blur(1px);
}

.white,
.border,
.darkBorderBg,
.glow {
    max-height: 70px;
    max-width: 314px;
    height: 100%;
    width: 100%;
    position: absolute;
    overflow: hidden;
    z-index: -1;
    /* Border Radius */
    border-radius: 12px;
    filter: blur(3px);
}

.input {
    background-color: #010201;
    border: none;
    /* padding:7px; */
    width: 301px;
    height: 56px;
    border-radius: 10px;
    color: white;
    padding-inline: 20px 59px;
    font-size: 18px;
}

#poda {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.input::placeholder {
    color: #c0b9c0;
}

.input:focus {
    outline: none;
}

#main:focus-within>#input-mask {
    display: none;
}

#input-mask {
    pointer-events: none;
    width: 100px;
    height: 20px;
    position: absolute;
    background: linear-gradient(90deg, transparent, black);
    top: 18px;
    left: 70px;
}

#pink-mask {
    pointer-events: none;
    width: 30px;
    height: 20px;
    position: absolute;
    background: var(--color-red);
    top: 10px;
    left: 5px;
    filter: blur(20px);
    opacity: 0.8;
    //animation:leftright 4s ease-in infinite;
    transition: all 2s;
}

#main:hover>#pink-mask {
    //animation: rotate 4s linear infinite;
    opacity: 0;
}

.white {
    max-height: 63px;
    max-width: 307px;
    border-radius: 10px;
    filter: blur(2px);
}

.white::before {
    content: "";
    z-index: -2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(83deg);
    position: absolute;
    width: 600px;
    height: 600px;
    background-repeat: no-repeat;
    background-position: 0 0;
    filter: brightness(1.4);
    background-image: conic-gradient(rgba(0, 0, 0, 0) 0%,
            var(--color-leve-blue),
            rgba(0, 0, 0, 0) 8%,
            rgba(0, 0, 0, 0) 50%,
            var(--color-leve-red),
            rgba(0, 0, 0, 0) 58%);
    //  animation: rotate 4s linear infinite;
    transition: all 2s;
}

.border {
    max-height: 59px;
    max-width: 303px;
    border-radius: 11px;
    filter: blur(0.5px);
}

.border::before {
    content: "";
    z-index: -2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(70deg);
    position: absolute;
    width: 600px;
    height: 600px;
    filter: brightness(1.3);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-image: conic-gradient(#1c191c,
            var(--color-blue) 5%,
            #1c191c 14%,
            #1c191c 50%,
            var(--color-red) 60%,
            #1c191c 64%);
    // animation: rotate 4s 0.1s linear infinite;
    transition: all 2s;
}

.darkBorderBg {
    max-height: 65px;
    max-width: 312px;
}

.darkBorderBg::before {
    content: "";
    z-index: -2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(82deg);
    position: absolute;
    width: 600px;
    height: 600px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-image: conic-gradient(rgba(0, 0, 0, 0),
            var(--color-pesada-blue),
            rgba(0, 0, 0, 0) 10%,
            rgba(0, 0, 0, 0) 50%,
            var(--color-pesada-red),
            rgba(0, 0, 0, 0) 60%);
    transition: all 2s;
}

#poda:hover>.darkBorderBg::before {
    transform: translate(-50%, -50%) rotate(262deg);
}

#poda:hover>.glow::before {
    transform: translate(-50%, -50%) rotate(240deg);
}

#poda:hover>.white::before {
    transform: translate(-50%, -50%) rotate(263deg);
}

#poda:hover>.border::before {
    transform: translate(-50%, -50%) rotate(250deg);
}

#poda:hover>.darkBorderBg::before {
    transform: translate(-50%, -50%) rotate(-98deg);
}

#poda:hover>.glow::before {
    transform: translate(-50%, -50%) rotate(-120deg);
}

#poda:hover>.white::before {
    transform: translate(-50%, -50%) rotate(-97deg);
}

#poda:hover>.border::before {
    transform: translate(-50%, -50%) rotate(-110deg);
}

#poda:focus-within>.darkBorderBg::before {
    transform: translate(-50%, -50%) rotate(442deg);
    transition: all 4s;
}

#poda:focus-within>.glow::before {
    transform: translate(-50%, -50%) rotate(420deg);
    transition: all 4s;
}

#poda:focus-within>.white::before {
    transform: translate(-50%, -50%) rotate(443deg);
    transition: all 4s;
}

#poda:focus-within>.border::before {
    transform: translate(-50%, -50%) rotate(430deg);
    transition: all 4s;
}

.glow {
    overflow: hidden;
    filter: blur(30px);
    opacity: 0.4;
    max-height: 130px;
    max-width: 354px;
}

.glow:before {
    content: "";
    z-index: -2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(60deg);
    position: absolute;
    width: 999px;
    height: 999px;
    background-repeat: no-repeat;
    background-position: 0 0;
    /*border color, change middle color*/
    background-image: conic-gradient(#000,
            var(--color-blue) 5%,
            #000 38%,
            #000 50%,
            var(--color-red) 60%,
            #000 87%);
    /* change speed here */
    //animation: rotate 4s 0.3s linear infinite;
    transition: all 2s;
}

@keyframes rotate {
    100% {
        transform: translate(-50%, -50%) rotate(450deg);
    }
}

@keyframes leftright {
    0% {
        transform: translate(0px, 0px);
        opacity: 1;
    }

    49% {
        transform: translate(250px, 0px);
        opacity: 0;
    }

    80% {
        transform: translate(-40px, 0px);
        opacity: 0;
    }

    100% {
        transform: translate(0px, 0px);
        opacity: 1;
    }
}

#filter-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    max-height: 40px;
    max-width: 38px;
    height: 100%;
    width: 100%;

    isolation: isolate;
    overflow: hidden;
    /* Border Radius */
    border-radius: 10px;
    background: linear-gradient(180deg, #161329, black, var(--color-pesada-blue));
    border: 1px solid transparent;
}

.filterBorder {
    height: 42px;
    width: 40px;
    position: absolute;
    overflow: hidden;
    top: 7px;
    right: 7px;
    border-radius: 10px;
}

.filterBorder::before {
    content: "";

    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    position: absolute;
    width: 600px;
    height: 600px;
    background-repeat: no-repeat;
    background-position: 0 0;
    filter: brightness(1.35);
    background-image: conic-gradient(rgba(0, 0, 0, 0),
            #3d3a4f,
            rgba(0, 0, 0, 0) 50%,
            rgba(0, 0, 0, 0) 50%,
            #3d3a4f,
            rgba(0, 0, 0, 0) 100%);
    animation: rotate 4s linear infinite;
}

#main {
    position: relative;
}

#search-icon {
    position: absolute;
    left: 20px;
    top: 15px;
}


#filter-icon svg {
    fill: #dedede;
}





/* MENU SUPERIOR */

/* .menu {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 16px;
} */

.menu .ul_geral {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 16px;
}

.menu ul {
    list-style-type: none;
    padding: 0;
    position: relative;

}

.menu ul li {
    background: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    position: relative;
}

.menu ul li:hover {
    border-bottom: 1px solid red;
}

.menu ul li a {
    color: #dedede;
}




/* MENU LATERAL */

.categorias_geral_mobile {
    display: none;
}

.categorias_geral {
    display: block;
    position: absolute;
    top: 100px;
    left: -300px;
    list-style-type: none;
    padding: 0;
    padding-top: 0px;
    padding-left: 56px;
    margin: 0;
    width: 280px;
    min-height: calc(100vh - 100px);
    background-color: #111111;
    box-shadow: 0 0px 10px 5px rgb(0, 0, 0, 0.3);
    transition: 0.5s all;
    z-index: 99;
    border-radius: 0 0 8px 0px;

}

.categorias_geral.show {
    left: 0;
}

.categorias_geral>li {
    background-color: #111111;
    color: white;
    padding: 12px;
    margin-bottom: 0px;
    cursor: pointer;
    position: relative;
}

.categorias_geral>li:hover {
    background-color: #333333;
}

.categorias_geral ul {
    display: none;
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: 0px;
    /* Ajuste para alinhar o submenu ao item pai */
    width: 280px;
}

.categorias_geral>li:hover>ul {
    display: block;
}

.categorias_geral ul li {
    background-color: #111111;
    color: #dedede;
    padding: 12px;
    margin-bottom: 0px;
}

.categorias_geral ul li:first-child {
    border-radius: 0 8px 0 0;
}

.categorias_geral ul li:last-child {
    border-radius: 0 0 8px 0;
}

.categorias_geral ul li:hover {
    background-color: #333333;
}

.categorias_geral li a {
    color: white;
    text-decoration: none;
    display: block;
}

.categorias_geral ul li a {
    color: #dedede;
}

.categorias_geral ul li a:hover {
    color: #dedede;
}


/* @media screen and (max-width: 1110px){
    .cabecalho {
        padding: 0 36px;
        flex-wrap: wrap;
    }
    
    .logo {
        height: 50px;
    }

} */


/* Estilos gerais para mobile */
@media screen and (max-width: 768px) {

    .glow {
        display: none;
    }

    .cabecalho {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        padding: 30px 20px;
        height: auto;
        background-color: #111111;
    }

    .logo {
        height: 50px;
    }

    .menu .ul_geral {
        flex-direction: row;
        gap: 10px;
        width: 100%;
        text-align: center;
    }

    .menu ul {
        padding: 0;
        width: 100%;
    }

    .menu ul li {
        background: none;
        color: white;
        padding: 0;
        cursor: pointer;
        position: relative;
        font-size: 18px;
    }

    .menu ul li:hover {
        border: none;
    }

    .menu ul li a {
        color: #ffffff;
        font-size: 16px;
    }

    .categorias_geral {
        display: none;
    }



    .categorias_geral_mobile {
        display: block;
        position: absolute;
        top: 100px;
        left: -300px;
        list-style-type: none;
        padding: 0;
        padding-top: 0px;
        padding-left: 56px;
        margin: 0;
        width: 280px;
        min-height: calc(100vh - 100px);
        background-color: #111111;
        box-shadow: 0 0px 10px 5px rgb(0, 0, 0, 0.3);
        transition: 0.5s all;
        z-index: 99;
        border-radius: 0 0 8px 0px;

    }

    .categorias_geral_mobile.show {
        left: 0;
    }

    .categorias_geral_mobile>li {
        background-color: #111111;
        color: white;
        padding: 12px;
        margin-bottom: 0px;
        cursor: pointer;
        position: relative;
    }

    .categorias_geral_mobile>li:hover {
        background-color: #333333;
    }

    .categorias_geral_mobile ul {
        display: none;
        list-style-type: none;
        padding-left: 0;
        margin-left: 0;
        position: absolute;
        top: 0;
        left: 100%;
        margin-top: 0px;
        /* Ajuste para alinhar o submenu ao item pai */
        width: 280px;
    }

    .categorias_geral_mobile>li:hover>ul {
        display: block;
    }

    .categorias_geral_mobile ul li {
        background-color: #111111;
        color: #dedede;
        padding: 12px;
        margin-bottom: 0px;
    }

    .categorias_geral_mobile ul li:first-child {
        border-radius: 0 8px 0 0;
    }

    .categorias_geral_mobile ul li:last-child {
        border-radius: 0 0 8px 0;
    }

    .categorias_geral_mobile ul li:hover {
        background-color: #333333;
    }

    .categorias_geral_mobile li a {
        color: white;
        text-decoration: none;
        display: block;
    }

    .categorias_geral_mobile ul li a {
        color: #dedede;
    }

    .categorias_geral_mobile ul li a:hover {
        color: #dedede;
    }


    /* Menu lateral ajustado */
    .categorias_geral_mobile {
        position: absolute;
        width: 100%;
        left: -100%;
        top: 263px;
        padding-left: 8px;
        padding-right: 8px;
        transition: 0.3s ease;
        width: 100%;
    }

    .categorias_geral_mobile.show {
        left: 0;
    }

    .categorias_geral_mobile>li {
        padding: 20px;
        font-size: 14px;
        border-bottom: 1px solid #333333;
    }

    .categorias_geral_mobile>li:hover {
        background: none;
    }

    .categorias_geral_mobile ul {
        width: 100%;
        left: 0;
        top: 20px;
        position: relative;
        margin-bottom: 36px;
    }

    .categorias_geral_mobile ul li {
        padding: 15px;
        font-size: 14px;
        border-bottom: 1px solid #333333;
    }

    .categorias_geral_mobile ul li a {
        font-size: 14px;
    }



    /* Melhorar a interatividade em toques */
    .menu ul li,
    .categorias_geral_mobile ul li {
        padding: 20px;
        font-size: 18px;
    }

    /* .categorias_geral_mobile ul li:hover, 
    .menu ul li:hover {
      background-color: #444444;
    } */

   


}