* {
    font-family: EstedadRegular;
    font-size: 14px;
}
h2{
    text-align:center;
}
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

@font-face {
    font-family: 'EstedadRegular';
    src: url('../fonts/estedad-regular.ttf') format('truetype');
}

html {
    position: relative;
    min-height: 100%;
}

div {
    box-sizing: border-box;
}

div, p {
    font-size: 16px;
}

strong {
    font-size: 24px;
}

ul {
}

li {
    text-align: justify;
}

body {
    background-color: #1C1B2D;
    padding-top: 120px
}

@media (max-width: 1100px) {
    .navbar-button {
        display: block !important;
    }

    .navbar-section {
        display: block !important;
    }

    .navbar-context-link {
        align-items: flex-start !important;
    }

    .navbar-other {
        /*    justify-content:flex-start;*/
        /* flex-direction: column !important;*/
    }

    .navbar-body {
        width: 100%;
        align-items: flex-start !important;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

        .navbar-body::-webkit-scrollbar {
            display: none;
        }

        .navbar-body.collapsed {
            flex-direction: column !important;
            height: 0;
            padding-top: 0px;
            transition: all 0.3s ease-in-out;
        }

        .navbar-body.expanded {
            flex-direction: column !important;
            padding-top: 15px;
            height: 400px;
            transition: all 0.3s ease-in-out;
            overflow-y: auto;
        }

    .navbar-context-link {
        flex-direction: column !important;
    }

    .navbar-profile-toggle {
        width: 48px;
        height: 48px;
    }
}

.logo-menu {
    display: flex;
    gap: 16px;
}

.navbar-button {
    display: none;
    height: 48px;
    background-color: transparent;
    border: none;
    padding: 0;
}


.nav-toggle-img {
}

.navbar-main {
    width: 100%;
    display: flex;
    justify-content: center;
    top: 0; /* Position it at the top of the viewport */
    position: fixed; /* Key to make the navbar sticky */
    z-index: 999; /* Ensure it stays above other content */
    padding: 16px 24px 16px 24px;
}

.navbar-logo {
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-logo-img {
    height: 48px;
}

.navbar-link {
    text-decoration: none;
    cursor: pointer;
    color: white;
    font-size: 20px;
    white-space: nowrap;
    /*    display:flex;
    gap:4px;
    align-items:center;*/
}

.navbar-item {
}

.navbar-body {
    display: flex;
    flex-direction: row;
    gap: 16px;
    list-style-type: none;
    align-items: center;
    width: 100%;
    overflow: hidden;
    justify-content: space-between;
}

    .navbar-body.collapsed {
        display: flex;
        overflow: hidden;
    }

    .navbar-body.expanded {
    }

.navbar-context-link {
    display: flex;
    flex-direction: row;
    gap: 16px;
    list-style-type: none;
    align-items: center;
    padding: 0;
    margin: 0;
}

.navbar-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.navbar-other {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
/* Styling the sticky navbar */
.navbar-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: 24px;
    background: #24253A;
    border: 2px solid #9B5DE5;
    color: white;
    padding: 15px 20px;
    gap: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}

.sticky-navbar ul {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

    .sticky-navbar ul li {
        display: inline;
    }

        .sticky-navbar ul li a {
            color: white;
            text-decoration: none;
            font-size: 16px;
            padding: 5px 10px;
        }

            .sticky-navbar ul li a:hover {
                background-color: #575757; /* Change background on hover */
                border-radius: 5px;
            }

/* Content sections */
.content section {
    height: 100vh; /* Make each section fill the viewport */
    padding: 20px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

    .content section:nth-child(odd) {
        background-color: #e0e0e0; /* Alternate background colors */
    }


.main-border-bottom {
    border-bottom: 2px solid #9B5DE5
}

.main-border-top {
    border-top: 2px solid #9B5DE5
}

.language-form {
    text-align: center;
    color: white;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    padding: 5px;
    background-color: rgb(60,60,60);
}

    .language-form option {
        text-align: center;
        color: white;
        border-radius: 4px;
        appearance: none;
        -webkit-appearance: none;
        padding: 5px;
        background-color: rgb(60,60,60);
        height: 250px;
    }

.language-form-item {
    text-align: center;
    color: white;
    height: 250px;
}

    .language-form-item:hover {
        text-align: center;
        color: black;
    }

.text-normal {
    color: white;
    font-size: 16px;
}

.text-bold {
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.nav-toggle-button {
    background: none;
    border: none;
    outline: none;
    height: 32px;
    width: auto;
}

    .nav-toggle-button:active {
        background: none;
        border: none;
        outline: none;
    }

    .nav-toggle-button:focus {
        background: none;
        border: none;
        outline: none;
    }

    .nav-toggle-button:hover {
        background: none;
        border: none;
        outline: none;
    }

    .nav-toggle-button:after {
        background: none;
        border: none;
        outline: none;
    }

    .nav-toggle-button:checked {
        background: none;
        border: none;
        outline: none;
    }

.nav-toggle-img {
    height: 100%;
    width: auto;
}

.play-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(90deg, #5F39CA 9.21%, #3468E2 92.77%);
    border-radius: 8px;
    border: none;
    text-decoration: none;
    width: 100%;
    color: white;
    font-weight: 900;
    font-size: 16px;
}

.subscribe-button {
    display: flex;
    justify-content: center;
    padding: 8px 16px;
    background-color: greenyellow;
    border-radius: 8px;
    text-decoration: none;
    width: 100%;
    color: white;
    font-weight: 900;
    font-size: 20px;
}

.main-middle-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 70vh;
    gap: 32px;
}

.game-card-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 19rem;
    vertical-align: middle;
}

.game-card-main {
    padding: 0;
    overflow: hidden;
    width: 40vh;
    border-radius: 16px;
    background-color: #1C1B2D;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 50%;
    color: white;
}

.game-card-img {
    width: 100%;
    max-height: 50%;
    object-fit: cover;
    height: 20rem;
    vertical-align: middle;
}

.game-card-gametype-img {
    width: auto;
    height: 32px;
}

.game-card-gametype {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.game-card-countdown {
    text-align: center;
    padding: 8px;
    direction: ltr;
}

.game-card-footer-2 {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.language-img {
    width: 20px;
    height: 20px;
    margin: 0;
}

.language-dropdown {
    color: black;
    display: block;
    align-items: center;
    overflow: visible;
    background: #D9D9D9;
    border-radius: 8px;
    width: 100px;
}

.language-menu-item {
    cursor: pointer;
    color: #525252;
    width: 100%;
    text-decoration: none;
    font-weight: 700;
    display: block;
}

.dropdown-toggle {
    color: #525252;
    background: #D9D9D9;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 4px 8px 4px;
    width: 100%;
    border-radius: 8px;
    border: none;
}

.dropdown-toggle-text {
    color: black;
}

.language-menu {
    position: fixed;
    overflow: visible;
    text-align: center;
    width: 100px;
    margin-top: -6px;
    background-color: white;
    padding: 5px 0 5px 0;
    border-radius: 0 0 8px 8px;
    display: none; /* Initially hidden */
    z-index: 1000;
    background: #D9D9D9;
    /*    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
}

.language-icon {
    width: 20px;
    height: 20px;
}

.navbar-profile {
    position: relative;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.navbar-profile-toggle {
    cursor: pointer;
    width: 56px;
    height: 56px;
    background: none;
    overflow: hidden;
    border-radius: 24px;
    border: 2px solid #9B5DE5;
    padding: 0;
}

.navbar-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar-profile-content {
    position: fixed;
    overflow: visible;
    text-align: center;
    margin-top: 56px;
    padding: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    z-index: 1000;
    background: #D9D9D9;
    flex-direction: column;
    align-content: center;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.navbar-profile-popup-item {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 0.5rem 1rem;
    align-items: center;
    justify-content: flex-start;
    color: black;
    cursor: pointer;
    text-decoration: none;
}

    .navbar-profile-popup-item:hover {
        background-color: rgba(0,0,0,0.2);
        /*   border-radius:1rem;*/
    }

.navbar-profile-form:hover {
    background-color: rgba(0,0,0,0.2);
}

.navbar-profile-popup-img {
    height: 32px;
    width: 32px;
}

.navbar-profile-popup-img2 {
    height: 16px;
    width: 16px;
}

.navbar-profile-popup-text {
    font-size: 18px;
    padding-top: 3px;
    font-weight: 700;
    color: black;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block; /* or block */
    max-width: 150px; /* adjust width to your needs */
    overflow: hidden;
    text-overflow: ellipsis;
}

.default-line {
    width: 100%;
    height: 1px;
    background: #673D99;
}

.navbar-profile-item {
    color: #525252;
    font-weight: 700;
}

.navbar-profile-button {
    border: none;
    background: none;
}

    .navbar-profile-button:hover {
        border: none;
        background: none;
    }

.secondary-button {
    width: 100%;
    padding: 7px 14px;
    border: none;
    user-select: none;
    background: linear-gradient(#1C1B2D, #1C1B2D) padding-box, linear-gradient(to right, #5F39CA, #3468E2) border-box !important;
    border: 4px solid transparent;
    cursor: pointer;
    border-radius: 12px;
    z-index: 0;
    color: #D9D9D9;
    white-space: nowrap;
    font-weight: 900;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
}

.error-text {
    color: #B3261E;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.gap-1 {
    gap: 8px;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hidden-button {
    background: none;
    border: none;
    outline: none;
}

.loading-container {
    display: flex;
    justify-content: center;
}

.loading-dots {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100px;
    height: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    animation: growShrink 1.2s infinite ease-in-out;
}

    .dot:nth-child(1) {
        animation-delay: 0s;
    }

    .dot:nth-child(2) {
        animation-delay: 0.3s;
    }

    .dot:nth-child(3) {
        animation-delay: 0.6s;
    }

    .dot:nth-child(4) {
        animation-delay: 0.9s;
    }

@keyframes growShrink {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }
}
