body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.contact-container {
    width: 90%;
    max-width: 600px;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin: 20px;
    align-self: center;
}

.contact-container h1 {
    text-align: center;
    color: #3000bb;
    font-family: 'Pacifico', cursive;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #865cff;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

button[type="submit"] {
    background-color: #865cff;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
    align-self: center;
    width: 50%;
}

button[type="submit"]:hover {
    background-color: #3000bb;
}

.thank-you-message {
    text-align: center;
    padding: 20px;
    background-color: #f0f8ff;
    border: 1px solid #865cff;
    border-radius: 8px;
    margin-top: 20px;
}

.thank-you-message h2 {
    color: #3000bb;
    font-family: 'Pacifico', cursive;
}

.thank-you-message p {
    color: #333;
    font-size: 16px;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .contact-container {
        padding: 20px;
    }

    button[type="submit"] {
        width: 100%;
    }
}