*{
    text-decoration: none;
    scroll-behavior: smooth;
}

body{
    margin: 0px;
    background-color: rgb(255, 255, 255);
    font-family: "lores-9-wide", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.25rem;
}

/* écran divisé par deux*/
@media screen and (width <=880px){
   .logo{
    font-size: 0rem;
   }

}

/* écran tout petit*/
@media screen and (width <=720px){
    nav{
        flex-wrap: wrap;
        gap: 50px;
    }

    .links{
        flex-direction: column;
        display: block;
        flex-wrap: wrap;
        justify-content: center;
        gap: 50px;
        align-items: center;
    }

    .logo{
        visibility: hidden;
        position: absolute;
    }

    footer{
        font-size: 1rem;
    }

    /* .popup-filtre{
        max-width: 400px;
        bottom: 100px;
    } */
}

nav{
    display: flex;
    position: relative;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 80px;
    background-color:#E52228;
    height: fit-content;
    padding-top: 20px;
    padding-bottom: 20px;
    z-index: 1000;
}

.logo{
    display: flex;
    color: #ffff;
    /* background-color: cyan; */
    align-items: center;
}

.logo img{
    width: 50px;
    margin-right: 7px;
}

nav .links{
    display: flex;
    list-style-type: none;
}

nav .link{
    margin-left: 60px;
    /* background-color: aqua; */
    display: flex;
    align-items: center;
    color: #ffff;
}

.link img{
    max-height: 40px;
    width: 30px;
    margin-right: 7px;
}

nav .link:hover{
    text-decoration: underline;
}

@keyframes anime-arrow {
    0%{
        translate: 0;
    }

    50%{
        translate: 0 30px;
    }

    100%{
        translate: 0;
    }
}

/* @keyframes pokeball{
    0%{
        transform: rotate(0);
    }
    25%{
        transform: rotate(-30deg);
    }

    75%{
        transform: rotate(30deg);
    }
    100%{
        transform: rotate(0);
    }
} */

.logo img:hover{
    animation-name: pokeball;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

::selection {
    background-color: #fa001186;
}

nav *::selection {
    background-color: #ffffff8f;
    color: rgb(0, 0, 0);
}

p a{
    text-decoration: underline;
    color: #E52228;
}

section:not(#hero){
    margin-top: 100px;
    margin-right: 50px;
    margin-left: 50px;
}

:focus-visible{
    outline: solid 2px #E52228;
}

nav *:focus-visible, footer *:focus-visible{
    outline: solid 2px #ffff;
}

footer{
    display: block;
    background-color: #E52228; 
    color: #ffff;
    justify-content: center;
    margin-top: 100px;
    padding-right: 50px;
    padding-left: 50px;
    padding-top: 50px;
}


footer h4{
    margin-top: 30px;
    padding-left: 20px;
}

footer li{
    margin-bottom: 20px;
}

footer ul{
    margin-bottom: 40px;
    max-width: 850px;
    padding-left: 50px;
    /* background-color: #67cc56; */
}

.card{
    max-width: 300px;
    border: 3px solid #00000012;
    box-shadow: 0px 0px 20px #00000029;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin: 20px;
    background-color: #ffffff;
    height: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.illustration{
    display: flex;
    justify-content: center;
    /* background-image: url("Images/PO01_-_Arène_d'Argenta.png"); */
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    height: 300px;
}

.card img{
    width: 70%;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    object-position: center;
    /* background-color: aqua; */
}

.titre-card{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card h3{
    /* background-color: royalblue; */
    width: fit-content;
}

.card ul{
    /* background-color: lightgreen; */
    width: fit-content;
}
.card p{
    font-size: 1.25rem;
    font-weight: 400;
    font-style: normal;
    color: #000000;
    background-color: salmon;
}

.voir-detail{
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #E52228;
    color: #ffff;
    border: none;
    border-radius: 10px;
    width: fit-content;
    padding-right: 20px;
    padding-left: 20px;
    height: 40px;
    font-size: 1.25rem;
    font-weight: 400;
    font-style: normal;
    cursor: pointer;
}

.gelule-gen{
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.gelule-gen img{
    position: absolute;
    width: 100%;
    height: 100%;
}

.gelule-gen p{
    z-index: 100;
    position: absolute;
    color: #000000;
    background-color: #ffffff;
    border-radius: 999px;
    border: solid 2px #000000;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
}

.liste-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.top{
    text-decoration: none;
    color: #E52228;
    background-color: #ffff;
    padding: 15px;
}

input[type=submit]{
    background-color: #E52228;
    color: #ffff;
    border: none;
    border-radius: 10px;
    width: fit-content;
    padding-right: 20px;
    padding-left: 20px;
    height: 40px;
    font-size: 1.25rem;
    font-weight: 400;
    font-style: normal;
    cursor: pointer;
    font-family: "lores-9-wide", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.25rem;
}