.sidebar {
    width: 300px; /* Zurück zur ursprünglichen Breite */
    background-color: #13171F;
    border-radius: 20px;
    padding: 30px;
    align-self: flex-start;
    box-sizing: border-box; /* Padding und Border in die Breite einbeziehen */
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 15px;
}

.sidebar-widget p {
    color: #8B95A5;
    font-size: 14px;
    margin-bottom: 15px;
}

.sidebar-videos, .sidebar-tags {
    margin-bottom: 30px;
}

.sidebar-video {
    margin-bottom: 15px;
}

.sidebar-video img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 5px;
}

.sidebar-video h4 {
    color: #ffffff;
    font-size: 14px;
}

.sidebar-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 15px;
    margin: 0 5px 5px 0;
    font-size: 12px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.sidebar-tag:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.tag-count {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 2px 6px;
    margin-left: 5px;
    font-size: 10px;
}

.video-button {
    display: flex;
    align-items: center;
    background-color: #ff4d4d;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.video-button:hover {
    background-color: #ff6666;
}

.play-icon {
    width: 24px;
    height: 24px;
    fill: white;
    margin-right: 10px;
}

.video-title {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-button[data-category="dev"] { background-color: #3399ff; }
.video-button[data-category="3d"] { background-color: #33cc33; }
.video-button[data-category="shop"] { background-color: #ff9933; }

@media (max-width: 768px) {
    .sidebar {
        width: 100%; /* Sicherstellen, dass die Sidebar auf kleinen Bildschirmen die volle Breite hat */
        margin-top: 20px;
        padding: 15px;
    }
}