website/assets/scss/custom.scss

291 lines
6.6 KiB
SCSS
Raw Normal View History

2024-02-16 08:29:40 +00:00
/**************** Fonts ******************/
2024-02-15 13:10:07 +00:00
@font-face {
font-family: "MontserratVar";
src: url( '../fonts/Montserrat-VariableFont_wght.ttf' );
}
@font-face {
font-family: "OpenSansVar";
src: url( '../fonts/OpenSans-VariableFont_wdth_wght.ttf' );
2024-02-15 13:10:07 +00:00
}
2024-02-16 08:29:40 +00:00
/**************** Typography ******************/
a {
color: #a9cd2e;
text-decoration: none;
transition: 0.3s ease-in-out;
}
h1, h2, h3, h4, h5, h6 {
font-weight:normal;
margin-bottom: 16px;
}
h3 {
font-weight:500;
}
h4 {
color: #a9cd2e;
}
p {
font-size: 18px;
margin-bottom:10px;
margin-top:10px;
}
.navbar-nav .nav-item {
font-size: 18px;
color: grey!important;
}
@media (max-width: 1200px) {
h1 {
font-size: 35px;
line-height: 1.2em;
margin-bottom: 16px;
}
h3 {
font-size:18px;
}
h4 {
font-size:18px;
}
p {
font-size: 14px;
}
.navbar-nav .nav-item {
font-size: 14px;
}
}
footer, footer h1, footer h2, footer h3, footer h4, footer h5, footer h6, footer p, footer a {
color:white;
}
img {
margin-bottom:16px;
}
@media (max-width: 770px) {
.btn{
display:block
}
}
.container {
max-width: 1750px;
}
@media (max-width: 1750px) {
.container {
padding-left:80px;
padding-right:80px;
}
}
@media (max-width: 1200px) {
.container {
max-width: 1200px;
padding-left:80px;
padding-right:80px;
}
}
2024-02-16 08:29:40 +00:00
/**** Utility *****/
.aligncenter * {
text-align: center;
margin-left: auto;
margin-right: auto;
}
/**************** Component Styles ******************/
// Icons
.verua-icon {
margin: 20px 0;
}
2024-02-16 08:29:40 +00:00
// Verua Slider
@media (max-width: 1200px) {
.verua-slider-wrapper .verua-slider .slides h1 {
margin-top:0px;
}
.hero-slider {
margin-top:-200px;
}
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper {
position: relative;
width: 100%;
color: #fff;
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper .verua-slider {
position: relative;
width: 100%;
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper .verua-slider .slides {
position: absolute;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
overflow: hidden;
opacity: 0;
transition: 0.3s ease-in-out;
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper .verua-slider .slides.current {
2024-02-16 08:29:40 +00:00
// z-index: 1;
opacity: 1;
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper .verua-slider .slides:nth-child(1) {
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://images.pexels.com/photos/2339009/pexels-photo-2339009.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper .verua-slider .slides:nth-child(2) {
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://images.pexels.com/photos/2303337/pexels-photo-2303337.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper .verua-slider .slides:nth-child(3) {
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://images.pexels.com/photos/2346091/pexels-photo-2346091.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500');
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper .verua-slider .slides:nth-child(4) {
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://images.pexels.com/photos/1168764/pexels-photo-1168764.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500');
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper .verua-slider .slides:nth-child(5) {
background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://images.pexels.com/photos/2693529/pexels-photo-2693529.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper .verua-slider .slides h1 {
font-family: "MontserratVar" !important;
font-weight:700;
color: white;
text-shadow: 0px 0.5px 12px rgba(0, 0, 0, 0.9);
transition: 0.3s linear;
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper .verua-slider .slides.current h1 {
animation: animateHeading 0.3s linear forwards 1;
animation-delay: 0.2s;
opacity: 0;
}
@keyframes animateHeading {
to {
opacity: 1;
}
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper .verua-slider .slides p {
text-shadow: 0px 0.5px 5px rgba(0, 0, 0, 0.5);
transition: 0.3s linear;
opacity: 0;
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper .verua-slider .slides.current p {
animation: animateparagraph 0.3s linear forwards 1;
animation-delay: 0.2s;
}
@keyframes animateparagraph {
to {
opacity: 1;
}
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper .prev {
position: fixed;
color: #fff;
top: 50%;
left: 5%;
transform: translateY(-50%);
2024-02-16 08:29:40 +00:00
// z-index: 99;
font-size: 1.5em;
font-weight: 600;
border: 2px solid #fff;
padding: 10px 17px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: 0.2s ease-in-out;
cursor: pointer;
box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.9);
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper .next {
position: fixed;
color: #fff;
top: 50%;
right: 5%;
transform: translateY(-50%);
2024-02-16 08:29:40 +00:00
// z-index: 99;
font-size: 1.5em;
font-weight: 600;
border: 2px solid #fff;
padding: 10px 17px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: 0.2s ease-in-out;
cursor: pointer;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper .prev:hover,
.verua-slider-wrapper .next:hover {
background: #16a085;
border-color: #16a085;
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper a {
position: fixed;
color: #fff;
bottom: 15%;
left: 50%;
transform: translateX(-50%);
2024-02-16 08:29:40 +00:00
// z-index: 99;
font-size: 1em;
font-weight: 500;
border: 1px solid #16a;
padding: 10px 17px;
line-height: 1.2em;
display: flex;
align-items: center;
justify-content: center;
border-radius: 2px;
transition: 0.2s ease-in-out;
cursor: pointer;
text-decoration: none;
background: #16a;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}
2024-02-15 13:10:07 +00:00
.verua-slider-wrapper a:hover {
background: #017f
}