body{ margin: 0; display: block; } .container { margin: 0 auto; width: 100%; max-width: 960px; } @media (max-width: 768px) { .container { max-width: 90%; } } .page { height: 287mm; width: 200mm; margin: 0 auto; padding: 5mm; } .card { float: left; width: calc(200mm / 2 ); /* Adjusted width to fit 2 cards per row with margins */ height: calc(287mm / 4 ) ; /* Adjusted height to fit 4 rows per page with margins */ /*border: 1px solid black;*/ box-sizing: border-box; /* Includes the border in the width and height calculation */ overflow: hidden; } .card.image{ width: calc(200mm / 2); /* Adjusted width to fit 2 cards per row with margins */ height: calc(287mm / 4); padding: 0; margin: 0; box-sizing: border-box; /* Includes the border in the width and height calculation */ overflow: hidden; } .card.text{ padding: 5mm; box-sizing: border-box; /* Includes the border in the width and height calculation */ overflow: hidden; } /*game */ h1{ font-size: 12pt; font-family: 'NotCourierSans Bold', Courier, monospace; color: #c4007a; font-weight: 600; padding-left: 5mm; padding-right: 5mm; text-align: center; padding-top: 50px; overflow: hidden; margin: 0mm; margin-bottom: 5pt; line-height: 14pt; overflow-wrap: break-word; } /* thesis quotes */ h2{ font-family: 'Catamaran Bold', sans-serif; font-weight: 1000; font-size: 12pt; color: #a6dbf0; margin: 0mm; margin-bottom: 5pt; line-height: 14pt; padding: 0mm 5mm 0mm 5mm; } /* alternative materials*/ h3 { font-family: 'Catamaran Bold', sans-serif; font-weight: 1000; font-size: 12pt; color: #E2C044; margin: 0mm; margin-bottom: 5pt; line-height: 14pt; padding: 0mm 5mm 0mm 5mm; } /* wiki*/ h4{ font-family: 'NotCourierSans Bold',Courier, sans-serif; font-weight: 800; font-size: 12pt; color: #9594C4; line-height:normal; padding-left: 10mm; margin: 1mm; padding: 0mm 5mm 0mm 5mm; } .h4::after { content: ":"; white-space: pre; } .a4::after { content: "\A"; white-space: pre; } p{ margin: 0mm; line-height: 10.5pt; font-family: 'Catamaran Medium', sans-serif; font-weight: 400; font-size: 10pt; color: #393E41; padding: 0mm 5mm 0mm 5mm; } .tensteps{ font-family: 'Catamaran Bold', sans-serif; font-weight: 800; font-size: 12pt; color: #b4d194; line-height: 16pt; padding-top: 100px; padding-left: 5mm; text-align: center; display: inline-block; align-self: flex-end; } .image_titles { /*width: 105mm;*/ text-align: center; margin-top: 63mm; margin-left: 9mm; font-family: 'NotCourierSans',Courier, sans-serif; font-size: 12pt; /*text-shadow: -1px 2px #393e41;*/ color:black; display: inline-flex; justify-content: center; align-items: center; background-color: #9594c49e; } .game{ object-fit:cover; width: 95mm; } @media print { .body{ -webkit-print-color-adjust: exact !important; /* Chrome, Safari 6 – 15.3, Edge */ /* Firefox 48 – 96 */ print-color-adjust: exact !important; background-image: none; } .page{ -webkit-print-color-adjust: exact !important; /* Chrome, Safari 6 – 15.3, Edge */ print-color-adjust: exact !important; } .overflowing-element { overflow: hidden; } nav{ display: none !important; } #infobutton{ display:none; } } @media screen { .body{ background-image: url("background_videos.png"); background-size: cover; } .page{ border: 1px solid #9594c4; margin-bottom: 5px; } .cards{ margin-top: 200px; } nav { position: relative; top: 0; left: 0; right: 0; z-index: 50; padding: 24px; margin-bottom: 50px; text-align: right; top: 0; height: 100px; } .navtitle{ font-size: 40px; font-family: 'Catamaran', sans-serif; color: #E2C044; float:left; transform: rotate(-5deg); } .navtitle:hover{ color:#9594C4; transform: rotate(180deg); } nav p{ margin: 0mm; font-family: 'Catamaran Medium', sans-serif; font-weight: 400; line-height: normal; padding: 0; } .btn { background-color:#9594C4; border: 0 solid #E5E7EB; box-sizing: border-box; color: #000000; display: flex; font-family: 'NotCourierSans', Courier, sans-serif; font-size: 1rem; font-weight: 700; justify-content: center; line-height: 1.75rem; padding: 0m; position: relative; text-align: center; text-decoration: none #000000 solid; text-decoration-thickness: auto; max-width: 460px; position: relative; cursor: pointer; transform: rotate(-2deg); user-select: none; -webkit-user-select: none; touch-action: manipulation; float: right; margin-right: 5px; margin-bottom: 5px; } .btn:focus { outline: 0; } .btn:after { content: ''; position: absolute; border: 1px solid black; bottom: 4px; left: 4px; width: calc(100% - 1px); height: calc(100% - 1px); } .btn:hover:after { bottom: 2px; left: 2px; border: 1px solid #E2C044; color:#E2C044; } @media (min-width: 768px) { .btn { padding: .75rem 3rem; font-size: 1.25rem; } } #infobutton{ float: left; color:#E2C044; } #textField{ position: relative; } textarea { position: absolute; z-index: 2; } }