/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on March 12, 2024 */



@font-face {
    font-family: 'bodoni_egyptian_proregular';
    src: url('bodoniegyptianpro-regular-webfont.woff2') format('woff2'),
         url('bodoniegyptianpro-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'bodoni_egyptian_proregularita';
    src: url('bodoniegyptianpro-regularita-webfont.woff2') format('woff2'),
         url('bodoniegyptianpro-regularita-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'bodoni_egyptian_promedium';
    src: url('bodoniegyptianpro-medium-webfont.woff2') format('woff2'),
         url('bodoniegyptianpro-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'bodoni_egyptian_promediumita';
    src: url('bodoniegyptianpro-mediumita-webfont.woff2') format('woff2'),
         url('bodoniegyptianpro-mediumita-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'bodoni_egyptian_prothin';
    src: url('bodoniegyptianpro-thin-webfont.woff2') format('woff2'),
         url('bodoniegyptianpro-thin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'bodoni_egyptian_problack';
    src: url('bodoniegyptianpro-black-webfont.woff2') format('woff2'),
         url('bodoniegyptianpro-black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'bodoni_egyptian_probold';
    src: url('bodoniegyptianpro-bold-webfont.woff2') format('woff2'),
         url('bodoniegyptianpro-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'bodoni_egyptian_proboldita';
    src: url('bodoniegyptianpro-boldita-webfont.woff2') format('woff2'),
         url('bodoniegyptianpro-boldita-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'bodoni_egyptian_proextbold';
    src: url('bodoniegyptianpro-extbold-webfont.woff2') format('woff2'),
         url('bodoniegyptianpro-extbold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'bodoni_egyptian_proextboldita';
    src: url('bodoniegyptianpro-extboldita-webfont.woff2') format('woff2'),
         url('bodoniegyptianpro-extboldita-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'bodoni_egyptian_proextlight';
    src: url('bodoniegyptianpro-extlight-webfont.woff2') format('woff2'),
         url('bodoniegyptianpro-extlight-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'bodoni_egyptian_proextLtita';
    src: url('bodoniegyptianpro-extlightita-webfont.woff2') format('woff2'),
         url('bodoniegyptianpro-extlightita-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'bodoni_egyptian_prolight';
    src: url('bodoniegyptianpro-light-webfont.woff2') format('woff2'),
         url('bodoniegyptianpro-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

.pagination{

}

ul.pagination-list {
    display:flex;
    justify-content: center;
    width:100%;
    align-items: center;
      margin:30px 0px;
}


ul.pagination-list {
    list-style: none;
}

ul.pagination-list li.pagination-item {
    display: inline-block;
    padding: 5px 7px;
    margin: 5px;
    background-color: #ffbe98;
    color: #fff;
    cursor: pointer;
}

.activecard {
    background-color: #ff8585 !important;
}

li.pagination-item:hover {
    background-color: #ff8585 !important;
}

.pagination{
  width:90%;
  margin:auto;
}
/* page styles */
.ax-hidden {
visibility: hidden;
position: absolute;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Par défaut, le menu est transparent */
.transparent-menu {
  background-color: transparent;
  color: white;
}

/* Lorsque l'utilisateur défile, le menu devient blanc */
.white-menu {
  background-color: white;
  color: black;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.white-menu .sub-menu li a{
  color:black !important;

}

.menu li {
  margin: 0 15px;
}

.menu li a {
  text-decoration: none;
  color: inherit;
}

/* carousel styles */
.carousel {
--carousel-height: 200px;
    --carousel-width: 200px;
    --carousel-item-height: 100px;
    --carousel-item-width: 100px;
    width: 100%;
    position: absolute;
    bottom: 250px;
}

.carousel-container {
align-items: center;
display: flex;
min-height: var(--carousel-height);
margin: 0 auto;
max-width: var(--carousel-width);
position: relative;
}

.carousel-item {
height: var(--carousel-item-height);
opacity: 0;
position: absolute;
transform: translateX(-50%);
transition: all 0.3s ease-in-out;
width: var(--carousel-item-width);
z-index: 0;
}

.carousel-item-1 {
left: 20%;
opacity: 0.4;
z-index: 99;
fill:white !important;
color:white !important;
}

.carousel-item-2 {
height: calc(var(--carousel-item-height) * 1.5);
opacity: 1;
left: 50%;
width: calc(var(--carousel-item-width) * 1.5);
z-index: 100;
}

.carousel-item-3 {
height: var(--carousel-item-height);
opacity: 0.4;
left: 80%;
z-index: 99;
}

.carousel-controls {
display: flex;
justify-content: center;
position:absolute;
top:175px;
left:50%;
right:50%;
}

.carousel-control:hover {
transform: scale(1.3);
}

/* Styles communs pour les boutons */
.carousel-control-previous,
.carousel-control-next {
background-color: white;
border: 2px solid transparent;
border-radius: 50%;
position: relative;
width: 10px;
height: 15px;
transition: border-color 0.3s ease-in-out;
}

.carousel-control {
background-color: white;
border: 2px solid white;
border-radius: 50%;
cursor: pointer;
height: 15px;
margin: 0 175px;
position: relative;
transform: scale(1.5);
transition: transform 0.5s ease-out;
width: 10px;
}

.carousel-control::before,
.carousel-control::after {
content: '';
position: absolute;
border-radius: 50%;
border: 2px solid transparent;
transition: all 0.5s ease-out;
width: 30px;
height: 30px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0);
pointer-events: none;
}

.carousel-control:hover::before,
.carousel-control:hover::after {
border-color: white;
transform: translate(-50%, -50%) scale(1.5);
}

html,body{
width:100%;
overflow-x:hidden;
}

.container{
  width:80%;
  margin:auto;
  padding-top:120px;
}

.container-home{
  width:80%;
  margin:auto;
}


main {
width: calc(100% - 240px);
max-width: 680px;
margin: 100px auto;
}

p {
font-size: 18px;
line-height: 28px;
}

* {
scroll-behavior: smooth;
}

/* Menu code starts here */

#menuToggle
{
display: block;
/* You can also use relative/absolute here if you want to stay on the top */
position: fixed;
top: 50px;
left: 50px;

z-index: 1;

-webkit-user-select: none;
user-select: none;
}

#menuToggle a
{
text-decoration: none;
color: #232323;

transition: color 0.3s ease;
}

#menuToggle a:hover
{
color: tomato;
}


#menuToggle input
{
display: block;
width: 40px;
height: 32px;
position: absolute;
top: -7px;
left: -5px;

cursor: pointer;

opacity: 0; /* hide this */
z-index: 2; /* and place it over the hamburger */

-webkit-touch-callout: none;
}

/*
* Just a quick hamburger
*/
#menuToggle span
{
display: block;
width: 33px;
height: 4px;
margin-bottom: 5px;
position: relative;

background: #cdcdcd;
border-radius: 3px;

z-index: 1;

transform-origin: 4px 0px;

transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
            background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
            opacity 0.55s ease;
}

#menuToggle span:first-child
{
transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
transform-origin: 0% 100%;
}

/*
* Transform all the slices of hamburger
* into a crossmark.
*/
#menuToggle input:checked ~ span
{
opacity: 1;
transform: rotate(45deg) translate(-2px, -1px);
background: #232323;
}

/*
* But let's hide the middle one.
*/
#menuToggle input:checked ~ span:nth-last-child(3)
{
opacity: 0;
transform: rotate(0deg) scale(0.2, 0.2);
}

/*
* Ohyeah and the last one should go the other direction
*/
#menuToggle input:checked ~ span:nth-last-child(2)
{
transform: rotate(-45deg) translate(0, -1px);
}

/*
* Make this absolute positioned
* at the top left of the screen
*/
#menu
{
position: absolute;
max-width: 400px;
width: 100vw;
max-height: 100vh;
margin: -100px 0 0 -50px;
padding: 50px;
padding-top: 125px;
box-sizing: border-box;
overflow-y: auto;
background: #ededed;
list-style-type: none;
-webkit-font-smoothing: antialiased;
/* to stop flickering of text in safari */

transform-origin: 0% 0%;
transform: translate(-100%, 0);

transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
padding: 10px 0;
font-size: 22px;
}

#menu li label
{
cursor: pointer;
}

/*
* And let's slide it in from the left
*/
#menuToggle input:checked ~ ul
{
transform: none;
}



html {
scroll-behavior: smooth;
scroll-padding: var(--scroll-padding, 5rem);
}


body {
font-family: "Lato", sans-serif !important;
letter-spacing: 2px;
overflow-x: hidden;
}

header {
height: 100vh;
}

img {
max-width: 100%;
object-fit: cover;
object-position: center;
}


.flex {
display: flex;
flex-direction: row;
}

.flex_stats{
  display:flex;
  flex-direction: row;
}

.menu {
position: fixed;
  /* background: black; */
  z-index: 10;
  width: 100%;
  top: 0;
  padding: 50px 0;
}

.menu a {
text-decoration: none;
color: white;
font-weight: 500;
text-transform: uppercase;
}


nav {
width: 100%;
background: transparent;
position: absolute;
top: 20px;
}

#logo {
width: 60px;
height: 60px;
margin-left: 20px;
position:fixed;
top:2%;
z-index:99;
}

#logo img {
width: 60px;
height: 60px;
max-width: 100%;
object-fit: cover;
}
#text_menu {
width: 50%;
display: flex;
}

#text_menu a {
font-size: 13px;
}

#adopt {
position: relative;
}

* {
box-sizing: border-box;
font-family: "Dosis", sans-serif;
}

.main-navigation {
display: flex;
}

ul {
margin: 0; //reset
padding: 0;
}

.menu {
display: flex;
flex-direction: row;
justify-content: flex-end;
height: 60px;
align-items: center;
}
li {
display: block;
list-style-type: none;
text-transform: uppercase;
}

li a {
display: flex;
text-align: center;
text-decoration: none;
color: white;
padding: 1rem;
}

li a:hover {
background: white;
color: black;
transition: 1s ease;
}

@media (min-width: 800px) {
.menu {
  flex-direction: row;
  justify-content: flex-end;
}
}

nav ul ul {
display: none;
}

@media (min-width: 800px) {
nav ul ul {
  display: none;
  position: absolute;
}
}

nav ul li:hover > ul {
display: block;
color: black;
background: white;
padding-left: 2rem;
}

@media (min-width: 800px) {
nav ul li:hover > ul {
  padding-left: 0;
  background: none;
}

nav ul li:hover > ul a {
  color: #fff;
}

.sub-menu {
  li {
    display: flex;
    padding-right: 2em;
  }

  li:hover,
  li a:hover {
    background: white;
    color: black;
  }
}

nav ul ul ul {
  margin: 0 0 0 100%;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
}
}

#nav {
justify-content: space-between;
}

#banner {
width: 100%;
height: 100vh;
display: block;
position: relative;
object-fit: cover;
opacity: 0.5;
}

#home_banner {
width: 100%;
height: 100vh;
background: black;
position: relative;
}

#banner img {
width: 100%;
height: 100vh;
opacity: 0.7;
}

#home_banner h2 {
    color: white;
    font-size: 25px;
    font-weight: 200;
    position: absolute;
    text-transform: uppercase;
    top: 20%;
    left: 10%;
    line-height: 50px;
    text-align: center;
}

#home_banner h3 {
    color: white;
    font-size: 10em;
    text-transform: uppercase;
    font-weight: 700;
    position: absolute;
    top: 22%;
    left: 9%;
    /* opacity: 50%; */
    /* filter: opacity(0.5); */
    mix-blend-mode: soft-light;
}

#info {
background-color: #2e1111;
position: relative;
height: 100px;
width: 100%;
margin-top: -100px;
z-index: 9;
line-height: 100px;
opacity: 0.8;
}

#info marquee {
font-size: 24px;
color: white;
}

.heart {
width: 80px;
height: 80px;
margin-top: -130px;
margin-left: auto;
margin-right: auto;
z-index: 10;
position: relative;
animation: bounce 0.6s;
animation-direction: alternate;
animation-iteration-count: infinite;
}

@keyframes bounce {
from {
  transform: translate3d(0, 0, 0);
}
to {
  transform: translate3d(0, 20px, 0);
}
}

@keyframes blink-animation {
to {
  fill: white;
}
}
@-webkit-keyframes blink-animation {
to {
  fill: white;
}
}

.cls-1 {
fill: white;
stroke-width: 0px;
}

.blink {
animation: blink-animation 0.7s steps(2, start) infinite;
-webkit-animation: blink-animation 0.7s steps(2, start) infinite;
stroke-width: 0px;
fill: rgba(255, 255, 255, 0.1);
}

/* ============== Content ============ */

.stats {
height: auto;
width: 100%;
padding:50px 0;
background-color: #ffbe98;
justify-content: space-around;
align-items: center;
}

.stats_content {
width: 30%;
height: auto;
}

.stats_logo {
width: 150px;
height: 150px;
background: white;
margin: auto;
border-radius: 50%;
margin-bottom: 20px;
}

.stats_content p {
text-align: center;
color: white;
font-weight: 600;
}

.percentage {
font-size: 30px;
text-transform: uppercase;
margin-top: 10px;
}

#presentation_refuge {
background-color: #386150;
margin: 80px auto;
width: 80%;
height: auto;
box-shadow: 0px 0px 0px 10px #386150;
border: white solid 3px;
border-radius: 15px;
padding: 20px;
}

.paw {
background-image: url("./pictures/paw_background_left.png");
background-size: 200px;
background-position: right 20px bottom;
background-repeat: no-repeat;
padding: 10px 0px;
margin-bottom: -40px;
position: relative;
}

.paw_left {
background-image: url("./pictures/paw_background.png");
background-size: 200px;
background-position: left 20px bottom;
background-repeat: no-repeat;
position: relative;
}

.paw_anchor {
position: relative;
}

#presentation_refuge h1 {
text-align: center;
color: white;
font-size: 30px;
font-weight: 500;
font-family: "bodoni_egyptian_promedium";
margin: 30px 0px;
}

