* {
    padding: 0;
    margin: 0;
}
body {
    font-size : 20px;
    font-family: 'Quicksand';
}
#submenu {
    display: none;
}

li {
    list-style-type: none;
    text-decoration: none;
}
nav {
    display: flex;
    justify-content: center;
    background-color: black;
    color: white;
    border-bottom: solid 1px white;
    align-items: center;
}
ul {
    display: flex;
    
}
li {
    padding: 1rem;
    color: white;
}
.bold {
    font-weight: bold;
}
.fontStyle {
    font-family: 'Style Script';
    font-size: 28px;
}
.link {
    color: rgb(75, 75, 156)!important;
    font-weight: bold;
}
/***** Menu Toogle *****/

#menu__toggle {
    opacity: 0;
  }
  
  #menu__toggle:checked ~ .menu__btn > span {
    transform: rotate(45deg);
  }
  #menu__toggle:checked ~ .menu__btn > span::before {
    top: 0;
    transform: rotate(0);
  }
  #menu__toggle:checked ~ .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
  }
  #menu__toggle:checked ~ .menu__box {
    visibility: visible;
    left: 0;
  }
  .menu__btn {
    display: flex;
    align-items: center;
    position: fixed;
    top: 20px;
    left: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 2;
  }
  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: grey;
    transition-duration: .25s;
  }
  .menu__btn > span::before {
    content: '';
    top: -8px;
  }
  .menu__btn > span::after {
    content: '';
    top: 8px;
  }
  .menu__box {
    display: block;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    margin: 0;
    padding: 80px 0;
    list-style: none;
    background-color: darkgray;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
    transition-duration: .25s;
    z-index: 1;
  }
  
  .menu__item {
    display: block;
    padding: 12px 24px;
  
    color: #333;
  
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 600;
  
    text-decoration: none;
  
    transition-duration: .25s;
  }
  .menu__item:hover {
    background-color: #CFD8DC;
  }
  #hamburger-menu {
    opacity: 0;
    visibility: hidden;
    height:0;
  }

#titreNav span {
    font-family: 'Style Script', 'sans-serif';
    font-size: 28px;
    color: white;
}
#titreNav {
    position: absolute;
    left: 0;
}
#containerNav {
    display: flex;
    align-items: center;
}
a {
   text-decoration: none;
}
#container1 {
    display: flex;
}
#container1 h1 {
    font-family: 'Style Script', 'sans-serif';
    position: absolute;
    color: white;
    left: 35%;
    margin-top: 2rem;
    font-size: 65px;
}
#title {
    animation: appear 2s;
}
@keyframes appear {
    from {
        transform: translateY(-300px);
    }
    to {
        transform: translateY(0px);
    }
}
#container1 img {
    width: 100%;
    height: 100%;
}
#containerActu {
    background-color: rgb(200, 200, 200);
}
#containerActu p{
    color: white;
}
#container2 {
    height: 270px;
    background-color: grey;
    text-align: center;
    display: flex;
    flex-direction: column;
    margin: 3px 3px 3px 3px;
    border-radius: 10px;
}
#container2 p {
    margin: auto;
    color: white;
}
#container2 a {
    margin: auto;
}
.btnInfo{
    background-color: black;
    padding: 10px;
    border-radius: 25px;
    color: rgb(196, 195, 195)!important;
    box-shadow: 5px -1px 15px -4px rgba(0,0,0,0.75);
}
.card {
    position: relative;
    width: 300px;
    height: 520px;
    background-color: black;
    color: rgb(236, 236, 236);
    text-align: center;
    border-radius: 10px;
    box-shadow: grey;
    font-family: 'Roboto';
    margin-bottom: 1rem;
    box-shadow: 5px -1px 15px -4px rgba(0,0,0,0.75);
}
.imageCard {
    object-fit: cover;
    width: 300px;
    height: 400px;
}

.infocard {
    padding: 5px;
}
.paddingCard {
    padding: 1rem!important;
}
.card:hover, .btnInfo:hover {
    box-shadow: 5px -1px 15px -4px rgba(105, 105, 105, 0.75);
    transform: scale(1.02);
}
.card img {
    border-radius: 10px 10px 0 0;
}
.nameCard {
    padding-bottom: 1rem;
    /* text-transform: uppercase; */
}
#titleContainer4{
    font-size: 40px;
    font-family: 'Style Script';
    text-align: center;
}
.line {
    width: 300px;
    background-color: black;
    height: 1px;
    display: block;
    margin: auto;
}
#containerTitleContainer4 {
    margin-top: 1rem;
    display: flex;
}

