.hidden{ visibility: hidden; } html{ height: 100%; background-image: url(../page/palin.png); background-position: center; background-repeat: no-repeat; background-size: cover; } body{ display: flex; flex-direction: row; align-items: stretch; height: 98%; margin-top: 10px; padding: 0; } div.enigme{ width: 25%; height: 100%; margin: 0; padding: 0; } div.editor_class{ width: 45%; min-height: 100%; margin-bottom: 0; margin-right: 10px; } div.compiler_class{ width: 30%; } textarea { font-size: .8rem; letter-spacing: 1px; } textarea { padding: 10px; max-width: 95%; max-height: 50%; line-height: 1.5; border-radius: 5px; border: 1px solid #ccc; box-shadow: 1px 1px 1px #999; } @import url('https://fonts.googleapis.com/css?family=Lato:100&display=swap'); div.compiler_class.container { width: 400px; height: 400px; display: flex; flex-direction: row; align-items: stretch; } .right { width: 180px; height: 60px; } .left { width: 180px; height: 60px; position: relative; } .btn { width: 180px; height: 60px; cursor: pointer; background: transparent; border: 1px solid #11f830; outline: none; transition: 0.5s ease-in-out; color: white; font-size: 18px; font-weight: 100; position: absolute; } svg { left: 0; top: 0; stroke: #df0d0d; stroke-dasharray: 150 480; stroke-dashoffset: 150; transition: 5s ease-in-out; } .btn:hover { transition: 0.5s ease-in-out; background: #11f830; opacity: 50%; } .btn:hover svg { stroke-dashoffset: -480; }