/* reset code */ html { scroll-behavior: smooth; } body, html { margin: 0; padding: 0; color: #ffff; } * { box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Viga", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; } .wrapper-full { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; } .wrapper { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; } @media (min-width: 576px) { .wrapper { max-width: 540px; } } @media (min-width: 768px) { .wrapper { max-width: 720px; } } @media (min-width: 992px) { .wrapper { max-width: 960px; } } @media (min-width: 1200px) { .wrapper { max-width: 1140px; } } .img-responsive { max-width: 100%; display: block; } .img-fluid { width: 100%; } .d-grid { display: grid; } .d-flex { display: flex; display: -webkit-flex; flex-wrap: wrap; } .text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; } button, input, select { -webkit-appearance: none; outline: none; } button, .btn, select { cursor: pointer; } a { text-decoration: none; } iframe { border: none; } h1, h2, h3, h4, h5, h6, p, ul, ol { margin: 0; padding: 0; text-shadow: 0 0 10px rgb(255 255 255 / 70%); } .p-relative { position: relative; } .p-absolute { position: absolute; } .p-fixed { position: fixed; } .p-sticky { position: -webkit-sticky; position: sticky; } body a:hover, body button:hover { opacity: .8; } h1, h2, h3, h4, h5, h6, a { color: #050404; } p { color: #585858; } .brk-btn { position: relative; background: none; color: #fff; text-transform: uppercase; text-decoration: none; border: 2px solid #fff; padding: 10px 22px; font-size: 14px; display: inline-block; border-radius: 40px; transition: all 0.3s ease; -moz-transition: all 0.3s ease; -webkit-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; } .brk-btn-bg { color: var(--title-color); background: #fff; } .brk-btn::before { content: ""; display: block; position: absolute; width: 10%; background: #222; height: 0.2em; right: 20%; top: -0.21em; transform: skewX(-45deg); -webkit-transition: all 0.45s cubic-bezier(0.86, 0, 0.07, 1); transition: all 0.45s cubic-bezier(0.86, 0, 0.07, 1); } .brk-btn::after { content: ""; display: block; position: absolute; width: 10%; background: #222; height: 0.2em; left: 20%; bottom: -0.21em; transform: skewX(45deg); -webkit-transition: all 0.45 cubic-bezier(0.86, 0, 0.07, 1); transition: all 0.45s cubic-bezier(0.86, 0, 0.07, 1); } .brk-btn:hover::before { right: 80%; } .brk-btn:hover::after { left: 80%; } /* reset code */ /* error */ .error-page { background: url(https://wallpapercave.com/wp/wp2998874.jpg) no-repeat top; background-size: cover; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; -ms-background-size: cover; position: relative; z-index: 0; min-height: 100vh; align-items: center; display: grid; padding: 20px 0; } .main-content { text-align: center; padding-top: 18em; } .main-content h2 { color: #fff; font-size: 7em; text-transform: uppercase; font-weight: 100; } .main-content h4 { font-size: 25px; line-height: 25px; color: #eee; font-weight: 400; } .main-content p { font-size: 17px; line-height: 25px; color: #c5c5c5; margin-top: 15px; max-width: 550px; margin: 10px auto 0; } /* button */ .button { &.dark { --background: #2F3545; --shadow: 0 2px 8px -1px #{rgba(#151924, .32)}; --shadow-hover: 0 4px 20px -2px #{rgba(#151924, .5)}; } &.white { --background: #fff; --text: #e7d803; --shadow: 0 2px 8px -1px #{rgba(#121621, .04)}; --shadow-hover: 0 4px 20px -2px #{rgba(#121621, .12)}; } &.fast { --duration: .32s; } } .button { --background: #e7d803; --text: #fff; --font-size: 16px; --duration: .44s; --move-hover: -4px; --shadow: 0 2px 8px -1px #{rgba(#275efe, .32)}; --shadow-hover: 0 4px 20px -2px #{rgba(#275efe, .5)}; --font-shadow: var(--font-size); padding: 16px 32px; font-family: 'Roboto'; font-weight: 500; line-height: var(--font-size); border-radius: 24px; display: block; outline: none; text-decoration: none; font-size: var(--font-size); letter-spacing: .5px; background: var(--background); color: var(--text); box-shadow: var(--shadow); transform: translateY(var(--y)); transition: transform var(--duration) ease, box-shadow var(--duration) ease; div { display: flex; overflow: hidden; text-shadow: 0 var(--font-shadow) 0 var(--text); span { display: block; backface-visibility: hidden; font-style: normal; transition: transform var(--duration) ease; transform: translateY(var(--m)); $i: 1; @while $i < 12 { &:nth-child(#{$i}) { transition-delay: $i / 20 + s; } $i: $i + 1; } } } &:hover { --y: var(--move-hover); --shadow: var(--shadow-hover); span { --m: calc(var(--font-size) * -1); } } &.reverse { --font-shadow: calc(var(--font-size) * -1); &:hover { span { --m: calc(var(--font-size)); } } } } html { box-sizing: border-box; -webkit-font-smoothing: antialiased; } * { box-sizing: inherit; &:before, &:after { box-sizing: inherit; } } .buttons { margin-top: 2em; display: flex; font-family: 'Roboto', Arial; justify-content: center; align-items: center; } /* logo & copyright */ .bottom-header { grid-template-columns: 1fr 1fr; margin-top: 7.5em; align-items: center; } .bottom-header .logo { color: #fff; font-size: 30px; } .copyrights p { color: #ffffff; font-size: 15px; } .copyrights p a { color: #fff; } /*-- responsive design --*/ @media(max-width:1440px) { .main-content h2 { font-size: 6em; } .main-content { padding-top: 15em; } .bottom-header { margin-top: 6.5em; } } @media(max-width:1280px) { .main-content { padding-top: 13em; } .main-content h2 { font-size: 5.5em; } } @media(max-width:736px) { .main-content { padding-top: 11em; } .main-content h2 { font-size: 4.5em; } } @media(max-width:500px) { .copyrights p { line-height: 22px; } .bottom-header { grid-template-columns: 1fr; text-align: center; grid-gap: 10px; } .copyrights p { text-align: center; } } @media(max-width:375px) { .main-content h2 { font-size: 4em; } } .btn{ color: #fff; border: none; margin: 20px; padding: 20px 30px; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 4px; cursor: pointer; border-radius: 5px; transition: 0.5s; transition-property: box-shadow; } .btn-primary{ background: #00ffc48a; box-shadow: 0 0 25px #000000; } /*-- //responsive design --*/