/* TOUT/AUTRES -------------------------------------------------------- */

* {
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
}

a{
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

.lienactif {
    text-decoration: underline;
    font-weight: bold;
}


body{
    background-color: #d4d4d4;
}

p {
    font-size: 2vh;
}

.logo h1{
    height: 8vh;
    margin-bottom: 20px;
}

/* HEADER -------------------------------------------------------- */

header {
    height: auto;
    width: 100%;
    background-color: #0F0F0F;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

nav {
    width: 800px;
    padding: 20px;
    margin: auto;
    
}

nav ul {
    display: flex;
    justify-content: space-between;
    padding: 0;
    
}

nav li {
    margin-left: 10px;
    list-style: none;
}

nav a {  
    color: rgb(255, 255, 255);
    font-size: 2vh;
    justify-content: center;
}




/* SECTION -------------------------------------------------------- */


section{
    padding: 5vh;
}


.divg{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.divp{
    width: 40vh;
    text-align: center;
    position: relative;
    margin-bottom: 55px;
    transition: transform 0.2s ease;
}

.divp img {
    width: 100%; 
    height: auto; 
    border-radius: 15px;
    display: block;
}

.divp:hover {
    transform: scale(1.1);
}

.divp p, .divp button {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white; 
    background: rgba(0, 0, 0, 0); 
    text-align: center; 
    border-radius: 15px;
    cursor: pointer;
    border: none;
    /* bouton invisible et de la taille de l'image */
}

.divp p {
    opacity: 0; 
    transition: opacity 0.3s ease;
}

.divp:hover p {
    opacity: 1; 
    background-color: #00000050;
    text-decoration: underline;
}

.divp:hover img {
    filter: blur(2px);
}


.formulaireG {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    margin: 50px auto; 
    width: 40vh; 
}

.formulaireP {
    display: flex; 
    align-items: center;
    justify-content: space-between; 
    width: 100%;
    margin-bottom: 15px; 
    color: white;
}

.textp {
    margin: 2vh;
}
/* FOOTER -------------------------------------------------------- */

footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 10px;
    height:auto;
    background-color: #0F0F0F;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-sizing: border-box;
    margin: 0;
}
footer ul{
    display: flex;
    justify-content: space-around;
    padding: 0;
}
footer li{
    text-align: center;
    margin-left: 10px;
    list-style: none;
}
footer a{
    color: white;
}