@font-face { font-family: klartext mono bold; src: url("fonts/Klartext Mono Bold.ttf"); } @font-face { font-family: PropCourierSans; src: url("fonts/PropCourierSans.ttf"); } .header { padding: 5px; background: rgb(255, 0, 255); } * { box-sizing: border-box; } h1 { text-align: right; color: rgb(69, 48, 105); font-size: 40px; font-style: normal; letter-spacing: 0px; text-transform: none; font-family: klartext mono bold; margin-right: 20px; } html, body { height: 100%; } body { /* display: flex; flex-direction: column; */ margin: 0px; } html { background: url('images/background-image.png') no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } .resizable-panel { border-top: 12px solid rgb(255, 0, 255); padding: 20px 15px 10px 30px; margin: 40px 40px 20px; width: 400px; /*max-height: 670px;*/ resize: horizontal; overflow: auto; background: rgb(255, 255, 255); } @media screen and (max-width: 992px) { .resizable-panel { margin-left: 50px; margin-right: 50px; width: auto; } } p { display: flex; text-align: left; font-family: PropCourierSans; font-weight: 550; } .row { display: flex; flex-direction: row; flex-wrap: wrap; text-align: center; font-family: PropCourierSans; font-weight: 600; background: rgb(57, 42, 83); padding: 20px; } .column { padding: 5px; flex-grow: 1; flex-shrink: 1; color: rgb(255, 255, 255); } @media screen and (max-width: 500px) { .column { min-width: 16%; } } @media screen and (max-width: 300px) { .column { min-width: 25%; } } .content { /* flex: 1 0 auto; */ } .footer { /* flex-shrink: 0; */ }