
* {
    -webkit-tap-highlight-color: transparent;
  }
  
.sidebar {
    width: 20vw;
    height: 10vh; /* Use relative units */
    background: linear-gradient(135deg, red, rgb(0, 191, 255), rgb(255, 0, 255));
    clip-path: polygon(0 0, 100% 0, 87.7% 100%, 12.3% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50vh;
    left: 0;
    transform: translateX(-42%) rotate(-90deg);
    transition: transform 0.3s ease-in-out;
}

.sidebar.active {
    transform: translateX(37%) rotate(-90deg);
}

.sidebar1 {
    width: 99%;
    height: 85%;
    background-color: #1b1b1b;
    clip-path: polygon(0 -13%, 98% 0, 87.7% 100%, 12.3% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 10px;
}

.sidebar-ico {
    transform: rotate(90deg);
    width: 30%;
    transition: transform 0.3s ease-in-out;
}

.menu {
    position: fixed;
    top: 0;
    left: -15vw;
    width: 15vw;
    height: 100vh;
    background-color: #2c2c2c;
    transition: transform 0.3s ease-in-out;
}

.menu.active {
    transform: translateX(100%);
}



.menubtn-container {
    position: relative;
    display: inline-block;
    top: 1.5vw;
    margin-bottom: 0.3vw; /* Odstęp między przyciskami */
}

.menubtn-container:last-child {
    margin-bottom: 0;
}

.menubtn {
    width: 15vw;
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-decoration: none;

    background-color: #1e1e1e;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
.menubtn:hover {
    transform: scale(1.05);
}
.menubtn:active {
    transform: scale(0.95);
}
.menubtn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #14b8a6, #3b82f6, #9333ea);
    border-radius: 12px;

    padding: 2px;
    opacity: 0;
    transition: opacity 0.5s;
}
.menubtn-container:hover .menubtn-bg {
    opacity: 1;
}
.menubtn-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;

}
.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.5s;
}
.menubtn-container:hover .icon {
    transform: translateX(5px);
}


.category {

    margin-top: 3vw;
}

.category-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1vw;
    font-weight: 700;
    color: #fff;
    margin-left: 1vw;
}

.category-line {
    height: 0.2vw;
    width: 100%;
    background: linear-gradient(to right, rgb(0, 225, 255), rgb(0, 255, 136), rgb(255, 123, 0));
}

.category-title-games {
    font-family: 'Roboto', sans-serif;
    font-size: 1vw;
    font-weight: 700;
    color: #fff;
    margin-left: 45vw;
    margin-top: 2vw;
}

@media (max-width: 768px) {


    .sidebar {
        width: 50vw;
        height: 10vh; /* Use relative units */
        background: linear-gradient(135deg, red, rgb(0, 191, 255), rgb(255, 0, 255));
        clip-path: polygon(0 0, 100% 0, 87.7% 100%, 12.3% 100%);
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 50vh;
        left: 0;
        transform: translateX(-42%) rotate(-90deg);
        transition: transform 0.3s ease-in-out;
    }
    
    .sidebar.active {
        transform: translateX(72%) rotate(-90deg);
    }
    
    .sidebar1 {
        width: 99%;
        height: 85%;
        background-color: #1b1b1b;
        clip-path: polygon(0 -13%, 98% 0, 87.7% 100%, 12.3% 100%);
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        padding: 0 10px;
    }
    
    .sidebar-ico {
        transform: rotate(90deg);
        width: 30%;
        transition: transform 0.3s ease-in-out;
    }
    
    .menu {
        position: fixed;
        top: 0;
        left: -50%;
        width: 50vw;
        height: 100vh;
        background-color: #2c2c2c;
        transition: transform 0.3s ease-in-out;
    }
    
    .menu.active {
        transform: translateX(100%);
    }
    
    
    
    .menubtn-container {
        position: relative;
        display: inline-block;
        top: 1.5vw;
        margin-bottom: 0.3vw; /* Odstęp między przyciskami */
    }
    
    .menubtn-container:last-child {
        margin-bottom: 0;
    }
    
    .menubtn {
        width: 22.3vh;
        position: relative;
        display: inline-block;
        padding: 12px 24px;
        font-size: 16px;
        font-weight: bold;
        color: white;
        text-decoration: none;
        background-color: #1e1e1e;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        overflow: hidden;
        transition: transform 0.3s ease-in-out;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }
    .menubtn:hover {
        transform: scale(1.05);
    }
    .menubtn:active {
        transform: scale(0.95);
    }
    .menubtn-bg {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, #14b8a6, #3b82f6, #9333ea);
        border-radius: 12px;
    
        padding: 2px;
        opacity: 0;
        transition: opacity 0.5s;
    }
    .menubtn-container:hover .menubtn-bg {
        opacity: 1;
    }
    .menubtn-content {
        position: relative;
        display: flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        font-weight: 700;
        font-family: 'Roboto', sans-serif;
    
    }
    .icon {
        width: 20px;
        height: 20px;
        fill: currentColor;
        transition: transform 0.5s;
    }
    .menubtn-container:hover .icon {
        transform: translateX(5px);
    }
    
    
    .category {
    
        margin-top: 3vw;
    }
    
    .category-title {
        font-family: 'Roboto', sans-serif;
        font-size: 4vw;
        font-weight: 700;
        color: #fff;
        margin-left: 1vw;
    }
    
    .category-line {
        height: 0.2vw;
        width: 100%;
        background: linear-gradient(to right, rgb(0, 225, 255), rgb(0, 255, 136), rgb(255, 123, 0));
    }
    
    .category-title-games {
        font-family: 'Roboto', sans-serif;
        font-size: 1vw;
        font-weight: 700;
        color: #fff;
        margin-left: 45vw;
        margin-top: 2vw;
    }



}
