@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap'); *{ margin: 0; padding: 0; font-family: 'Poppins', sans-serif; box-sizing: border-box; } @media (min-width: 768px) { /* Écran plus large (tablette, PC) */ .container { flex-direction: row; justify-content: space-around; } } /* Par défaut, style mobile */ body { font-size: 16px; background: linear-gradient(to bottom, #585858, #000000); display: grid; place-items: center; /* Centre horizontalement et verticalement */ height: 100vh; margin: 0; } /* Quand l'écran est large (ex : tablette ou ordinateur) */ @media (min-width: 768px) { body { font-size: 18px; } } .logo{ margin-top: 40px; max-width: 280px; } .logofront{ max-width: 130px; margin-right: 700px; margin-bottom: 880px; } .container { display: flex; flex-direction: column; align-items: center; } h1 { color: #ffffff; font-size: 70%; } h2 { color: #ffffff; font-size: 40%; } .orange { color: #ffa600; text-decoration: none; } .orange:hover { text-decoration: underline; } .login-container { background: white; padding: 20px; border-radius: 30px; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); width: 300px; height: 400px; text-align: center } .login-container input { width: 100%; padding: 10px; margin: 10px 0; border: 1px solid #ccc; border-radius: 50px; font-size: 16px; } .button { width: 100%; padding: 10px; background-color:#ffa600; color: white; border: none; border-radius: 50px; font-size: 18px; cursor: pointer; transition: background 0.3s ease; text-decoration: none; } .button:hover { background-color: #dd3000; }