* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* Animação de Loader - Pagina */

.loader {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eaeaea;
}

.loader>img {
    width: 100px;
}

.loader.hidden {
    animation: fadeOut 1s;
    animation-fill-mode: forwards;
}

@keyframes fadeOut {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Scroll Bar Customizada */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Animação de carregamento - Esqueleto do Card - Categorias */

@keyframes loading {
  to {
    background-position-x: -20%;
  }
}

/* Estabilizar elementos centralizados na pagina */
.max-width {
    max-width: 1200px;
    overflow: hidden;
    margin: 0 auto;
}

/* Conteudo NavBar e Header */
.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    font-size: 15px;
    width: 90%;
}

.right-menu {
    font-size: 20px;
}

ul {
    list-style: none;
}

.main-nav .logo {
    display: flex;
    align-items: center;
    width: 160px;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    display: flex;
    padding: 0 17px;
}

.main-nav ul li a {
    text-decoration: none;
    color: rgb(245, 82, 0);
    padding-bottom: 2px;
}

.pesquisa {
    border-radius: 20px;
    width: 20vh;
    height: 5vh;
    border: #ddd 2px solid;
    text-align: center;
    color: #ddd;
    font-family: 'Poppins', sans-serif;
}

.main-nav ul li a:hover {
    transition: 100ms all ease-in-out;
    color: black;
}

.main-nav ul.main-menu {
    flex: 1;
    justify-content: center;
}

.menu-btn {
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 2;
    display: none;
}

.btn {
    cursor: pointer;
    display: inline-block;
    border: 0;
    font-weight: bold;
    padding: 10px 20px;
    background: #262626;
    color: #fff;
    font-size: 15px;
    ;
}

.btn:hover {
    opacity: 0.9;
}

.dark {
    color: #fff;
}

.dark .btn {
    background: #f4f4f4;
    color: #333;
}

/* Banner Page */
.showcase {
    width: 100%;
    height: 355px;
    background: url('https://cdn.discordapp.com/attachments/982296874524487764/1075415987626713148/FRETE_GRATIS_1.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-end;
    padding-bottom: 50px;
    margin-bottom: 20px;
}

/* Container Categorias */

.categorias-container {
    display: flex;
    justify-content: center;
    margin: 40px 0px 40px 0px;
}

.container-categorias {
    display: flex;
    gap: 6vh;
    animation-delay: .06s;
}

.categoria {
    background-color: #dfdfdf;
    background: linear-gradient(
      100deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, .5) 50%,
      rgba(255, 255, 255, 0) 60%
    ) #ddd;
    background-size: 200% 100%;
    background-position-x: 180%;
    animation: 1s loading ease-in-out infinite;
    padding: 80px;
    border-radius: 50%;
}

.anterior-card-categoria,
.proximo-card-categoria {
    display: flex;
    align-items: center;
}

.anterior-card-categoria a,
.proximo-card-categoria a {
    color: rgba(0, 0, 0, 0.663);
    font-size: 25px;
}

/* Teste Carossel */

.categorias-container .container-categorias > .categoria {
    transition: 500ms ease-in-out left;
}
.categorias-container .container-categorias .active.left {
    left: -33%;
}
.categorias-container .container-categorias .active.right {
    left: 33%;
}
.categorias-container .container-categorias .next {
    left: 33%;
}
.categorias-container .container-categorias .prev {
    left: -33%;
}
@media all and (transform-3d),(-webkit-transform-3d) {
    .categorias-container .container-categorias > .categoria {
        transition: 500ms ease-in-out left;
        transition: 500ms ease-in-out all;
        backface-visibility: visible;
        transform: none !important;
   }
}
.categorias-container .carouse-control.left, .categorias-container .carouse-control.right {
    background-image: none;
}


/* Mobile */

@media only screen and (max-width: 768px) {
    .main-nav {
        width: 100%;
    }
}