#left_presentation {
width: 0%;
}

#doggo {
background-image: url(./pictures/presentation_refuge_saint_dizier_chien.png);
background-position: right bottom;
background-repeat: no-repeat;
top: 25px;
background-size: 100%;
width: 100%;
height: 500px;
position: absolute;
}

#right_presentation {
width: 100%;
}

#right_presentation p {
color: white;
padding: 15px;
font-size: 14px;
font-family: 'Lato';
}

.history {
height: 50px;
line-height: 50px;
margin: 25px auto 0px auto;
text-align: center;
}

.history a {
color: white;
font-weight: 600;
text-decoration: none;
border: white 2px solid;
border-radius: 20px;
padding: 10px 50px;
background: #386150;
box-shadow: 0px 0px 0px 5px #386150;
font-weight: 400;
}

.history a:hover {
border: #386150 2px solid;
transition: 1s ease;
}

h2.second_title {
font-family: "bodoni_egyptian_proextbold";
color: #1d1d1d;
text-align: center;
font-size: 30px;
text-transform: uppercase;
position: relative;
margin: 70px auto;
width: fit-content;
}

h2.second_title::after {
content: "";
border-bottom: #ffbe98 dotted 10px;
height: 0px;
width: 80%;
position: absolute;
bottom: -15px;
margin: auto;
left: 0;
right: 0;
}

