.container-third .bg {
    width: 100%;
    height: 100dvh;
}

.container-third .bg {
    position: relative;
}


.container-third .bg img {
    width: 100%;
    position: absolute;
    bottom: 0;
    image-rendering: pixelated;
    background-repeat: no-repeat;
    background-size: cover;
}

.container-third .hero img {
    width: 150px;
    position: absolute;
    bottom: 100px;
    left: 50px;
    image-rendering: pixelated;
    background-repeat: no-repeat;
    background-size: cover;
}

.container-third .boss img {
    width: 300px;
    position: absolute;
    bottom: 100px;
    right: 50px;
    image-rendering: pixelated;
    background-repeat: no-repeat;
    background-size: cover;
}

.container-first {
    background-image: url(/assets/Design/newBGBOSSFIGHT.gif);
    background-repeat: no-repeat;
    background-size: cover;
    image-rendering: pixelated;
    background-position: center;
}

.container-first .content .boss {
    width: 100%;
    height: 100dvh;
    position: relative;
    animation: beat 2s infinite;
    transform-origin: center;
}

.container-first .content .boss img {
    width: 600px;
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    image-rendering: pixelated;
    background-repeat: no-repeat;
    background-size: cover;
}

.container-first .content .boss .dmg {
    width: 600px;
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    image-rendering: pixelated;
    background-repeat: no-repeat;
    background-size: cover;
    display: none;
}

@keyframes shake {
    0% {
        transform: translateX(-50%);
    }

    25% {
        transform: translateX(calc(-50% - 5px));
    }

    50% {
        transform: translateX(calc(-50% + 5px));
    }

    75% {
        transform: translateX(calc(-50% - 5px));
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-shake {
    animation: shake 0.3s ease-in-out;
}

.container-first .hearts {
    position: absolute;
    top: 322px;
    left: 50%;
    transform: translateX(-50%);
    image-rendering: pixelated;
    z-index: 999;
}

.container-first .hearts img {
    width: 50px;
}

.container-first .content .quiz {
    width: 1000px;
    height: 200px;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #101010f5;
    position: absolute;
    display: flex;
    justify-content: start;
    text-align: center;
    align-content: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    border: 10px solid white;
}

.container-first .content .quiz h2 {
    margin-bottom: 30px;
    padding: 10px;
    color: #ffdf12;
    font-size: 40px;
}

.container-first #scoreAlert {
    margin-bottom: 30px;
    padding: 10px;
    color: #ffdf12;
    font-size: 40px;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
}

.container-first .content .quiz #btn-answer {
    color: #ffdf12;
    display: flex;
    justify-content: center;
}

.container-first .content .quiz #btn-answer button {
    padding: 10px;
    color: #ffdf12;
    font-size: 30px;
    background-color: #f7e62e34;
    margin: 5px;
    border-radius: 10px;
    cursor: pointer;
}

@keyframes beat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

.container-load {
    position: relative;
    min-height: 100dvh;
}

.container-load .bg {
    background-size: cover;
    width: 100%;
    height: 100dvh;
    position: absolute;
    z-index: -999;
}

.container-load .anm {
    font-size: 25px;
    background-size: cover;
    position: absolute;
    bottom: 50%;
    text-align: center;
    width: 100%;
}

.container-load .hero {
    width: 100px;
    position: absolute;
    image-rendering: pixelated;
    bottom: -5%;
    left: 5%;
    transform: translate(-50%, -50%);
    z-index: 999;
}

.floating-points {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffdf12;  
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 0px #000; 
    pointer-events: none; 
    z-index: 999;
    animation: floatUp 1s ease-out forwards;
}

@keyframes floatUp {
    0%{
        opacity: 1;
        transform: translate(-50%,-50%) scale(1);
    }
    100%{
        opacity: 0;
        transform: translate(-50%, -150%) scale(1.5)
    }
}
