*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.container{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
}
.background{
    position: relative;
    width: 600px;
    height: 100vh;
    overflow: hidden;
}
.background img{
    width: 100%;
    height: 100%;
    object-fit: fill;
}
.main-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.text{
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.text img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.models{
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.models img{
    width: 100%;
    max-width: 350px;
    object-fit: contain;
}
.frame{
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.frame img{
    width: 100%;
    max-width: 500px;
    object-fit: contain;
}
.scratch{
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}
.items1{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
.items1 .scratch-card{
    width: 100%;
    max-width: 100px;
    position: relative;
    cursor: crosshair;
}
.items2{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
.items2 .scratch-card{
    width: 100%;
    max-width: 100px;
    position: relative;
    cursor: crosshair;
}
.scratch-card{
    position: relative;
    display: inline-block;
}
.scratch-card img{
    width: 100%;
    max-width: 100px;
    object-fit: contain;
    display: block;
}

.popout-win{
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.popout-win.show{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.popout-win .image-win img{
    width: 100%;
    height: 100%;
    max-width: 400px;
    display: block;
    object-fit: contain;
}
.popout-win .buttons{
    margin-top: 200px;
    display: flex;
    justify-content: center;
}
.popout-win .buttons img{
    width: 100%;
    max-width: 250px;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}
@media (max-width: 430px) {
    .scratch{
        max-width: 80%;
    }
    .models{
        top: 92%;
        max-width: 300px;
    }
}
@media (max-width: 414px) {
    .text{
        max-width: 250px;
    }
    .models{
        max-width: 250px;
    }
}