/*****************************************************************************************
/* Fichier ...................... : style.css
/* Type ......................... : Document CSS
/* Titre ........................ : CSS du projet PitouMAF
/* Auteur ....................... : Audy Altis, Maxime Grondin & Félix Laventure
/* Date de création ............. : 2024/09/17
/* Date de modification ......... : 2024/09/26
/*****************************************************************************************/

/*======================================= GLOBAL =======================================*/
/* CSS pour l'image de fond de certaine page */
.background {
    position: relative;
    z-index: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 100%;
}

/**** Authentification ****/
#backgroundImgAuth {
    background-image: url("../img/image/auth2.jpeg");
}

#backgroundImgCategorie {
    background-image: url("../img/image/background4.jpg");
}

#backgroundImgAPropos {
    background-image: url("../img/image/background3.jpg");
}

/* CSS pour le header de toute les pages avec le carousel et le nav non sticky */
/***************** Header *****************/
.header_carousel {
    height: 450px;
    position: relative;
}

.header_carousel>.carousel {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel img {
    width: 100%;
    height: 100%;
    opacity: 0.9;
    object-fit: cover;
}

.imgSc {
    object-position: 0% 40%;
}

.imgTh {
     object-position: 0% 45%;
}

.carousel.active {
    opacity: 1;
    position: relative;
}

/*ANIMATION SLIDE A FAIRE PLUS TARD !*/
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/******** Logo ********/
#logo {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

/******** Titre ********/
.titre {
    position: absolute;
    z-index: 2;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    /*font-family:Georgia, 'Times New Roman', Times, serif;*/
    font-style: bold;
    text-align: center;
}

.titre h1 {
    font-size: 110px;
}

.titre span {
    color: red;
}

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

/*********** Navbar ***********/
#navbar {
    position: sticky;
    top: 0;
    z-index: 100;
}


#logo-container.show {
    display: block;
}

#logo-container.hidden {
    display: none;
}

/*********** Footer ***********/
/* pour les pattes de chiens qui suivent la souris */

.paws-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
}

.paw {
    position: absolute;
    width: 50px;
    height: auto;
    opacity: 0.9;
    pointer-events: none;
    animation: fadeOut 3.5s forwards ease-out;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.7);
    }
}
/*======================================= CONNEXION/INSCRIPTION =======================================*/


/***************** Style des liste a *****************/
.nav-item>a {
    font-weight: bold;
}

.nav-item>a.active {
    text-decoration: underline;
    color: #c48e47;
}

/***************** Style Input Connexion/inscription *****************/
.deco-underline {
    border: none;
    background-color: rgba(255, 255, 255, 0);
    border-bottom: 2px solid #FFF;
    padding: 1px 0;
    outline: none;
}

.deco-underline::placeholder {
    color: #FFF;
}

/*======================================= LISTE ADMIN =======================================*/

#liste>tr.active, #paginationCtrl>button.active {
    color: #d49138;
}

.transformation {
    transform: translate(-50%, 50%);
    white-space: nowrap;
}

/*======================================= LISTE INVENTAIRE =======================================*/

#inv> button.active {
    background: #d49138;

    color: white;
}

#paginationCtrol>button.active {
    color: rgb(250, 204, 21);
    /*yellow-400*/
    background-color: rgb(75, 85, 99);
    /*gray-600*/
}

/*======================================= A Propos =======================================*/
.card {
    width: 35%;
}

.app-item>a.active {
    text-decoration: underline;
    color: #D2B48C;
}

/* Pour les quotes des clients satisfaits  */
blockquote {
    padding: 1rem;

    border-left: 5px solid #333;
    margin: 1rem 0;
}

.swiper-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.swiper-slide {
    max-width: 100%;
    box-sizing: border-box;
}

/*======================================= Nos Chiens =======================================*/

/*********** Tableau ***********/
.tableauCenter{
    display: flex;
    justify-content: center;
    align-items: center;
}



.grisFiltre {
    filter: grayscale(100%);
}