#containerAdoptants, #container4, #containerCats, #containerDogs, #containerDogsArche, #containerCatsArche{
    padding: 1rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
footer {
    display: flex;
    flex-direction: column;
    background-color: black;
    color: white;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}
footer i {
    padding: 1rem;
    font-size: 25px;
}
footer a {
    color: white ;
}

.containerCatV2 {
    margin: auto;
}

.containerCat img, .containerCatV2 img{
    width: 500px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 5px -1px 15px -4px rgba(0,0,0,0.75);
}
.textDog {
    background-color: rgb(229, 226, 226)!important;
    color: black!important;
}
.textCat {
    text-align: center;
    width: 700px;
    background-color: #161616;
    margin: auto;
    border-radius: 10px;
    color: white;
    box-shadow: 5px -1px 15px -4px rgba(0,0,0,0.75);
}
.textCat p {
    padding: 1rem;
}
.catName {
    font-size: 40px;
    font-family: 'Style Script';
}
.descriptionCat {
    margin-bottom: 1rem;
    overflow-wrap: break-word;
}
.containerCat, .containerCatV2 {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;

}
.femaleSymbol {
    color: palevioletred;
}
.maleSymbol {
    color: rgb(44, 44, 212);
}
.symbol {
    font-size: 30px;
}
.contact {
    color: black;
}
.actuReseaux {
    min-width: 315px;
    text-align: center;
    margin: 1rem;
    background-color: rgb(226, 226, 226);
    border-radius: 10px;
}
/***** Responsive *****/

@media (max-width:768px) {
    #titleContainer4 {
        font-size: 35px;
    }
    #menu-demo2, #menu-demo ul {
        margin-left: 8px;
    }
    #menu-demo2 a{
        color: black !important;;
    }
    #menu-demo2 ul {
        position: relative!important;
    }
     #menu-demo2 li:first-child:hover, #menu-demo2 li:first-child li:hover{
    background: darkgray!important;;
    }
    #menu-demo2 li:nth-child(2):hover, #menu-demo2 li:nth-child(2) li:hover{
    background:darkgray!important;
    }
    #menu-demo2 li:nth-child(3):hover, #menu-demo2 li:nth-child(3) li:hover{
    background:darkgray!important;
    }
    #menu-demo2 li:last-child:hover, #menu-demo2 li:last-child li:hover{
    background:darkgray!important;
    } 
    #menu-demo2 li:first-child{
        background-color: darkgray!important;
        }
        #menu-demo2 li:nth-child(2){
        background-color: darkgray!important;
        }
        #menu-demo2 li:nth-child(3){
        background-color: darkgray!important;
        }
    #hamburger-menu {
        opacity: 1;
        visibility: visible;
        height:0;
      }
    nav {
        display: none;
    }
    .line {
        width: 60px;
    }
    #titleContainer3 {
        font-size: 25px;
    }
    #myBtn {
        width: 200px!important;
        font-size: 15px!important;
    }
    .dateOfAdoption {
        font-size: 7px;
    }
    #containerConditions {
        margin: 10px!important;
        padding: 20px!important;
    }
}
@media (max-width:590px) {
    body {
        font-size: 16px;
    }
    .reseauxActu {
        font-size: 28px!important;
    }
    .coded {
        font-size: 15px!important;
    }
    #titreNav span {
        font-size: 17px;
    }
    #container1 h1 {
        font-size: 27px;
    }
    /* ul {
        margin-left: 4rem;

    } */
    .card {
        height: 480px;
    }
    .reserved {
        font-size: 16px!important;
    }
    .containerCatV2 img {
        width: 230px!important;
    }
    .containerIMG img {
        width: 67px!important;
    }
}
@media (max-width:414px) {
    .textCat, .imgSolo {
        width: 350px!important;
    }
    #container2 {
        height: 200px;
    }
    .nameCard {
        padding-bottom: 0;
    }
}
@media (max-width:1024px) {
    .containerCat{
        flex-direction: column;
    }
    .textCat {
        margin-top: 1rem;
    }
    #containerActus {
        flex-direction: column;
        align-items: center;
    }
    
}



/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