.second_title {
margin: 40px 0px;
}

.cards {
margin: 0px 10px;
}

.carrousel {
justify-content: center;
margin-top: 20px;
}

.card_picture {
height: 350px;
position: relative;
}

.card_picture:hover {
}

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

.card_overlay {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
opacity: 1;
background-color: rgba(0, 0, 0, 0);
display: flex;
overflow: hidden;
align-items: center;
}

.cards .card_overlay:hover {
background-color: rgba(0, 0, 0, 0.5);
cursor: pointer;
transition: all ease 1s;
}

.card_name {
height: 70px;
background: #caa171;
margin-top: -30px;
position: relative;
background-image: url(./pictures/homepage/little_brown_paw.png);
background-position: bottom 10px right 20px;
background-repeat: no-repeat;
background-size: 40px;
}

a.cards {
text-decoration: none;
}

.card_name p {
color: #2e1111;
font-family: "bodoni_egyptian_probold";
font-size: 26px;
padding-top: 15px;
padding-left: 5px;
}

#technical{
display:block;
margin:auto;
}

p.card_date {
color: #2e1111;
font-family: "Lato", sans-serif !important;
font-weight: 400;
font-size: 12px;
margin-top: -10px;
}

.objective {
width: 70%;
justify-content: center;
display: flex;
gap: 40px;
margin-top: 30px;
}