.textReserver {
    display: flex;
    justify-content: center;
    align-items: center;
    color: red;
}

.TextInformationChiot {
    width: 47%;
    display: flex;
    justify-content: center;
    color: black;
    font-size: 24px;
}

.containertextChiot {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.container2TextChiot {
    width: 100%;
    position: relative;
    top: -6%;
}

/*********************************** Responsive ***********************************/

/* tailwind : 2xl */
@media only screen and (max-width: 1536px) {

    /******** Logo ********/
    #logo {
        width: 90px;
        height: 90px;
        top: 20px;
        left: 20px;
    }

    /******** Titre ********/
    .titre {
        top: 25%;
    }

    .titre h1 {
        font-size: 95px;
    }

    .titre h2 {
        font-size: 35px;
    }

    /******** OS erreur ********/
    .erreur {
        top: 18%;
    }
}

/* tailwind : xl */
@media only screen and (max-width: 1280px) {
    /* tailwind : xl */

    /***************** Header *****************/
    .header_carousel {
        height: 400px;
    }

    /******** Logo ********/
    #logo {
        width: 85px;
        height: 85px;
        top: 20px;
        left: 20px;
    }

    /******** Titre ********/
    .titre {
        top: 25%;
    }

    .titre h1 {
        font-size: 75px;
    }

    .titre h2 {
        font-size: 30px;
    }

    /******** OS erreur ********/
    .erreur {
        top: 22%;
    }
}

/* tailwind : md */
@media only screen and (max-width: 768px) {
    /* tailwind : md */

    /***************** Header *****************/
    .header_carousel {
        height: 300px;
    }

    /******** Logo ********/
    #logo {
        width: 70px;
        height: 70px;
        top: 20px;
        left: 20px;
    }

    /******** Titre ********/
    .titre {
        top: 15%;
    }

    .titre h1 {
        font-size: 55px;
    }

    .titre h2 {
        font-size: 25px;
    }

    /******** OS erreur ********/
    .erreur {
        top: 18%;
    }
}

/* tailwind : sm */
@media only screen and (max-width: 640px) {
    /* tailwind : sm */

    /***************** Header *****************/
    .header_carousel {
        height: 200px;
    }

    /******** Logo ********/
    #logo {
        width: 45px;
        height: 45px;
        top: 20px;
        left: 20px;
    }

    /******** Titre ********/
    .titre {
        top: 13%;
    }

    .titre h1 {
        font-size: 30px;
    }

    .titre h2 {
        font-size: 15px;
    }

    /******** OS erreur ********/
    .erreur {
        top: 18%;
    }

    /******** OS erreur ********/
    .erreur {
        top: 20%;
    }

    /******** A propos ********/
    .card {
        width: 60%;
    }

}

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

    /******** Logo ********/
    #logo {
        width: 35px;
        height: 35px;
        top: 15px;
        left: 15px;
    }

    /******** Titre ********/
    .titre {
        top: 10%;
    }

    .titre h1 {
        font-size: 26px;
    }

    .titre h2 {
        font-size: 14px;
    }

    /******** OS erreur ********/
    .erreur {
        top: 18%;
    }

    /** Tableau admin liste **/
    #listTable thead tr {
        display: none;
    }

    #listTable tr {
        display: block;
        margin-bottom: 10px;
        border: solid 1px #FFF;
    }

    #listTable td {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
        padding: 5px;
    }
}

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

    /******** Titre ********/
    .titre h1 {
        font-size: 20px;
    }

    /******** OS erreur ********/
    .erreur {
        top: 12%;
    }

    .carouselCategorie-container {
        position: relative;
        overflow: hidden;
        width: 100%;
        /* Ajuste selon tes besoins */
    }

    .carouselCategorie-wrapper {
        display: flex;
        transition: transform 0.5s ease;
    }

    .carouselCategorie-slide {
        min-width: 100%;
        /* Chaque diapositive prend toute la largeur */
    }

    /******** A propos ********/
    .card {
        width: 90%;
    }
}




