html{
    --font-celtic:'Celtic', Arial, sans-serif;
    --font-arial:'Arial Rounded', Arial, sans-serif;
    --btn-color: #996533;
    --bg-color-brown: #996533;
    --primary: #996533;
    --black: #000000;
    --white: #ffffff;
    --light-primary: #c49b76;
    --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;
}

.chien{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
    margin: 0 auto;
    gap: 3rem;
}
.chien-profil {
    flex: 1;
    max-width: 400px;
}

.chien_img {
    width: 80%;
    height: 80%;
    background-size: cover;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.chien_img img {
    width: 100%;
    height: 80%;
    object-fit: cover;
}

.chien-info {
    background-color: var(--light-primary);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    width: 50%;
}

.chien-info h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-celtic);
}
.chien-info p{
    text-align: center;
}

.caracteristiques {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.caracteristique {
    text-align: center;
    flex: 1;
}

.caracteristique strong {
    display: block;
    color: var(--dark-primary);
    font-size: 1.2rem;
}

.caractere-section{
    margin-top: 2rem;
    text-align: center;
}

.caractere-item {
    background-color: black;
    color: var(--white);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}


.pedigree-arbre {
    
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 80%;
}

.pedigree-titre {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
    font-family: var(--font-celtic);
}

.generation {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.generation-titre {
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.chien-genealogie {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--light-primary);
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.chien-genealogie-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.container-genealogie-info{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.chien-genealogie-info-nom{
    width: 70%;
    display: flex;
    flex-direction: column;
    margin-right: 1rem;
}

.chien-genealogie-info-img{
    width: 30%;
    display: flex;
    justify-content: center;
}

.chien-genealogie-info-img img{
    width: 70%;
}


.chien-genealogie-titre {
    font-weight: bold;
}


.autres{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    background-color: var(--bg-color-brown);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.btn-container_autres{
    display: flex;
    margin-top: 2rem;
}

.btn-container_autres .btn{
    margin-right: 2rem;
    background-color: var(--white);
    color: var(--primary);
}

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

/* Media Queries pour tablettes et grands mobiles */
@media screen and (max-width: 768px) {
    .chien {
        padding: 2rem 1rem;
        gap: 2rem;
    }
    
    .chien-info {
        width: 100%;
    }
    
    .chien-info h1 {
        font-size: 1.7rem;
    }
    
    .container-genealogie-info {
        flex-direction: column;
    }
    
    .chien-genealogie-info {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    .chien-genealogie-info-nom {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .chien-genealogie-info-img {
        width: 70%;
    }
    
    .chien-genealogie-info-img img {
        width: 80%;
    }
    
    .pedigree-arbre, .autres {
        width: 90%;
        padding: 1.5rem;
    }
}

/* Media Queries pour petits mobiles */
@media screen and (max-width: 480px) {
    .chien {
        padding: 1.5rem 0.8rem;
        gap: 1.5rem;
    }
    
    .chien-profil {
        max-width: 320px;
    }
    
    .chien_img {
        width: 90%;
    }
    
    .chien-info {
        width: 100%;
        padding: 1rem;
    }
    
    .chien-info h1 {
        font-size: 1.4rem;
    }
    
    .caracteristique {
        min-width: 80px;
        font-size: 0.9rem;
    }
    
    .caracteristique strong {
        font-size: 1rem;
    }
    
    .caractere-item {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
        margin: 0.2rem;
    }
    
    .pedigree-arbre, .autres {
        width: 95%;
        padding: 1rem;
    }
    
    .pedigree-titre {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .generation-titre {
        font-size: 0.9rem;
    }
    
    .chien-genealogie {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .chien-genealogie-info-img {
        width: 80%;
    }
    
    .btn-container_autres .btn {
        margin: 0.5rem;
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Media Query spécifique pour très petits écrans */
@media screen and (max-width: 360px) {
    .chien-info {
        width: 95%;
    }
    
    .btn-container_autres {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-container_autres .btn {
        margin: 0.4rem 0;
        width: 80%;
    }
}