/* I really, really hate CSS... */ /* So don't bother finding flags here */ html, body { height: 100%; width: 100%; font-family: sans-serif; font-size: 2vw; } .half { height: 100%; width: 50%; background-image: url("../img/barrier.jpg"); background-size: 25vw; background-repeat: repeat; background-color: grey; z-index: 1; } .left { float: left; } .right { float: right; } .front { width: 100%; height: 100%; position: absolute; } .intel { border: 2px solid black; background-color: #4D4A4E; position: absolute; } .lock { top: 30%; left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: 10vw; height: 10vw; -moz-border-radius: 5vw; -webkit-border-radius: 5vw; border-radius: 5vw; z-index: 3; display: flex; justify-content: center; align-items: center; } .lock img { height: 62%; } .unlockpad { background-color: white; top: 65%; left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); /* width: 25vw; height: 15vh;*/ padding: 5vh 3vw; z-index: 4; text-align: center; } .formInfo { padding-right: 2vw; } #submit { font-size: 1.5vw; }