/* Styles globaux */
body {
    font-family: "Barlow", serif;
    line-height: 1.8;
    background-color: #FFF8F1;
    color: #C6AC99;
    margin:0px;
}

/* En-tête */
header {
    text-transform: uppercase;
    border-bottom:4px solid #D9D9D9;
}
header h1 {
    font-size: 1.1rem;
    font-weight: 300;
    font-style: normal;
    transition: background-color 0.5s, color 0.5s;
    opacity: 0; /* Initial state for fade-in */
    animation: fadeIn 2s forwards; /* Apply fade-in animation */
    width:200px;
}

header a {
    display:block;
    float:right;
    background-color: #5B4D43;
    color: white;
    border: 1px solid #5B4D43;
    padding: 0.25rem 1rem;
    transition: background-color 0.5s, color 0.5s;
    font-weight: normal;
    font-weight: 200;
    font-size:0.75rem;
    text-decoration:none;
    margin-top:-0.25rem;
}

header a:hover {
    background-color: #FFF8F1;
    color: #5B4D43;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Section principale */
section {
    margin: 2rem 0;
}

section img{
    width:50%;
}
section h2 {
    font-size: 1rem;
    font-weight: 300;
    font-style: normal;
}

section hr {
    background-color:#5b4d43;
    border:none;
    margin:30px 0px;
    width:70px;
    height:1px;
}

section p {
    font-size: 1rem;
    font-weight: normal;
    font-weight: 200;
    text-align: justify;
}

#map {
    width: 100%;
    height: 400px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
}

.contact {
    color:black;
}

.contact h2{
    font-family: "Fahkwang",sans-serif;
    font-size:3.4rem;
    font-weight: 300;
}

.contact h3  {
    font-weight: 200;
    margin-bottom: 30px;
}

.contact a {
    text-decoration:none;
    font-weight: 500;
    color:black;
}

/* Table des horaires */
table {
    background-color: transparent;
    border: none;
    border-collapse: collapse;
    margin: 0 auto;
}
table td {
    text-align: left;
    font-size: 1rem;
    font-weight: 200;
    padding-left:30px;
}

/* Formulaire de contact */
section.formulaire .hero{
    background-color: #C6AC99;
}


section.formulaire .hero h3{
    color:white;
    font-family: "Fahkwang",sans-serif;
    font-size: 1.9rem;
    font-weight: 200;
}

section.formulaire .hero p{
    color:white;
    font-weight: 100;
}

form {
    max-width: 600px;
    margin: 0 auto;
}
form .form-control {
    margin-bottom: 1rem;
    border: 1px solid #000;
    border-radius: 0px;
    background-color: #FFF8F1;
}
form button {
    background-color: #5B4D43;
    color: white;
    border: 1px solid #5B4D43;
    padding: 0.35rem 1.5rem;
    transition: background-color 0.5s, color 0.5s;
    font-weight: normal;
    font-weight: 200;
    font-size:0.9rem;
}

form button:hover {
    background-color: #FFF8F1;
    color: #5B4D43;
}

/* Pied de page */
footer {
    background-color: #C6AC99;
    text-align: center;
    padding: 1rem 0;
    font-weight: normal;
    font-weight: 200;
    margin-top: 2rem;
}
