body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

html {
    margin: 0;
    padding: 0;
}

.container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    margin: 20px auto; /* Üstten ve alttan boşluk */
    text-align: center;
}

h1 {
    text-align: left;
    margin-bottom: 20px;
}

h2 {
    text-align: left;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

label {
    margin-top: 10px;
    text-align: left;
    width: 100%;
}

input, select, textarea {
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

.button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px; /* Alt boşluk */
}

.button-group a {
    text-decoration: none;
}

.button-group button {
    padding: 10px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button-group button:hover {
    background-color: #0056b3;
}

#calculateButton {
    background-color: #28a745;
}

#calculateButton:hover {
    background-color: #218838;
}

.index-logo {
    width: 200px;
    margin: 20px auto; /* Üstten ve alttan boşluk */
    display: block;
}

.footer {
    margin-top: 40px;
    font-size: 14px;
    color: #777;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer a {
    text-decoration: none;
    color: #007bff;
}

.footer a:hover {
    text-decoration: underline;
}

/* Mobil cihazlar için medya sorguları */
@media (max-width: 600px) {
    .container {
        padding: 15px;
        margin: 0; /* Mobilde üstten boşluk bırakmamak için */
    }
    .button-group {
        flex-direction: column;
        align-items: stretch;
    }
    .button-group a {
        flex: 1 1 100%; /* Tam genişlikte */
    }
    .button-group button {
        margin: 5px 0;
        width: 100%;
    }
    .logo {
        width: 100%;
        max-width: 300px;
    }
    label {
        text-align: center;
    }
}