/*=======================================================================
* Template Name: Luke Sheppard Portfolio
* Updated: April 2025
* Based on original IMOZAR template, but modernized for security
========================================================================== */

/*----------------------------------------
General Styles
----------------------------------------*/

html, body {
	height: 100%;
}
body {
	margin: 0;
	padding: 0;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.75;
	letter-spacing: 1px;
	background-color: #fff;
	color: #484848;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	line-height: 1.2;
	color: #333;
}
p {
	font-size: 16px;
	line-height: 26px;
}
b, strong {
	font-weight: 700;
}
dfn, cite, em, i {
  	font-style: italic;
}
h1 {
	font-size: 36px;
}
h2 {
	font-size: 26px;
}
h3 {
	font-size: 24px;
}
h4 {
	font-size: 22px;
}
h5 {
	font-size: 18px;
}
h6 {
	font-size: 16px;
}
a, a:focus, a:hover, a:active {
	text-decoration: none;
	color: inherit;
	outline: none;
}
ul, ol {
	margin: 0;
	padding: 0;
}
ul {
  list-style: none;
}
img {
	display: block;
	max-width: 100%;
	height: auto;
}

.effect {
	transition: all .4s ease-in-out;
}
.hor-center {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}
.ver-center {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
.center {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.mb-30 {
  	margin-bottom: 30px;
}

.page-table {
	display: table;
	width: 100%;
	height: 100%;
}
.table-cell {
	position: relative;
	display: table-cell;
	vertical-align: middle;
	padding-top: 20px;
	z-index: 5;
}

.section {
	background-color: #fff;
  	padding: 100px 0;
}
.second-bg {
	background-color: #fafafa;
}
.section-title {
	display: block;
	width: 100%;
	margin-bottom: 60px;
	text-align: center;
}
.section-title h2 {
	position: relative;
	display: inline-block;
	margin: 0;
	padding-bottom: 15px;
	font-size: 36px;
	font-weight: 700;
	text-transform: capitalize;
}
.section-title h2:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 4px;
	width: 50px;
	height: 2px;
	background-color: #444444;
}


/*----------------------------------------
Pre Loader
----------------------------------------*/
.loader-con {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #fdfdfd;
	z-index: 99;
}
.loader-con .spinner {
  width: 50px;
  height: 50px;
}
.double-bounce1, .double-bounce2 {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #333;
	opacity: 0.6;
	top: 0;
	left: 0;
	border-radius: 50%;
	animation: sk-bounce 2.0s infinite ease-in-out;
}
.double-bounce2 {
	animation-delay: -1.0s;
}


/*----------------------------------------
Navigation
----------------------------------------*/
.nav-wrapper {
	width: 100%;
	padding: 6px 0;
	position: fixed;
	top: 0;
	left: 0;
	background-color: transparent;
	z-index: 20;
}

.navbar-custom {
    padding: 0;
}

.navbar-toggler {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-nav .nav-link {
    position: relative;
    font-size: 13px;
    font-weight: 700;
    color: #ddd;
    padding: 1rem 0.75rem;
}

.navbar-nav .nav-link:after {
    content: "";
    display: none;
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 6px;
    left: 10%;
    background-color: #ddd;
    transition: all .28s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: transparent;
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
    width: 80%;
    display: block;
}

.navbar-nav .nav-link:focus {
    background-color: transparent;
}

.nav-sticky {
    background-color: #fff !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid #f0f0f0;
}

.nav-sticky .navbar-toggler .navbar-toggler-icon {
    background-color: #232323;
}

.nav-sticky .navbar-brand,
.nav-sticky .nav-link {
    color: #232323;
}

.nav-sticky .nav-link:after {
    background-color: #3f3f3f;
}


/*----------------------------------------
Home
----------------------------------------*/
.home-1 {
	position: relative;
	height: 100%;
	min-height: 550px;
	background-image: url("../img/homelab.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
.home-1:after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.68);
	z-index: 0;
}

.home-1 #particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.home-3,
.home-2 {
	position: relative;
	height: 100%;
	min-height: 520px;
}

.home-2 .video-wrapper {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 2;
}
.home-2 .video-wrapper video {
	display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    min-height: 100%;
	min-width: 100%;
	object-fit: cover;
}
.home-2:after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.65);
	z-index: 3;
}

