@font-face {
    font-family: JakartaSans;
    src: url(../../font/JakartaSans.ttf);
}

i {
    margin-right: 5px;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.discord {
    width: 48px;
    position: relative;
    margin-left: 15px;
    border-radius: 5px;
    box-shadow: 1px 1px 5px 0px black;
}

.rules {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 15px 15px 50px black;
    text-align: left;
    padding: 15px;
}

h4,
h1 {
    font-weight: bold !important;
}

.container {
    text-align: center;
}

.nav-link {
    margin-right: 50px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
}

* {
    font-family: JakartaSans;
    text-shadow: 1px 1px 4px #222222;
    color: white !important;
}

.d-disabled {
    color: darkgray !important;
    cursor: not-allowed;
}

body {
    background-image: url(../../img/background.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.card {
    width: calc(33.33% - 20px); /* Ustawia szerokość karty na maksymalnie 33.33% szerokości kontenera minus marginesy */
    height: 600px;
    perspective: 1000px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.5s;
    transform-style: preserve-3d;
}

        .card-front, .card-back {
            width: 100%;
            height: 100%;
            position: absolute;
            backface-visibility: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transition: opacity 0.5s, transform 0.5s;
            background: rgba(0, 0, 0, 0.7); /* Tło z przezroczystością */
            color: white; /* Kolor tekstu */
        }

        .card-back {
            transform: rotateY(180deg);
            opacity: 0;
        }

        .card:hover {
            transform: rotateY(180deg);
        }

        .card:hover .card-back {
            opacity: 1;
        }

        .image-gallery {
            display: flex;
            justify-content: center;
        }

        .image-gallery img {
            max-width: 100%; /* Dopasowanie obrazka do wielkości karty */
            max-height: 100%; /* Dopasowanie obrazka do wielkości karty */
            display: none; /* Ukryj wszystkie obrazy w galerii */
        }

        .image-gallery img:first-child {
            display: block; /* Pokaż tylko pierwszy obraz */
        }

        .image-gallery img.active {
            display: block; /* Pokaż aktywny obraz */
        }

        .gallery-controls {
            display: flex;
            justify-content: center;
            margin-top: 10px;
        }

        .gallery-controls button {
            margin: 0 5px;
            cursor: pointer;
        }