:root { --background: #E5F4DF; --green: #499137; --black: #000; --white: #FFF; --red: #FF0000; --yellow: #FDD86C; --input: linear-gradient(180deg, #FFF 0%, #E3E3E3 100%); --input_selected: linear-gradient(180deg, #56ac41 0%, #3e7c2f 100%); } @font-face { font-family: 'Inter'; src: url('/fonts/inter/Inter-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; } @font-face { font-family: 'Inter'; src: url('/fonts/inter/Inter-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; } @font-face { font-family: 'Inter'; src: url('/fonts/inter/Inter-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; } body { font-family: 'Inter', sans-serif; font-weight: 400; font-style: normal; width: 100vw; height: 100vh; transition: all 3s; user-select: none; overflow: hidden; margin: 0; } .main { position: absolute; background: radial-gradient(#00000026, #121212); width: 100%; height: 100%; top: 0; left: 0; } .checker_container { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 1346px; height: 791px; border-radius: 3px; background: rgba(0, 0, 0, 0.5); z-index: 10000000; } .checker { position: absolute; left: 323px; top: 246px; width: 700px; height: 300px; border-radius: 3px; background: var(--background); overflow: hidden; } .checker_header { position: absolute; left: 0; top: 0; width: 700px; height: 80px; background: var(--green); } .checker_header_h2 { position: absolute; left: 20px; top: 0; height: 80px; width: 660px; font-size: 24px; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--white); display: flex; align-items: center; justify-content: center; margin: 0; text-align: center; } .checker_txt { position: absolute; width: 660px; height: 96px; top: 102px; left: 20px; font-size: 20px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--black); display: flex; align-items: center; justify-content: center; margin: 0; text-align: center; } .checker_back { position: absolute; left: 306px; top: 222px; width: 177px; height: 56px; background: var(--red); font-size: 24px; font-family: 'Inter', sans-serif; font-weight: 500; color: var(--black); display: flex; align-items: center; justify-content: center; margin: 0; text-align: center; border-radius: 3px; transition: all .1s; } .checker_back:hover { transform: scale(1.03); } .checker_back:active { transform: scale(1.01); } .checker_confirm { position: absolute; left: 503px; top: 222px; width: 177px; height: 56px; background: var(--green); font-size: 24px; font-family: 'Inter', sans-serif; font-weight: 500; color: var(--black); display: flex; align-items: center; justify-content: center; margin: 0; text-align: center; border-radius: 3px; transition: all .1s; } .checker_confirm:hover { transform: scale(1.03); } .checker_confirm:active { transform: scale(1.01); } .theorie { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 1346px; height: 791px; border-radius: 3px; background: var(--background); } .head { position: absolute; top: 0; left: 0; width: 1346px; height: 69px; background: var(--green); } .title { position: absolute; left: 37px; top: 0px; width: 110px; height: 69px; font-size: 20px; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--white); display: flex; align-items: center; justify-content: left; margin: 0; text-align: left; } .name { position: absolute; left: 465px; top: 0; width: 415px; height: 69px; font-size: 20px; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--white); display: flex; align-items: center; justify-content: center; margin: 0; text-align: center; } .points { position: absolute; left: 1199px; top: 0px; width: 110px; height: 69px; font-size: 20px; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--white); display: flex; align-items: center; justify-content: center; margin: 0; text-align: right; } .foot { position: absolute; top: 691px; left: 0; width: 1346px; height: 100px; background: var(--green); } .fragen_btns { position: absolute; left: 16px; top: 21px; width: 1314px; height: 57px; display: flex; gap: 5px; } .frage_btn { position: relative; left: 0; top: 0; width: 40px; height: 40px; background: var(--white); border: solid; border-width: 1px; /* 3px when selected!! */ border-color: var(--black); font-size: 20px; font-family: 'Inter', sans-serif; font-weight: 500; color: var(--black); display: flex; align-items: center; justify-content: center; margin: 0; text-align: center; border-radius: 2px; transition: all .1s; position: relative; overflow: hidden; } .frage_btn2::before { content: ""; position: absolute; top: 0; right: 0; width: 0; height: 0; border-left: 20px solid transparent; border-bottom: 20px solid var(--yellow); transform: rotate(-90deg); } .frage_btn:hover { transform: scale(1.05); } .frage_btn:active { transform: scale(1.02); } .buttons { position: absolute; left: 974px; top: 642px; width: 360px; height: 35px; } .abgabe { position: absolute; left: 0; top: 0; width: 110px; height: 35px; border-radius: 3px; background: var(--red); font-size: 13px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--black); display: flex; align-items: center; justify-content: center; margin: 0; text-align: center; transition: all .1s; } .abgabe:hover { transform: scale(1.05); } .abgabe:active { transform: scale(1.02); } .markieren { position: absolute; left: 125px; top: 0; width: 110px; height: 35px; border-radius: 3px; background: var(--yellow); font-size: 13px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--black); display: flex; align-items: center; justify-content: center; margin: 0; text-align: center; transition: all .1s; } .markieren:hover { transform: scale(1.05); } .markieren:active { transform: scale(1.02); } .weiter { position: absolute; left: 250px; top: 0; width: 110px; height: 35px; border-radius: 3px; background: var(--green); font-size: 13px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--black); display: flex; align-items: center; justify-content: center; margin: 0; text-align: center; transition: all .1s; } .weiter:hover { transform: scale(1.05); } .weiter:active { transform: scale(1.02); } .pruefungsaufgaben { position: absolute; left: 19px; top: 643px; width: 397px; height: 48px; display: flex; gap: 5px; margin: 0; } .grundstoff { position: relative; background: var(--green); border-radius: 2px; width: 90px; height: 48px; border: solid; border-width: 2px; border-color: var(--black); margin: 0; z-index: 1; font-size: 13px; display: flex; align-items: center; justify-content: center; text-align: center; transition: all .1s; } .grundstoff:hover { transform: scale(1.05); } .grundstoff:active { transform: scale(1.03); } .klasse { position: relative; background: var(--white); border-radius: 2px; width: 60px; height: 48px; border: solid; border-width: 2px; border-color: var(--black); margin: 0; z-index: 1; font-size: 13px; display: flex; align-items: center; justify-content: center; text-align: center; transition: all .1s; } .klasse:hover { transform: scale(1.05); } .klasse:active { transform: scale(1.03); } .total_quests { position: absolute; left: 611px; top: 644px; width: 123px; height: 31px; opacity: .6; color: var(--black); font-size: 13px; display: flex; align-items: center; justify-content: center; text-align: center; margin: 0; } .aufgaben { position: absolute; left: 37px; top: 108px; width: 1272px; height: 495px; } .image { position: absolute; left: 0; top: 0; width: 1272px; height: 495px; } .image_header { position: absolute; left: 0; top: 0; width: 1272px; height: 41px; font-size: 15px; font-family: 'Inter', sans-serif; font-weight: 700; display: flex; align-items: center; justify-content: left; text-align: left; } .image_image { position: absolute; top: 60px; left: 0px; max-width: 499px; max-height: 375px; display: flex; align-items: center; align-content: center; justify-items: center; justify-content: center; border-radius: 5px; -webkit-user-drag: none; } .image_awnsers { position: absolute; left: 646px; top: 0; width: 626px; height: 495px; display: flex; flex-direction: column; display: flex; align-items: center; justify-content: center; } .image_awnser { position: relative; width: 626px; height: 70px; margin: 0; } .image_btn { position: absolute; background: var(--input); width: 40px; height: 40px; left: 0px; top: 15px; border: solid; outline: none; border-radius: 5px; border-width: 2px; border-color: var(--black); transition: all .1s; position: relative; } .image_btn2::before { content: ""; position: absolute; width: 20px; height: 2px; background-color: var(--black); top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(45deg); } .image_btn2::after { content: ""; position: absolute; width: 20px; height: 2px; background-color: var(--black); top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-45deg); } .image_btn:hover { transform: scale(1.05); } .image_btn:active { transform: scale(1.03); } .image_txt { position: absolute; left: 58px; top: 8px; width: 568px; height: 54px; font-size: 12px; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--black); display: flex; align-items: center; justify-content: left; margin: 0; text-align: left; border-radius: 2px; transition: all .1s; } .input { position: absolute; left: 0; top: 0; width: 1272px; height: 495px; } .input_header { position: absolute; top: 13px; left: 0; width: 900px; height: 61px; font-size: 20px; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--black); display: flex; align-items: center; justify-content: left; margin: 0; text-align: left; border-radius: 2px; transition: all .1s; } .input_awnser { position: absolute; top: 107px; left: 18px; width: 568px; height: 25px; font-size: 12px; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--black); display: flex; align-items: center; justify-content: left; margin: 0; text-align: left; transition: all .1s; } .input_input { position: absolute; left: 18px; top: 134px; width: 289px; height: 45px; background: var(--input); border: solid; border-radius: 2px; border-width: 2px; border-color: var(--black); text-align: left; font-size: 16px; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--black); display: flex; align-items: center; justify-content: left; margin: 0; text-align: left; transition: all .1s; } .input_unit { position: absolute; left: 318px; top: 144px; width: 568px; height: 25px; text-align: left; font-size: 16px; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--black); display: flex; align-items: center; justify-content: left; margin: 0; text-align: left; transition: all .1s; } .num_btn { position: absolute; width: 60px; height: 45px; background: var(--input); border: solid; border-radius: 2px; border-width: 2px; border-color: var(--black); text-align: left; font-size: 16px; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--black); display: flex; align-items: center; justify-content: left; margin: 0; text-align: center; transition: all .1s; } .num_btn:hover { transform: scale(1.05); } .num_btn:active { transform: scale(1.03); } #null { left: 18px; top: 227px; } #eins { left: 83px; top: 227px; } #zwei { left: 148px; top: 227px; } #drei { left: 18px; top: 277px; } #vier { left: 83px; top: 277px; } #fünf { left: 148px; top: 277px; } #sechs { left: 18px; top: 327px; } #sieben { left: 83px; top: 327px; } #acht { left: 148px; top: 327px; } #neun { left: 18px; top: 377px; } #komma { left: 83px; top: 377px; } #C { left: 148px; top: 377px; } .speedlimit { position: absolute; top: 30%; left: 6%; width: 150px; height: 150px; transform: translate(-50%, -50%); } .speedlimit img { position: absolute; left: 0; top: 0; width: 150px; height: 150px; } .speedlimit h1 { position: absolute; left: 0; top: 0; width: 150px; height: 150px; color: black; display: flex; justify-content: center; justify-items: center; align-items: center; align-content: center; text-align: center; z-index: 9999; font-size: 60px; margin: 0; }