.obj_animals {
width: 24%;
padding: 10px 0px;
background: red;
height: 300px;
}

.obj_benevoles {
width: 24%;
height: 300px;
padding: 10px 0px;
background: blue;
}

.cta {
height: 50px;
line-height: 50px;
margin: 25px auto 0px auto;
text-align: center;
}

a.cta_brown {
color: white;
font-weight: 400;
font-size: 14px;
text-decoration: none;
border: white 1.5px solid;
border-radius: 20px;
padding: 10px 20px;
background: #2e1111;
box-shadow: 0px 0px 0px 4px #2e1111;
transition: 0.75s ease;
margin: 25px auto 10px auto;
}

.void {
width: 20%;
}

.gender {
width: 20%;
margin: 25px auto 10px auto;
padding: 10px 20px;
}

.cta a {
color: white;
font-weight: 600;
text-decoration: none;
border: white 2px solid;
border-radius: 20px;
padding: 10px 50px;
background: #ffbe98;
box-shadow: 0px 0px 0px 5px #ffbe98;
transition: 0.75s ease;
}

.cta a:hover {
box-shadow: 0px 0px 0px 0px #ffbe98;
transition: 0.75s ease;
opacity: 0.7;
}

.partenaires {
height: auto;
width: 100%;
background-color: #ffbe98;
justify-content: space-around;
align-items: center;
margin-top: 70px;
padding: 20px 0px;
}

