.mobile-video-box { width: 100%; border-radius: 10px; background-color: #eee; margin: 0px 0px 20px; height: calc(100vh / 4); position: relative; h2 { font-family: numeralMedium; font-size: calc(100vw / 35); color: #02733c; padding: 5px; background-color: #ffffff; color: #4d4d4f; position: absolute; right: 10px; top: 20px; } } .video-box { width: 100%; max-width: 550px; border-radius: 10px; background-color: #eee; margin: 15px auto; height: calc(100vh / 2.5); min-height: 300px; position: relative; h2 { font-family: numeralMedium; color: #02733c; padding: 5px; background-color: #ffffff; color: #4d4d4f; position: absolute; right: 10px; top: 20px; } }