/* /pictures/assets/web_assembly/montre_calcaire.png */

main {
    background-image: url('/pictures/assets/wallpaper/blue_little_glitch.gif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
};

/* Styles pour la page de contact */

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-intro {
    position: relative;
    width: 100%;
}

.contact-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    margin-left: -2rem;
    margin-right: -2rem;
}

.contact-text {
    flex: 2;
    font-size: 1.4rem;
    line-height: 1.8;
    color: #fff;
    padding-left: 2rem;
    position: relative;
    z-index: 2;
}

.contact-image {
    flex: 1;
    position: relative;
    z-index: 2;
    transform: skew(-10deg);
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: skew(10deg); /* Correction pour réaligner l'image */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.contact-line::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent 70%);
    transform: skew(-10deg);
    top: 0;
    left: 0;
    z-index: 1;
}

/* Formulaire */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    margin-left: -2rem;
    margin-right: -2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 2rem;
}

.form-group label {
    font-weight: bold;
    color: #fff;
}

input, textarea, select {
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

.btn {
    align-self: flex-end;
    padding: 0.8rem 2rem;
    background-color: #007bff;
    color: #fff;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: background 0.3s ease;
    margin-right: 2rem;
}

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