.partenaires_content {
width: 200px;
height: 200px;
display: flex;
}

.partenaires_logo {
width: 150px;
height: 150px;
background: orange;
margin: auto;
border-radius: 50%;
}

.partenaires_flex {
justify-content: space-around;
align-items: center;
}

.team {
background-color: #1a1a1a;
padding: 20px 0px;
}

.team h2 {
color: white;
}

.owl-nav {
display: none;
}

.section {
height: 100vh;
}

.team_cards {
height: auto;
width: 100%;
background-color: #ffbe98;
justify-content: space-around;
align-items: center;
margin-top: 70px;
padding: 20px 0px;
}

.team_cards_content {
width: 22%;
height: auto;
display: flex;
}

.team_cards_global {
width: 100%;
height: auto;
padding: 10px;
background: white;
}

.team_cards_picture {
width: 90%;
height: 200px;
background: black;
margin: 20px auto;
}

.team_cards_flex {
justify-content: space-around;
align-items: center;
margin-bottom: 50px;
}

.team_cards_text p {
text-align: center;
padding: 0px 20px;
}

.statut {
margin-top: 20px;
font-size: 10px;
text-transform: italic;
}

.name {
margin-bottom: 20px;
}

html #map {
border-bottom: solid #ffbe98 4px !important;
border-top: solid #ffbe98 4px !important;
}

.cta_contact {
text-align: center;
margin-top: 50px;
font-weight: 600;
font-size: 20px;
}

.cta_contact::before {
background-image: url("pictures/paw.svg");
background-repeat: no-repeat;
display: inline-block;
width: 30px;
height: 30px;
margin-top: 15px;
margin-right: 20px;
transform: rotate(35deg);
content: "";
}

.cta_contact::after {
background-image: url("pictures/paw.svg");
background-repeat: no-repeat;
display: inline-block;
width: 30px;
height: 30px;
margin-left: 20px;
margin-top: 15px;
transform: rotate(35deg);
content: "";
}

.separator {
width: 100%;
height: 100px;
background: url("pictures/separator.png") no-repeat center;
transform: scale(0.5);
margin-top: 20px;
}

.separator_cta {
margin-top: 20px;
}

.carousel_absolute {
position: absolute !important;
bottom: -32px;
}

/* ===================== CHATS ==================== */

.introduction {
position: relative;
text-align: center;
background: #caa171;
background-image: url("./pictures/white_paw.png");
background-size: 150px;
background-position: left 40px bottom 40px;
background-repeat: no-repeat;
height: auto;
padding: 50px 300px;
}

.introduction::before,
.introduction::after {
content: "";
position: absolute;
width: 100%;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(
  90deg,
  rgba(255, 215, 0, 0) 0%,
  rgba(255, 215, 0, 1) 50%,
  rgba(255, 215, 0, 0) 100%
);
animation: slide 7s linear infinite;
overflow: hidden;
}

.introduction::before {
top: 0;
}

.introduction::after {
bottom: 0;
}

@keyframes slide {
from {
  transform: translateX(-100%);
}
to {
  transform: translateX(100%);
}
}

.introduction h2 {
font-family: "bodoni_egyptian_proextbold";
color: #2e1111;
font-size: 26px;
}

.introduction p {
margin-top: 20px;
font-size: 16px;
font-family: "Lato", sans-serif !important;
color: #2e1111;
}

.refuge_card {
background: #caa171;
width: 33%;
height: 525px;
margin: auto;
padding: 15px;
border-radius: 20px;
border: #2e1111 2px solid;
position:relative;
}

.empty{
  background: none !important;
  border: none !important;
}

.sos {
  position: absolute;
  top: -15px;
  background: #e75f5f;
  padding: 4px 5px;
  border-radius: 20px;
  color: white;
  font-weight: 600;
  left: -15px;
  transform: scale(2);
}

.quote {
  margin-top: -175px;
  color: white;
  text-align: center;
}

.flex_detailled{
  display:flex;
  flex-direction:row;
}

.flex_content{
  display:flex;
  flex-direction:row;
}

.animal_row {
width: 90%;
margin: auto;
display: flex;
flex-direction: row;
}

.animal_column{
display:flex;
flex-direction: column;
margin-top:40px;
}
.refuge_card_content {
width: 55%;
margin-top: 8%;
margin-left: 15px;
}

.loft,
.home {
width: 25px;
height: 25px;
margin: 10px;
}


.home img.fil0{
fill:black !important;
}

.animal_location {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100px;
width: 1%;
}

