@font-face {
    font-family: "Movavi Grotesque";
    src: url("/assets/fonts/movavi-grotesque.black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    font-size: calc(100vw / 322 * 10);
}

@media (min-width: 470px) {
    html {
        font-size: calc(100vw / 400 * 10);
    }
}
@media (min-width: 600px) {
    html {
        font-size: calc(100vw / 510 * 10);
    }
}
@media (min-width: 769px) {
    html {
        font-size: calc(100vw / 610 * 10);
    }
}
@media (min-width: 900px) {
    html {
        font-size: calc(100vw / 710 * 10);
    }
}
@media (min-width: 1025px) {
    html {
        font-size: calc(100vw / 810 * 10);
    }
}
@media (min-width: 1200px) {
    html {
        font-size: calc(100vw / 910 * 10);
    }
}

@media (min-width: 1400px) {
    html {
        font-size: calc(100vw / 1010 * 10);
    }
}

html,
body {
    min-height: 100vh;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    user-select: none;
    background: none;
    border: none;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    background-color: #212121;
    color: #fff;

    font-family: "Movavi Grotesque", sans-serif;
}

.bg {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 500px;
    margin: 0 auto;
    justify-content: space-between;
}
.bg::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    height: 100%;
    width: 100%;
    background: url("../img/bg-main.PNG") left / auto 100% no-repeat;
    background-position: center;
    aspect-ratio: 2/3;
}
/* .container {
    padding: 0 15px;
    max-width: 500px;
    margin: 0 auto;
} */

/**
  |============================
  | header
  |============================
*/
.header {
    transition: all 0.2s var(--ease-bezier);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: -0.1rem;
    z-index: 10;
}
.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header__balance {
    padding-top: 1rem;
    padding-right: 2.9rem;
    padding-bottom: 0.8rem;
    padding-left: 2.9rem;

    height: 6.3rem;
    min-width: 16.3rem;
    max-width: 220px;

    background-image: url(../img/header/table-balance.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: cover;

    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25);
    -webkit-text-stroke-color: #000;
    font-size: 1.8rem;
    line-height: 99.519%;
}
.header__gold {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.188rem;
    min-width: 10.6rem;
    height: 1.9rem;
    transform: rotate(-1.446deg);
    margin-bottom: 0.4rem;

    border-radius: 0.5rem;
    background: rgba(66, 30, 4, 0.5);
    box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.5) inset;
    backdrop-filter: blur(0.5px);
}
.header__gold > .header__icon {
    position: absolute;
    top: -0.2rem;
    left: -0.4rem;
}
.header__icon {
    width: 2.4rem;
    height: 2.4rem;
}
.header__silver {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.3rem;
    min-width: 10.6rem;
    height: 1.9rem;

    transform: rotate(-1.737deg);

    border-radius: 0.5rem;
    background: rgba(66, 30, 4, 0.5);
    box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.5) inset;
    backdrop-filter: blur(0.5px);
}
.header__silver > .header__icon {
    position: absolute;
    top: -0.2rem;
    right: -0.4rem;
}
.header__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 13.3rem;
    height: 6.3rem;
    gap: 0.8rem;

    background-image: url(../img/header/table-menu.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: cover;
}
.header__lang-button {
}
.header__lang-button > img {
    width: 3.5rem;
    height: 2.8rem;
}
.header__menu-button {
}
.header__menu-button > img {
    width: 2.8rem;
    height: 2.5rem;
}

/**
  |============================
  | main
  |============================
*/

main {
    height: 100% !important;
    width: auto !important;
    overflow-x: hidden;
}

.hero__section {
}
.hero__media {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero__image {
    width: 100%;
    min-width: 320px;
    max-width: 320px;
    min-height: 351px;
}
.hero__cart {
    margin-top: -20px;
    width: 137px;
}
.hero__info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 28px 10px 22px;
    width: 100%;
    max-width: calc(100% - 20px);
    margin: 0 auto;

    background-image: url(../img/bottom-table.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: cover;
}
.hero__counter {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 138px;

    border-radius: 7px;
    background: rgba(66, 30, 4, 0.5);
    box-shadow: 0px 1px 2px 2px rgba(0, 0, 0, 0.25) inset;
}
.hero__egg {
    width: 38px;
}
.hero__count {
}
.hero__button {
}

/**
  |============================
  | footer
  |============================
*/

.footer {
    margin-top: -1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    width: 100%;
    background-image: url(../img/footer/footer.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: cover;
}
.footer__container {
    padding: 0;
}
.footer__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.8rem 1.8rem 1.5rem;
}
.footer__list {
    display: flex;
    align-items: center;
    width: 100%;
}
.footer__item {
    width: calc(100% / 5);
}

.footer__link {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer__icon {
    height: 4.4rem;
    margin-bottom: -1.7rem;
}
.footer__text {
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
    -webkit-text-stroke-color: #4f2b05;
    font-family: "Movavi Grotesque";
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 900;
    line-height: 137.796%;
}
