@font-face {
    font-family: minecraft;
    src: url(../font/minecraft.ttf)
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: #f0f0f0 url(../images/background-2.webp) center/cover no-repeat;
    overflow: hidden;
    font-family: minecraft
}

.bow-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #ffffff24, transparent);
    z-index: 1;
    border-top-right-radius: 50%
}

.img {
    position: absolute;

    img {
        width: 300px
    }
}

.content {
    position: absolute;
    top: 70%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%)
}

.bow-arrow {
    position: absolute;
    bottom: 0;
    left: 0
}

.content .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center
}

.content .title {
    font-size: 12px;
    color: #ff0;
    margin: 0;
    height: 18px;
    display: block
}

.content .name {
    font-size: 12px;
    color: #fff;
    margin: 0;
    height: 18px;
    display: block
}

.circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center
}

.circle img {
    width: 100%;
    height: auto;
    border-radius: 50%
}

.card {
    width: 130px;
    height: 40px;
    background: url(../images/menu.webp) center / contain no-repeat;
    position: absolute;
    display: flex;
    color: #fff;
    transform-origin: top center;
    font-size: 14px;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.card span {
    height: 18px
}

.card:nth-child(1) {
    transform: rotate(0) translateY(-300px)
}

.card:nth-child(2) {
    transform: rotate(30deg) translateY(-300px)
}

.card:nth-child(3) {
    transform: rotate(60deg) translateY(-300px)
}

.card:nth-child(4) {
    transform: rotate(90deg) translateY(-300px)
}

.card:nth-child(5) {
    transform: rotate(120deg) translateY(-300px)
}

.card:nth-child(6) {
    transform: rotate(150deg) translateY(-300px)
}

#arrow,
#bow {
    position: absolute;
    left: 10px;
    bottom: 10px;
    width: 100px;
    transform-origin: center
}

#arrow {
    pointer-events: none;
    z-index: 2
}

#bow {
    cursor: pointer;
    z-index: 3
}

#bow img,
#arrow img {
    width: 100%;
    height: auto;
    display: block
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    z-index: 10
}

.modal.active {
    display: flex
}

.modal-content {
    padding: 24px;
    width: 80%;
    max-width: 500px;
    position: relative;
    font-family: minecraft;
    background: #999 url(../images/bgbtn.webp) center / cover;
    image-rendering: pixelated;
    border: 2px solid #000;
    box-shadow: inset -2px -4px #0006, inset 2px 2px #FFF7
}

.modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: 0;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

.modal h2 {
    margin-bottom: 0;
    font-size: 20px;
    color: #ddd;
    text-shadow: 2px 2px #000A;
    margin-top: 0;
    height: 25px;
}

.modal p {
    line-height: 1.4;
    color: #ddd;
    text-shadow: 2px 2px #000A
}

.modal a,
.modal li {
    color: #ddd;
    text-shadow: 2px 2px #000A;
    text-decoration: none;
}

.gitme {
    display: block;
    font-size: 8px
}

.popover {
    display: none;
    position: absolute;
    bottom: 120px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 5;
    height: 20px
}

.toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #212121;
    border: 0;
    color: #fff;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    z-index: 10;
    height: 40px
}

@media screen and (max-width: 768px) {

    .bow-arrow,
    .toggle-btn {
        display: none
    }

    .card {
        transform: none !important;
        position: relative;
    }

    .circle {
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        gap: .3em;
        position: absolute;
        top: 75%;
    }

    .modal p {
        font-size: 14px;
    }
}