.cam-filter-wrapper {
	display: flex;
	align-items: center;
}

.cam-filter-wrapper h1{
	white-space: nowrap;
	margin-right: 10px;
}

.cam-filter-option-wrapper {
	display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
}

.cam-filter-option-button {
	display: flex;
    white-space: nowrap;
    background-color: #d50303;
    padding: 3px 10px;
    font-size: 0.9rem;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.cam-filter-option-spoints {
	    padding: 3px 10px;
}

.stream-container {
    display: flex;
    flex-wrap: nowrap; /* Keine Zeilenumbrüche, horizontales Scrollen */
    overflow-x: auto; /* Horizontal scrollen aktivieren */
    scroll-snap-type: x mandatory; /* Scroll-Snapping horizontal aktivieren */
    -webkit-overflow-scrolling: touch; /* Sanftes Scrollen auf mobilen Geräten */
    gap: 10px; /* Abstand zwischen den Gruppen */
    padding: 10px; /* Innenabstand */
    height: 230px; /* Höhe für den Container (angepasst an zwei Karten + Abstand) */
    scrollbar-width: none; /* Versteckt den Scrollbalken in Firefox */
    position: relative;
    background-color: unset;
    margin-bottom: 15px;
}

.stream-container::-webkit-scrollbar {
    display: none; /* Versteckt den Scrollbalken in WebKit-Browsern */
}

.cam-filter-option-wrapper::-webkit-scrollbar {
    display: none; /* Versteckt den Scrollbalken in WebKit-Browsern */
}

.stream-snap-wrapper {
    display: flex;
    flex-wrap: nowrap; /* Zwei Spalten nebeneinander */
    flex: 0 0 calc(160px * 2 + 10px); /* Exakte Breite für zwei Spalten */
    scroll-snap-align: start; /* Jede horizontale Einheit wird "eingeschnappt" */
    gap: 10px; /* Abstand zwischen den Spalten */
}

.stream-card-wrapper {
    display: flex;
    flex-direction: column; /* Karten vertikal untereinander */
    gap: 10px; /* Abstand zwischen den Karten innerhalb der Spalte */
    flex: 0 0 160px; /* Jede Spalte ist 160px breit */
}

.stream-card {
	position: relative;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 160px; /* Feste Breite der Karte */
    height: 100px; /* Feste Höhe der Karte */
    text-align: center;
}

.thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.stream-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    z-index: 1;
}

.thumbnail > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.thumbnail {
display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.thumbnail .username {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 100;
}

.stream-card:hover {
    transform: scale(1.05);
    transition: transform 0.2s;
}

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.loader-wrapper {
    text-align: center;
}
/*Favorite Webcams*/
.favorite-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    background-color: #000;
    padding: 2px;
}

.fav-clickable {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
}

.flag-container {
    position: absolute;
    bottom: 5px;
    right: 5px;
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 100;
}

.flag-icon {
    width: 20px;
    height: 15px;
    cursor: pointer;
}

.flag-dropdown {
font-size: 14px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    background-color: black;
    border-radius: 50%;
    height: 12px;
    width: 12px;
    right: -10px;
    top: -10px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

.language-layer {
    position: absolute;
    top: 0;
    right: 0;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    width: 100%;
}

.language-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.language-header .close-layer {
    background: none;
    border: none;
    color: #f00;
    font-size: 16px;
    cursor: pointer;
}

.language-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.language-list .flag-icon {
    width: 30px;
    height: 20px;
    cursor: pointer;
}

/* Gesamter Layer-Hintergrund */
    .filter-layer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.85);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    .filter-layer.hidden {
        display: none;
    }

    /* Inhalt des Filters */
    .filter-layer-content {
        background: #ffffff;
        padding: 25px;
        border-radius: 10px;
        max-width: 400px;
        width: 90%;
        position: relative;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    /* Gruppenüberschriften */
    .filter-group h4 {
        margin-bottom: 10px;
        font-size: 16px;
        font-weight: bold;
        color: #333;
    }

    /* Radio Buttons Styling */
    .filter-group input[type="radio"] {
        margin-right: 10px;
        accent-color: #e63946; /* Rot für die Radio Buttons */
    }

    .filter-group label {
        font-size: 14px;
        color: #333;
        margin-bottom: 5px;
        display: block;
    }

    /* Tag-Feld Styling */
    #tagFilterInput {
        width: 100%;
        padding: 8px 10px;
        font-size: 14px;
        border: 1px solid #ddd;
        border-radius: 5px;
        transition: border-color 0.3s ease;
    }

    #tagFilterInput:focus {
        border-color: #e63946; /* Rot beim Fokus */
        outline: none;
    }

    /* Schließen-Button */
    .close-filter-layer {
        position: absolute;
        top: 10px;
        right: 10px;
        background: none;
        border: none;
        font-size: 20px;
        color: #e63946; /* Rotes X */
        font-weight: bold;
        cursor: pointer;
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .close-filter-layer:hover {
        color: #b22222;
        transform: scale(1.2); /* Leichtes Vergrößern beim Hover */
    }

    /* Anwenden-Button */
    .apply-filters {
        background-color: #e63946; /* Roter Hintergrund */
        color: #ffffff; /* Weißer Text */
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease;
        width: 100%; /* Button auf volle Breite setzen */
    }

    .apply-filters:hover {
        background-color: #b22222; /* Dunkleres Rot beim Hover */
        transform: scale(1.05); /* Leichtes Vergrößern beim Hover */
    }

    /* Gruppierung mit Abstand */
    .filter-group {
        margin-bottom: 20px;
    }
    /* mehr Webcams container */
    
    .more-webcams-wrapper {
    	display: flex;
    	align-items: center;
    	justify-content: center;
    	width: 100%;
    }
    
    .more-webcams-wrapper-item {
		background-color: #333;
    	width: 180px;
    	padding: 20px;
    	justify-content: center;
    	align-items: center;
    	display: flex;
    	border-radius: 10px;
    }
    .more-webcams-wrapper-item img {
    	height: 20px;
    	margin: 0 4px;
    } 