@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&amp;display=swap");

:root {
    --header-height: 3rem;

    --hue: 174;
    --sat: 63%;
    --first-color: rgb(60, 199, 60);
    --title-color: white;
    --text-color: white;

    --container-color: #1f1f1f;

    --body-font: 'Open Sans', sans-serif;
    --h1-font-size: 1.5rem;
    --normal-font-size: .938rem;
    --tiny-font-size: .625rem;

    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 968px) {
    :root {
        --h1-font-size: 2.25rem;
        --normal-font-size: 1rem;
    }
}

html {
    scroll-behavior: smooth;
}

ul {
    list-style: none;
    padding: 0px !important;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.navContainer {
    max-width: 968px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.header {
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--container-color);
    z-index: var(--z-fixed);
    transition: .4s;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__img {
    width: 32px;
    border-radius: 50%;
}

.nav__logo {
    color: var(--title-color);
    font-weight: 600;
}

#bet {
    margin: 10px 30px 15vh 30px;
    max-height: 90vh;
    text-align: center;
}

#bet iframe {
    max-width: 1200px;
}

.modeIcon {
    max-height: 110px;
    width: auto;
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: var(--container-color);
        box-shadow: 0 -1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
        width: 100%;
        height: 5rem;
        padding: 0 1rem;
        display: grid;
        align-content: center;
        border-radius: 1.25rem 1.25rem 0 0;
        transition: .4s;
    }
}

.nav__list,
.nav__link {
    display: flex;
}

.nav__link {
    flex-direction: column;
    align-items: center;
    row-gap: 4px;
    color: var(--title-color);
    font-weight: 600;
}

.nav__list {
    justify-content: space-around;
    margin-bottom: 0px !important;
}

.nav__name {
    font-size: var(--tiny-font-size);
}

.nav__icon {
    font-size: 1.5rem;
}

.active-link {
    position: relative;
    color: var(--first-color);
    transition: .3s;
}

.bg-dark {
    background-color: var(--container-color) !important;
}

.bg-dark-1000 {
    background-color: #181818;
}

@media screen and (max-width: 320px) {
    .nav__name {
        display: none;
    }
}

@media screen and (min-width: 576px) {
    .nav__list {
        justify-content: center;
        column-gap: 3rem;
    }
}

@media screen and (min-width: 767px) {
    body {
        margin: 0;
    }

    .section {
        padding: 7rem 0 2rem;
    }

    .nav {
        height: calc(var(--header-height) + 1.5rem);
    }

    .nav__img {
        display: none;
    }

    .nav__icon {
        display: none;
    }

    .nav__name {
        font-size: var(--normal-font-size);
    }

    .nav__link:hover {
        color: var(--first-color);
    }

    .active-link::before {
        content: '';
        position: absolute;
        bottom: -.75rem;
        width: 4px;
        height: 4px;
        background-color: var(--first-color);
        border-radius: 50%;
    }
}

@media screen and (min-width: 1024px) {
    .navContainer {
        margin-left: auto;
        margin-right: auto;
    }
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

.game-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.board {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 4px;
    margin-bottom: 1rem;
}

.board div {
    max-width: 75px;
    height: auto;
}

.board img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info {
    margin-bottom: 1rem;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: none;
}

.status-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.status {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #00336a;
    animation: fadeInOut 6s ease-in-out;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0;
    }

    15%,
    20% {
        opacity: 1;
    }
}

.generate-opportunity {
    background-color: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
}

.generate-opportunity:hover {
    background-color: #218838;
}

::-moz-selection {
    background: rgb(110, 196, 117);
}

::selection {
    background: rgb(110, 196, 117);
}

::-webkit-scrollbar {
    width: 13px;
}

::-webkit-scrollbar-track {
    background: #313131;
}

::-webkit-scrollbar-thumb {
    background: #98ce8b;
    border-radius: 5px
}

::-webkit-scrollbar-thumb:hover {
    background: #5fb14b;
}