@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400&display=swap'); /* body { font-family: 'Poppins', sans-serif; } */ .formfield { min-width: 80px; text-align: center; } input[type="radio"]{ margin: 3px 5px 0 10px; vertical-align: middle; } .container .cardContainer { background-color:white; height: 490px; position: relative; } .playCard { border-radius: 1px; border: 1px solid black; display: flex; align-items: center; justify-content: center; position: absolute; margin: 2px; padding: 2px; aspect-ratio: 7/9; min-width: 35px; background-color: white; font-size: 10px; color: black; transition: top 300ms linear, left 300ms linear; } .highCard { background-color: #bfd6f6 !important; } .lowCard { background-color: #ffefd7 !important; } .box-orange { position: absolute; background: orange; width: 100px; height: 100px; left: 5px; top: 5px; } .box-blue { background: lightskyblue; height: 100px; width: 100px; position: static; } .row.textRow { width: '100%'; margin: '5% 0% 0% 0%'; position: 'absolute'; padding: "0 0 0 0"; font-weight: "bolder"; } .shellContainer { position: absolute; cursor: default; height: 100%; text-align: center; color: white; } .shellText { position: absolute; top: 30%; left: 45%; font-size: 24px; } .largerRadio { transform:scale(1.5); outline: none; margin: 0 30px 0 30px !important; } .grayscale { filter: grayscale(100%); } .unselected { opacity: 0.8; } .sensation { box-shadow: 0 0 0 0 rgba(0, 0, 0, 1); transform: scale(1); animation-name: pulse; animation-duration: 2s; animation-iteration-count: 3; animation-delay: 0s; } @keyframes pulse { 0% { transform: scale(1.0); box-shadow: 0 0 0 0 rgba(255, 243, 205, 0.7); } 50% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 243, 205, 0); } 100% { transform: scale(1.0); box-shadow: 0 0 0 0 rgba(255, 243, 205, 0); } } .shellFront { animation-name: enlargeShell; animation-iteration-count: 1; animation-delay: 0s; animation-fill-mode: forwards; } @keyframes enlargeShell { 0% { transform: scale(1.0); } 35% { transform: scale(1.2); } 65% { transform: scale(1.2); } 100% { transform: scale(1.0); ; } } .card-grow { animation-name: card_grow_animation; animation-duration: 1000ms; /*transform-origin:70% 70%; */ /*animation-iteration-count: infinite; */ animation-iteration-count: 1; animation-timing-function: linear; } @-webkit-keyframes card_grow_animation { 0% { transform: scale(1); } 50% { transform: scale(2); } 100% { transform: scale(1); } } /* Add shapes for probability matching */ .triangle { border-bottom: 50px solid var(--element-color); border-left: 30px solid transparent; border-right: 30px solid transparent; } .triangle > .text{ position: absolute; vertical-align: bottom; top:30px; left: 50%; transform: translateX(-50%)translateY(-50%); font-size: 16px; color: white; } .square { height: 50px; width: 50px; background-color: var(--element-color); } .square > .text{ position: absolute; top: 50%; left: 50%; font-size: 16px; color: white; transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%) !important; } .circle { height: 50px; width: 50px; background-color: var(--element-color); border-radius: 50%; } .circle > .text{ position: absolute; top: 50%; left: 50%; font-size: 16px; color: white; transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%) !important; } .trapezoid { border-bottom: 40px solid var(--element-color); border-left: 15px solid transparent; border-right: 15px solid transparent; height: 0; width: 65px; } .trapezoid > .text{ position: absolute; vertical-align: bottom; top: 20px; left: 50%; transform: translateX(-50%)translateY(-50%); font-size: 16px; color: white; } .pentagon { position: relative; width: 30px; box-sizing: content-box; border-width: 25px 12px 0; border-style: solid; border-color: var(--element-color) transparent; top: 8px; /* Makes the element appear middle of the button */ } .pentagon:before { content: ""; position: absolute; height: 0; width: 0; top: -42px; left: -12px; border-width: 0 27px 17px; border-style: solid; border-color: transparent transparent var(--element-color); } .pentagon > .text{ position: absolute; vertical-align: bottom; top:-20px; left: 50%; transform: translateX(-50%)translateY(-50%); font-size: 16px; color: white; } /* Envelopes as found on https://medium.com/web-for-you/how-to-make-a-interactive-envelope-9df970614eea */ .envelopeBorders { width: 100%; } .envelopeHeader { position: relative; width: 100%; margin-left: auto; } .arrows { width: 80px; height: 15px; position: relative; left: 50%; margin-left: -30px; bottom: 0px; } .arrows path { stroke: darkgray; fill: transparent; stroke-width: 2px; }