* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #fff;
    font-family: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #000000;
    background-image: url('src/ProgramerPNG/Assembly.jpeg');
    background-attachment: fixed;
    background-image: linear-gradient(rgba(0, 0, 0, 0.493), rgb(0, 0, 0)), url('src/ProgramerPNG/Assembly.jpeg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

main {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

button {
    background: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

h1 {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

#app {
    border-radius: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100wh;
}

.hasil {
    margin: 3%;
    position: relative;
    height: 80vh;
    width: 30vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.profile {
    position: absolute;
    width: 51%;
    height: 51%;
    z-index: 1;
    object-fit: cover;
    transform: translateY(-35%);
}

.kelangkahan {
    position: absolute;
    width: 64%;
    height: 62%;
    z-index: 2;
    transform: translateY(-27%);
}

.nametag {
    position: absolute;
    width: 64%;
    height: 62%;
    z-index: 3;
    transform: translateY(-27%);
}

.rare {
    transform: translateY(-38vh);
}

.nama {
    transform: translateY(-4vh);
    font-size: 15px;
}

.text {
    font-size: 20px;
    border-radius: 25px;
    text-align: center;
    position: relative;
    margin-top: 90%;
    width: 90%;
    height: 100%;
    z-index: 3;
    transform: translateY(19%);
    max-width: 100%;
    min-width: 0%;
    text-overflow: inherit;
}

/* Media Queries */
@media (max-width: 768px) {
    .hasil {
        height: 70vh;
        width: 80vw;
    }

    .profile {
        width: 51%;
        height: 51%;
        transform: translateY(-20%);
    }

    .kelangkahan, .nametag {
        width: 70%;
        height: 70%;
        transform: translateY(-20%);
    }

    .rare {
        transform: translateY(-30vh);
    }

    .nama {
        font-size: 14px;
    }

    .text {
        font-size: 18px;
        margin-top: 80%;
    }
}

@media (max-width: 480px) {
    .app {
        transform: translateY(-10%);
    }
    .hasil {
        height: 60vh;
        width: 90vw;
    }

    .profile {
        width: 65%;
        height: 65%;
        transform: translateY(-20%);
    }

    .kelangkahan, .nametag {
        width: 80%;
        height: 80%;
        transform: translateY(-15%);
    }

    .rare {
        transform: translateY(-20vh);
    }

    .nama {
        font-size: 13px;
    }

    .text {
        font-size: 11px;
        margin-top: 70%;
        transform: translateY(39%);
    }
}
