/* For WebKit-based browsers (e.g., Chrome, Safari) */
::-webkit-scrollbar {
    width: 10px;
    /* Adjust width as needed */
    background-color: transparent;
    /* Set the background color of the scrollbar track */
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
    /* Set the color of the scrollbar thumb */
    border-radius: 5px;
    /* Adjust radius as needed */
}

/* For Firefox */
/* Note: Firefox does not support styling scrollbar colors directly, but we can use a workaround */
/* This is achieved by applying a transparent background color to the scrollbar and adding a box shadow to the thumb */

/* Set the background of the entire scrollbar */
html {
    scrollbar-color: transparent transparent;
    /* thumb, track */
    font-size: 81.25%;
}

/* Set the shadow to the thumb */
* {
    scrollbar-width: thin;
}

*::-webkit-scrollbar-thumb {
    background-color: transparent;
    /* Set the thumb color to transparent */
}

*::-webkit-scrollbar-thumb:active {
    background-color: transparent;
    /* Set the thumb color to transparent on active */
}

*::-webkit-scrollbar-thumb:hover {
    background-color: transparent;
    /* Set the thumb color to transparent on hover */
}

*::-webkit-scrollbar-thumb {
    background-color: transparent;
    /* Set the thumb color to transparent */
    border-radius: 5px;
    /* Adjust radius as needed */
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
    /* Add a box shadow to mimic the appearance */
}



*,
html {
    margin: 0;
    font-family: 'Cutive Mono', monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

html,
body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

header {
    display: flex;
    justify-content: center;
    color: #fff;
    padding-top: 20px;
    width: 100vw;
    text-align: center;
    position: fixed;
    z-index: 2;
}

.nav_logo img {
    height: 9vh;
}

main {
    display: flex;
    padding: 0;
    justify-content: center;
    position: relative;
}

.main_image img {
    width: 100vw;
    max-width: 100%;
}

.main_news {
    position: absolute;
    left: 3%;
    bottom: 12%;
    font-size: 2em;
    color: white;
}

.main_news a {
    display: block;
    margin-top: 1em;
    color: white;
    text-decoration: underline;
}

.brands_gallery_wrapper {
    background: linear-gradient(276deg, rgba(85, 85, 85, 1) 0%, rgba(0, 0, 0, 1) 100%);
    box-shadow: inset 0px 0px 10px 10px #000;
    outline: 5px solid black;
}

.grid-container {
    display: grid;
    width: max-content;
    margin: 0 auto;
    grid-template-rows: 41vh 44vh;
    grid-template-areas:
        "g n"
        "g m";
}

.grid-item {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    color: white;
}

.grid-item img {
    height: 100%;
}

.grid-item:nth-child(1) {
    grid-area: g;
}

.grid-item:nth-child(2) {
    grid-area: n;
    filter: grayscale(70%);
}

.grid-item:nth-child(3) {
    grid-area: m;
}



.allbrands_gallery {
    display: flex;
    align-items: center;
    background: rgb(39, 38, 55);
    height: 100%;
    font-size: 4em;
    width: 100%;
    background: linear-gradient(127deg, rgba(39, 38, 55, 1) 0%, rgb(47 47 47) 46%, rgba(42, 4, 22, 1) 100%);
    color: #ffffffa3;
}

.allbrands_gallery p {
    width: 100%;
}

.store_wrapper {
    display: flex;
}

.store_wrapper a {
    text-decoration: none;
    color: black;
}

.item_preview_block {
    text-align: center;
}

.item_image_preview img {
    height: 400px;
    padding: 20px 10px;
}

.item_descr_preview {
    display: block;
    font-family: Montserrat, sans-serif;
    font-size: 1.5em;
    margin-top: 10px;
}

.item_brand_name {
    font-weight: 500;
}

.item_model_info {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}


.store_link {
    margin: 0 auto;
    font-size: 2em;
    padding: 40px;
    text-align: center;
    width: fit-content;
    background: #a0a0a01f;
    border-radius: 10px;
    margin-top: 80px;
    color: #0d0d0d;
}


footer {
    background: black;
    width: 100vw;
}

.dropdown {
    position: relative;
    margin-bottom: 40px;
}

.dropbtn {
    width: 200px;
    background: white;
    padding: 10px;
    display: block;
    cursor: pointer;
    border: none;
    text-align: left;
    font-weight: 600;
}

.dropdown-content {
    display: block;
    width: 150px;
    background-color: #ffffff;
    min-width: -webkit-fill-available;
    overflow-y: auto;
    z-index: 1;
}

#designerdd {
    max-height: 180px;
}

