html{
    --font-celtic:'Celtic', Arial, sans-serif;
    --font-arial:'Arial Rounded', Arial, sans-serif;
    --btn-color: #996533;
    --bg-color-brown: #996533;
    --white: #ffffff;
    --black: #000000;
    --dark-primary: #7a502a;
}

@font-face {
    font-family: 'Celtic';
    src: url('../fonts/CELTG___.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Arial Rounded';
    src: url('../fonts/arlrdbd.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.wrap{
    
}

.header{
    height: 105vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/accueil_fond.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 2rem;
    opacity: 3;
    margin-top: -1rem;
}

.titres{
    color: #996533;
}

.intro{
    color: white;
}



/* ~~~~~~~~~~~~~~~~ Cartes ~~~~~~~~~~~~~~~~~~~~~~~ */
.cards_links{
    
    
}

.cards{
    margin: 3%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.card-item {
    width: 18rem;
    transition: box-shadow 0.3s ease-in-out;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.card-item:hover {
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);
}

/* ~~~~~~~~~~~~~~~~Elevage~~~~~~~~~~~~~~~~~~~~~~~ */
.about{
    background-color: var(--bg-color-brown);
    color: var(--white);
    padding: 4rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    gap: 2rem;
    margin-bottom: 2rem;
}

.about-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: var(--font-arial);
}

.about-text h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-family: var(--font-celtic);
}

.about-text p {
    color: var(--white);
    margin-bottom: 1rem;
}

.about-image {
    display: flex;
    justify-content: flex-end;
    width: 25%;
}

.about-image img {
    width: 100%;
    

}

/* ~~~~~~~~~~~~~~~~Contact~~~~~~~~~~~~~~~~~~~~~~~ */
.contact {
    background-color: var(--primary);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--dark-primary);
}

.contact h2 {
    font-size: 3rem;
    font-family: var(--font-arial);
    margin-bottom: 1rem;
    font-weight: bold;
}

.contact p {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.btn{
    display: inline-block;
    background-color: var(--btn-color);
    color: white;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 30px;
    border: 0;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    background-color: var(--dark-primary);
    transform: translateY(-3px);
}

@media  screen and (max-width: 768px) {

    .header {
        width: 100%;
    }
    
    .cards{
        margin: 3%;
        display: flex;
        flex-direction: column;
        width: 90%;
    }

    .card-item{
        margin-top: 2rem;
        margin-bottom: 2rem;
        width: 100%;
    }

    .about{
        display: flex;
        flex-direction: column;
    }

    .about-text {
        width: 70%;
        display: flex;
        
    }

    .about-image {
        width: 50%;
    }

    
}


