* { box-sizing:border-box } body { min-height: 100vh; background-image: url(../images/gera_landschaft.jpeg); background-size: cover; display: flex; } main{ margin: auto; } .paper{ width: 100%; position: relative; #background { width: 100%; border-width: 1px; border-style: solid; border-color: black; z-index: 0; position: relative; @media (min-width: 1080px){ zoom: 1.8; } @media (min-width: 720px){ zoom: 1.3; } } } .controlbox{ display: flex; top: 0; position: absolute; padding: 20px; width: 100%; height: 20px; z-index: 1; a{ border-style: outset; height: fit-content; background-color: #80808045; padding-right: 5px; padding-left: 5px; border-width: 2px; color: black; text-decoration: none; } .disabled{ color: gray; cursor: not-allowed; } .padding{ margin-left: auto; margin-right: auto; } } .page{ display: grid; position: absolute; top: 0px; width: 50%; height: 100%; padding: 20px 20px 0px 20px; .content{ margin-top: 30px; overflow-y: auto; img { border-style: solid; border-width: 2px; border-color: black; } } .infocontainer{ bottom: 0; width: 100%; padding: 0 20px 0 0px; .description{ } .date{ font-style: italic; text-decoration: underline; text-align: right; } } } .right{ left: 50%; } .photo{ width: 48%; margin: 1%; } .dontSquish{ width: 100%; }