/* Color Picker Sayfası */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');


.color-picker-container {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 100px; /* Header alanı için boşluk bırak */
    justify-content: center;
    font-family: 'Poppins', sans-serif; /* Poppins fontu kullanımı */

}

.picker-area {
    width: 450px;
    height: 300px;
    position: relative;
}

.color-picker-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 25px; /* Köşe yuvarlama */
    overflow: hidden;
    border: 1px solid #33333324; /* Transparan siyah kenarlık */
    position: relative;
    background-color: #9e0000; /* Başlangıç rengi */
}

#colorPicker {
    width: 100%;
    height: 100%;
    cursor: pointer;
    border: none;
    outline: none;
    background-color: transparent;
    opacity: 0; /* Gömülü renk seçici görünmez hale geliyor */
    -webkit-appearance: none;
    appearance: none;
}

.color-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 250px; /* Genişletilmiş renk kodu alanı */
}

.color-code {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    position: relative;
    opacity: 0;
    transform: translateY(20px); /* Hafif aşağıda başlatmak için */
}

.color-code span {
    display: inline-block;
    width: 45px; /* Daha dar genişlik */
}

/* Değer alanları için minimum genişlik */
#rgbValue,
#cmykValue,
#hexValue,
#hslValue,
#cssValue {
    min-width: 235px;
    white-space: nowrap; /* Tek satırda görüntülenmesi için */
}

.color-code img {
    cursor: pointer;
    width: 30px;
    height: 30px;
}

/* Kopyalama bildirimi için popup */
.copy-popup {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.copy-popup.show {
    opacity: 1;
}
@media (max-width: 768px) {
    .color-picker-container{
        flex-direction: column;
    }
    .color-picker-wrapper{
        margin:0 auto;
        width: 80%;
    }
}
/* Görünürlüğü başta sıfır olan bir animasyon */
.fade-in {
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}