
body {
    background: radial-gradient(circle at 50% 0%, var(--nebulapurple) -100%, var(--background) 50%);
    height: auto;


}

header {
    height: 80px;
    width: 100%;
}

.header-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    height: 100%;
    align-items: center;
}

.header-container img {
    width: 30px;
    height: 30px;
}

h1 {
    font-size: 1.5rem;
    color: var(--nebulapurple);
    font-family: "League Spartan", sans-serif;

}


/*div qui permet de donne rles dimenssions de la page*/

.global-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 70vh;
}

h2 {
    text-align: center;
    font-size: 1.875rem;
    margin-top: 5.5rem;
}

form {
    margin-top: 2.5rem;
    width: 32rem;
}
label{
    color: #aeaeb2;
}
input {
    padding: 13px;
    width: 100%;
    border-radius: 5px;
    border: 2px solid transparent;
    margin: 1rem 0;
    transition: border-color 0.3s ease;
    background: #27272a;
    color: #fff;
}

input:focus {
    border-color: var(--nebulapurple);
    outline: none;
}
.new-mdp h3{
    margin: 0 1rem;
}

button {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 5px;
    background-color: var(--nebulapurple);
    color: #fff;
    transition: all .3s;
    cursor: pointer;
}
button:hover{
    background-color: #6e18b9;
}


.login-flex{
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}
.login-flex p{
    color: #686870;
    text-align: center;
}
.login-flex a{
    color: #a1a1aa;
    transition: all .5s;
    cursor: pointer;
    margin-left: 10px;
}
.login-flex a:hover{
    color: #fff;
}
.star {
    position: absolute;
    background: #9f35fc;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    box-shadow: 0px 4px 6px rgba(159, 53, 252, 0.5);
    /* Ombre légère */
}

/* Positionnement aléatoire et tailles pour les étoiles */
.star:nth-child(1) {
    top: 10%;
    left: 15%;
    transform: rotate(45deg);
    width: 15px;
    height: 15px;
}

.star:nth-child(2) {
    top: 30%;
    left: 83%;
    width: 18px;
    height: 18px;
}

.star:nth-child(3) {
    top: 99%;
    left: 43%;
    width: 22px;
    height: 22px;
}

.star:nth-child(4) {
    top: 70%;
    left: 20%;
    transform: rotate(60deg);
    width: 16px;
    height: 16px;
}

.star:nth-child(5) {
    top: 80%;
    left: 80%;
    width: 12px;
    height: 12px;
}

.star:nth-child(6) {
    top: 96%;
    left: 70%;
    transform: rotate(30deg);
    width: 20px;
    height: 20px;
}

.star:nth-child(7) {
    top: 40%;
    left: 12%;
    transform: rotate(13deg);
    width: 16px;
    height: 16px;
}

.star:nth-child(8) {
    top: 8%;
    left: 80%;
    width: 14px;
    height: 14px;
}

.star:nth-child(9) {
    top: 20%;
    left: 20%;
    transform: rotate(90deg);
    width: 17px;
    height: 17px;
}

.star:nth-child(10) {
    top: 60%;
    left: 75%;
    width: 19px;
    height: 19px;
}

@media (max-width: 1024px) {
    form{
        width: 95%;
    }
    .star{
        display: none;
    }

}