@media only screen and (max-width: 1023px) {
    .products-navbar {
        margin-top: -3rem;
    }
}

@media only screen and (min-width: 1050px) {
    .products-navbar {
        margin-top: -6rem;
    }
}

.products-navbar-flex {
    display: flex;
    justify-content: center;
}

.product-link, .product-link:hover {
    color: white;
    text-decoration: none;
}

.product-link-wrapper {
    font-size: xx-large;
    background-color: #a62017;
    background-image: url("../../../../../themes/bootstrap5-theme/assets/images/loewe-bg-card.svg");
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center center;
    height: 9rem;
    position: relative;
    z-index: 1;
    transition: transform 250ms;
    margin: 0 5px;
    width: 12rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    text-align: center;
    box-shadow: 5px 3px 0 rgba(0, 0, 0, 0.3);
}

.product-link-wrapper:hover {
    transform: translateY(-3rem);
}

.product-link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 6rem;
    transition: height 250ms;
    padding-left: 5px;
    padding-right: 5px;
}

.product-link-wrapper:hover .product-link {
    height: 9rem;
}

.product-drawer-link, .product-drawer-link:hover {
    color: white;
    text-decoration: none;
}

.product-nav-button {
    font-size: large;
    color: white;
    background-color: #a62017;
    width: 80vw;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 10px;
    text-align: center;
    box-shadow: 5px 3px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    height: 3rem;
}

.nav-drawer {
    font-size: large;
    color: white;
    background-color: #a62017;
    width: 80vw;
    border-radius: 20px;
    padding: 10px;
    position: fixed;
    z-index: 100;
    display: none;
    left: 0;
    right: 0;
    top: 10vh;
    margin: auto;
}

.overlay {
    position: absolute;
    z-index: 5;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.8);
}