.dropdown-content a,
label {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

.dropdown-content a.selected,
label.selected {
    background-color: #ddd;
}

.dropdown-content a:hover,
label:hover {
    background-color: #f1f1f1;
}

.dropdown-content input {
    display: none;
}

.dropdown-content input[type="checkbox"]:checked+label {
    /* Your styles for the label when the checkbox is checked */
    background-color: #ddd;
}

.show {
    display: block;
}




#fullscreen_menu {
    position: fixed;
    top: 0;
    left: -100%;
    /* Initially hide the menu */
    width: 30%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    /* Semi-transparent background */
    transition: left 0.3s ease;
    /* Smooth transition for opening/closing */
    z-index: 100;
}

#fullscreen_menu.show {
    left: 0;
    /* Show the menu by setting left to 0 */
}

#fullscreen_menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: absolute;
    font-size: 1.2rem;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#fullscreen_menu ul li {
    margin-bottom: 50px;
}

#fullscreen_menu ul li a {
    text-decoration: none;
    color: white;
    font-size: 2.2em;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#fullscreen_menu ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu_dd_content a:hover {
    background-color: rgba(65, 65, 65, 0.377);
    transition: background-color 0.3s;
}

.menu_close_btn {
    position: absolute;
    top: 50px;
    /* Adjust top position as needed */
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    opacity: 80%;
    height: 6em;
    z-index: 101;
    /* Ensure it's above the menu */
    filter: invert(100%) sepia(97%) saturate(0%) hue-rotate(35deg) brightness(102%) contrast(101%);
}

.menu_dd_content {
    display: block;
    width: 200px;
    color: white;
    overflow-y: auto;
    height: 200px;
    margin-bottom: 30px;
}

.menu_dd_content a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s;
}

header {
    justify-content: space-between;
}

.nav_menu_btn {
    margin-left: 75px;
    margin-top: 30px;
    cursor: pointer;
}

.nav_logo {
    margin-top: 20px;
}


.nav_menu_btn img {
    height: 5em;
}

.nav_cart {
    margin-right: 75px;
    margin-top: 30px;
}

.nav_cart img {
    height: 5em;
}

footer {
    color: white;
    font-size: 1.4em;
}

.footer_grid {
    display: flex;
    justify-content: center;
    padding-inline: 50px;
    padding-top: 50px;
    align-items: center;
}

.footer_logo {
    max-width: max-content;
}

.footer_logo img {
    width: 70%;
}

footer ul {
    display: flex;
    list-style: none;
    justify-content: space-evenly;
    padding-block: 35px;
    font-size: 1.1em;
}

footer ul li {
    display: inline;
    padding-inline: 50px;
}

.footer_email_sub {
    max-width: max-content;
    width: 60vw;
    margin-block: 30px;
    text-align: center;
    color: black;
    font-size: 2em;
    padding-inline: 150px;
    background: white;
}

.footer_email_sub span {
    background: black;
    color: white;
    padding-inline: 30px;
    padding-block: 8px;
}

.footer_email_sub div {
    margin-top: 8px;
    width: 100%;
}

.footer_email_sub div input {
    width: 100%;
    border: rgba(172, 172, 172, 0.466);
    text-align: center;
    font-size: 1.4em;
}