.refuge_card_content_photo {
width: 40%;
margin-top: 2.5%;
}

.refuge_card_info {
margin-top: 15px;
margin-left:5%;
}

.refuge_card_info h2{
font-size:40px;
}

.refuge_card_info p:first-of-type {
font-weight: 600;
}

p.card_margin {
margin-bottom: 10px;
color: #2e1111;
}

.refuge_card_info li {
position: relative;
line-height: 26px;
margin-left: 16px;
font-size: 10px;
font-weight: 700;
}

.refuge_card_info li::before {
content: "";
background: white;
width: 10px;
height: 10px;
border-radius: 50%;
position: absolute;
left: -20px;
top: 8px;
}

.refuge_card_photo img {
border-radius: 15px;
border: white 3px solid;
max-width: 100%;
object-fit: cover;
height:220px;
}
.container-animal {
            max-width: 900px;
            margin: 30px auto;
            padding: 20px;
            background: #fff;
            border-radius: 15px;
            animation: fadeIn 1s ease-in-out;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .container-animal h1 {
            text-align: center;
            color: #444;
            font-size: 2.8rem;
            margin-bottom: 25px;
        }
        .cat-info {
            text-align: center;
            margin-bottom: 20px;
        }
        .cat-info p {
            margin: 5px 0;
            font-size: 1.2rem;
        }
        .cat-info p strong {
            color: #555;
        }
        .cat-info .birth-date {
            font-style: italic;
            color: #777;
        }
        .description {
            line-height: 1.8;
            font-size: 1.1rem;
            margin-top: 20px;
        }
        .description p {
            margin: 15px 0;
            text-align: justify;
        }
        .footer {
            text-align: center;
            margin-top: 30px;
            padding:20px 0px;
            font-size: 1.3rem;
            color: #555;
        }
        .footer span {
            font-size: 1.5rem;
            color: #e63946;
        }
        .highlight {
            color: #0066cc;
            font-weight: bold;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .container-animal {
                padding: 15px;
                margin: 20px auto;
            }
            h1 {
                font-size: 2rem;
            }
            .cat-info p {
                font-size: 1rem;
            }
            .description {
                font-size: 1rem;
            }
            .footer {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 480px) {
            .container-animal {
                padding: 10px;
            }
            h1 {
                font-size: 1.8rem;
            }
            .description p {
                margin: 10px 0;
                font-size: 0.95rem;
            }
            .footer span {
                font-size: 1.3rem;
            }
        }

       .summary-box {
            text-align: center;
}
        .summary-box h2 {
            font-size: 1.2rem;
            color: black;
        }
        .summary-box p {
            font-size: 1rem;
            color: black;
            margin-top: 10px;
            text-align:center;
        }

.refuge_card_photo {
width: 170px;
height: 220px;
}

.refuge_card_flex {
display: flex;
justify-content: space-between;
flex-direction: row;
margin: 15px 0px;
}

.counter_name {
width: 100%;
display:inline-block;
}

.connaissance{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content: center;
  margin-top:20px;
}


.counter {
width: 60%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
margin-left: 10px;
}

.counter_paw {
width: 20%;
display: flex;
align-items: center;
justify-content: center;
}

.paw_in_counter_w {
background-image: url(./pictures/homepage/little_white_paw.png);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
height: 20px;
width: 20px;
}

.paw_in_counter_y {
background-image: url(./pictures/homepage/little_brown_paw.png);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
height: 20px;
width: 20px;
}

.card_desc {
margin-top: 30px;
}

.card_desc h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

p.excerpt {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 200ch; /* 100 caractères approximativement */
}




/* ===================== CARD DETAILLED =========== */

.refuge_card_detailled {
width: 100%;
height: auto;
margin: auto;
}

.refuge_card_photo_detailled img {
max-width: 100%;
object-fit: cover;
}

.refuge_card_photo_detailled {
width: 100%;
height: auto;
}

.counter_name_detailled {
width: 30%;
}

.refuge_card_content_detailled {
width: 50%;
margin-top: 8%;
margin-left: 75px;
}

.counter_detailled {
width: 50%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
margin-left: 10px;
margin-right:20%;
}

.counter_name_detailled li{
font-size:16px;
}

.paragrah{
  font-size:15px;
  margin-top:40px;

}

.paw_in_counter_y_detailled {
background-image: url(./pictures/homepage/little_brown_paw.png);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
height: 35px;
width: 32px;
}

.margintop{
margin-top:50px;
}


.animal_gallery{
margin:50px 0px;
}

.animal_picture{
width:250px;
height:250px;
background:red;
margin:5px;
}

.row{
display:flex;
flex-direction: row;
align-items: center;
justify-content: center;
}



.gallery_masonry {
  column-count: 4; /* Default number of columns */
  column-gap: 10px; /* Gap between columns */
  width: 90%;
  max-width: 1200px;
}

.gallery_masonry img {
  width: 100%;
  margin-bottom: 10px;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery_masonry img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .gallery_masonry {
    column-count: 3; /* Adjust to 3 columns */
  }

  .refuge_card_content_detailled {
    width: 70%;
    margin:0 auto;
}

  .refuge_card_content_detailled, .refuge_card_photo_detailled img, .refuge_card_info,{
    margin:auto !important;
  }

  .flex_detailled{
    flex-direction: column;
  }

  .refuge_card_content_photo{
    width:50%;
    margin:auto;
    margin-bottom:40px;
  }

  .row{
    flex-direction:column;
  }


}

@media (max-width: 768px) {
  .gallery_masonry {
    column-count: 2; /* Adjust to 2 columns */
  }

  #home_banner h2{
    font-size:18px;
  }

  #home_banner h3{
    font-size:8em;
  }

  .carousel{
    transform:scale(0.75);
  }

  .introduction{
    background-image:none;
  }
}

