:root{
    --main-color: rgb(31, 31, 31);
    --secondary-color: rgb(70, 70, 70);
    --background-color: rgb(219, 213, 225);
    --light-background-color: rgb(249, 237, 245);
    --font-family: 'Roboto', Arial, sans-serif;
}

.large-div{
    display:flex;
    width: 100vw;
    height: auto;
}

#large-div-breeding-short-description{
    background-color:var(--light-background-color);
    padding : 40px 0;
    justify-content: center;
  
}


.large-div-breeding-short-description-photo{
    width: 500px;
    height: 400px;
    z-index: 1;
}
.large-div-breeding-short-description-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0 -330px;
}

.div-text-breeding-short-description{
    width: 600px;
    height:fit-content;
    position: relative;
    background-color: white;
    z-index: 2;
    margin : 160px 0 0 -40px;
    display: flex;
    padding: 20px;
    font-family:'Roboto', Arial, sans-serif;
    flex-direction: column;
}

.div-text-breeding-short-description h1{
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 2px; color: rgb(31, 31, 31);
}
.div-text-breeding-short-description p{
    line-height: 2;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight:600;
    letter-spacing: 1px; color: rgb(70, 70, 70);
 }

/* current-litters */

#div-current-litters{
    width:100vw;
    background-color :var(--background-color);
    display: flex;
    flex-direction: row;
    justify-content: center;
   
    flex-wrap: wrap;
    margin: 0 auto;
    height: fit-content;
    padding-bottom:20px;
}
.div-photo-current-litters{
    width:30vw;
    height: 30vw;
    position: relative;
    float: right;
    padding: 20px;
}
.div-photo-current-litters img {
    width: 100%;
    height: 100%;
    flex-shrink: 1; 
    /* autorise l'image à rétrécir dans le flex container */
    object-fit: cover;
    object-position:center center;
    display: block; /*évite les espaces indésirables sous l'image*/
}


.div-text-current-litters{
    width:50%;
    height:fit-content;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    font-family:'Roboto', Arial, sans-serif;
    flex-direction: column;
}

.div-text-current-litters h1{
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 50px;
    letter-spacing: 2px; color: rgb(31, 31, 31);
}
.div-text-current-litters h2{
    font-size: 2rem;
    font-family:Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    letter-spacing: 2px; 
    color: rgb(31, 31, 31);
    text-align: center;
}
.div-text-current-litters p{
    line-height: 2;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight:600;
    letter-spacing: 1px; color: rgb(70, 70, 70);
    padding: 0 20px;
 }

/*STYLE DU BOUTON CONTACT */
.boutonContactezNous{
    margin : 20px 0 0 0;
    display: flex;
    justify-content: left;
    align-items: center;
}

#boutonContactezNous{
    display: inline-block;
    text-align: center; 
    border: 1px solid transparent;  
    padding: 10px 10px;
    height:80px;
    width:200px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2.1em;
    background:rgb(31, 31, 31);
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
    border:none;
    cursor:pointer;
    box-shadow: 1px 1px 1px rgba(0,0,0, 0.1);
    transition: 0.3s ease, color 0.3s ease;
}

#boutonContactezNous:hover{
    background: rgb(70, 70, 70);
    color: white;
    box-shadow: 1px 1px 1px rgba(0,0,0, 0.2);
}

#popup-contact{
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    right:0;
    background: rgba(0,0,0,0.7);
    display:none;
}

#popup-contact.open{
    display: block; 
    z-index: 1;
}
.popup-content{
    position: absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    max-width: 600px;
    padding:30px;
    box-sizing: border-box;
    background: white;
    font-weight: 200;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: center;
    display: inline-block; /* ou block si tu veux toute la largeur */


}

#popup-exit{
    position:absolute;
    top:-10px;
    right:10px;
    text-decoration: none;
    color:white;
    background: black;
    padding: 5px 10px;
    border-radius: 5px;
    cursor:pointer;
}

.div-photo-current-litters-small{
    display:none;
}


@media only all and (min-width:1px) and (max-width:900px){
    .large-div{
        flex-direction: column;
        align-items: center;
        width:100vw;
    }

    #large-div-breeding-short-description{
        padding-bottom: 20px;
         width:100vw;
       
    }

 .large-div-breeding-short-description-photo {
    display: none;
 }
/*     
    .large-div-breeding-short-description-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;

    }  */


    .div-text-breeding-short-description{
        width: 90%;
        margin: 0 auto;
        padding: 10px;
    }
    .div-text-breeding-short-description h1{
        font-size: 1.5rem;
    }
    .div-text-breeding-short-description p{
        font-size: 1rem;
    }

    /* CURRENT LITTERS */

    #div-current-litters{
        width:100vw;
        background-color:var(--background-color);
        display: flex;
        flex-direction:column;
        flex-wrap: wrap;
        margin: 0 auto;
        height: fit-content;
        /* padding-bottom:20px; */
    }

    .div-text-current-litters{
        width: 100%;
        padding: 20px;
        text-align: center;
    }
    .div-text-current-litters h1{
        font-size: 2.5rem;
    }
    .div-text-current-litters h2{
        font-size: 1.8rem;
    }
    .div-text-current-litters p{
        font-size: 1rem;
        padding: 0 10px;
    }
    .div-photo-current-litters{
        display:none}
    /* .div-photo-current-litters{
        padding:20px;
        width: 100%;
        height: 100%;    
        float: none;
        display: flex;
        justify-content: center;
        align-items: center;
    } */

    .div-photo-current-litters img {
    width: 100%;
    height: 100%;
    flex-shrink: 1; 
    /* autorise l'image à rétrécir dans le flex container */
    object-fit: cover;
    object-position: center center;
    display: block; /*évite les espaces indésirables sous l'image*/
}


    #popup-contact{
        padding: 20px;
    }
    .popup-content{
        width: 90%;
        padding: 20px;
    }
    #popup-exit{
        top: -20px;
        right: 20px;
    }
    #boutonContactezNous{
        width: 100%;
        height: 60px;
        font-size: 1.2rem;
        padding: 10px;
    }

    .div-photo-current-litters-small{
        display: block;
        width: 80vw;
        height: 80vw;
        padding: 20px;
        margin: 0 auto;
    }
    .div-photo-current-litters-small img {
        width: 100%;
        height: 100%;
        flex-shrink: 1; 
        /* autorise l'image à rétrécir dans le flex container */
        object-fit: cover;
        object-position: center center;
        display: block; /*évite les espaces indésirables sous l'image*/
    }
}