footer a {
    text-decoration: none;
    color: white;
}

.footer_mobile_info {
    display: none;
}

@media only screen and (max-device-width: 1041px) {
    #fullscreen_menu {
        width: 100vw;
        height: 100vh;
    }

    #fullscreen_menu ul {
        top: 50%;
    }

    .nav_menu_btn {
        margin-left: 25px;
        margin-top: 8px;
    }

    .nav_menu_btn img {
        height: 3em;
    }

    .nav_logo {
        margin-top: 2px !important;
    }



    .nav_logo img {
        height: 6vh !important;
    }

    .nav_cart {
        margin-right: 25px;
        margin-top: 8px;
    }

    .nav_cart img {
        height: 3em;
    }

    .grid-container {
        grid-template-rows: 201px 201px;
        grid-template-areas: "g n" "m m";
    }

    .store_wrapper {
        margin-inline: 0;
        flex-direction: column;
    }

    .item_preview_block {
        margin-bottom: 50px;
    }

    .item_image_preview img {
        padding: 0;
        height: 300px;
    }

    footer {
        height: auto;
    }

    .footer_grid {
        display: flex;
        justify-content: center;
        flex-direction: column;
        padding-top: 0;

    }

    footer h3 {
        text-align: center;
    }

    .footer_desktop_info {
        display: none;
    }

    .footer_mobile_info {
        display: block;
        padding-bottom: 30px;
    }

    .footer_logo {
        text-align: center;
    }

    .footer_logo img {
        width: 80%;
    }

    .footer_email_sub {
        width: auto;
        max-width: none;
        font-size: inherit;
        padding-inline: 0;
    }

    .footer_email_sub span {
        padding-inline: 8px;
        padding-block: 6px;
    }

    .footer_email_sub div input {
        width: auto;
        font-size: inherit;
    }

    footer ul {
        display: none;
        padding-left: 0;
        margin-top: 0;
        flex-direction: column;
        text-align: center;
        padding-bottom: 30px;
        padding-top: 20px;
    }

    footer ul li {
        display: block;
        padding-bottom: 10px;
    }

    .item_page_first_wrapper {
        margin-top: 100px !important;
    }

    .item_page_image_slider_wrapper img {
        width: 100% !important;
    }

    .item_page_image_slider_wrapper button img {
        width: 6em !important;
    }

    .item_page_image_slider_wrapper {
        margin-left: 0 !important;
        width: auto !important;
    }

    .item_page_first_wrapper {
        margin-inline: 0 !important;
        flex-direction: column !important;
    }

    .item_page_first_wrapper {
        font-size: inherit !important;
        align-self: center !important;
        /* margin-bottom: 80px; */
        text-align: center !important;

    }

    .item_page_name_size_cart_wrapper {
        font-size: inherit !important;
        align-self: center !important;
        max-width: none !important;
        margin-bottom: 0 !important;
        margin-top: 50px;
        text-align: center !important;
    }


    .item_page_size {
        margin-top: 50px !important;
        text-align: center !important;
    }


}

@media only screen and (min-device-width: 1042px) and (max-device-width: 1420px) {

    .menu_close_btn {
        height: 3em;
    }

    #fullscreen_menu ul li a {
        font-size: 1.8em;
    }

    #fullscreen_menu ul li {
        margin-bottom: 30px;
    }

    .nav_logo img {
        height: 9vh;
    }

    .nav_menu_btn img {
        height: 4em;
    }

    .nav_cart img {
        height: 4em;
    }

    footer {
        height: auto;
        min-height: max-content;
    }

    .footer_grid {
        padding-top: 50px;
        padding-bottom: 25px;
    }

    .footer_email_sub {
        padding-inline: 90px;
        font-size: 1.8em;
        margin-block: 0;
    }

    footer ul {
        margin-top: 0;
        padding-block: 25px;
    }

    footer ul li {
        text-align: center;
        padding-inline: 40px;
    }
}