@import url("https://fonts.googleapis.com/css?family=Fira+Sans:600|Heebo:400,500,700&display=swap"); /*Fade in page on load*/ @-webkit-keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @-moz-keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } /*Fade in page on load*/ body { background: #16171B; margin: 0; padding: 0; opacity: 0; /* make things invisible upon start */ -webkit-animation: fadeIn ease-in 1; -moz-animation: fadeIn ease-in 1; animation: fadeIn ease-in 1; -webkit-animation-fill-mode: forwards; -moz-animation-fill-mode: forwards; animation-fill-mode: forwards; -webkit-animation-duration: 0.3s; -moz-animation-duration: 0.3s; animation-duration: 0.3s; } video { background: #16171a; } #header { position: absolute; color: white; font-family: "Fira Sans", sans-serif; font-weight: 600; white-space: nowrap; top: 40px; left: 80px; margin-left: 30px; margin-top: 30px; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); float: left; } #header p, img { float: left; padding: 7px; } #moveable { z-index: 100; position: absolute; width: 15%; cursor: move; } #moveable p { z-index: 101; position: absolute; color: white; font-family: "Heebo", sans-serif; white-space: nowrap; top: 50%; left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); font-weight: bold; background: rgba(0, 0, 0, 0.12); padding: 10px; border-radius: 5px; } #local-video { width: 100%; height: auto; border-radius: 20px; -webkit-transform: scaleX(-1); transform: scaleX(-1); background: #16171a; } #remote-video-text { padding: 0; margin: 0; position: absolute; top: calc(40%); left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); z-index: 1; color: white; font-family: "Heebo", sans-serif; white-space: nowrap; font-weight: bold; } #remote-video { padding: 0; margin: 0; position: absolute; top: 50%; left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: 70%; height: auto; max-height: 100%; max-width: 100%; border-radius: 10px; background-image: url(../images/loader.gif); background-size: 400px auto; background-repeat: no-repeat; background-position: center center; box-shadow: 9px 9px 16px #0a0b0c, -9px -9px 16px #222328; } /*Neomorphic buttons*/ button { border: none; font-size: 2rem; transition: all .3s ease-in-out; color: gray; background: transparent; cursor: pointer; padding: 10px; } button:hover { color: white; border-radius: 100px; background: #16171a; } .multi-button { position: absolute; left: calc(5vw - 40px); top: calc(50vh - 175px); z-index: 999; border-radius: 10px; background: #16171a; box-shadow: 9px 9px 16px #0a0b0c, -9px -9px 16px #222328; padding: 15px; display: grid; grid-gap: 0.5rem; width: 50px; } .HoverState { color: white; font-family: "Heebo", sans-serif; position: absolute; left: 70px; white-space: nowrap; top: 25px; font-weight: bold; background: #16171a; padding: 10px; border-radius: 10px; } .buttonContainer { position: relative; margin: 0 auto; } /*Neomorphic buttons*/