website/assets/css/style.css
Karma Riuk d2ef0ef232 added some css rule to make it more responsive and
look better with blocks of text
2024-02-29 09:16:39 +01:00

1195 lines
22 KiB
CSS

/**
* Template Name: Laura
* Updated: Jul 27 2023 with Bootstrap v5.3.1
* Template URL: https://bootstrapmade.com/laura-free-creative-bootstrap-theme/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
color-scheme: dark;
--highlight: #ffb727;
--highlight-alt: #ffc85a;
--background: #fff;
--border: var(--background);
--btn-bg: var(--highlight);
--btn-bg-hover: #ffc550;
--btn-bg-hover-2: #f3a200;
--text-color: #444;
--text-color-alt: var(--background);
--text-color-alt-2: #eee;
--section-title-color: #3b434a;
--section-title-color-back: #3b434a17;
--progress-text-color: #3b434a;
--progress-background: #e6e8eb;
--resume-time-background: #eef0f2;
--resume-border: #82909c;
--resume-btn-border: var(--highlight);
--resume-btn-hover: var(--background);
--skill-title: #111;
--skill-icon-bg: #fff4df;
--contact-title-icon-bg: #fff6e4;
--contact-title: #777;
--contact-box-shadow: rgba(214, 215, 216, 0.6);
--contact-icon: #687683;
--contact-icon-border: #dde1e4;
}
body.dark {
--highlight: #ffbc35;
--highlight-alt: #ffc859;
--background: rgb(24, 26, 27);
--border: #303436;
--btn-bg: #b57800;
--btn-bg-hover: #f3a200;
--btn-bg-hover-2: #f3a200;
--text-color: rgb(189, 183, 175);
--text-color-alt: #e8e6e5;
--text-color-alt-2: #e8e6e5;
--section-title-color: #beb8b0;
--section-title-color-back: #beb8b017;
--progress-text-color: #beb8b0;
--progress-background: #252829;
--resume-time-background: #202325;
--resume-border: #50565a;
--resume-btn-border: #a76f00;
--resume-btn-hover: var(--text-color-alt);
--skill-title: #dddad6;
--skill-icon-bg: #462e00;
--contact-title-icon-bg: #432d00;
--contact-title: #9d9488;
--contact-box-shadow: rgba(45, 50, 52, 0.6);
--contact-icon: #9e9589;
--contact-icon-border: #393d40;
}
body {
font-family: "Open Sans", sans-serif;
color: var(--text-color);
background: var(--background);
overflow-x: hidden;
}
a {
color: var(--highlight);
text-decoration: none;
}
a:hover {
color: var(--highlight-alt);
text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Raleway", sans-serif;
}
.prevent-select {
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
position: fixed;
visibility: hidden;
opacity: 0;
right: 15px;
bottom: 15px;
z-index: 996;
background: var(--btn-bg);
width: 40px;
height: 40px;
border-radius: 4px;
transition: all 0.4s;
}
.back-to-top i {
font-size: 28px;
color: var(--text-color-alt);
line-height: 0;
}
.back-to-top:hover {
background: var(--btn-bg-hover);
color: var(--text-color-alt);
}
.back-to-top.active {
visibility: visible;
opacity: 1;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
z-index: 997;
transition: all 0.5s;
height: 80px;
background: rgba(25, 28, 31, 0.8);
}
#header.header-transparent {
background: transparent;
}
#header.header-scrolled {
height: 60px;
background: rgba(25, 28, 31, 0.8);
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
padding: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.navbar ul {
margin: 0;
padding: 0;
display: flex;
list-style: none;
align-items: center;
}
.navbar li {
position: relative;
}
.navbar a,
.navbar a:focus,
.navbar li > i {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 15px;
color: var(--text-color-alt);
white-space: nowrap;
transition: 0.3s;
font-size: 12px;
font-family: "Raleway", sans-serif;
text-transform: uppercase;
font-weight: 600;
letter-spacing: 1px;
}
.navbar a i,
.navbar a:focus i {
font-size: 12px;
line-height: 0;
margin-left: 5px;
}
.navbar a:hover,
.navbar li > i:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
color: var(--highlight);
cursor: pointer;
}
.navbar .dropdown ul {
display: block;
position: absolute;
left: 14px;
top: calc(100% + 30px);
margin: 0;
padding: 10px 0;
z-index: 99;
opacity: 0;
visibility: hidden;
background: var(--background);
box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
transition: 0.3s;
border-radius: 4px;
}
.navbar .dropdown ul li {
min-width: 200px;
}
.navbar .dropdown ul a {
padding: 10px 20px;
font-size: 14px;
text-transform: none;
font-weight: 400;
color: #3b434a;
letter-spacing: 1px;
}
.navbar .dropdown ul a i {
font-size: 12px;
}
.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
color: var(--highlight);
}
.navbar .dropdown:hover > ul {
opacity: 1;
top: 100%;
visibility: visible;
}
.navbar .dropdown .dropdown ul {
top: 0;
left: calc(100% - 30px);
visibility: hidden;
}
.navbar .dropdown .dropdown:hover > ul {
opacity: 1;
top: 0;
left: 100%;
visibility: visible;
}
@media (max-width: 1366px) {
.navbar .dropdown .dropdown ul {
left: -90%;
}
.navbar .dropdown .dropdown:hover > ul {
left: -100%;
}
}
/**
* Mobile Navigation
*/
.mobile-nav-toggle {
color: var(--background);
font-size: 28px;
cursor: pointer;
display: none;
line-height: 0;
transition: 0.5s;
}
@media (max-width: 991px) {
.mobile-nav-toggle {
display: block;
}
.navbar ul {
display: none;
}
}
.navbar-mobile {
position: fixed;
overflow: hidden;
top: 0;
right: 0;
left: 0;
bottom: 0;
background: rgba(36, 41, 46, 0.9);
transition: 0.3s;
z-index: 999;
}
.navbar-mobile .mobile-nav-toggle {
position: absolute;
top: 15px;
right: 15px;
}
.navbar-mobile ul {
display: block;
position: absolute;
top: 55px;
right: 15px;
bottom: 15px;
left: 15px;
padding: 10px 0;
border-radius: 10px;
background-color: var(--background);
overflow-y: auto;
transition: 0.3s;
}
.navbar-mobile a,
.navbar-mobile a:focus {
padding: 10px 20px;
font-size: 14px;
color: #3b434a;
}
.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
color: var(--highlight);
}
.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
margin: 15px;
}
.navbar-mobile .dropdown ul {
position: static;
display: none;
margin: 10px 20px;
padding: 10px 0;
z-index: 99;
opacity: 1;
visibility: visible;
background: var(--background);
box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}
.navbar-mobile .dropdown ul li {
min-width: 200px;
}
.navbar-mobile .dropdown ul a {
padding: 10px 20px;
}
.navbar-mobile .dropdown ul a i {
font-size: 12px;
}
.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
color: var(--highlight);
}
.navbar-mobile .dropdown > .dropdown-active {
display: block;
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
width: 100%;
height: 100vh;
background: url("../img/hero-bg.jpg") top right;
background-size: cover;
position: relative;
}
#hero:before {
content: "";
background: rgba(0, 0, 0, 0.65);
position: absolute;
bottom: 0;
top: 0;
left: 0;
right: 0;
}
#hero .hero-container {
position: absolute;
bottom: 0;
top: 0;
left: 0;
right: 0;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 0 15px;
}
#hero h1 {
margin: 0 0 10px 0;
font-size: 64px;
font-family: "Satisfy", serif;
color: var(--text-color-alt);
}
#hero h2 {
color: var(--text-color-alt-2);
margin-bottom: 50px;
font-size: 13px;
font-weight: 500;
letter-spacing: 1px;
text-transform: uppercase;
}
#hero .btn-scroll {
transition: 0.4s;
color: rgba(255, 255, 255, 0.6);
animation: up-down 1s ease-in-out infinite alternate-reverse both;
}
#hero .btn-scroll i {
font-size: 48px;
}
#hero .btn-scroll:hover {
color: var(--highlight);
}
@media (min-width: 1024px) {
#hero {
background-attachment: fixed;
}
}
@media (max-width: 575px) {
#hero h1 {
font-size: 40px;
}
#hero h2 {
text-align: center;
margin-bottom: 30px;
}
}
@keyframes up-down {
0% {
transform: translateY(5px);
}
100% {
transform: translateY(-5px);
}
}
/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
padding: 60px 0;
}
.section-bg {
background-color: white;
}
.section-title {
text-align: center;
padding: 30px 0;
position: relative;
}
.section-title h2 {
font-size: 32px;
font-weight: 700;
text-transform: uppercase;
margin-bottom: 20px;
padding-bottom: 0;
color: var(--section-title-color);
position: relative;
z-index: 2;
}
.section-title span {
position: absolute;
top: 30px;
color: var(--section-title-color-back);
left: 0;
right: 0;
z-index: 1;
font-weight: 700;
font-size: 52px;
text-transform: uppercase;
line-height: 0;
}
.section-title p {
margin-bottom: 0;
position: relative;
z-index: 2;
}
@media (max-width: 575px) {
.section-title h2 {
font-size: 28px;
margin-bottom: 15px;
}
.section-title span {
font-size: 38px;
}
}
/*--------------------------------------------------------------
# About Me
--------------------------------------------------------------*/
.about .content h3 {
font-weight: 700;
font-size: 26px;
color: #3b434a;
text-transform: uppercase;
}
.about .content ul {
list-style: none;
padding: 0;
}
.about .content ul li {
margin-bottom: 20px;
display: flex;
align-items: center;
}
.about .content ul strong {
margin-right: 10px;
}
.about .content ul i {
font-size: 16px;
margin-right: 5px;
color: var(--highlight);
line-height: 0;
}
.about .content p:last-child {
margin-bottom: 0;
}
.about .content .count-box {
width: 100%;
}
.about .content .count-box i {
display: block;
font-size: 36px;
color: var(--highlight);
float: left;
line-height: 0;
}
.about .content .count-box span {
font-size: 36px;
line-height: 30px;
display: block;
font-weight: 700;
color: #3b434a;
margin-left: 50px;
}
.about .content .count-box p {
padding: 15px 0 0 0;
margin: 0 0 0 50px;
font-family: "Raleway", sans-serif;
font-size: 14px;
color: #5d6a75;
}
.about .content .count-box a {
font-weight: 600;
display: block;
margin-top: 20px;
color: #5d6a75;
font-size: 15px;
font-family: "Satisfy", serif;
transition: ease-in-out 0.3s;
}
.about .content .count-box a:hover {
color: #82909c;
}
.about .image {
background: url("../img/me.jpg") center center no-repeat;
background-size: cover;
min-height: 500px;
}
.about .skills-content {
margin-top: 30px;
}
.progress {
height: 60px;
display: block;
background: none;
border-radius: 0;
}
.progress .skill {
padding: 10px 0;
margin: 0 0 6px 0;
text-transform: uppercase;
display: block;
font-weight: 700;
font-family: "Raleway", sans-serif;
color: var(--progress-text-color);
}
.progress .skill .val {
float: right;
font-style: normal;
}
.progress-bar-wrap {
background: var(--progress-background);
}
.progress-bar {
width: 1px;
height: 10px;
transition: 0.9s;
background-color: var(--highlight);
}
/*--------------------------------------------------------------
# My Resume
--------------------------------------------------------------*/
.resume {
display: flex;
flex-direction: column;
align-items: center;
}
.resume .resume-title {
font-size: 26px;
font-weight: 700;
margin-top: 20px;
margin-bottom: 20px;
color: var(--section-title-color);
}
.resume .resume-item {
padding: 0 0 20px 20px;
margin-top: -2px;
border-left: 2px solid var(--resume-border);
position: relative;
}
.resume .resume-item h4 {
line-height: 18px;
font-size: 16px;
font-weight: 700;
text-transform: uppercase;
color: var(--highlight);
margin-bottom: 10px;
}
.resume .resume-item h5 {
font-size: 16px;
background: var(--resume-time-background);
padding: 5px 15px;
display: inline-block;
font-weight: 600;
margin-bottom: 10px;
}
.resume .resume-item ul {
padding-left: 20px;
margin-bottom: 0;
}
.resume .resume-item ul li {
padding-bottom: 10px;
}
.resume .resume-item:last-child {
padding-bottom: 0;
}
.resume .resume-item::before {
content: "";
position: absolute;
width: 16px;
height: 16px;
border-radius: 50px;
left: -9px;
top: 0;
background: var(--background);
border: 2px solid var(--highlight);
}
.resume .resume-item.secondary::before {
border-color: var(--resume-border);
}
.resume .btn {
font-size: 20px;
border-color: var(--resume-btn-border);
color: var(--highlight);
transition: 0.3s;
}
.resume .btn:hover {
transition: 0.3s;
color: var(--resume-btn-hover);
background-color: var(--btn-bg);
}
/*--------------------------------------------------------------
# My Skills
--------------------------------------------------------------*/
.skills #skills-filters {
list-style: none;
margin-bottom: 20px;
overflow-x: auto;
}
.skills #skills-filters li {
cursor: pointer;
display: inline-block;
margin: 0 10px 10px 10px;
font-size: 15px;
font-weight: 600;
line-height: 1;
padding: 7px 10px;
text-transform: uppercase;
color: var(--text-color);
transition: all 0.3s ease-in-out;
border: 2px solid var(--border);
}
.skills #skills-filters li:hover,
.skills #skills-filters li.filter-active {
color: #f3a200;
border-color: var(--highlight);
}
.skills .skill-item {
display: flex;
align-items: stretch;
}
.skills .icon-box {
padding: 30px;
position: relative;
overflow: hidden;
background: var(--background);
box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
transition: all 0.3s ease-in-out;
text-align: center;
border: 1px solid var(--border);
}
.skills .icon-box p {
hyphens: auto;
text-align: justify;
}
.skills .icon {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 0 auto 20px auto;
/* padding-top: 17px; */
/* display: inline-block; */
/* text-align: center; */
border-radius: 50%;
width: 72px;
height: 72px;
background: var(--skill-icon-bg);
transition: 0.3s;
}
.skills .icon i {
font-size: 36px;
line-height: 1;
color: var(--highlight);
}
.skills .icon img {
max-height: 36px;
max-width: 36px;
}
.skills .title {
font-weight: 700;
margin-bottom: 15px;
font-size: 18px;
}
.skills .title a {
color: var(--skill-title);
transition: 0.3s;
}
.skills .description {
font-size: 15px;
line-height: 28px;
margin-bottom: 0;
}
.skills .icon-box:hover {
border-color: var(--highlight);
}
.skills .icon-box:hover .title a {
color: var(--highlight);
}
/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials {
padding: 80px 0;
background: url("../img/testimonials-bg.jpg") no-repeat;
background-position: center center;
background-size: cover;
position: relative;
}
.testimonials::before {
content: "";
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: rgba(14, 16, 17, 0.7);
}
.testimonials .section-header {
margin-bottom: 40px;
}
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
overflow: hidden;
}
.testimonials .testimonial-item {
text-align: center;
color: var(--text-color-alt);
}
.testimonials .testimonial-item .testimonial-img {
width: 100px;
border-radius: 50%;
border: 6px solid rgba(255, 255, 255, 0.15);
margin: 0 auto;
}
.testimonials .testimonial-item h3 {
font-size: 20px;
font-weight: bold;
margin: 10px 0 5px 0;
color: var(--text-color-alt);
}
.testimonials .testimonial-item h4 {
font-size: 14px;
color: #ddd;
margin: 0 0 15px 0;
}
.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
color: rgba(255, 255, 255, 0.4);
font-size: 26px;
}
.testimonials .testimonial-item .quote-icon-left {
display: inline-block;
left: -5px;
position: relative;
}
.testimonials .testimonial-item .quote-icon-right {
display: inline-block;
right: -5px;
position: relative;
top: 10px;
}
.testimonials .testimonial-item p {
font-style: italic;
margin: 0 auto 15px auto;
color: var(--text-color-alt-2);
line-height: 2;
}
.testimonials .swiper-pagination {
margin-top: 20px;
position: relative;
}
.testimonials .swiper-pagination .swiper-pagination-bullet {
width: 12px;
height: 12px;
opacity: 1;
background-color: rgba(255, 255, 255, 0.4);
}
.testimonials .swiper-pagination .swiper-pagination-bullet-active {
background-color: var(--highlight);
}
@media (min-width: 992px) {
.testimonials .testimonial-item p {
width: 80%;
}
}
/*--------------------------------------------------------------
# My Portfolio
--------------------------------------------------------------*/
.portfolio #portfolio-flters {
list-style: none;
margin-bottom: 20px;
}
.portfolio #portfolio-flters li {
cursor: pointer;
display: inline-block;
margin: 0 10px 10px 10px;
font-size: 15px;
font-weight: 600;
line-height: 1;
padding: 7px 10px;
text-transform: uppercase;
color: var(--text-color);
transition: all 0.3s ease-in-out;
border: 2px solid var(--border);
}
.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
color: #f3a200;
border-color: var(--highlight);
}
.portfolio .portfolio-item {
margin-bottom: 30px;
}
.portfolio .portfolio-item .portfolio-img {
overflow: hidden;
}
.portfolio .portfolio-item .portfolio-img img {
transition: all 0.8s ease-in-out;
}
.portfolio .portfolio-item .portfolio-info {
opacity: 0;
position: absolute;
left: 15px;
bottom: 0;
z-index: 3;
right: 15px;
transition: all ease-in-out 0.3s;
background: rgba(0, 0, 0, 0.5);
padding: 10px 15px;
}
.portfolio .portfolio-item .portfolio-info h4 {
font-size: 18px;
color: var(--background);
font-weight: 600;
color: var(--background);
margin-bottom: 0px;
}
.portfolio .portfolio-item .portfolio-info p {
color: rgba(255, 255, 255, 0.8);
font-size: 14px;
margin-bottom: 0;
}
.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
position: absolute;
right: 40px;
font-size: 24px;
top: calc(50% - 18px);
color: var(--background);
transition: 0.3s;
}
.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
color: #ffc041;
}
.portfolio .portfolio-item .portfolio-info .details-link {
right: 10px;
}
.portfolio .portfolio-item:hover .portfolio-img img {
transform: scale(1.2);
}
.portfolio .portfolio-item:hover .portfolio-info {
opacity: 1;
}
/*--------------------------------------------------------------
# Contact Me
--------------------------------------------------------------*/
.contact .info-box {
color: var(--text-color);
text-align: center;
box-shadow: 0 0 30px var(--contact-box-shadow);
padding: 20px 0 30px 0;
}
.contact .info-box i.bx {
font-size: 24px;
color: var(--highlight);
border-radius: 50%;
padding: 15px;
background: var(--contact-title-icon-bg);
}
.contact .info-box h3 {
font-size: 20px;
color: var(--contact-title);
font-weight: 700;
margin: 10px 0;
}
.contact .info-box p {
padding: 0;
line-height: 24px;
font-size: 14px;
margin-bottom: 0;
}
.contact .social-links {
margin-top: 15px;
display: flex;
justify-content: center;
}
.contact .social-links a {
font-size: 18px;
display: inline-block;
color: var(--contact-icon);
line-height: 1;
margin: 0 8px;
transition: 0.3s;
padding: 14px;
border-radius: 50px;
border: 1px solid var(--contact-icon-border);
}
.contact .email a {
font-size: 18px;
margin: 0 8px;
padding: 14px;
}
.contact .social-links a:hover {
color: var(--text-color-alt-2);
border-color: var(--btn-bg);
background: var(--btn-bg);
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
background: url("../img/footer-bg.jpg") top center no-repeat;
background-size: cover;
background-position: center center;
color: var(--text-color-alt-2);
font-size: 14px;
text-align: center;
padding: 80px 0;
position: relative;
}
#footer::before {
content: "";
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.6);
}
#footer .container {
position: relative;
}
#footer h3 {
font-size: 36px;
font-weight: 700;
color: var(--text-color-alt-2);
position: relative;
font-family: "Satisfy", serif;
padding: 0;
margin: 0 0 15px 0;
}
#footer p {
font-size: 15;
font-style: italic;
padding: 0;
margin: 0 0 40px 0;
}
#footer .social-links {
margin: 0 0 40px 0;
}
#footer .social-links a {
font-size: 18px;
display: inline-block;
background: var(--btn-bg);
color: var(--text-color-alt-2);
line-height: 1;
padding: 8px 0;
margin-right: 4px;
border-radius: 50%;
text-align: center;
width: 36px;
height: 36px;
transition: 0.3s;
}
#footer .social-links a:hover {
background: var(--btn-bg-hover-2);
color: var(--text-color-alt-2);
text-decoration: none;
}
#footer .copyright {
margin: 0 0 5px 0;
}
#footer .credits {
font-size: 13px;
}