@font-face { font-family: 'Tajawal'; font-weight: 400; src: url("../font/Regular.ttf") format("truetype"); } @font-face { font-family: 'Tajawal'; font-weight: 500; src: url("../font/Medium.ttf") format("truetype"); } @font-face { font-family: 'Tajawal'; font-weight: 700; src: url("../font/Bold.ttf") format("truetype"); } * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background-color: #16181D; background-image: url("../images/bg.png"); background-position: bottom; background-size: cover; position: relative; display: flex; justify-content: center; align-items: center; flex-direction: column; height: 100vh; user-select: none; color: #eee; font-size: 14px; z-index: 1; } body::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(22, 24, 29, 0.55); z-index: -1; } img { pointer-events: none; } .msg { direction: rtl; position: absolute; top: -32px; display: flex; align-items: center; padding: 5px 15px; border-radius: 5px; text-shadow: 0 0 0; text-transform: none; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); font-size: 14px; transition: all .5s ease-in-out; z-index: 5; } .msg.show { top: 30px; } .msg.error { background-color: #b23434; } .msg.success { background-color: #39ac73; } .msg span { margin-right: 10px; } .msg img { width: 15px; height: 15px; } .panel { display: flex; height: 500px; } .panel .side { width: 400px; height: 100%; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); } .panel .side.left { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 15px 0 0 15px; background-image: url("../images/bg.png"); background-size: cover; background-position: 45%; margin-right: 5px; z-index: 1; } .panel .side.left::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(22, 24, 29, 0.75); z-index: -1; } .panel .side.left img { width: 120px; } .panel .side.left canvas { display: block; margin-top: 15px; } .panel .side.left .settings { position: absolute; bottom: 12px; right: 0; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 30px; } .panel .side.left .settings .remember { direction: rtl; margin-left: 30px; } .panel .side.left .settings .remember .switch { background-color: #1D2026; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); border-radius: 5px; margin-top: 7.5px; padding: 3px 0; } .panel .side.left .settings .remember .switch span { padding: 1px 9px; transition: all .2s ease-in-out; border-radius: 2px; } .panel .side.left .settings .remember .switch span:first-of-type.active { background-color: #00B447; } .panel .side.left .settings .remember .switch span:last-of-type.active { background-color: #b23434; } .panel .side.left .settings .songToggle { position: relative; opacity: 0.8; top: 6px; } .panel .side.left .settings .songToggle img { width: 25px; height: 25px; } .panel .side.right { position: relative; height: 100%; background-color: rgba(22, 24, 29, 0.9); padding: 30px; border-radius: 0 25px 25px 0; direction: rtl; } .panel .side.right::before, .panel .side.right::after { content: ''; position: absolute; left: -49px; width: 150%; height: 200px; } .panel .side.right::before { top: -113px; background-color: #0086e6; transform: rotate(-13deg); z-index: 1; opacity: 0.2; } .panel .side.right::after { top: -125px; background-color: #0086e6; transform: rotate(21deg); opacity: 0.5; z-index: 2; } .panel form { text-align: center; margin-top: 110px; } .panel form#signup, .panel form#recovery { display: none; } .panel form h1 { color: #eee; margin-bottom: 25px; text-transform: uppercase; color: #0086e6; } .panel form > div { position: relative; } .panel form > div img { position: absolute; top: calc(50% - 10px); right: 15px; display: block; width: 20px; opacity: 0.5; transition: all .2s ease-in-out; } .panel form input { display: block; width: 100%; margin-bottom: 10px; background-color: transparent; border: none; border-bottom: 1px solid #0086e6; padding: 10px 45px 10px 10px; outline: none; color: #0086e6; font-size: 15px; font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; transition: all .2s ease-in-out; } .panel form input::placeholder { color: #0F5386; transition: all .2s ease-in-out; } .panel form input:focus { border-color: #0086e6; } .panel form input:focus::placeholder { color: #0086e6; } .panel form input:focus + img { opacity: 1; } .panel form button { display: block; width: 100%; margin-top: 17px; background-color: #0086e6; color: #1D2026; border: none; padding: 3px; border-radius: 15px; font-size: 15px; outline: none; font-weight: bold; font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .panel form button:hover { text-decoration: underline; } .panel form .recovery { display: block; margin-top: 10px; } .panel form .recovery:hover { text-decoration: underline; } .panel form .account { display: block; width: 100%; left: 0; } .panel form .account img { margin-right: 5px; top: 5.5px; } .panel form .account, .panel .back { position: absolute; bottom: 30px; opacity: 0.8; } .panel form .account img, .panel .back img { position: relative; width: 14px; margin-left: 5px; } .panel form .account:hover, .panel .back:hover { text-decoration: underline; } .panel .back { left: 30px; display: none; } .panel .back img { margin-left: 5px; top: 4px; } .panel.showSignUp form#signin { display: none; } .panel.showSignUp form#signup { display: block; } .panel.showSignUp .back { display: block; } .panel.showrecovery form#signin { display: none; } .panel.showrecovery form#recovery { display: block; } .panel.showrecovery .back { display: block; } @media (max-width: 767px) { .panel .side.left { display: none; } .panel .side.right { border-radius: 25px; } } @media (max-height: 525px) { .panel { padding: 10px 0; height: 100%; } }