@import url('base.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('../image/page_background_bleu.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 2rem;
    z-index: 10;
}

.contact-form {
    background-color: var(--primary-color-light);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: 'please-write-me-a-song', serif;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    transition: border-color 0.3s ease;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(255, 216, 49, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color-light);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'please-write-me-a-song', serif;
}

.submit-btn:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Media queries for smaller screens */
@media (max-width: 768px) {
    .contact-title {
        font-size: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
        max-width: 100%;
    }

    .form-group label {
        font-size: 1rem;
    }
}