* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    height: 100vh;
    overflow: hidden;

    background-image: url("starfont.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    color: white;

}

/* Fond étoilé */
.stars {
    position: fixed;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(white 1px, transparent 1px),
        radial-gradient(white 1px, transparent 1px),
        radial-gradient(white 2px, transparent 2px);
    background-size: 150px 150px, 200px 200px, 300px 300px;
    background-position: 0 0, 50px 80px, 120px 40px;
    z-index: -1;
}

.container {
    text-align: center;
}

h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 0 15px white;
}

p {
    margin-bottom: 40px;
    color: #d0d0ff;
}

.buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    color: white;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    padding: 20px 35px;
    border-radius: 20px;
    font-size: 1.2rem;
    transition: 0.3s;
    backdrop-filter: blur(8px);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.2);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    min-height:100vh;

    background-image:url("starfont.jpg");
    background-size:cover;
    background-position:center;

    font-family:Arial,sans-serif;
    color:white;
}

.overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.5);
}

.container{
    position:relative;
    z-index:1;

    max-width:700px;
    margin:auto;
    padding:40px 20px;
}

h1{
    text-align:center;
    margin-bottom:30px;
}

form{
    display:flex;
    flex-direction:column;
    gap:15px;

    background:rgba(255,255,255,0.1);
    backdrop-filter:blur(10px);

    padding:30px;
    border-radius:20px;
}

label{
    font-weight:bold;
}

input,
textarea{
    padding:12px;
    border:none;
    border-radius:10px;
}

textarea{
    min-height:150px;
    resize:vertical;
}

button{
    margin-top:10px;
    padding:15px;

    border:none;
    border-radius:12px;

    cursor:pointer;

    font-size:1rem;
    font-weight:bold;
}

button:hover{
    transform:scale(1.03);
}

.preview{
    display:flex;
    justify-content:center;
    margin-top:10px;
}

.preview img{
    max-width:180px;
    max-height:180px;

    border-radius:15px;
    display:none;
}

.retour{
    display:inline-block;
    margin-top:20px;
    color:white;
    text-decoration:none;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:url("fond.jpg");
    background-size:cover;
    background-attachment:fixed;

    overflow-y:scroll;
    color:white;
}

#sky{
    position:relative;

    width:100%;
    min-height:10000px;
}

.star{
    position:absolute;

    width:120px;
    cursor:pointer;

    transition:0.3s;
}

.star:hover{
    transform:scale(1.15);
}

#popup{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,0.7);

    display:flex;
    justify-content:center;
    align-items:center;
}

.hidden{
    display:none !important;
}

.popup-content{
    width:500px;
    max-width:90%;

    background:white;
    color:black;

    padding:25px;

    border-radius:20px;
}