
/*
 * Project: Cozywrm - Portfolio Template
 * Author: Valtteri Henttinen
 * Author URL: https://www.kukola.fi/valthent/
 * Year: Original 2017. Updated 2026.
 * License: Free for personal and commercial use
 */

@import 'https://fonts.googleapis.com/css?family=Roboto+Condensed:300';
html,
body {
	height: 100%;
	font-family: 'Roboto', sans-serif;
	-webkit-font-smoothing: antialiased;
	text-shadow:1px 1px 1px rgba(0,0,0,0.004) !important;
	overflow-x: hidden;
	background-color: #2F2F2F;
}
body {
	min-height: 100vh;
}
/*
#pageWrap {
	min-height: 100%;
}
*/
p { font-size: 16px; }
a { color: #a9d593; }

/* Navbar */
.navbar {
	margin-bottom: 0;
	border: none;
}
.navbar-default {
	background-color: #2F2F2F;
	padding-left: 30px;
	padding-top: 10px;
	padding-bottom: 10px;
}
.navbar-default .navbar-brand {
	width: 400px;
	height: 65px;
	background-image: url(../img/logo.png);
	background-size: contain;
	background-repeat: no-repeat;
	margin: 0;
	padding: 5px;
}
.navbar-default .navbar-nav > li > a {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 24px;
	color: #d1d3d4;
	text-transform: uppercase;
}
.navbar-default .navbar-nav > li > .current {
	color: #a9d593;
	font-weight: bold;
}
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover {
	color: #a9d593;
	text-decoration: underline;
}
#navbar-collapse-1 {
    position: relative;
}
#navbar-collapse-1 .nav {
    position: absolute; 
    bottom: 8px;
	left: 36%;
    margin-bottom: 0;
}
#navbar-collapse-1 .nav2 {
    position: absolute; 
    bottom: 8px;
	right: 1.5%;
    margin-bottom: 10px;
	list-style: none;
}
#navbar-collapse-1 .nav2 li {
	margin-right: 20px;
}
#navbar-collapse-1 .nav2 li a {
	font-size: 36px;
}
#navbar-collapse-1 .nav2 li button {
	background: none;
	border: none;
	padding: 1px;
	color: #d1d3d4;
	position: relative;
}
#navbar-collapse-1 .nav2 li button:hover {
	color: #a9d593;
}
#navbar-collapse-1 .nav2 li button:focus { outline:0; }
#navbar-collapse-1 .nav2 li button i {
	font-size: 33px;
}
#navbar-collapse-1 .nav2 li button.is-playing::after {
	content: '';
	position: absolute;
	top: 1px;
	right: -6px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: #a9d593;
	box-shadow: 0 0 0 rgba(169, 213, 147, 0.6);
	animation: musicPulse 1.8s ease-out infinite;
}

@keyframes musicPulse {
	0% {
		transform: scale(0.8);
		box-shadow: 0 0 0 0 rgba(169, 213, 147, 0.5);
		opacity: 0.7;
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 7px rgba(169, 213, 147, 0);
		opacity: 1;
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(169, 213, 147, 0);
		opacity: 0.7;
	}
}


/*********************/
/*   Page Carousel   */
/*********************/
#welcome-box {
	position: absolute;
	width: 100%;
	background-color: transparent;
	padding-top: 15%;
	z-index: 9999;
}
#welcome-box h1, 
#welcome-box h3 {
	color: #FFFFFF;
	letter-spacing: 1px;
	text-shadow: 2px 2px 4px #000000;
}
#welcome-box h1 {
	font-size: 64px;
}
#welcome-box h1 span {
	color: #a9d593;
}
#welcome-box h3 {
	font-size: 35px;
}
.carousel {
    height: 92%;
	touch-action: pan-y;
}
.item,
.active,
.carousel-inner {
    height: 100%;
}
.carousel-control { 
	background: none !important; 
	filter: none !important;
	z-index: 99999 !important;
}
.carousel-control.left i {
	position: absolute;
	top: 40%;
	left: 10px;
	font-size: 70px;
	color: #FFFFFF;
}
.carousel-control.right i {
	position: absolute;
	top: 40%;
	right: 10px;
	font-size: 70px;
	color: #FFFFFF;
}
.carousel-fade .carousel-inner {
	position: relative;
}
.carousel-fade .carousel-inner > .item {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
	will-change: opacity;
}
.carousel-fade .carousel-inner > .item.active {
	position: relative;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 2;
}
.carousel-fade .carousel-control {
	z-index: 3;
}

/* Background images are set within the HTML using inline CSS, not here */

.fill {
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

/***************/
/*    About    */
/***************/
#about {
	position: relative;
	min-height: 840px;
	width: 100%;
	background-image: url(../img/slider/home-3.jpg);
	background-size: cover;
	background-attachment: fixed;
	padding: 60px 0 20px;
	overflow: visible;
}
#about .container {
	position: relative;
	z-index: 1;
}

