/* Importation de la police */
@font-face {
    font-family: "ma font";
    src: url(./../../Fonts/MagilioRegular-8Mxvg.otf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html{
    padding: 0;
    margin: 0;
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Navigation dans le header */

header, .text-bienvenue {
    padding: 2em;
}

.navigation{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lien_nav_gauche{
    display: flex;
    justify-content: center;
    align-items: center;
}

.lien_nav_droite{
    display: flex;
    justify-content: end;
}

nav {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

header, section{
    background-color: #B7C3BA;
}

#suggestions{
    padding:25px;
    font-family: "ma font", sans-serif;
}

.logo {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
}

a {
    font-family: "ma font", sans-serif;
    color: #1B0E0E;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #354f52;
}

.lien{
    padding: 6px;
    border-radius: 7px;
    background-color: #B7C3BA;
}

.lien:hover{
    background-color:#354f52 ;
    color: #B7C3BA;
}

/* form de connexion pour le mdp*/

main{
    padding: 2em;
    display: flex;
    justify-content: center;
}

.se-connecter{
    border: 1px solid black;
    width: 400px;
    height: 500px;
    color:white;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

form{
    display: block;
    box-sizing: border-box;
    padding: 40px;
    width: 100%;
    height: 100%;
    backdrop-filter: brightness(40%); /*grisement du fond pour voir le texte */
    flex-direction: column;
    display: flex;
    gap: 5px;
}

h1{
    font-weight: normal;
    font-size: 24px;
    text-shadow: 0px 0px 2px rgba(0,0,0,0.5);
    margin-bottom: 60px;
}

label{
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 2px;
    padding-left: 10px;
}

input{
    background:rgba(255,255,255,0.3);
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    padding: 0px 20px;
    border: none;
    margin-bottom:20px ;
    color: white;
}

button{
    background:#B7C3BA;
    height: 40px;
    line-height: 40px;
    border-radius: 40px;
    border: none;
    margin: 10px 0px;
}

/* Effet de zoom et de dézoom */

.aggrandir { 
    transition: all 0.2s ease-in-out; 
}

.aggrandir:hover { 
    transform: scale(1.1); 
}

.dezoom{ 
    transition: all 0.2s ease-in-out; 
}

.dezoom:hover { 
    transform: scale(0.95); 
}
