* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 100%;
    height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.background {
    position: relative;
    top: 0;
    left: 0;
    width: 550px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.background img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.main-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.reward {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reward img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 550px;
}

.frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.middle {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 50px;
}

.middle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.playbutton {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 200px;
}

.playbutton img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popout-win {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popout-win.show {
    display: flex;
}

.popout-win .image-win {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.popout-win .image-win img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popout-win .buttons {
    position: absolute;
    bottom: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
}

.popout-win .buttons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}
@media (max-width: 414px) {
    .frame {
        max-width: 450px;
    }
    .reward {
        max-width: 250px;
    }
    .text {
        max-width: 200px;
    }
    .middle {
        max-width: 40px;
    }
}

@media (max-width: 375px) {
    .frame {
        max-width: 400px;
    }
    .reward {
        max-width: 220px;
    }
    .text {
        max-width: 200px;
    }
    .middle {
        max-width: 40px;
    }
}

@media (max-width: 360px) {
    .frame {
        max-width: 400px;
    }
    .reward {
        max-width: 220px;
    }
    .text {
        max-width: 200px;
    }
    .middle {
        max-width: 40px;
    }
}