@media (max-width: 480px) {
  .gallery_masonry {
    column-count: 1; /* Full width for small screens */
  }

  #home_banner h2{
    font-size:12px;
  }

  #home_banner h3{
    margin-top:10px;
    font-size:5em;
  }
}

.green{
  background-color:#386150;
  color:white !important;
}

.green p, .green h2{
  color:white !important;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Espacement entre les images */
  justify-content: center; /* Centrer les images horizontalement */
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px; /* Coins arrondis pour les images */
  object-fit: cover; /* Assure que l'image couvre l'espace sans déformation */
}

/* À partir de 480px (écrans très petits comme les mobiles) */
@media (min-width: 480px) {
  .gallery img {
    width: calc(50% - 10px); /* Deux images par ligne */
  }
}

/* À partir de 768px (tablettes et plus) */
@media (min-width: 768px) {
  .gallery img {
    width: calc(33.333% - 10px); /* Trois images par ligne */
  }
}

/* À partir de 1024px (écrans plus larges, ordinateurs de bureau) */
@media (min-width: 1024px) {
  .gallery img {
    width: calc(25% - 10px); /* Quatre images par ligne */
  }
}

/* Centrer le titre */
h1 {
    text-align: center;
    color: #333;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Centrer le formulaire sur la page */

#contact, #parrainage{
  padding-top:90px;
}
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* Espacement entre les champs */
div {
    margin-bottom: 15px;
}

/* Style des labels */
label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

/* Style des champs de saisie */
input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

/* Taille du textarea */
textarea {
    resize: vertical;
}

/* Style du bouton */
#form button {
    padding: 12px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

#form button:hover {
    background-color: #45a049;
}


/* ===================== FOOTER =================== */

footer {
background: #1f1f1f;
height: 50px;
width: 100%;
color: white;
}

#refuge {
width: 34%;
display: flex;
justify-content: flex-start;
}

#img_refuge {
background: grey;
width: 75%;
height: 200px;
}

.links {
width: 22%;
}

#border_links {
padding-top: 10px;
border-right: 1px solid white;
border-left: 1px solid white;
display: flex;
align-self: center;
flex-direction: column;
}

.footer_flex {
display: flex;
flex-direction: row;
justify-content: center;
padding-top: 20px;
border-top: white solid 1px;
width: 90%;
margin: auto;
}

.footer_flex p {
font-size: 12px;
}

.sublink {
width: 25%;
display: flex;
justify-content: center;
}

footer h4 {
text-align: center;
font-family: "bodoni_egyptian_proregular";
margin-top: 40px;
margin-bottom: 10px;
font-size: 18px;
}

footer p {
text-align: left;
margin-left: 40px;
text-transform: uppercase;
line-height: 20px;
font-size: 14px;
}

#menuToggle{
display:none;
}

button#read-more-btn{
  display:none;
}

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

  .refuge_card{
    width:98% !important;
  }

  .refuge_card_info li{
    font-size:10px;
  }


  .refuge_card_photo{
    width:170px;
  }

  .refuge_card_detailled{
    width:100%;
  }

  .flex_stats{
    flex-direction: column;
  }




}

@media screen and (max-width: 500px) {
  .refuge_card_photo{
    width:120px;
  }

  .refuge_card_content_photo{
    width:40%;
  }

  .refuge_card_info li::before{
    display:none !important;
  }

  .animal_desc{
    margin-top:-50px;
  }

  .cta a{
    font-size:10px;
    padding:10px 20px;
  }
}

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

