* { margin: 0; padding: 0; } body { background: white; font-family: arial, sans-serif; } #screen { position: relative; } video { height: auto; width: 100%; } #mobile-image { height: auto; width: 100%; display: none; } #title { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } #title > img { width: 100%; } article { width: 80%; /* 100% - 10% left - 10% right = 80% */ margin: 20px auto; } p { color: black; font-size: 16px; line-height: 1.5; } @media screen and (max-width: 940px) { video { display: none; } #mobile-image { display: block; } }