.link:nth-child(3){
    text-decoration: underline;
}

details, .dresseur{
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #dcdcdc;
    border: solid 2px #000000;
    margin-bottom: 20px;
    width: 70%;
}

.titre-categorie{
    margin-bottom: 20px;
}

details[open] summary{
    cursor: pointer;
    margin-bottom: 20px;
}

details[closed] summary{
    margin-bottom: 0;
}

label, .titre-categorie{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: fit-content;
}

form{
    padding-bottom: 20px;
    display: block;
}

/* écran divisé par deux*/
@media screen and (width <=720px){
    .connexion{
        margin-top: 20%;
    }
}

.envoie{
    background-color: #E52228;
    color: #ffff;
    border: none;
    border-radius: 20px;
    width: 150px;
    height: 40px;
    font-size: 1.25rem;
    font-weight: 400;
    font-style: normal;
    cursor: pointer;
}

.add-pokemon{
    background-color: #ffffff;
    color: #E52228;
    border: solid 3px #E52228;
    border-radius: 10px;
    width: fit-content;
    height: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.add-pokemon:hover{
    background-color: #E52228;
    color: #ffff;
}

.remove-pokemon{
    background-image: url("Images/trash-filled-svgrepo-com.svg");
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -15px;
    margin-bottom: 50px;
    background-color: #E52228;
    color: #ffff;
    width: 100px;
    height: 40px;
    cursor: pointer;
    border-radius: 10px;
}

.popup{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #d13035;
    border: solid 2px #ffa8a8;
    color: #ffff;
    padding: 20px;
    max-width: 400px;
    border-radius: 10px;
    z-index: 1000;
}

.fond{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.croix{
    display: block;
    position: fixed;
    top: 0%;
    left: 100%;
    transform: translate(-50%, -50%);
    background-image: url("Images/cross-remove-sign-svgrepo-com 1.svg");
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
}

.msg-supprime{
    display: none;
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #d13035;
    border: solid 2px #ffa8a8;
    color: #ffff;
    padding: 20px;
    max-width: 400px;
    border-radius: 10px;
    z-index: 1000;
}

@keyframes msg {
    0%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}

input[type="number"], select{
    width: fit-content;
    padding: 5px;
    border: solid 1px #000000;
    border-radius: 5px;
}

input[type="text"], input[type="password"]{
    width: 200px;
    padding: 5px;
    border: solid 1px #000000;
    border-radius: 5px;
}

.obligatoire{
    color: red;
}

span{
    display: flex;
    flex-direction: column;
    gap: 0px;
}


.connexion{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgb(255, 255, 255);
    color: #000000;
    z-index: 900;
    padding-top: 200px;
}

.connexion input{
    display: block;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
}

body{
    overflow: hidden;
}

.connexion p{
    max-width: 400px;
    margin-bottom: 50px;
}

.erreur{
    color: #ffa8a8;
    display: none;
}

.oeil{
    /* background-color: aquamarine; */
    width: 30px;
    height: 30px;
    background-size: cover;
    margin-bottom: 20px;
    cursor: pointer;
}

.visible{
    background-image: url("Images/eye-slash-visibility-visible-hide-hidden-show-watch-svgrepo-com.svg");
}

.invisible{
    background-image: url("Images/eye-visibility-visible-hide-hidden-show-watch-svgrepo-com.svg");
}

.champ-mdp{
    display: flex;
    align-items: center;
    /* background-color: aqua; */
    gap: 10px;
}

.dresseur{
    display: block;
}

.dresseur input, .dresseur select, .poke input, .poke select{
    margin-bottom: 20px;
}

/* .reussite{
    display: none;
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #28a745;
    border: solid 2px #73ff94;
    color: #ffff;
    padding: 20px;
    max-width: 400px;
    border-radius: 10px;
    z-index: 1000;
} */