#myBtn, #mybtn2 {
    width: 260px;
    margin: auto;
    font-size: 18px;
}
.textModal {
    color: black!important;
}
.symbolIndex {
    font-size: 25px;
}
.fa-heart {
    color: rgb(247, 81, 81);
    font-size: 16px;
}
#containerActus {
    display: flex;
    justify-content: center;
}
.actu {
    min-width: 315px;
    text-align: center;
    margin: 1rem;
    background-color: rgb(226, 226, 226);
    border-radius: 10px;
}
.textActu {
    margin: auto;
    text-align: center;
    padding: 2rem;
    background-color: grey;
    text-align: center;
    width: 700px;
    margin: auto;
    border-radius: 10px;
    color: ghostwhite;
    box-shadow: 5px -1px 15px -4px rgb(0 0 0 / 75%);
}
.textActu h1 {
    margin-bottom: 2rem;
    font-family: 'Style Script';
}

#containerPageActu {
    display: flex;
}
.actu h2 , .actuReseaux h2{
    margin-bottom: 1rem;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.actu p, .actuReseaux p {
    padding: 5px;
}
.actu a {
    color: white;
}
.black {
    color: black!important;
}
.btn {
    display: inline-block;
    margin-bottom: 1rem;
    margin-left: 1rem;
    padding: 10px;
    background-color: rgb(66, 66, 170);
    border: none;
    color: white;
    border-radius: 4px;
}
.btn:hover {
    background-color: rgb(119, 119, 190);
    cursor: pointer;
}
.bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
}
#copyright {
    display: flex;
    flex-direction: column;
}
.coded a:hover {
    cursor: pointer;
}
.coded {
    align-self: center;
    font-size: 17px;
    color: grey;
}
.seeMore {
    margin-right: 3rem;
    display: flex;
    justify-content: space-between;
}
.seeMoreP {
    margin-bottom: 2rem;
    text-align: end;
    padding-right: 5rem;
}
.date {
    font-size: 14px;
    text-align: end;
}
.reserved {
    text-transform: uppercase;
    background-color: rgb(214 81 81);
    font-family: 'Quicksand'!important;
    font-size: 20px;
    padding: 5px;
    border-radius: 3px;
}
.size {
    font-size: 22px;
}
.black {
    color: black;
}
.aSave {
    color: black;
}
.dateOfAdoption {
    font-size: 11px;
}
.imageCat {
    margin: auto;
}
.descriptionCat a {
    color: white;
}
.white {
    color: white!important;
}
#form {
    display: block;
    margin: auto;
}


.popup {
    text-transform: uppercase;
    animation: zoomBtn 3s ease infinite;
    position: absolute;
    position: absolute;
    top: 15px;
    right: 10px;
}

