body{ background-color: black; color: white; } main{/*background-image: url("https://i.ytimg.com/vi/d96Knr0DAmU/maxresdefault.jpg");*/ position: relative; width: 3000px; height: 2000px; margin-top: -500px; border: 2px solid green; cursor: all-scroll; } pre{ border-radius: 25px; position: absolute; top: 500px; left: 500px; padding: 10px; border: 2px solid #fff; } .lvl1 { font-size: 50px; } .lvl2 { font-size: 35px; } .lvl3 { font-size: 20px; }