.avatar-hero img {
	width: 130px;
	margin: 0 auto;
	border: solid 3px #dfdfdf;
	border-radius: 50%;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.52);
}
#home h1 {
	font-size: 34px;
	margin: 36px 0 22px;
	color: #fff;
}
#home .typer-title {
	margin: 10px 0;
	font-size: 22px;
	color: #bfbfbf;
	text-transform: uppercase;
}
.home-s-btn {
	display: block;
	bottom: 50px;
	height: 40px;
	width: 26px;
	border: 2px solid #efefef;
	border-radius: 14px;
}
.home-s-btn .dot {
	display: block;
	height: 6px;
	width: 6px;
	background-color: #efefef;
	border-radius: 50%;
	animation: dot-animation 1.8s infinite ease-in-out;
}

/*----------------------------------------
About
----------------------------------------*/
.about-content h2 {
	margin-bottom: 30px;
	text-transform: capitalize;
}
.about-content p {
	margin-bottom: 16px;
}

/*----------------------------------------
Services / Skills
----------------------------------------*/
.single-service {
	padding: 10px;
	text-align: center;
}
.single-service.bordered {
	border-right: none;
	border-left: none;
}
.clear-float {
	clear: both !important;
}
.services-separator {
	display: none;
	width: 100%;
	margin: 15px auto;
	height: 1px;
	background: #dfdfdf;
}
.service-icon .fa {
    font-size: 44px;
    line-height: 70px;
}
.single-service:hover .service-icon .fa {
    transform: rotateY(360deg);
}
.service-content h3 {
	font-size: 19px;
    margin-top: 15px;
    margin-bottom: 0;
    font-weight: 700;
}
.s-line {
	margin: 12px auto 0;
    width: 55px;
    height: 1px;
    background-color: #333;
}
.single-service p {
    margin-top: 12px;
    font-size: 14px;
}

/*----------------------------------------
Contact
----------------------------------------*/
.contact-item {
	position: relative;
}
.contact-item:after {
	content: "";
	display: table;
	clear: both;
}
.contact-item .c-icon {
	position: relative;
    top: 6px;
	width: 60px;
	height: 60px;
	float: left;
	background-color: #232323;
	border-radius: 50%;
}
.contact-item .c-icon .fa {
	font-size: 20px;
	line-height: 58px;
	color: #fafafa;
}
.contact-item .c-text {
    padding-top: 18px;
    padding-bottom: 18px;
    padding-left: 70px;
}
.contact-item .c-text h5 {
	margin: 0;
	margin-bottom: 2px;
    font-size: 13px;
    text-transform: uppercase;
}
.contact-item .c-text h6 {
	margin: 0;
	word-break: break-all;
}

.scroll-up {
	position: fixed;
	font-size: 28px;
    width: 46px;
    height: 46px;
    text-align: center;
    line-height: 38px;
    color: #fafafa;
    border: 2px solid #333;
    background-color: #333;
    bottom: 25px;
    right: 30px;
    opacity: 0;
    z-index: 60;
}
.scroll-up:focus {
	color: #fff;
}
.scroll-up:hover {
	background-color: transparent;
	color: #333;
}
.show-up-btn {
	opacity: 1;
}


/*----------------------------------------
Mediaqueries
----------------------------------------*/
@media screen and (min-width: 768px) {

	.nav-wrapper {
	    padding: 20px 0;
	}
	.nav-sticky .navbar-collapse {
		box-shadow: none;
	}
	.navbar-nav .nav-link:after {
		display: block;
	}

	.avatar-hero img {
		width: 170px;
	}
	#home h1 {
		font-size: 50px;
	}
	#home .typer-title {
		font-size: 26px;
	}

	.home-slider-btn {
	    display: block;
	    opacity: 0;
	}
	.home-carousel:hover .home-slider-btn {
	    opacity: .8;
	}
	.home-carousel:hover .owl-next.disabled .home-slider-btn,
	.home-carousel:hover .owl-prev.disabled .home-slider-btn {
		opacity: .4;
	}
}

@media (min-width: 992px) {
	.single-service.bordered {
		border-right: 1px solid #dfdfdf;
		border-left: 1px solid #dfdfdf;
	}
	.services-separator {
		display: block;
	}
}


/*----------------------------------------
keyframes animation
----------------------------------------*/

/* PreLoader Animations*/
@keyframes sk-bounce {
  0%, 100% { 
    transform: scale(0.0);
  } 50% { 
    transform: scale(1.0);
  }
}

/*Smooth Scroll Button animation*/
@keyframes dot-animation {
	0% {
		top: calc(50% - 6px);
		opacity: 1;
	}
	40% {
		top: 50%;
		opacity: 0;
	}
	100% {
		top: calc(50% - 6px);
		opacity: 0;
	}
}