.reseauxActu {
    color: rgb(66, 66, 170);
    font-size: 35px;
    margin-right: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.hidden {
    opacity: 0;
    visibility: hidden;
}
.v2 img {
    width: 700px;
}
.enSavoirPlus {
    text-align: end;
    margin-right: 3rem;
}
#containerConditions {
    margin: 40px;
    text-align: center;
    background-color: grey;
    padding: 50px;
    font-weight: bolder;
    border-radius: 10px;
}
.white {
    color: white;
}
#btn {
    background-color: rgb(66, 66, 170);    
    padding: 10px;
    display: inline-block;
    margin-bottom: 15px;
}
#btn:hover {
    background-color: rgb(43, 43, 141);
    cursor: pointer;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: 0;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to left, #000000, #6d6a6a);
    z-index: -1;
}
section {
    display: flex;
    height: 80vh;
    justify-content: center;
    align-items: center;
}
.hero {
    height: 60%;
    width: 100%;
    position: relative;
}
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.headline {
    position: absolute;
    top: 70%;
    left: 12%;
    font-size: 100px;
    transform: translate(-20%, -70%);
    color: rgb(255, 255, 255);
    z-index: 3;
    font-family: 'Style Script', 'sans-serif';
}
.hero::after {
    content: "";
    background: black;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    opacity: 0.3;
    top: 0;
}
.containerIMG img {
    width: 120px;
    display: flex;
    flex-direction: column;
    margin: 10px;
}
.containerAllImg {
    display:flex;
    flex-direction: row-reverse;
  
}
@media(min-width:1025px) {
    .containerAllImg {
        margin: auto;
    }
}
@media(min-width:1200px) {
    .containerAllImg {
       margin:auto;
    }
}
.infosAdoption {
    font-style: italic;
}
.cardDog{
    background-color: rgb(229, 226, 226)!important;
    color: black!important;
}
#containerBtn {
    display: flex;
    justify-content: center;
}
#pageInfo {
    padding: 10px;
}
#menu-demo2, #menu-demo2 ul{
    padding:0;
    list-style:none;
    text-align:center;
    font-family: 'Roboto', sans-serif;
    font-size: 21px;
    }
    #menu-demo2 li{
    display:inline-block;
    position:relative;
    /* border-radius:8px 8px 0 0; */
    }
    #menu-demo2 ul li{
    display:inherit;
    border-radius:0;
    }
    #menu-demo2 ul li:hover{
    border-radius:0;
    }
    #menu-demo2 ul li:last-child{
    border-radius:0 0 8px 8px;
    }
    #menu-demo2 ul{
    position:absolute;
    z-index: 1000;
    max-height:0;
    left: 0;
    right: 0;
    overflow:hidden;
    -moz-transition: .8s all .3s;
    -webkit-transition: .8s all .3s;
    transition: .8s all .3s;
    }
    #menu-demo2 li:hover ul{
    max-height:15em;
    }
    /* background des liens menus */
    #menu-demo2 li:first-child{
    background-color: black;
    }
    #menu-demo2 li:nth-child(2){
    background-color: black;
    }
    #menu-demo2 li:nth-child(3){
    background-color: black;
    } 
    /* #menu-demo2 li:last-child{
    background-color: #838383;
    }
    /* background des liens menus et sous menus au survol */
    #menu-demo2 li:first-child:hover, #menu-demo2 li:first-child li:hover{
    background:#ffffff;
    }
    #menu-demo2 li:nth-child(2):hover, #menu-demo2 li:nth-child(2) li:hover{
    background:#ffffff;
    }
    #menu-demo2 li:nth-child(3):hover, #menu-demo2 li:nth-child(3) li:hover{
    background:#ffffff;
    }
    #menu-demo2 li:last-child:hover, #menu-demo2 li:last-child li:hover{
    background:#ffffff;
    } 
    /* les a href */
    #menu-demo2 a{
    text-decoration:none;
    display:block;
    color:#fff;
    }
    #menu-demo2 ul a{
    padding:8px 0;
    }
    #menu-demo2 li:hover li a{
    color:#fff;
    text-transform:inherit;
    }
    #menu-demo2 li:hover a, #menu-demo2 li li:hover a{
    color:#000;
    }
    #ul {
        flex-direction: column;
    }
    .race {
        color: #F39C12;
    }

    @keyframes appearCardLeft {
        0% {
            position: relative;
            left: -600px;
        }
        100% {
            position: relative;
            left: 0px;
        }
    }

    .imageCat {
        animation: appearCardLeft 2s ease;
    }

    .textCat {
        animation: appearCardRight 2s ease;
    }
    @keyframes appearCardRight {
        0% {
            position: relative;
            right: -900px;
        }
        100% {
            position: relative;
            right: 0px;
        }
    }
.textCat {
    text-overflow: hidden;
    overflow: hidden;
}
.descriptionCat {
    animation: textBottom 2s ease-in-out;
}

@keyframes textBottom {
    0% {
        opacity: 0;
        visibility: hidden;
        position: relative;
        bottom: -400px;
    }
    70% {
        opacity: 0;
        visibility: hidden;
        position: relative;
        bottom: -400px;
    }
    100% {
        visibility: visible;
        opacity: 1;
        position: relative;
        bottom: 0px;
    }
}

.containerAnim{
    animation: textTop 2s ease-in-out;
}

@keyframes textTop {
    0% {
        opacity: 0;
        visibility: hidden;
        position: relative;
        top: -200px;
    }
    70% {
        opacity: 0;
        visibility: hidden;
        position: relative;
        top: -200px;
    }
    100% {
        visibility: visible;
        opacity: 1;
        position: relative;
        top: 0px;
    }
}
.reservedCard {
    text-transform: uppercase;
    background-color: rgb(214 81 81);
    font-family: 'Quicksand'!important;
    font-size: 20px;
    padding: 5px;
    border-radius: 3px;
    width: 100px;
    display: block;
    margin: auto;
    animation: zoomBtn 3s ease infinite;
}
@keyframes zoomBtn {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2, 1.2);
    }
    100% {
        transform: scale(1);
    }
    
}

