@font-face { font-family: "Jack Armstrong"; src: url('https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/doc_files/Jack Armstrong.ttf'); } @font-face { font-family: "Komika_Hand"; src: url('https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/doc_files/Komika_Hand.ttf'); } @font-face { font-family: "Patrick_Hand"; src: url('https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/doc_files/PatrickHand-Regular.ttf'); } body { display: flex; justify-content: center; align-items: center; width: 100%; height: 100vh; padding: 0; margin: 0 } body { font-family: "Jack Armstrong", sans-serif; font-family: "Patrick_Hand", sans-serif; } .container { width: 1000px; /* height: 400px; */ height: 500px; background: rgb(153, 172, 156); position: relative; cursor: url("https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/c_point.png"), auto; } input[type=radio] { cursor: url("https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/c_point.png"), auto; } .holding { cursor: url("https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/c_hold.png"), auto; z-index: 99; } .obj_element { position: absolute; padding: 0px; top: 0px; left: 0px; width: 1px; height: 1px; opacity: 0; } .obj_element img { height: 100%; width: 100%; } .movable { cursor: url("https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/c_open.png"), auto; } .movable::before { content: ""; position: absolute; height: 100%; width: 100%; padding: 10px 5px; left: -5px; top: -10px; box-shadow: 0px 0px 19px 0px #ffffffa8; animation-name: example; animation-duration: 1s; animation-iteration-count: infinite; border-radius: 10px; } .blink { cursor: url("https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/c_point.png"), auto; } .blink::before { content: ""; position: absolute; height: 100%; width: 100%; padding: 10px 5px; left: -5px; top: -10px; box-shadow: 0px 0px 19px 0px #ffffffa8; animation-name: example; animation-duration: 1s; animation-iteration-count: infinite; border-radius: 10px; } button { cursor: url("https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/c_point.png"), auto; } @keyframes example { from { box-shadow: 0px 0px 19px 0px white; } to { box-shadow: 0px 0px 19px 0px black; } } .movable.holding::before { border: 0; content: ""; position: absolute; height: 100%; width: 100%; padding: 10px; left: -10px; top: -10px; box-shadow: 0px 0px 0px 0px #ffffffa8; animation-iteration-count: 0 } .movable.holding { cursor: url("https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/c_hold.png"), auto; } .movable.holding.droppable { cursor: url("https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/c_ups.png"), auto; } .tilted { transform: rotate(0deg); transition: transform 0.3s; } .tilted2 { transform: rotate(0deg); transition: transform 0.3s; } .movable.holding.droppable.tilted { transform: rotate(-30deg); } .movable.holding.droppable.tilted2 { transform: rotate(30deg); } .tilted.dropped { transform: rotate(-70deg); } .tilted.dropped.finished { transform: rotate(0deg); } .shakebottle { /* Start the shake animation and make the animation last for 0.5 seconds */ animation: shake 0.5s; /* When the animation is finished, start again */ animation-iteration-count: infinite; } #overlay { width: 550px; height: 200px; display: none; background-image: url('https://yourbrainonsci.files.wordpress.com/2014/03/phscale2.gif'); background-repeat: no-repeat; background-size: 3000px 2000px; } .drop { position: absolute; width: 8px; height: 8px; background: blue; display: none; border-radius: 80% 0 55% 50% / 55% 0 80% 50%; transform: rotate(-45deg); } button { position: relative; border: none; background: transparent; padding: 0; /* cursor: pointer; */ outline-offset: 4px; transition: filter 250ms; user-select: none; touch-action: manipulation; } .shadow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 12px; background: hsl(0deg 0% 0% / 0.25); will-change: transform; transform: translateY(2px); transition: transform 600ms cubic-bezier(.3, .7, .4, 1); } .edge { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 12px; background: linear-gradient(to left, hsl(340deg 100% 16%) 0%, hsl(340deg 100% 32%) 8%, hsl(340deg 100% 32%) 92%, hsl(340deg 100% 16%) 100%); } .front { display: block; position: relative; padding: 12px 27px; border-radius: 12px; font-size: 1.1rem; color: white; background: hsl(345deg 100% 47%); will-change: transform; transform: translateY(-4px); transition: transform 600ms cubic-bezier(.3, .7, .4, 1); } button:hover { filter: brightness(110%); } button:hover .front { transform: translateY(-6px); transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5); } button:active .front { transform: translateY(-2px); transition: transform 34ms; } button:hover .shadow { transform: translateY(4px); transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5); } button:active .shadow { transform: translateY(1px); transition: transform 34ms; } button:focus:not(:focus-visible) { outline: none; } .actionbtn { position: absolute; top: 114px; left: 400px; width: 200px; margin: 5px auto; text-align: center; } .hidden { display: none !important; } input[type=range] { height: 38px; -webkit-appearance: none; margin: 10px 0; width: 100%; } input[type=range]:focus { outline: none; } input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 10px; cursor: url("https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/c_hold.png"), auto; animate: 0.2s; box-shadow: 1px 1px 1px #000000; background: #3071A9; border-radius: 5px; border: 1px solid #000000; } input[type=range]::-webkit-slider-thumb { box-shadow: 1px 1px 1px #000000; border: 1px solid #000000; height: 30px; width: 15px; border-radius: 5px; background: #FFFFFF; cursor: url("https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/c_hold.png"), auto; -webkit-appearance: none; margin-top: -11px; } input[type=range]:focus::-webkit-slider-runnable-track { background: #3071A9; } input[type=range]::-moz-range-track { width: 100%; height: 10px; cursor: url("https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/c_hold.png"), auto; animate: 0.2s; box-shadow: 1px 1px 1px #000000; background: #3071A9; border-radius: 5px; border: 1px solid #000000; } input[type=range]::-moz-range-thumb { box-shadow: 1px 1px 1px #000000; border: 1px solid #000000; height: 30px; width: 15px; border-radius: 5px; background: #FFFFFF; cursor: url("https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/c_hold.png"), auto; } input[type=range]::-ms-track { width: 100%; height: 10px; cursor: url("https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/c_hold.png"), auto; animate: 0.2s; background: transparent; border-color: transparent; color: transparent; } input[type=range]::-ms-fill-lower { background: #3071A9; border: 1px solid #000000; border-radius: 10px; box-shadow: 1px 1px 1px #000000; } input[type=range]::-ms-fill-upper { background: #3071A9; border: 1px solid #000000; border-radius: 10px; box-shadow: 1px 1px 1px #000000; } input[type=range]::-ms-thumb { margin-top: 1px; box-shadow: 1px 1px 1px #000000; border: 1px solid #000000; height: 30px; width: 15px; border-radius: 5px; background: #FFFFFF; cursor: url("https://static-6391.s3.ap-south-1.amazonaws.com/neeri/img/c_hold.png"), auto; } input[type=range]:focus::-ms-fill-lower { background: #3071A9; } input[type=range]:focus::-ms-fill-upper { background: #3071A9; } @keyframes shake { 0% { transform: translate(1px, 1px) rotate(-40deg); } 10% { transform: translate(-1px, -2px) rotate(-41deg); } 20% { transform: translate(-3px, 0px) rotate(-39deg); } 30% { transform: translate(3px, 2px) rotate(-40deg); } 40% { transform: translate(1px, -1px) rotate(-41deg); } 50% { transform: translate(-1px, 2px) rotate(-41deg); } 60% { transform: translate(-3px, 1px) rotate(-40deg); } 70% { transform: translate(3px, 1px) rotate(-41deg); } 80% { transform: translate(-1px, -1px) rotate(-39deg); } 90% { transform: translate(1px, 2px) rotate(-40deg); } 100% { transform: translate(1px, -2px) rotate(-41deg); } } /* The typing effect */ @keyframes typing { from { width: 0 } to { width: 100% } } /* add code for background blur */ .bg_blur::after{ content: ""; width: 100%; height: 100%; background: #00abf98c; position: absolute; top: 0; left: 0; } /* add code for modal pop up */ /* The Modal (background) */ .modal { display: none; /* Hidden by default */ position: absolute; /* Stay in place */ z-index: 24; /* Sit on top */ left: 50%; top: 50%; /* width: 250px; Full width */ /* height: 100%; Full height */ /* overflow: auto; Enable scroll if needed */ background-color: rgb(0,0,0); /* Fallback color */ background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ -webkit-animation-name: fadeIn; /* Fade in the background */ -webkit-animation-duration: 0.4s; animation-name: fadeIn; /* display: flex; */ /* justify-content: center; */ /* align-items: center; */ animation-duration: 0.4s; transform: translate(-50%, -50%); } /* Modal Content */ .modal-content { /* position: fixed; */ background-color: #b25151; width: 310px; height: 208px; border-radius: 9px; -webkit-animation-name: slideIn; -webkit-animation-duration: 0.4s; animation-name: slideIn; animation-duration: 0.4s } /* The Close Button */ .close { color: white; float: right; font-size: 28px; font-weight: bold; } .close:hover, .close:focus { color: #000; text-decoration: none; cursor: pointer; } .modal-header { padding: 2px 16px; /* background-color: #5cb85c; */ color: white; } .modal-body {padding: 2px 16px;} .modal-footer { padding: 2px 16px; background-color: #5cb85c; color: white; } /* add css for equation for observation table */ .fraction { display: inline-block; vertical-align: middle; margin: 0 0.2em 0.4ex; text-align: center; position: absolute; left: 239px; top: 29px; font-family: sans-serif; } .fraction span{ display: block; padding-top: 0.15em; } .fraction span.fdn { border-top: thin solid black; } .fraction span.bar{ display: none; } .value{ position: relative; top: 100%; left: 0%; font-family: sans-serif; } .final_value{ font-family: sans-serif; position: absolute; bottom: -182%; left: 5%; } /* Add Animation */ @-webkit-keyframes slideIn { from {bottom: -300px; opacity: 0} to {bottom: 0; opacity: 1} } @keyframes slideIn { from {bottom: -300px; opacity: 0} to {bottom: 0; opacity: 1} } @-webkit-keyframes fadeIn { from {opacity: 0} to {opacity: 1} } @keyframes fadeIn { from {opacity: 0} to {opacity: 1} } /* add css for hover text on the object */ .hovertext { /* position: relative; */ /* border-bottom: 1px dotted black; */ } .hovertext::after { content: attr(data-hover); visibility: hidden; opacity: 0; width: 140px; background-color: black; color: #fff; text-align: center; border-radius: 5px; padding: 5px 0; transition: opacity 1s ease-in-out; position: absolute; z-index: 1; left: 0; top: 110%; font-family: sans-serif; height: 23px; } .hovertext:hover::after { opacity: 1; visibility: visible; }