:root { --primary-color: white; --secundary-color: black; } html{ /* filter: invert(1); */ background: var(--secundary-color); /* background-color: darkred; */ } body{ font-family: "CMU Serif"; border: solid 6px var(--primary-color); margin-top: 20px; width: 1010px; height: 1800px; transform: rotate(-.1deg); font-size: 25pt; margin-left: 20px; color: var(--primary-color); } h1,h2{ font-family: "OSP-DIN"; text-align: center; text-transform: uppercase; border-bottom: solid 2px var(--primary-color); margin-top: 5px; margin-bottom: 5px; padding-bottom: 3px; padding-top: 0; font-weight: normal; } h2{ font-size: 40pt; padding: 20px 0 20px 0; } section#gender{ height: 47%; border-bottom: solid 4px var(--primary-color); } h1{ /* font-size: 82pt; */ font-size: 80pt; margin: 9px 0 0 0; padding-bottom: 4px; } .of{ font-size: 70%; } .star{ font-size: 40%; display: inline-block; position: relative; top: -27px; } .genders{ text-align: center; } #gender h2{ letter-spacing: 2px; } #affdex{ position: absolute; top: calc(100% - 18px); right: 5px; font-size: 10pt; } #signature{ position: absolute; top: calc(100% + 18px); left: 5px; right: 5px; font-size: 11pt; font-weight: bold; text-align: right; } .genders { display: flex; /* flex-direction: row; */ justify-content: space-between; /* vertical align: */ align-items: center; margin: 30px; } .gender-wrap{ position: relative; } .genders > div{ font-size: 20pt; width: 195px; } .genders .composite img{ width: 100%; /* height: 180px; */ } /* .genders #front--composite{ margin-top: 10px; } */ .genders #front--composite{ margin-top: 30px; } .genders .type{ text-transform: uppercase;; display:block; margin-top: -45px; } #graph{ display: flex; flex-direction: row; margin: 0 20px; padding-top: 50px; clear:both; font-size: 22pt; } #graph > div{ flex: 1; min-width: 5%; overflow: hidden; } #lines--side, #lines--front{ position: absolute; top: 100px; left: 200px; z-index: -1; } #lines--side{ top: 120px; left: 580px; transform: scale(-1); } #graph .wrap{ border: solid 2px var(--primary-color); height: 60px; border-right:none; } #graph div:last-child .wrap{ border-right: solid 2px var(--primary-color); } #graph .wrap .background{ height: 100%; width:100%; box-sizing: border-box; /* background-color: red; */ background-image:url('texture-cross.png'); background-size: 12px; filter:invert(1); /* create inverted primary color border, as to separate texture from edge */ border: solid 3px var(--primary-color); } #graph > div:nth-child(2) .wrap .background{ background-image:url('texture-diagonal.png'); background-size: 12px; } #graph > div:nth-child(3) .wrap .background{ background-image:url('texture-ball.png'); background-size: 12px; } #graph .cases{ text-align: center; text-wrap: wrap; height: 1.2em;; } #differences{ border-bottom: solid 4px var(--primary-color); padding-bottom: 10px; display:flex; height: 497px; } #differences::after{ content: ''; clear:both; display: block; } #differences .gender { font-size: 18pt; } #differences > div{ flex: 1; } #differences .gender { width: 100%; margin: 40px 0 0 0; /* float:left; */ text-align: center; position: relative; text-transform: uppercase; } #differences .gender + .gender{ margin-top: 20px; } #differences .gender.explanation { text-align: left; text-transform: none; padding-left: 85px; padding-right: 50px; box-sizing: border-box; } #differences .gender.explanation h3{ margin: 60px 0 0 0; padding:0; } #differences .gender.explanation p{ margin: 0; } #differences .gender.explanation + .gender{ margin-top: 40px; } #differences .gender img{ width: 170px; height: 170px; border: solid 2px var(--primary-color); } #differences .gender h2{ border-bottom: none; margin-top: 40px; } #bar-wrap{ position: relative; } #legend{ position: absolute; border-top: solid 4px var(--primary-color); border-right: solid 4px var(--primary-color); border-bottom: solid 1px var(--secundary-color); background-color: var(--secundary-color); bottom: calc(100%); left:0; width: 46%; padding: 20px 22px 0 22px; font-size: 20pt; display: flex; flex-wrap: wrap; justify-content: space-between; } #legend div{ display: inline-block; text-transform: uppercase; position: relative; top: 15px; font-size: 18pt; } #legend div::before{ content: ''; display: inline-block; width: 1em; height: 1em; border: solid 2px var(--primary-color); outline: 2px solid var(--secundary-color); margin-right: 10px; background-image:url('texture-cross.png'); background-size: 12px; filter:invert(1); font-size: 15pt; /* vertical-align: baseline; */ position: relative; top: 2px; } #legend div:nth-child(2)::before{ background-image:url('texture-diagonal.png'); background-size: 12px; } #legend div:nth-child(3)::before{ background-image:url('texture-ball.png'); background-size: 12px; }