#about .about-layout-row {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 700px;
}
#picture {
	position: relative;
	bottom: -70px;
	padding-right: 15px;
	z-index: 2;
}
#picture img {
	display: block;
	width: 100%;
	max-width: 430px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.35));
}
#about #text-box {
	position: relative;
	z-index: 3;
	margin-top: 0;
	margin-bottom: 65px;
	background-color: rgba(252,252,252,0.80);
	padding: 40px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/****************/
/*   Services   */
/****************/
.carousel-indicators {
	top: 0;
	left: 30%;
	width: 100%;
	height: 30px;
	background-color: #a9d593;
}
.carousel-indicators > li, .carousel-indicators > li.active {
	width: auto;
    height: 25px;
	padding-top: 3px;
	padding-left: 5px;
	padding-right: 5px;
	border: none;
	background: none;
    border-radius: 0;
    text-indent: 0;
	overflow: hidden;
}
.carousel-indicators > li.active {
    background: none;
	font-weight: bold;
}
.carousel-indicators > li:hover {
	color: #FFFFFF;
}
.carousel-caption {
	top: 20%;
	text-align: left;
	color: #2F2F2F;
	text-shadow: none;
}
.caption-bg {
	background-color: rgba(252,252,252,0.80);
	padding-top: 10px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
}
.carousel-caption hr {
	display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #000;
    margin: 1em 0;
    padding: 0; 
}

/*****************/
/*    Contact    */
/*****************/
#contact {
	position: relative;
	min-height: 840px;
	width: 100%;
	background-image: url(../img/slider/home-5.jpg);
	background-size: cover;
	background-attachment: fixed;
	padding: 60px 0;
}
#contact .container {
	position: relative;
	z-index: 1;
}
#contact #text-box {
	background-color: rgba(252,252,252,0.80);
	margin-top: 2%;
}
#contact-area {
	width: auto;
	margin-top: 25px;
}
#contact-area input, #contact-area textarea {
	padding: 5px;
	width: 370px;
	font-size: 1.4em;
	margin: 0px 0px 10px 0px;
	border: none;
}
#contact-area textarea {
	height: 90px;
}
#contact-area textarea:focus, #contact-area input:focus {
	border: 1px solid #000;
}
#contact-area input.submit-button {
	width: 100px;
	font-size: 14px;
}
#contact-area input.submit-button:hover {
	background-color: #94d6da;
	color: #FFFFFF;
}
label {
	float: left;
	text-align: left;
	margin-right: 10px;
	width: 60px;
	padding-top: 5px;
	font-size: 15px;
	font-weight: normal;
}

/***************/
/*   Footer    */
/***************/
footer {
	position: relative;
	width: 100%;
	color: #FFFFFF;
	text-shadow: 1px 1px 2px rgba(130,130,130,1.00);
	height: 29px;
	margin-top: 50px;
	background-color: #2F2F2F;
	z-index: 100;
}

/* Responsive Design */
@media (max-width: 992px) {
	.navbar-default {
		padding-left: 15px;
	}
	#navbar-collapse-1 .nav {
		left: 25%;
	}
	#about .about-layout-row {
		min-height: 620px;
	}
	#picture {
		bottom: -50px;
	}
	#picture img {
		max-width: 360px;
	}
	#about #text-box {
		margin-bottom: 35px;
	}
}

@media (max-width: 768px) {
	.navbar-default {
		padding-left: 10px;
	}
	.navbar-default .navbar-brand {
		width: 250px;
		height: 40px;
	}
	.navbar-default .navbar-nav > li > a {
		font-size: 18px;
	}
	#navbar-collapse-1 .nav {
		position: relative;
		left: 0;
		bottom: 0;
		margin: 10px 0;
	}
	#navbar-collapse-1 .nav2 {
		position: relative;
		right: 0;
		bottom: 0;
		margin: 10px 0;
	}
	footer {
		height: auto;
		padding: 10px;
	}
	footer .row {
		display: block;
	}
	footer div {
		width: 100% !important;
		margin-left: 0 !important;
		padding: 5px 0;
	}
	#about,
	#contact {
		min-height: auto;
		padding: 40px 0;
	}
	#about .about-layout-row {
		display: block;
		min-height: 0;
	}
	#picture {
		bottom: 0;
		padding-right: 0;
		text-align: center;
		margin-bottom: 20px;
	}
	#picture img {
		max-width: 260px;
	}
	#about #text-box,
	#contact #text-box {
		padding: 30px;
		margin-top: 0;
		margin-bottom: 0;
	}
	#contact-area input, #contact-area textarea {
		width: 100% !important;
	}
}

@media (max-width: 480px) {
	.navbar-default {
		padding: 5px;
	}
	.navbar-default .navbar-brand {
		width: 200px;
		height: 30px;
	}
	.navbar-default .navbar-nav > li > a {
		font-size: 14px;
	}
	#about #text-box,
	#contact #text-box {
		margin: 10px auto;
		width: 95%;
	}
	#contact-area input, #contact-area textarea {
		width: 100% !important;
	}
}
