@import "./fonts.css";
@import "./games.css";
@import "./flags.css";
@import "./variables.css";


* {
    margin: 0;
    padding: 0;
    /* cursor: none; */
    -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none !important;
}

.banner_image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    height: 22vh;
    max-width: 90vw;
    background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0) 70%,
            rgba(0, 0, 0, 1) 100%
        ),
        url("/assets/background/lower_display.webp");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 20% 70%;
}
.banner_image img{

    position: relative;
    top:50%;
    height: 8vh;
    transform: translate(0, -50%);
}

.blur-load {
    filter: blur(10px);
}

body,
html {
    height: 100%;
    margin: 0;
}

body {
    background-color: black;
}

body {
    width: 100%;
    height: 100%;
    position: relative;
}

h1,
h2 {
    text-align: center;
    color: white;
    text-transform: uppercase;
}

h1 {
    font-family: RobotoBold;
    font-size: 76px;
}

h2 {
    font-family: Roboto;
    font-size: 32px;
}

#games_carousel {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 78%;
}

.carousel-control {
    width: 5%;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    margin-top: -5vw;
    width: 5vw;
    height: 5vh;
}
.carousel-inner {
    width: 100%;
    height: 100%;
}
.carousel-item {
    width: 100%;
    height: 100%;
    padding: 0 6vw 0vh;
}

.bottom_wrapper_1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    height: -webkit-fill-available;
    column-gap: 0.5rem;
    row-gap: var(--grid-row-gap);
}

.game-wrapper {
    width: 100%;
    max-height: calc((100vh - 22vh -  3 * var(--grid-row-gap)) / 3);
    display: flex;
    flex-direction: column;
}

.flags-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-around;
    align-items: center;
}

.game {
    display: flex;
    position: relative;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    min-width: 0;
    min-height: 0;
    align-self: end;
    margin-bottom: 1rem;
}
.game a {
    display: block;
    width: 100%;
}
.gameImg {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: filter 0.3s ease-in-out;
}

.gameText {
    color: white;
    position: absolute;
    font-weight: bold;
    font-size: 1.2rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
}

.gameImgWrap {
    position: relative;
    border-radius: var(--border-radius);
    border: 2px solid white;
    overflow: hidden;
}

/* .gameImgWrap::before{
    content: "";
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    border-radius: var(--border-radius);
    border: 2px solid white;
    transition: all 0.3s ease-in-out;   
}

.gameImgWrap:hover::before {
    box-shadow: inset 0 0 60px 60px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
} */

.flag {
    width: 5vw;
    height: auto;
    margin: 0% auto;
    display: block;
}

@media screen and (orientation: landscape) {
    .flag {
        width: 2vw;
    }

    .carousel-item {
        padding: 0vh 16vw 0vh;
    }
    .bottom_wrapper_1 {
        column-gap: 3rem;
    }
}
#football_on_fire_dice {
    border: solid var(--border-width) transparent;
    border-radius: var(--border-radius);
    background-clip: padding-box;
    position: relative;
}

#football_on_fire_dice img {
    border-radius: var(--border-radius);
}
#football_on_fire_dice::before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: calc(var(--border-width) * -1); /* !importanté */
    border-radius: inherit; /* !importanté */
    background: var(--border-bg);
}

.body-container {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(0px);
}

.body-container.vape {
    animation: andvape 0.5s ease-in-out forwards;
}

.body-container.unvape {
    animation: andUnvape 0.5s ease-in-out forwards;
}

.card {
    border: 3px solid var(--login-border);
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: var(--border-radius);
    padding: 4rem 8rem;
    transition: all 0.3s ease-in-out;
}

.card-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.card-title {
    color: white;
    margin-bottom: 4vh;
    font-size: 3rem;
}

.input-field {
    margin-bottom: 10px;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-5px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes andvape {
    0% {
        backdrop-filter: blur(10px);
    }
    50% {
        backdrop-filter: blur(50px);
    }
    100% {
        backdrop-filter: blur(0px);
    }
}

@keyframes andUnvape {
    0% {
        backdrop-filter: blur(0px);
    }
    50% {
        backdrop-filter: blur(50px);
    }
    100% {
        backdrop-filter: blur(10px);
    }
}

.card.error {
    animation: shake 0.5s;
    --login-border: #f44336;
}

input[type="text"] {
    border: 2px solid var(--login-border);
    background: black;
    margin: 4px 2px;
    padding: 8px;
    color: white;
    font-size: 1.5rem;
    outline: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease-in-out;
}

.login-button {
    background-color: var(--login-border);
    border: none;
    border-radius: var(--border-radius);
    color: black;
    font-size: 1.5rem;
    padding: 8px 16px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    margin-top: 2rem;
    cursor: pointer;
}
