#quiz { background-color: #81b5b9; /* border: 2px solid black; */ } .container1 { width: 100VH; height: 100vh; } .card1 { width: 100%; height: 42vh; margin: auto; margin-left: 5%; display: block; background-color: #2C2C2C; border: 15px solid #BD8A5A; } .row { width: 100%; margin: 0%; } canvas { background-color: #f7f7f7; margin: 20px; border: 2px solid #333; } #board { background-color: #2C2C2C; border: 15px solid #BD8A5A; } #boardcontent { color: #ffff; font-size: 12px; } #boardcontent li { color: #ffff; list-style-type: disc !important; } .naoh { position: absolute; top: -10%; left: 15%; transform: translateX(-50%); border-radius: 0px 0px 15px 15px; z-index: 1; } #naohbck { position: absolute; top: -9%; left: 15.8%; width: 5.9%; height: 14%; /* transform: translateX(-50%); */ border-radius: 0px 0px 15px 15px; border: 1px solid #cdc1c1; z-index: 10; background: #f7ebeb8c !important; } /* #beakerWater1 { position: absolute; width: 75px; height: 39px; left: 201px; } #beakerWater2 { position: absolute; width: 75px; height: 39px; left: 201px; top: -24px; } */ #phenopthbck { position: absolute; width: 142.5px; height: 89.5px; left: 422px; top: -9%; border-radius: 0px 0px 15px 15px; border: 1px solid #cdc1c1; z-index: 10; background: #f7ebeb8c !important; } .phenopth { position: absolute; top: -10%; left: 35%; transform: translateX(-50%); z-index: 1; } .vortex { position: absolute; top: -35%; left: 56%; transform: translateX(-50%); z-index: 1; } .hcl { position: absolute; top: -10%; left: 75%; transform: translateX(-50%); z-index: 1; } #heatgenerate { display: none; background: #f8a904; padding: 1%; font-weight: 600; position: absolute; top: -40%; left: 72%; transform: translateX(-50%); z-index: 1; } .dropper { position: absolute; top: -24%; left: 72%; transform: translateX(-50%); cursor: pointer; z-index: 2; } .dropper1 { position: absolute; top: -25%; left: 13%; transform: translateX(-50%); cursor: pointer; z-index: 1; } .dropper2 { position: absolute; top: -29%; left: 35%; transform: translateX(-50%); cursor: pointer; z-index: 1; } .eprouvette { top: -97%; left: 5%; display: block; width: 3%; height: 150px; z-index: 1; background-color: #f5f4f0; margin: 50px auto auto auto; border: #595959 solid 2px; border-top-color: #6a6a66; border-radius: 0 0 45px 45px; background: linear-gradient(to top, rgba(255, 255, 255, 0) 80%, #e6e5e4 81%), -webkit-radial-gradient(center, ellipse cover, #46be8600 0%, #46be8600 50%, rgba(255, 255, 255, 0) 50%), -webkit-radial-gradient(center, ellipse cover, #f5f4f000 0%, #f5f4f00f 50%, rgba(255, 255, 255, 0) 50%), linear-gradient(to top, rgba(255, 255, 255, 0) 0%, #98a09c38 0%), #ffffff00; /* background:linear-gradient(to top, rgba(255, 255, 255, 0) 80%, #e6e5e4 81%), -webkit-radial-gradient(center, ellipse cover, #46be8600 0%, #46be8600 50%, rgba(255, 255, 255, 0) 50%), -webkit-radial-gradient(center, ellipse cover, #f5f4f0 0%, #f5f4f0 50%, rgba(255, 255, 255, 0) 50%), linear-gradient(to top, rgba(255, 255, 255, 0) 0%, #98a09c38 0%), #ffffff00; */ background-size: 10px 10px, 200px 200px, 200px 200px, 100% 366.6666666667px, 100% 100%; background-position: 0 0, -11.1111111111px 138.8888888889px, -100px 27.7777777778px, bottom, 0 0; background-repeat: repeat-y, no-repeat, no-repeat, no-repeat, no-repeat; -webkit-transform-origin: 50% 30%; position: relative; } .eprouvette .bulles { position: absolute; bottom: 22.5px; left: 20px; z-index: 1; width: 50px; height: 100px; background: -webkit-radial-gradient(center, ellipse cover, #f5f4f0 0%, #f5f4f0 50%, rgba(255, 255, 255, 0) 50%), -webkit-radial-gradient(center, ellipse cover, #f5f4f0 0%, #f5f4f0 50%, rgba(255, 255, 255, 0) 50%), -webkit-radial-gradient(center, ellipse cover, #f5f4f0 0%, #f5f4f0 50%, rgba(255, 255, 255, 0) 50%); background-size: 0 0; background-position: 80% 100%, center 95%, 110% 70%; background-repeat: no-repeat; } .eprouvette:hover { animation: vagues 0.5s ease-in-out infinite, agitation 0.5s ease-in-out infinite; /**/ } .eprouvette:hover .bulles { animation: ascension 3s ease-in-out infinite; } .eprouvette:visited { animation: vagues 0.5s ease-in-out infinite, agitation 0.5s ease-in-out infinite; /**/ } .eprouvette:visited .bulles { animation: ascension 3s ease-in-out infinite; } @keyframes vagues { 0% { background-position: 0 0, -100px 138.8888888889px, -11.1111111111px 27.7777777778px, bottom, 0 0; } 25% { background-position: 0 0, -50px 166.6666666667px, -50px -8.3333333333px, bottom, 0 0; } 50% { background-position: 0 0, -11.1111111111px 138.8888888889px, -100px 27.7777777778px, bottom, 0 0; } 75% { background-position: 0 0, -50px 166.6666666667px, -50px -8.3333333333px, bottom, 0 0; } 100% { background-position: 0 0, -100px 138.8888888889px, -11.1111111111px 27.7777777778px, bottom, 0 0; } } @keyframes agitation { 0% { -webkit-transform: rotate(6deg); } 50% { -webkit-transform: rotate(-6deg); } 100% { -webkit-transform: rotate(6deg); } } @keyframes ascension { 0% { bottom: 22.5px; background-size: 10px 10px, 10px 10px, 10px 10px; background-position: center 100%, center 100%, center 100%; } 100% { bottom: 376.6666666667px; background-size: 10px 10px, 20px 20px, 30px 30px; background-position: 80% 100%, center 50%, 110% 0%; } } .switch { width: 2%; height: 8%; /* box-shadow: 0 0 10px 2px rgb(0 0 0 / 20%), 0 0 1px 2px black, inset 0 2px 2px -2px white, inset 0 0 2px 15px #47434c, inset 0 0 2px 22px black; */ border-radius: 5px; perspective: 700px; position: absolute; top: 10%; left: 57%; transform: translateX(-50%); z-index: 1; } .switch input { display: none; } .switch input:checked+.button { /* top:70%; */ transform: translateZ(20px) rotateX(25deg); /* box-shadow: 0 -10px 20px #ff1818; */ } .switch input:checked+.button .light { animation: flicker 0.2s infinite 0.3s; } .switch input:checked+.button .shine { opacity: 1; } .switch input:checked+.button .shadow { opacity: 0; } .switch .button { transition: all 0.3s cubic-bezier(1, 0, 1, 1); transform-origin: center center -20px; transform: translateZ(20px) rotateX(-25deg); transform-style: preserve-3d; background-color: #9b0621; width: 66%; height: 100%; position: relative; cursor: pointer; background: linear-gradient(#980000 0%, #6f0000 30%, #6f0000 70%, #980000 100%); background-repeat: no-repeat; top: -13px; } .switch .button::before { content: ""; background: linear-gradient(rgba(255, 255, 255, 0.8) 10%, rgba(255, 255, 255, 0.3) 30%, #650000 75%, #320000) 50% 50%/97% 97%, #b10000; background-repeat: no-repeat; width: 100%; height: 20px; transform-origin: top; transform: rotateX(-90deg); position: absolute; top: 2px; } /* .switch .button::before { content: ""; background: linear-gradient(rgba(255, 255, 255, 0.8) 10%, rgba(255, 255, 255, 0.3) 20%, #650000 45%, #320000) 50% 50%/75% 97%, #b10000; background-repeat: no-repeat; width: 100%; height: 27px; transform-origin: top; transform: rotateX(-80deg); position: absolute; top: 0; margin-top: -1%; } */ .switch .button::after { content: ""; width: 100%; height: 50px; transform-origin: top; transform: translateY(50px) rotateX(-90deg); position: absolute; bottom: 0; } .switch .light { opacity: 0; animation: light-off 1s; position: absolute; width: 100%; height: 100%; background-image: radial-gradient(#ffc97e, #ff1818 40%, transparent 70%); } .switch .dots { position: absolute; width: 100%; height: 100%; background-image: radial-gradient(transparent 30%, rgba(101, 0, 0, 0.7) 70%); background-size: 10px 10px; } .switch .characters { position: absolute; width: 100%; height: 100%; background: linear-gradient(white, white) 50% 20%/5% 20%, radial-gradient(circle, transparent 50%, white 52%, white 70%, transparent 72%) 50% 80%/33% 25%; background-repeat: no-repeat; } .switch .shine { transition: all 0.3s cubic-bezier(1, 0, 1, 1); opacity: 0.3; position: absolute; width: 100%; height: 100%; background: linear-gradient(white, transparent 3%) 50% 50%/97% 97%, linear-gradient(rgba(255, 255, 255, 0.5), transparent 50%, transparent 80%, rgba(255, 255, 255, 0.5)) 50% 50%/97% 97%; background-repeat: no-repeat; } .switch .shadow { transition: all 0.3s cubic-bezier(1, 0, 1, 1); opacity: 1; position: absolute; width: 100%; height: 100%; background: linear-gradient(transparent 70%, rgba(0, 0, 0, 0.8)); background-repeat: no-repeat; } @keyframes flicker { 0% { opacity: 1; } 80% { opacity: 0.8; } 100% { opacity: 1; } } @keyframes light-off { 0% { opacity: 1; } 80% { opacity: 0; } } /* #animate { position: relative; top: -63%; width: 100px; height: 100px; } */ .outer-shadow { width: 100%; height: 100%; border-radius: 50%; box-shadow: -0.7rem 0.2rem 0.5rem rgba(34, 100, 158, 0.1), 0.7rem 0.2rem 0.5rem rgba(34, 100, 158, 0.1), 0 0.5rem 0.5rem rgba(34, 100, 158, 0.1), inset 0 -0.1rem 0.2rem rgba(34, 100, 158, 0.2), inset 0 0.1rem 0.1rem rgba(255, 255, 255, 0.1), 0 -0.3rem 0.3rem rgba(255, 255, 255, 0.1); animation: wave 3s ease-out infinite; transform: scale(0); } .inner-shadow { height: 90%; width: 96%; border-radius: 50%; box-shadow: 0 0.1rem 0.15rem rgba(255, 255, 255, 0.3), inset 0 -0.1rem 0.15rem rgba(255, 255, 255, 0.3), inset 0 0.5rem 0.5rem rgba(34, 100, 158, 0.2), inset 0.2rem 0 0.3rem rgba(34, 100, 158, 0.1), inset -0.2rem 0 0.3rem rgba(34, 100, 158, 0.1), 0 -0.1rem 0.1rem rgba(34, 100, 158, 0.2); } .wave_1 { animation-delay: 1s; } .wave_2 { animation-delay: 2s; } .wave_3 { animation-delay: 3s; } .align-center { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; } .drop { top: -100%; left: 10%; width: 1rem; height: 1rem; border-radius: 50%; background: #fdfeff; box-shadow: inset 0 -0.2rem 0.2rem rgba(34, 100, 158, 0.3), inset 0 -0.1rem 0.5rem #fbfcfd, 0 -0.5rem 1rem #e4edf3; transform: translateY(-7rem); animation: fall 1s; opacity: 0; } @keyframes wave { to { transform: scale(1); opacity: 0 } } @keyframes fall { 90% { transform: scale(0.7, 1); opacity: 1; } 100% { transform: translateY(0rem) scale(0.7, 0.3); opacity: 0.7 } } #guidelines { font-size: 12px; color: white; } #guideheading { color: #f0e90d; font-size: 16px; } .cardlat { background: #9e342d; } /* #dropper { width: 40px; height: 40px; border-radius: 50% 50% 0 0; border: 2px solid #999; position: relative; } #dropper:after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #999; bottom: -8px; left: 50%; transform: translateX(-50%); } .drop { top: -113%; left: 10%; width: 1rem; height: 1rem; border-radius: 50%; background: #ccc; position: absolute; animation: drop 1s ease-in-out; } @keyframes drop { 90% { transform: scale(0.7, 1); opacity: 1; } 100% { transform: translateY(0rem) scale(0.7, 0.3); opacity: 0.7 } } */ .modal { display: none; position: fixed; z-index: 9999; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0.4); font-family: sans-serif; } .modal-content { background-color: #ffffff; width: 100%; padding: 15px; overflow: hidden; position: relative; box-sizing: border-box; max-width: 530px; margin: auto; border-radius: 0px; border: 0px solid #fcfcfc; padding: 15px; -webkit-border-image: url(none) 30 stretch; /* Safari 3.1-5 */ -o-border-image: url(none) 30 stretch; /* Opera 11-12.1 */ border-image: url(none) 30 stretch; } .modal-close { font-size: 20px; float: right; font-weight: 700; color: #5f1f1c; font-size: 25px; margin-top: -10px; transition: all .2s; cursor: pointer; margin-left: 95%; width: auto; text-decoration: none; } .modal-close:hover { color: #3b3b3b; } .modal-img img { width: 100%; } .modal-text { text-align: center; color: #ffffff; } .modal-text h2 { font-size: 24px; font-weight: 600; font-family: Lato; } .modal-text p { font-size: 17px; margin-top: -15px; margin-bottom: 50px; font-family: Lato; } .modal-footer { padding: 20px 30px; color: rgba(255, 255, 255, 0.5); width: auto; background-color: #3b3b3b; margin: -15px; } input[type=text].modal-input { color: rgba(0, 0, 0, 0.5); width: 80%; background: rgb(255, 255, 255); border: none; border-radius: 3px; outline: rgba(0, 0, 0, 0.5) none 0px; padding: 15px; } input[type=submit].modal-submit-btn { padding: 5px; font-size: 14px; background-color: #5f1f1c; color: #ffffff; width: auto; border: none; cursor: pointer; border-radius: 3px; } @media screen and (max-width: 27em) { input[type=text].modal-input { width: 90%; margin-bottom: 0px; } input[type=submit].modal-submit-btn { width: 90%; } .modal-text p { font-size: 15px; } } #naohdrpr { cursor: pointer; width: 5%; } #phendrpr { cursor: pointer; width: 8%; } #hcldrpr { cursor: pointer; width: 5%; } #power-text { color: #2a2a2a; text-shadow: 0 1px 0 #ffba92; } #btn-bg { position: absolute; top: 8%; left: 57%; transform: translateX(-50%); cursor: pointer; z-index: 1; width: 20px; height: 20px; background: #cdd3c9; border-radius: 41px; border-bottom: 2px solid #2a2a2a; border-top: 2px solid #fff; overflow: hidden; cursor: pointer; z-index: 1; } #btn-bg.active { background: #cdd3c9; border-bottom: 2px solid #9e342d; border-top: 2px solid #cdd3c9; } #btn-highlight { width: 41px; height: 82px; background: #eee; margin-left: 41px; } .active #btn-highlight { background: #52555d; } #btn-ring { position: absolute; width: 59%; height: 59%; border: 2px solid #2a2a2a; top: 17%; left: 18%; border-radius: 31px; } .active #btn-ring { border-color: #9e342d; } #ring-line { width: 8px; height: 18px; margin: -11px auto; background: #2a2a2a; border-radius: 4px; border-right: 3px solid #eee; border-left: 3px solid #cdd3c9; } .active #ring-line { background: #9e342d; border-right: 3px solid #cdd3c9; border-left: 3px solid #cdd3c9; } #beaker { width: 200px; height: 300px; background-color: #fff; border: 2px solid #000; border-radius: 10px; position: relative; } #solution { bottom: 1px; position: absolute; width: 100%; background-color: #f00; border-end-end-radius: 200px; border-bottom-left-radius: 200px; transition: height 2s ease-in-out; transition: height 2s ease-in-out; } .quiz-container { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; margin-top: 10px; margin-bottom: 80px; box-shadow: 0 10px 10px rgba(0, 0, 0, 0.4); position: relative; } .borbox { background-color: #eee; border-radius: 10px; } .question-container { width: 100%; border-bottom: 2px solid rgb(101, 103, 103); margin: 10px 0; } .question-container h3 { font-size: 18px; } .question-container label { font-size: 14px; } .quiz-header { background-color: #fcfcfc; width: 100%; height: 140px; padding: 30px; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; box-shadow: 0 -2px 5px rgb(201 191 191 / 59%); } .quiz-header h1.hidden { display: none; } .quiz-header h1 { display: block; color: #535353; font-family: 'Morn-DemiBold'; font-size: 1.5rem; /* border-bottom: 5px solid #222; */ text-align: center; width: 50%; } .end-message.hidden { display: none; } .inner-message { margin-top: 40px; } .end-message { display: block; position: absolute; display: flex; flex-direction: column; justify-content: center; align-items: center; margin-top: 0px; } .play-again-button { margin-top: 20px; z-index: 2; } .question { margin-bottom: 10px; } .answer { padding: 10px; margin-left: 20px; } .answer input { margin-right: 5px; cursor: pointer; } /* BACKGROUND NUMBERS */ .question1 { position: relative; } .question2 { position: relative; } .question3 { position: relative; } .question4 { position: relative; } .question5 { position: relative; } .question6 { position: relative; } @media (max-width: 300px) { .quiz-header { padding: 60px; } .quiz-container .question1::before { right: -40px; } .quiz-container .question2::before { right: -40px; } .quiz-container .question3::before { right: -40px; } .quiz-container .question4::before { right: -30px; } .quiz-container .question5::before { right: -40px; } .quiz-container .question6::before { right: -40px; } } #btnsub{ background-color: #656767; border: none; color: white; padding: 15px 32px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; border-radius: 10px; box-shadow: 0 2px 2px 0 rgb(0 0 0 / 20%), 0 2px 6px 0 rgb(0 0 0 / 19%); } .popup-link{ display:flex; flex-wrap:wrap; } .popup-link a{ background: #333; color: #fff; padding: 10px 30px; border-radius: 5px; font-size:17px; cursor:pointer; margin:20px; text-decoration:none; } .popup-container { visibility: hidden; opacity: 0; transition: all 0.3s ease-in-out; transform: scale(1); position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(21, 17, 17, 0.61); display: flex; align-items: center; } .popup-content { color: #a94442; background-color: #f2dede; border-color: #ebccd1; margin: auto; padding: 5px; border: 2px solid #888; width: 20%; } .popup-content p{ font-size: 15px; padding: 5px; line-height: 20px; margin-top: 5%; font-weight: 600; } .popup-content a.close{ color: #aaaaaa; float: right; font-size: 28px; font-weight: bold; background: none; padding: 0; margin: 0; text-decoration:none; } .popup-content a.close:hover{ color:#333; } .popup-content span:hover, .popup-content span:focus { color: #000; text-decoration: none; cursor: pointer; } .popup-container:target{ visibility: visible; opacity: 1; transform: scale(1); } .popup-container h3{ margin:10px; } /*End popup styles*/ /* Additional styles */ .popup-style-2{ transform: scale(0.3); } .popup-style-2:target{ transform: scale(1); } .popup-style-3{ left:100%; } .popup-style-3:target{ left:0; } .popup-style-4{ transform: rotate(180deg); } .popup-style-4:target{ transform: rotate(0deg); } .popup-style-5{ top:100%; } .popup-style-5:target{ top:0; } .popup-style-6{ transform: scale(15.3); } .popup-style-6:target{ transform: scale(1); } .popup-style-7{ transform: skewY(180deg); transition: all 0.7s ease-in-out; } .popup-style-7:target{ transform: skewY(0deg); }