
@font-face {
    font-family: 'Pricedown';
    src: url('fonts/pricedown.otf)') format('truetype'); /* Zmień ścieżkę na odpowiednią */
}

.gta-font {
    font-family: 'Pricedown', sans-serif;
}

.marquee {
            width: 100%;
            background-color: #e74c3c;
            color: white;
            padding: 10px 0;
            overflow: hidden;
            position: relative;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
        .marquee-content {
            white-space: nowrap;
            display: inline-block;
            padding-left: 100%;
            animation: marquee 10s linear infinite;
        }
        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-100%); }
        }
.carousel-item img {
    height: 500px; /* Wysokość zdjęcia */
    object-fit: cover; /* Dopasowanie bez zniekształcania */
}

.camera-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Możesz dostosować maksymalną szerokość kamery */
    margin: 0 auto;
}

.chat-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chat-messages {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 15px;
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
}

.chat-message {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f1f1f1;
    border-radius: 5px;
}

textarea {
    width: 100%;
    border-radius: 5px;
    padding: 10px;
}

button {
    width: 100%;
    border-radius: 5px;
}

.chat-message {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.user-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.username {
    font-weight: bold;
    margin-right: 10px;
}

.message-content {
    font-size: 14px;
}

.list-group-item {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.list-group-item h5 {
    font-size: 1.2rem;
    font-weight: bold;
}

.list-group-item p {
    font-size: 1rem;
    color: #555;
}

.list-group-item small {
    font-size: 0.8rem;
    color: #888;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Szerokość kontenera */
    height: 400px; /* Ustalona wysokość dla kontenera */
    max-width: 600px; /* Maksymalna szerokość kontenera */
    overflow: hidden; /* Ukrywa nadmiar obrazu */
    background: black; /* Tło dla lepszego kontrastu */
}

.video-container video {
    width: 100%; /* Szerokość wideo */
    height: 100%; /* Wysokość wideo */
    object-fit: cover; /* Dostosowuje obraz */
}

canvas {
            border: 1px solid black;
            background-color: #000000;
        }/* snake pole gry */

.controls {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }
    .controls .row {
        margin: 5px 0; /* Przestrzeń między wierszami */
    }
    .controls .col {
        flex: 1; /* Równomierne rozmieszczenie przycisków w wierszu */
    }

    #gameCanvasSnake {
    width: 100%;
    max-width: 400px;
    height: auto;
}

    #gameCanvasTetris {
    width: 100%;
    max-width: 300px;
    height: auto;
}

 #characterSelect {
            text-align: center;
            margin-top: 20px;
        }

        #characterSelect label {
            display: inline-block;
            text-align: center;
            margin: 10px;
            cursor: pointer;
        }

        #characterSelect input[type="radio"] {
            display: none; /* Ukrycie rzeczywistego radio buttona */
        }

        .character-icon {
            width: 50px; /* Ustaw szerokość ikon */
            height: 50px;
            border: 2px solid transparent;
            border-radius: 5px;
            transition: 0.3s;
        }

        /* Podświetlenie zaznaczonej ikony */
        #characterSelect input[type="radio"]:checked + img {
            border-color: #007bff; /* Kolor obramowania przy zaznaczeniu */
            box-shadow: 0 0 8px #007bff;
        }


 .camera-container {
    width: 100%;
    max-width: 1200px; /* Opcjonalnie, jeśli chcesz ustawić maksymalną szerokość */
    margin: 0 auto;
}

#camera-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}