/*Fonts CSS */ @import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap'); /*Default CSS*/ * { margin: 0; padding: 0; box-sizing: border-box; } h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; line-height: normal; } p, a, li, button, ul { margin: 0; padding: 0; line-height: normal; text-decoration: none !important; } a:hover { text-decoration: none !important; } input:focus, textarea:focus, select:focus { outline: none; } @media (min-width:1700px) { main .buttons { max-width: 100%; padding: 0 150px; } } /* Main CSS */ html{ scroll-behavior: smooth; background-color: black; height: 100vh; background-position: center; background-repeat: no-repeat; background-size: cover; } body{ display: flex; font-family: "Orbitron" , sans-serif; flex-direction: row; align-items: stretch; height: 100%; margin-top: 10px; padding: 0; } .enigme{ width: 25%; height: 100%; margin: 0; padding: 0; margin-left: 20px; color: aliceblue; } .editor_class{ width: 45%; min-height: 100%; margin-bottom: 0; margin-right: 10px; } .compiler_class{ width: 30%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; } textarea { font-size: .8rem; letter-spacing: 1px; } #console { padding: 10px; margin: 10px; max-width: 95%; max-height: 100%; line-height: 1.5; border-radius: 5px; resize: none; } /* Button Css */ .buttons{ display: flex; justify-content: center; align-items: center; flex-direction: column; } .compiler_class .buttons div{ display: flex; } .buttons .btn{ position: relative; width: 120px; height: 60px; display: inline-block; background: transparent; margin: 20px; } .buttons .btn:before, .buttons .btn:after { content:''; position: absolute; inset: 0; transition: 0.5s; background: #f00 } .buttons .btn:nth-child(1):before, .buttons .btn:nth-child(1):after { background: linear-gradient(45deg, #00ccff, #0e1538, #d400d4) } .buttons .btn:nth-child(2):before, .buttons .btn:nth-child(2):after { background: linear-gradient(45deg, #f0075b, #0e1538, #1aff22); } .buttons .btn:hover:before { inset: -3px; } .buttons .btn:hover:after { inset: -3px; filter: blur(10px); } .buttons .btn span{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: inline-block; background: #0e1538; z-index: 10; display: flex; justify-content: center; align-items: center; font-size: 1.2em; text-transform: uppercase; letter-spacing: 2px; color: #fff; border: 1px solid #040a29; overflow: hidden; } .buttons .btn span::before{ content:''; position: absolute; top: 0; left: -50%; width: 100%; height: 100%; background: rgba(255,255,255,0.075); transform: skew(25deg) } #hide{ display: none; } #console{ display: none; }