body { font-family: Arial, Helvetica, sans-serif; background-color: #ecf0f1; margin: 10; padding: 0; } .loader { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; display: flex; z-index: 100; align-items: center; justify-content: center; background: #333333; transition: opacity 3s, visibility 0.75s; } .loader--hidden { opacity: 0; visibility: hidden; } .loader::after { content: ""; width: 75px; height: 75px; border: 15px solid #dddddd; border-top-color: #0e64e5; border-radius: 50%; animation: loading 3s ease infinite; } @keyframes loading { from { transform: rotate(0turn); } to { transform: rotate(1turn); } } .all { text-align: center; margin-top: 100px; } header { display: flex; justify-content: space-between; align-items: center; background-color: #f8f8f8; border-radius: 20px; box-shadow: 0 0 10px rgba(105, 138, 187, 0.781); transition: box-shadow 0.3s ease; } header:hover { box-shadow: 0 0 20px rgba(105, 138, 187, 0.781); } .logo { padding-left: 10px; display: flex; align-items: center; } .logo a { text-decoration: none; color: #333; } .logo img { margin-right: 10px; } .logo a:hover { text-decoration: underline; } .right { display: flex; align-items: center; } .right a { text-decoration: none; padding-right: 10px; color: #333; } .right a:hover { text-decoration: underline; } h1 { line-height: 0px; font-size: 40px; color: #1e272e; } p { color: #666; } .input { padding: 10px; margin-top: 20px; width: 50%; border: 1px solid #ccc; border-radius: 5px; } .input:hover { border-color: #007bff; box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); } .input:focus { border-color: #5f9ff9; box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); } button { display: inline-block; border-radius: 4px; background-color: #4a69bd; border: none; color: #FFFFFF; text-align: center; font-size: 13px; padding: 16px; width: 30; transition: all 0.5s; cursor: pointer; margin: 5px; } button span { cursor: pointer; display: inline-block; position: relative; transition: 0.5s; } button span:after { content: 'ยป'; position: absolute; opacity: 0; top: 0; right: -15px; transition: 0.5s; } button:hover span { padding-right: 15px; } button:hover span:after { opacity: 1; right: 0; } .msg { font-size: 25px; margin-top: 20px; padding-left: 50px; text-align: left; color: black; } .output { margin-top: 2px; padding: 10px; padding-left: 50px; border: 1px solid #c0c0c0; border-radius: 5px; text-align: left; color: black; } @media (prefers-color-scheme: dark) { body { background-color: #1c1f23; } header { background-color: #424242; } .right a { color: #e9e5e5; } .right img { filter: invert(1); } h1 { color: #e9e5e5; } p { color: #d4cccc; } .msg { color: rgb(225, 214, 214); } .output { border: 1px solid #2b2b2b; color: rgb(225, 214, 214); } .input { background: #2a2b33; color: #b6b6b7; } }