body { font-family: sans-serif; background: rgb(251, 238, 0); display: flex; justify-content: center; align-content: center; height: 100vh; transition: all 0.5s ease; } #notlogin, #login { background: rgb(255, 204, 0); padding: 2rem; border-radius: 10px; } body.not-logged-in #login { display: none; } body.not-logged-in #notlogin { display: block; } body.logged-in #notlogin { display: none; } body.logged-in #login { display: block; } input { display: block; margin-bottom: 1rem; padding: 0.5rem; width: 100%; border-radius: 5px; } button { padding: 0.5rem 1rem; background: rgb(153, 255, 0); color: white; border: none; border-radius: 5px; cursor: pointer; } button:hover { background: dodgerblue; } .error { color: red; font-size: 0.9rem; } .sirase { font-family: sans-serif; background: rgb(255, 204, 0); display: flex; justify-content: center; align-content: center; height: 100vh; padding: 2rem; border-radius: 10px; flex-direction: column; margin-left: 1rem; padding-left: 0.5rem; } .to { justify-content: center; } .dot { width: 10px; height: 10px; background-color: green; border-radius: 50%; animation: blink 1.5s infinite; display: inline-block; } @keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } } .taidot { width: 10px; height: 10px; background-color: rgb(0, 136, 255); border-radius: 50%; animation: blink 1.5s infinite; display: inline-block; } .hodot { width: 10px; height: 10px; background-color: rgb(255, 119, 0); border-radius: 50%; animation: blink 1.5s infinite; display: inline-block; } .tyoudot { width: 10px; height: 10px; background-color: rgb(34, 255, 0); border-radius: 50%; animation: blink 1.5s infinite; display: inline-block; } .hijodot { width: 10px; height: 10px; background-color: rgb(255, 0, 0); border-radius: 50%; animation: blink 0.9s infinite; display: inline-block; }