* {
    box-sizing: border-box;
    transition: 0.4s ease all;
}


body {
    margin: 0;
    font-family: "Montserrat", serif;
    background: #21219091;
    color: white;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    text-transform: uppercase;
}

.bg {
    background: url("../img/bg.png");
    position: relative
}

.bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, rgba(7, 7, 7, 0) 0%, rgb(57 58 151) 100%);
}

#choose {
    padding-bottom: 40px;
    position: relative;
    z-index: 9;

}

.container {
    max-width: 1578px;
    margin: auto;
}

.flex-cont {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0;
}

.col {
    flex: 1;
}

.col-2 {
    flex: 2;
}

.col-3 {
    flex: 3;
}

.first-cont {
    padding-top: 85px !important;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
    display: none;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 28px 0;
    background: #393b97;
    color: black;
    z-index: 100;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    height: 64px;
    align-items: center;
}

.menu-items {
    order: 2;
    display: flex;
    gap: 52px;
}

.logo {
    order: 1;
}

.menu-items li {
    list-style: none;
    font-size: 18px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease-in-out;
}

.navbar a:hover {
    opacity: 0.7;
    transition: 1s;
}

.copyright {
    font-family: "Arimo", system-ui;
    font-weight: bold;
}

@media screen and (max-width: 1600px) {
    .container {
        padding: 0 20px;
    }
}

@media screen and (max-width: 1500px) {
    body {}

}

@media screen and (max-width: 1200px) {
    .menu-items li {
        font-size: 15px;
    }

    .menu-items {
        gap: 25px;
    }

    .logo img {
        max-width: 200px;
    }

    .navbar {
        padding: 8px 0;
    }
}


/*nav*/
@media (max-width: 830px) {
    .logo img {
        max-width: 150px;
    }

    .navbar {
        opacity: 0.95;
        padding: 0;
    }

    .navbar-container input[type="checkbox"],
    .navbar-container .hamburger-lines {
        display: block;
    }

    .navbar-container {
        display: block;
        position: relative;
        padding: 3px 0;
        height: 64px;
    }

    .navbar-container input[type="checkbox"] {
        position: absolute;
        display: block;
        height: 32px;
        width: 30px;
        top: 50%;
        transform: translateY(-50%);
        left: 20px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }

    .navbar-container .hamburger-lines {
        height: 28px;
        width: 35px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar-container .hamburger-lines .line {
        display: block;
        height: 2px;
        width: 100%;
        border-radius: 10px;
        background: white;
    }

    .navbar-container .hamburger-lines .line1 {
        transform-origin: 0 0;
        transition: transform 0.3s ease-in-out;
    }

    .navbar-container .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }

    .navbar-container .hamburger-lines .line3 {
        transform-origin: 0 100%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar .menu-items {
        padding-top: 100px;
        background: #424268;
        height: calc(100vh + 10px);
        max-width: 300px;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        margin: -10px 0 0 -40px;
        padding-left: 60px;
        transition: transform 0.5s ease-in-out;
        box-shadow: 5px 0 10px 0 #aaa;
        overflow: scroll;
    }

    .navbar .menu-items li {
        margin-bottom: 1.8rem;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .logo {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 20px;
    }

    .navbar-container input[type="checkbox"]:checked~.menu-items {
        transform: translateX(0);
    }

    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line1 {
        transform: rotate(45deg);
    }

    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line2 {
        transform: scaleY(0);
    }

    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line3 {
        transform: rotate(-45deg);
    }

    .casino-wrapper,
    .logo-info,
    .footer-info,
    .footer-age {
        flex-wrap: wrap;
    }

}


@media (max-width: 500px) {
    .navbar-container input[type="checkbox"]:checked~.logo {
        display: none;
    }
}

p,
h4 {
    margin: 0;
}

section {
    margin: 50px 0;
}

.casino {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.casino img {
    max-height: 140px;
}

.casino-wrapper {
    display: flex;
    width: 100%;
    border-radius: 10px;

}

.casino-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    padding: 30px;
    text-align: center;
    border: 1px solid #939393;
    background: #393a9785;
}

.casino-item p {
    font-weight: 300;
    font-style: italic;
}

.casino-item h4 {
    font-size: 24px;
    font-weight: 700;
}

.btn {
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 5px;
    text-decoration: none;
}

.btn-red {
    background: #BF0813;
    color: white;
}

.btn-white {
    background: white;
    color: black;
}

.btn-blue {
    background: #212190;
    color: white;
}

.btn-green {
    background: #4E9800;
    color: white;
}

.btn-light-red {
    background: #ED2329;
    color: white;
}

footer {
    padding: 30px 70px;
    border: 1px solid white;
    margin: 40px 0;
}

.logo-info {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.logo-info img {
    width: auto;
    max-height: 30px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-age {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #393a97a6;
    padding: 30px;
}

.col-1 {
    flex: 1;
    justify-content: center;
    text-align: center;
}

.col-5 {
    flex: 5;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.col-5 h3 {
    font-weight: 500;
    padding-bottom: 10px
}

.footer-links {
    display: flex;
    gap: 10px;
}

.footer-links a {
    color: white;
}

.footer-info {
    text-transform: uppercase;
}

/*modal*/
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(57 58 151 / 78%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 300px;
    position: relative;
    color: black;
}

.modal .age-circle {
    background-color: #D50000;
    color: white;
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
}

.modal h2 {
    font-size: 18px;
    padding-bottom: 10px;
    color: black;
}


.modal button {
    background-color: rgb(57 58 151 / 78%);
    border: none;
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.modal button:hover {
    background-color: #e0a800;
}

.eighteen {
  text-align: center;
  padding-bottom: 100px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #393b97;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 40px;
    margin-bottom: 30px;
}

.eighteen__title {
  padding-bottom: 20px;
}