@font-face {
    font-family: "smiley";
    src: url(../font/Outfit-VariableFont_wght.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "smiley";
}

img {
    width: 100%;
    object-fit: cover;
    display: block;
}

video {
    object-fit: cover;
}

a {
    text-decoration: none;
}

b,
strong {
    font-weight: 400
}

em,
i {
    font-style: normal;
}

li {
    list-style: none;
}

input {
    border: 0;
    outline: 0;
}

button {
    outline: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

/* footer */
footer {
    width: 100%;
    height: fit-content;
    text-align: center;
    background-color: #000;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 0 10px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 60px;
}

footer a {
    color: #fff;
}

.img-box {
    position: relative;
}

.img-box::before {
    content: '';
    display: block;
}

.img-box>img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: rgb(170, 182, 189);
}

main {
    flex: 1;
}

:root {
    --all-width: 1000px;
    --searchBar: 270px;
    --button: 35px;
    --logo: 220px;
    --game-width: 900px;
    --game-height: 700px;
}

@media (max-width:799px) {
    :root {
        --all-width: 100%;
        --game-width: 100%;
        --searchBar: 100%;
        --game-height: 400px;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    color: #fff;
    padding: 14px 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-banner__content p {
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}

.cookie-banner__content a {
    color: #4da6ff;
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    font-family: "smiley";
    transition: opacity 0.2s;
}

.cookie-btn:hover {
    opacity: 0.85;
}

.cookie-btn--accept {
    background-color: #4da6ff;
    color: #fff;
}

.cookie-btn--decline {
    background-color: transparent;
    color: #ccc;
    border: 1px solid #555;
}
