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

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
 
}

a {
    text-decoration: none;
}


button:focus {
    outline: none;
}


.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.background-1 {
    background-image: url('../images/bg1.jpg');
}

.btn-wrap {
    position: absolute;
    width: 170px;
    height: 170px;
}

.btn-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none; 
}


.btn {
    position: absolute;
    width: 90px;
    height: 90px;
    top: 45px;
    left: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #848484;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    background: none;
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
}

.btn-p1-next-wrap {
    left: 1.5%;
    top: 22%;
}

.btn-p1-sound-wrap {
    left: 25%;
    bottom: 10%;
}

.text-p1-next {

    line-height: 1.2;
    transform: translate(-50%, 33%);
    position: relative;
}

.text-p1-sound {
    line-height: 1.2;
    transform: translate(-7%, 30%);
    position: relative;
}




.background-2 {
    background-image: url('../images/bg2.jpg');
}

.btn-p2-prev-wrap {
    left: 1.5%;
    top: 5%;
}

.btn-p2-next-wrap {
    right: 1.5%;
    top: 22%;
}

.btn-p2-sound-wrap {
    left: 21%;
    bottom: 10%;
}

.text-p2-prev
{
    line-height: 1.2;
    position: relative;
    transform: translate(-50%, 35%);
}

.text-p2-next
{
    line-height: 1.2;
    position: relative;
    transform: translate(10%, 30%);
}

.text-p2-sound {
    line-height: 1.2;
    position: relative;
    transform: translate(-43%, 10%);
}





.background-3 {
    background-image: url('../images/bg3.jpg');
}

.btn-p3-prev-wrap {
    right: 1.5%;
    bottom: 5%;
}

.btn-p3-sound-wrap {
    left: 41%;
    bottom: 33.5%;
    width: 120px;
    height: 120px;
}

.text-p3-prev {
    line-height: 1.2;
    position: relative;
    transform: translate(25%, 33%);
}

.text-p3-sound {
    line-height: 1.2;
    position: relative;
    transform: translate(-60%, -30%);
}



@media (max-width: 768px) {
    .btn-wrap {
        width: 90px;
        height: 90px;
    }

    .btn {
        width: 45px;
        height: 45px;
        top: 22px;
        left: 22px;
        font-size: 9px;
    }


    .text-p3-sound {
        line-height: 1.2;
        position: relative;
        transform: translate(0%, 45%);
    }
}
