* { padding: 0; margin: 0; border: 0; } *, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } :focus, :active { outline: none; } a:focus, a:active { outline: none; } nav, footer, header, aside { display: block; } html, body { height: 100%; width: 100%; font-size: 100%; line-height: 1; font-size: 14px; -ms-text-size-adjust: 100%; -moz-text-size-adjust: 100%; } input, button, textarea { font-family: inherit; } input::-ms-clear { display: none; } button { cursor: pointer; } button::-moz-focus-inner { padding: 0; border: 0; } a, a:visited { text-decoration: none; } a:hover { text-decoration: none; } ul li { list-style: none; } img { vertical-align: top; } h1, h2, h3, h4, h5, h6 { font-size: 18px; font-family: Myriad-L, sans-serif; color: #fff; line-height: 1.2; } a { color: #fff; } @font-face { font-family: Myriad-L; src: url(fonts/MyriadPro-Light.ttf); } @font-face { font-family: Myriad-R; src: url(fonts/MyriadPro-Regular.woff); } /* ------------------------------------------------------------------ */ h1 { color: #fff; margin: 0 auto; margin-bottom: 10px; letter-spacing: 0.75px; } h6 { font-weight: 300; color: rgba(255, 255, 255, 0.7); text-align: center; } h3 { letter-spacing: 0.5px; text-align: center; display: grid; align-self: center; } h2 { font-weight: 300; } /* ----------------------------Top Menu--------------------------------- */ header { width: 100%; height: 45px; background-color: rgba(255, 255, 255, 0.3); display: flex; } .content { width: 92%; margin: auto auto; display: flex; justify-content: space-between; } .theme { display: flex; } .theme a { margin-left: 20px; font-size: 15px; } /* ----------------------------------------------------------------- */ body { background: #eb3474; } .gradient { width: 100%; height: 100%; background: linear-gradient(#2394F0, #eb3474); position: absolute; z-index: -99; } .container { width: 100%; display: flex; flex-direction: column; } .wrapper { display: flex; margin: 30px auto; width: 92%; max-width: 1000px; background-color: rgba(255, 255, 255, 0.3); border-radius: 12px; filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.3)); padding: 0px 20px; transition: 0.5s; } .wrap-side { display: flex; flex-direction: column; margin: 40px 40px; width: 50%; } .set, .value { width: 90%; margin: 0 auto; padding: 5px; } #sets, #values { display: flex; flex-direction: column; } .input-wrap { margin: 0; display: flex; flex-direction: row; } .text { margin: auto 0; white-space: pre; letter-spacing: 0.75px; } .input { width: 100%; } input[type=set], input[type=value] { width: 100%; height: 44px; background: none; border: 3px solid rgba(255, 255, 255, 0.5); border-radius: 8px; font-size: 18px; font-family: Myriad-R; color: #fff; margin: 5px auto; padding: 0px 0px 0px 10px; } input[type=problem] { width: 100%; height: 44px; background: none; border: 3px solid rgba(255, 255, 255, 0.5); border-radius: 8px; font-size: 18px; color: #fff; padding: 0px 0px 0px 10px; margin-top: 5px; } input[type=button] { height: 40px; padding: 0 25px 0 25px; background: rgba(255, 255, 255, 0.45); color: white; border-radius: 22px; cursor: pointer; font-size: 18px; font-family: Myriad-R; transition: 1s; } input[type=button]:hover { background-color: rgba(255, 255, 255, 0.7); transition: 1s; } input[type=result] { height: 44px; width: 100%; margin: 10px 0; background: rgba(255, 255, 255, 0.45); color: white; border-radius: 8px; font-size: 18px; font-family: Myriad-R; cursor: default; padding: 0px 0px 0px 10px; text-overflow: clip; } input[type=table-start] { height: 44px; width: 100%; margin: 0px 0; background: rgba(255, 255, 255, 0.45); color: white; border-top-left-radius: 8px; border-top-right-radius: 8px; font-size: 18px; font-family: Myriad-R; cursor: default; padding: 0px 0px 0px 10px; } input[type=table-mid] { height: 44px; width: 100%; margin: 0px 0; background: rgba(255, 255, 255, 0.45); color: white; font-size: 18px; font-family: Myriad-R; cursor: default; padding: 0px 0px 0px 10px; } input[type=table-end] { height: 44px; width: 100%; margin: 0px 0; background: rgba(255, 255, 255, 0.45); color: white; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; font-size: 18px; font-family: Myriad-R; cursor: default; padding: 0px 0px 0px 10px; } .wrap-result { width: 100%; margin: 20px 0; } ::placeholder { color: rgba(255, 255, 255, 0.35); font-size: 18px; font-family: Myriad-R; } .addSet, .addValue { margin: 20px auto; } .buttons { margin: 0 auto; display: flex; } .button { margin: 15px 5px 5px 5px; } .description { width: 90%; margin: 0 auto; } .operations { display: flex; flex-direction: column; margin: 30px auto; } .operation { display: flex; margin: 5px; } .operation-bg { background: rgba(255, 255, 255, 0.2); width: 22px; height: 22px; border-radius: 11px; margin-right: 8px; } .step-by-step { width: 100%; margin: 25px 38px 40px 50px; display: flex; flex-direction: column; } .hide { display: none; transition: 0.5s; } .close { transition: 0.75s; opacity: 0; } .close-button { position: absolute; right: 2%; transform: translate(0, -3px); margin: 25px 5px 0px 0px; cursor: pointer; width: 20px; height: 20px; opacity: 85%; transition: 0.5s; } .close-button:hover { opacity: 100%; transition: 0.5s; } .question-mark-button { width: 20px; margin: -1px 10px 0px 10px; opacity: 85%; transition: 0.5s; } .question-mark-button:hover { opacity: 100%; transition: 0.5s; } .input-wrap img { margin: auto 10px; height: 50px; } /* ------------------Main-------------- */ .calculator { display: flex; flex-direction: column; margin: 20px auto; width: 90%; max-width: 250px; background-color: rgba(255, 255, 255, 0.3); border-radius: 20px; padding: 20px; transition: 1s; } .calculator img { height: 100px; margin: 20px auto; } .calculator:hover { background-color: rgba(255, 255, 255, 0.5); transition: 1s; } .calculator h1 { margin: 0 auto; text-align: center; font-size: 23px; max-width: 200px; } /* ------------------New-------------- */ .current { color: rgba(255, 255, 255, 0.65); } .no-top-margin { margin-top: 0; } .title { margin-top: 25px; margin-bottom: 15px; font-size: 24px; font-family: Myriad-R; } .operation h6 { text-align: left; } .operation-bg { min-width: 22px; max-width: 22px; } /* ------------------Knowledgebase-------------- */ .knowledge { flex-direction: column; } .knowledge-wrap { width: 95%; margin: 20px auto; display: flex; flex-direction: column; } .knowledge-main-title { margin: 15px auto; } .knowledge-title { text-align: left; margin: 5px 0; } .knowledge-desc { text-align: justify; } .strong { color: white; } .overline { text-decoration: overline; } @media screen and (max-device-width: 650px) and (min-device-width: 0px) { .wrapper { flex-direction: column; padding: 0; } .wrap-side { width: 85%; margin: 20px auto; } .buttons { flex-direction: column; margin-top: 15px; } .button { margin: 10px auto; } .step-by-step { width: auto; text-align: center; } .knowledge-wrap { width: 80%; } h3 { font-size: 14px; } .theme a { margin-left: 15px; font-size: 14px; } }