*, :after, :before { box-sizing: inherit; } body { font-family: BlenderProBook,sans-serif; font-weight: 300; margin: 0; padding: 0; background-image: url('../images/points.png'); background-repeat: repeat; } .logo{ padding: 20px; height: 70px; } .header{ position: relative; background-color: #fbff31; .header-content{ height: 500px; } :after{ clear: both; } } .header-nav{ height: 120px; } .clp { background: rgba(0, 0, 0, 0.6); position: relative; clip-path: polygon(15px 0,100% 0px,100% calc(100% - 15px),calc(100% - 15px) calc(100%),calc(100% - 15px) 2000%,0 2000%,0 15.3333333333px); } .menu{ display: flex; position: fixed; margin: 2px; top: 20px; right: 70px; height:40px; z-index: 10; } .menu:hover{ border: #3CF solid 2px; margin: 0; } .menu-list { padding: 0 10px 0 10px; list-style: none; align-items: center; height: 100%; line-height: 100%; display: flex; margin: 0; .menu-item { align-items: center; color: #fff; cursor: pointer; display: flex; font-family: BlenderProBook,sans-serif; font-size: 22px; font-style: normal; font-weight: 400; height: 100%; line-height: 100%; position: relative; text-transform: uppercase; span{ line-height: 100%; align-items: center; padding: 0 7px 0 7px; } a{ line-height: 100%; } } .menu-item:hover{ background-color: #3CF; .sub-menu{ float:left; display: block; } } .menu-sub::after { border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid #fff; content: ""; display: inline-block; height: 6px; margin-left: 6px; position: relative; width: 0px; } .sub-menu{ display: none; background: rgba(255, 255, 255, 0); position: absolute; float: left; left: 0px; top: 40px; :after{ clear: both; } } .sub-menu-list{ list-style: none; background: rgba(255, 255, 255, 0); padding-left: 0; .sub-menu-item{ padding: 5px 20px 5px 20px; background: rgba(0, 0, 0, 0.6); white-space: nowrap; line-height: 100%; height: 30px; } .sub-menu-item:hover{ background-color: #3CF; } li{ list-style: none; } } } a{ color: #fff; text-decoration: none; } .header-title{ position: absolute; top: 130px; left: 100px; h1{ font-size: 4em; margin: 10px; } h2{ color: grey; font-size: 1em; margin: 5px; } .author{ font-size: 1em; color: grey; } } hr{ background-color: black; height: 2px; } .header-img{ position: absolute; top: 80px; right: 10%; } .end-block{ width: 100%; height: 80px; background: linear-gradient(to top, rgba(251, 255, 49, 0), rgba(251, 255, 49, 1)); } .container{ position: relative; width: 80%; margin: auto; } .exam-box{ margin: auto; width: 900px; height: 600px; background-size: cover; background-image: url(../images/exam-pad.webp); padding: 15px 15px 15px 30px; p{ font-size: larger; } } .question-box{ width: 600px; height: 300px; } .red-light{ color: rgb(255, 49, 111); text-shadow: 0 0 20px rgb(255, 0, 0),0 0 20px rgb(255, 0, 0); } .blue-light{ color: rgb(96, 223, 255); text-shadow: 0 0 20px rgb(76, 182, 253),0 0 20px rgb(76, 182, 253),0 0 20px rgb(76, 182, 253),0 0 20px rgb(76, 182, 253); } .form-box{ width: 900px; position: relative; } .choice-box{ height: 40px; border: #3CF 2px solid; width: 600px; margin: 15px; padding: 0px 5px 3px 20px; position: relative; label{ top: 0px; left: 0px; line-height: 100%; width: 575px; height: 100%; position: absolute; display: flex; align-items: center; padding: 0px 0px 0px 50px; } :hover, :active, :checked + label{ background: linear-gradient(90deg,#ffff0000,#fff83cb6); } } .form-buttons{ button{ display: block; width: 180px; height: 50px; margin: 20px; background-color: rgba(255, 255, 255, 0); font-size: 25px; } float: right; position: absolute; top: 80px; right: 10px; } .blue-btn{ border: #3CF 2px solid; color: rgb(96, 223, 255); text-shadow: 0 0 20px rgb(76, 182, 253),0 0 20px rgb(76, 182, 253),0 0 20px rgb(76, 182, 253),0 0 20px rgb(76, 182, 253); } .blue-btn:hover{ background-color: rgba(51, 204, 255, 0.562); } .yellow-btn{ border: rgb(255, 251, 0) 2px solid; color: rgb(255, 230, 0); text-shadow: 0 0 20px rgb(217, 255, 0),0 0 20px rgb(253, 241, 76),0 0 20px rgb(255, 238, 0); } .yellow-btn:hover{ background-color: #ffe13470; } .login-box{ margin: auto; padding: 0; background-color: #fcff3115; width: 900px; height:600px; position: relative; } .login-pad{ clip-path: polygon(2% 2%, 2% 98%, 90% 98%, 90% 100%, 100% 100%, 100% 90%, 98% 90%, 98% 9%, 100% 9%, 100% 0%, 0% 0%); height:92%; width:95%; border: #fbff31 solid 5px; padding: 2%; } .login-title{ color: #5e5000; font-size: 1.5em; background-color: #f8ff2aab; padding: 5px; } .login-input{ display:block; background-color: #fcff3181; border: #fbff31 solid 2px; height: 50px; width: 70%; margin-top: 20px; } .login-button{ background-color: #fcff31; border: none; height: 50px; width: 70%; margin-top: 40px; } .login-logo{ position: absolute; width: 30%; top: 30%; right: 1%; }