/* Genel stil ayarları */
body {
    font-family: Arial, sans-serif;
    background-color: #f3e414;
    margin: 0;
    padding: 0;
}

/* Konteynerin stil ayarları */
.container {
    width: 100%;
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
}

/* Başlık stil ayarları */
h1 {
    text-align: center;
    color: #333;
}

/* Yorum alanı formunun stil ayarları */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

form label {
    font-weight: bold;
    color: #333;
}

form input, form textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
}

form textarea {
    resize: vertical;
    height: 150px;
}

form button {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #45a049;
}

/* Yorumlar kısmı stil ayarları */
#commentsSection {
    margin-top: 30px;
}

#commentsList {
    max-height: 400px; /* Burada yükseklik değerini istediğiniz gibi ayarlayabilirsiniz */
    overflow-y: scroll; /* Yorumlar fazla olursa scroll bar ekler */
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9; /* İsteğe bağlı, arka plan rengi */
    border-radius: 5px; /* İsteğe bağlı, köşe yuvarlama */
    box-sizing: border-box;

}

.comment {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comment .name {
    font-weight: bold;
    color: #333;
}

.comment .text {
    color: #555;
}

/* Scroll to Top Button */
#topButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    display: none;
    transition: background-color 0.3s;
}

#topButton:hover {
    background-color: #45a049;
}

/* Modal için stil */
.modal {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 100px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    text-align: center;
}

.modal-content input {
    padding: 10px;
    margin-top: 10px;
    width: 80%;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.modal-content button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.modal-content button:hover {
    background-color: #45a049;
}

/* Responsive ayarları */
@media (max-width: 600px) {
    .container {
        width: 95%;
        padding: 15px;
    }

    form input, form textarea {
        font-size: 14px;
    }

    form button {
        font-size: 14px;
    }

    #topButton {
        font-size: 16px;
        padding: 8px;
    }
}



