body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    text-align: center;
    background-color: #f0f0f0;
    overflow: hidden; /* Taşmaları önlemek için */
}

.background {
    position: relative; /* Overlay için konumlandırma ayarı */
    height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./asd.png'); /* Arka plan resmi */
    background-repeat: repeat; /* Yatay ve dikey tekrar */
    background-size: auto; /* Orijinal boyut */
    filter: brightness(0.2);
    opacity: 0.8; /* Karanlık görünüm için opaklık ayarı */
    z-index: -1; /* İçeriklerin üstüne çıkmaması için */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(254, 1, 1); /* Karanlık katman */
    z-index: 0; /* İçeriklerin altında */
}

.content {
    position: relative;
    z-index: 1; /* İçeriği overlay'in üstünde tutmak için */
}

h1 {
    color: white;
    font-size: 3rem;
    margin: 0;
    text-shadow: 2px 2px 4px #000;
}

button {
    padding: 12px 24px;
    font-size: 1.2rem;
    margin-top: 20px;
    border: none;
    border-radius: 30px;
    background-color: #ff4d4d;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:hover {
    background-color: #ff6666;
    transform: translateY(-2px);
}

#messageBox {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 2;
}

.heart {
    padding: 20px;
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ff4d4d;
}

.close:hover {
    color: #ff6666;
}

.hidden {
    display: none;
}

/* Responsive Tasarım */
@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }

    button {
        font-size: 1rem;
    }

    #messageBox {
        width: 90%;
        padding: 15px;
    }
}
