@import url('https://fonts.cdnfonts.com/css/modern-typewriter'); * { box-sizing: border-box; } body { font-family: 'MODERN TYPEWRITER', sans-serif; font-size: medium; color: black; margin: 0; } h1 { font-size: 60px; font-weight: 900; margin-top: 0px; } hr { text-align: center; border: none; width: 200px; margin-top: 0px; margin-bottom: 0px; } hr::before { content: url('../img/divider.svg'); } img { max-width: 100%; height: auto } p { font-size: 1.5vw; font-weight: 300; } a { text-decoration: none; color: #d75b00; } a:hover { text-decoration: underline; cursor: pointer; } #wrapper { display: flex; justify-content: center; align-items: center; position: absolute; width: 100%; height: 100%; background: url('../img/spy-background.png'); background-size: cover; overflow: scroll; } #container { display: flex; flex-direction: column; position: absolute; top: 40px; width: calc(100% - 10vw); height: auto; padding: 4vw; border-radius: 2px; background: url("../img/background-letter.jpg"); background-size: cover; } #logo { display: flex; justify-content: center; height: 220px; } #timer { font-size: 40px; color: red; text-align: center; } #spacer { padding: 1px; margin: 30px 0 30px 0; background-color: #00000054; } .row-section { display: flex; flex-direction: row; } .column-section { display: flex; flex-direction: column; flex-shrink: 1; flex-basis: fit-content; padding: 2vw } #prank-button { display: flex; flex-direction: column; align-items: center; padding: 30px 0 30px 0; background: none; } #prank-button > span { font-size: 25px; } #prank-button:hover{ background: url("../img/circle-hand.png"); background-size: 100% 100%; } #underline { width: 350px; height: 25px; } #login-page { position: fixed; display: none; flex-direction: column; width: 400px; height: 400px; } .login-input { } @media screen and (max-width: 800px) { #container { padding: 2vw; } } @media screen and (max-width: 600px) { h1 { font-size: 40px; } p { font-size: 20px; } #wrapper{ background: none; } #container { margin: 0px; width: 100%; top: 0; border-radius: 0px; box-shadow: none; } #logo { height: 150px; } .row-section { flex-direction: column; } }