226 lines
4.2 KiB
SCSS
226 lines
4.2 KiB
SCSS
/*--------------------------------------------------------------
|
|
# Set main reusable colors and fonts using CSS variables
|
|
# Learn more about CSS variables at https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
|
|
--------------------------------------------------------------*/
|
|
/* Fonts */
|
|
:root {
|
|
--font-default: #{$font-default};
|
|
--font-primary: #{$font-primary};
|
|
--font-secondary: #{$font-secondary};
|
|
}
|
|
|
|
/* Colors */
|
|
:root {
|
|
--color-default: #{$default};
|
|
--color-primary: #{$primary};
|
|
--color-secondary: #{$secondary};
|
|
}
|
|
|
|
/* Smooth scroll behavior */
|
|
:root {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
# General
|
|
--------------------------------------------------------------*/
|
|
body {
|
|
font-family: var(--font-default);
|
|
color: var(--color-default);
|
|
}
|
|
|
|
a {
|
|
color: var(--color-primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: lighten($primary, 10);
|
|
text-decoration: none;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: var(--font-secondary);
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
# Sections & Section Header
|
|
--------------------------------------------------------------*/
|
|
section {
|
|
overflow: hidden;
|
|
padding: 80px 0;
|
|
}
|
|
|
|
.section-bg {
|
|
background-color: #eee;
|
|
}
|
|
|
|
.section-header {
|
|
text-align: center;
|
|
padding-bottom: 30px;
|
|
|
|
h2 {
|
|
font-size: 13px;
|
|
letter-spacing: 1px;
|
|
font-weight: 400;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: lighten($secondary, 30);
|
|
text-transform: uppercase;
|
|
font-family: var(--font-default);
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
font-size: 48px;
|
|
font-weight: 400;
|
|
font-family: var(--font-primary);
|
|
span {
|
|
color: var(--color-primary);
|
|
}
|
|
}
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
# Breadcrumbs
|
|
--------------------------------------------------------------*/
|
|
.breadcrumbs {
|
|
padding: 15px 0;
|
|
background: rgba($secondary, .05);
|
|
margin-top: 90px;
|
|
@media (max-width: 575px) {
|
|
margin-top: 70px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 24px;
|
|
font-weight: 400;
|
|
margin: 0;
|
|
}
|
|
|
|
ol {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
font-size: 14px;
|
|
|
|
li + li {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
li + li::before {
|
|
display: inline-block;
|
|
padding-right: 10px;
|
|
color: lighten($secondary, 20);
|
|
content: "/";
|
|
}
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
|
|
.d-flex {
|
|
display: block !important;
|
|
}
|
|
|
|
h2 {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
ol {
|
|
display: block;
|
|
li {
|
|
display: inline-block;
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
# Scroll top button
|
|
--------------------------------------------------------------*/
|
|
.scroll-top {
|
|
position: fixed;
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
right:15px;
|
|
bottom: 15px;
|
|
z-index: 99999;
|
|
background: var(--color-primary);
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50px;
|
|
transition: all 0.4s;
|
|
|
|
i {
|
|
font-size: 24px;
|
|
color: #fff;
|
|
line-height: 0;
|
|
}
|
|
|
|
&:hover {
|
|
background: lighten($primary, 10);
|
|
color: #fff;
|
|
}
|
|
|
|
&.active {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
# Preloader
|
|
--------------------------------------------------------------*/
|
|
#preloader {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9999;
|
|
overflow: hidden;
|
|
background: #fff;
|
|
transition: all 0.6s ease-out;
|
|
width: 100%;
|
|
height: 100vh;
|
|
|
|
&:before, &:after {
|
|
content: "";
|
|
position: absolute;
|
|
border: 4px solid var(--color-primary);
|
|
border-radius: 50%;
|
|
animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
|
|
}
|
|
|
|
&:after {
|
|
animation-delay: -0.5s;
|
|
}
|
|
}
|
|
|
|
@keyframes animate-preloader {
|
|
0% {
|
|
width: 10px;
|
|
height: 10px;
|
|
top: calc(50% - 5px);
|
|
left: calc(50% - 5px);
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
width: 72px;
|
|
height: 72px;
|
|
top: calc(50% - 36px);
|
|
left: calc(50% - 36px);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
# Disable aos animation delay on mobile devices
|
|
--------------------------------------------------------------*/
|
|
@media screen and (max-width: 768px) {
|
|
[data-aos-delay] {
|
|
transition-delay: 0 !important;
|
|
}
|
|
}
|