.text-container #text{
  font-size:12px;
}

#menuToggle{
  display:block;
}



.introduction{
  padding:50px 20px;
}

.second_title h2{
  font-size:14px !important;
}

.menu, #logo{
  display:none;
}

.partenaires_flex, .team_cards_flex {
  flex-direction:column;
}

.separator{
  width:50%;
  height:50%;
}

.cta_contact::before, .cta_contact::after{
  display:none;
}

.flex{
  flex-direction:column;
}


#left_presentation, #right_presentation{
  width:100%;
}

#right_presentation p{
  font-size:10px;
}

#right_presentation h1{
  font-size:20px;
}

.history a{
  font-size:10px;
}

.team_cards_content{
  width:75%;
}

.obj_animals{
  width:75%;
  display:block;
  margin:auto;
}

#text {
line-height: 1.6;
font-size: 10px;
color: #333;
position: relative;
}

#more-text {
display: none;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}

button#read-more-btn{
  display:block;
}

#read-more-btn {
        display: block;
        margin:10px auto 0px auto;
        padding: 10px 20px;
        background-color: transparent;
        color: #fff;
        font-style: italic;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 14px;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

#read-more-btn:hover {
transform: scale(1.05);
}

.animal_row{
  flex-direction:column;
}

.refuge_card{
  width:60%;
  margin:1% auto;
}

}
/* Conteneur principal */
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 900px;
    margin: 40px auto;
    gap: 40px;
}

/* Formulaire aligné à gauche */
#contact-form {
    flex: 1;
    max-width: 500px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 3px solid #FFBE98;
}

/* Encart des infos à droite */
.contact-info {
    flex: 1;
    max-width: 350px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 3px solid #FFBE98;
}

/* Style des titres */
h1#contacttitle, .contact-info h2 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #FFBE98;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
}

h1#contacttitle{
  margin-top:20px;
}

/* Style des labels */
#contact-form label {
    font-weight: bold;
    color: #FFBE98;
}

/* Style des champs */
#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #FFBE98;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

/* Effet focus sur les champs */
#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #ff6600;
    box-shadow: 0 0 8px rgba(255, 190, 152, 0.6);
    outline: none;
}

/* Style du bouton */
#contact-form button {
    padding: 12px 20px;
    background: #FFBE98;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

/* Effet au survol du bouton */
#contact-form button:hover {
    background: #e6a485;
    transform: scale(1.05);
}

/* Style de l'encart d'informations */
.contact-info p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    text-align: center;
}

/* Icônes stylisées */
.contact-info i {
    color: #FFBE98;
    margin-right: 8px;
}

/* Animation d'affichage du message de confirmation */
#message-result {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    color: #28a745;
    animation: fadeIn 0.5s ease-in-out;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive : Ajustement pour les petits écrans */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    #contact-form,
    .contact-info {
        max-width: 90%;
    }
}

#parrainage-form{
  margin:auto;
  width:90%;
}

/* Conteneur principal */
.container-parrainage {
    width: 80%;
    margin: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-top: 40px;
}

/* Formulaire à gauche */
.contact-parrainage {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-left: 6px solid #ffbe98;
    max-width: 50%;
}

/* Section description à droite */
.description-parrainage {
    flex: 1;
    max-width: 50%;
}


.description-parrainage p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

h1#parrainage-title{
  font-size:20px;
  margin:16px 0px;
  font-weight:600;

}
/* Formulaire */
form {
    display: flex;
    flex-direction: column;
}

/* Champs de formulaire */
form div {
    margin-bottom: 15px;
}

label {
    font-weight: 600;
    font-size: 14px;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

input, select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #fff;
    transition: all 0.3s ease-in-out;
}

input:focus, select:focus {
    border-color: #ff8c8c;
    box-shadow: 0 0 5px rgba(255, 140, 140, 0.3);
    outline: none;
}

/* Bouton */
#parrainage-form button {
    background: #FFBE98;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    margin:auto;
    display:block;
    width:60%;

}

#parrainage-form button:hover {
    background: #e65c5c;
}

/* Message de confirmation */
#message-result {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}



/* Responsiveness */
@media screen and (max-width: 1024px) {
    .container-parrainage {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .contact-parrainage,
    .description-parrainage {
        max-width: 100%;
        width:100%;
    }
}
/* Animation d'affichage du message de confirmation */
#message-result_parrainage {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    color: #28a745;
    animation: fadeIn 0.5s ease-in-out;
}
