

.reload-icon-container {
    text-align: center;
    margin-top: 10px; /* İkonun slider'dan ne kadar aşağıda olacağını kontrol eder */
}

#reload-icon {
    width: 40px; /* İkonun genişliğini ayarlayabilirsiniz */
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

#reload-icon:hover {
    opacity: 1;
}


body.blocked {
    position: fixed;
    height: 100%;
    width: 100%;
}


/* Varsayılan stil (masaüstü) */
.puzzle {
    width: 400px;
    height: 180px;
    position: relative;
    background: 
        radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(135deg, #444, #777);
    background-size: 10px 10px, 100% 100%;
    border: 2px solid #ccc;
    box-sizing: border-box;
    border-radius: 8px;
    overflow: hidden;
}

.target {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 65px;
    left: 220px;
    background-color: white;
    border-radius: 5px;
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    z-index: 1;
}

.puzzle-piece {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 65px;
    left: 0;
    background-color: #fbd211;
    border-radius: 5px;
    box-sizing: border-box;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.slider-container {
    margin-top: 20px;
    position: relative;
    width: 400px;
    height: 20px;
    background: linear-gradient(to right, #e0e0e0, #f7f7f7);
    border-radius: 15px;
    box-sizing: border-box;
}

.slider {
    width: 70px;
    height: 40px;
    background: linear-gradient(to right, #6A5ACD, #836FFF);
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    top: -5px;
    left: -5px;
    box-sizing: border-box;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.slider:hover {
    transform: scale(1.5);
}

.slider::after {
    content: '\2192';
    color: white;
    font-size: 18px;
}

.example-slider {
    transform: scale(1.5); /* Hover sırasında büyüme etkisi */
}

/* Mobil cihazlar için stil (maksimum genişlik 768px) */
@media only screen and (max-width: 768px) {
    .puzzle {
        width: 100%; /* Genişliği ekranın %100'ü olacak şekilde ayarladık */
        height: 160px; /* Yüksekliği biraz küçülttük */
    }

    .target {
        width: 40px; /* Daha küçük cihazlarda daha küçük hedef */
        height: 40px;
        top: 60px; /* Hedefin top pozisyonunu biraz yukarı çektik */
        left: calc(50% - 20px); /* Hedefi ortaladık */
    }

    .puzzle-piece {
        width: 40px;
        height: 40px;
        top: 60px;
        left: 0;
    }

    .slider-container {
        width: 100%; /* Genişliği ekranın %100'ü olacak şekilde ayarladık */
        height: 20px;
        border-radius: 10px;
    }

    .slider {
        width: 70px;
        height: 40px;
        top: -10px;
        left: -5px;
        font-size: 14px; /* Ok işaretini biraz küçülttük */
    }


}


/* Küçük mobil cihazlar için stil (maksimum genişlik 480px) */
@media only screen and (max-width: 480px) {
    .puzzle {
        height: 140px;
    }

    .target {
        width: 35px;
        height: 35px;
        top: 55px;
        left: calc(50% - 17.5px); /* Hedefi ortalamak için ayarladık */
    }

    .puzzle-piece {
        width: 35px;
        height: 35px;
        top: 55px;
        left: 0;
    }

    .slider-container {
        height: 20px;
    }

    .slider {
        width: 70px;
        height: 40px;
        font-size: 15px; /* Ok işaretini daha da küçülttük */
    }

}