/* CUSTOM STYLES */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #0d1117;
    --third-color: #161b22;
    --fourth-color: #2e353f;
    --pure-white-color: #fff;
    --pure-black-color: #000;
    --dark-primary: #333;
    --dark-secondary: #555;
    --dark-tertiary: #777;
    --striped-color: rgba(255, 255, 255, 0.75);
    --striped-bg: rgba(255, 255, 255, 0.1);
    --active-color: rgba(255, 255, 255, 0.75);
    --active-bg: rgba(255, 255, 255, 0.15);
    --hover-color: rgba(255, 255, 255, 0.75);
    --hover-bg: rgba(255, 255, 255, 0.075);
    --primary-family: 'Helvetica', sans-serif;
    --font-size: 14px;
}

* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

html:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: -5;
    background: linear-gradient(180deg, rgba(50, 70, 80, .5) 0, #0d101b 100%);
}

body {
	display: flex;
	flex-direction: column;
	font-family: var(--primary-family), sans-serif;
	background-image: url("motiond.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-color: #000;
	min-height: 100vh;
	color: #FFF;
	transition: all .5s ease-in-out;
}

main {
	display: flex;
	justify-content: center;
}

.content {
	flex: 1;
}

@media (max-width: 640px) {
	main {
		flex-direction: column;
	}
	nav, aside {
		width: auto;
	}
	.content {
		flex-basis: auto;
	}
	nav {
		order: 1;
	}
}

@media (max-width: 480px) {
	nav h1 span {
		display: flex;
        justify-content: center;
	}

    header {
        margin-bottom: 24px;
    }
	
	.content {
		padding: 16px 15px !important;
	}
	
	.btn {
		padding: 10px 12px !important;
	}

    .card {
        padding: 0;
        font-size: small;
    }

    footer {
        position: relative;
    }
}

nav {
	order: -1;
}

nav a {
	display: block;
	padding: .4em 1em;
	text-decoration: none;
	text-align: center;
	color: #fff;
	font-weight: 600;
}

nav > a {
	background-image: radial-gradient(ellipse at center, #b8c6df 0%,#6d88b7 100%);;
	background-repeat: no-repeat;
	background-size: 100% 1px;
	background-position: center bottom;
	transition: background-size .25s;
}

nav > a:hover,
nav > a:focus {
	background-size: 100% 4px;
	outline: 0;
	color: #6d88b7;
}

nav a:hover,
nav a:focus,
nav a:active {
	background: transparent;
}

nav h1 a span img {
	/*filter: invert(1);*/
}

@media (min-width: 998px) {
	nav {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	nav a:nth-of-type(-n+2) {
		order: -1;
	}
	
	.gallery,
	.showcase	{
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		gap: 10px;
		margin-bottom: 10px;
	}
	
	.content {
		padding: 16px 100px;
	}
}

@media (min-width: 481px) and (max-width: 996px) {
	nav h1 {
		width: 100%;
		text-align: center;
	}
	nav > a {
		width: 96%;
		text-align: center;
		line-height: 1.5rem;
	}

    .gallery,
    .showcase	{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
        margin-bottom: 10px;
        font-size: small;
    }
	
	h2 {
		margin-top: 10rem;
	}
	
	.gallery {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.card {
		padding: 0;
	}
}

#hero {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.btn:not(:disabled):not(.disabled) {
	cursor: pointer;
}

.btn {
	color: #FFF;
	background-color: #777;
	border: 0 #b8c6df;
	font-weight: 700;
	padding: 1rem 2rem;
	margin: 0;
	font-size: 1rem;
	text-decoration: none;
	line-height: 1.5;
	border-radius: 50px;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn:hover,
.btn:focus {
	background-color: #a5c7df;
}

.fx-text {
	color: #6c757d;
	font-weight: 600;
	animation: blinker 5s linear infinite;
}

@keyframes blinker {
  50% {
	opacity: 0;
  }
}

h2 {
	font-size: 2rem;
	text-align: center;
	padding-top: 12px;
}

.credits {
	font-size: 14px;
}

h3, p {
	margin: 1rem 0;
	text-align: center;
	line-height: 1.5rem;
	padding: .4rem 0;
}

a {
	color: var(--pure-white-color);
}

#cookieConsent {
	background-color: rgba(20,20,20,0.8);
	min-height: 26px;
	font-size: 12px;
	color: #ccc;
	line-height: 26px;
	padding: 8px 30px;
	font-family: "Poppins", sans-serif;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	display: none;
	z-index: 9999;
}

#closeCookieConsent {
	display: inline-block;
	cursor: pointer;
	height: 20px;
	width: 20px;
	margin: -15px 0 0 0;
	font-weight: 600;
}

#cookieConsent a.cookieConsentOK {
	background-color: #D4AF37;
	color: #FFF;
	display: inline-block;
	border-radius: 5px;
	padding: 0 20px;
	cursor: pointer;
	margin: 0 10px;
}

.cookieConsentNO {
	background-color: #E1306C;
	display: inline-block;
	border-radius: 5px;
	padding: 0 20px;
	cursor: pointer;
	margin: 0 10px;
}

.content {
	position: absolute;
	top: 100vh;
	width: 100%;
	color: rgb(255, 255, 255);
	padding: 16px 30px;
}

.contact-form {
	max-width: 1280px;
	text-align: center;
	margin: 0 auto;
}

.form-row {
	display: flex;
	flex-wrap: wrap;
	margin: 8px 8px 16px 0;
}

.form-row>.col, .form-row>[class*=col-] {
	padding-right: 16px;
	padding-left: 0;
}

.col {
	flex-basis: 0;
	flex-grow: 1;
	max-width: 100%;
}

.contact-form input, .contact-form textarea {
	width: 100%;
	padding: 20px;
	margin-bottom: 16px;
	color: #777a7e;
	background: #f2f3f5;
	font-size: 14px;
	line-height: 1.5;
	border: 1px solid transparent;
	transition: all 0.3s linear 0s;
}

.form-control:focus {
	color: #495057;
	background-color: #fff;
	border-color: #80bdff;
	outline: 0;
	box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

.link {
	text-decoration: underline;
	color: var(--pure-white-color);
}

.wrap {
	text-align: left;
}

.card {
    border-radius: 10px;
	border: 1px solid var(--fourth-color);
    text-align: center;
	margin-bottom: 20px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
	padding-bottom: 3rem;
	border-radius: 15px;
}

.txt-c {
	text-align: center;
}

/*=======COOL LASER CUT EFFECT============= */

.cool-fx {
	border:1px solid transparent; 
	-webkit-transition: all 0.4s cubic-bezier(.5, .24, 0, 1);
	transition: all 0.4s cubic-bezier(.5, .24, 0, 1);
}

.cool-fx::before {
	content: '';
	position: absolute;
	left: 0;
	bottom:50px;
	z-index:-1;
	width: 0;
	height:1px;
	background: #b8c6df;
	box-shadow: inset 0 0 0 #b8c6df;
	display: block;
	-webkit-transition: all 0.4s cubic-bezier(.5, .24, 0, 1);
	transition: all 0.4s cubic-bezier(.5, .24, 0, 1);
}

.cool-fx:hover::before {
	width:100%;
}

.cool-fx:hover{
	border-left:1px solid #b8c6df;
	border-right:1px solid #b8c6df;
}

.showcase .project img {
	flex: 1 1 auto;
	width: 100%;
	height: auto;
	max-width: 600px;
	max-height: 300px;
	margin: 0 auto;
	border-top-left-radius: calc(-1px + 0.25rem);
	border-top-right-radius: calc(-1px + 0.25rem);
	object-fit: cover;
	transition: transform .2s;
}

.showcase:hover img {
	filter: blur(1px) brightness(.8) grayscale(.7);
	transform: scale(.8);
}

.showcase img:hover {
	filter: blur(0);
	transform: scale(1);
}

.to-top {
	object-position: top;
}

.to-bottom {
	object-position: bottom;
}

.to-center {
	object-position: center;
}

.to-left {
	object-position: left;
}

.to-right {
	object-position: right;
}

.project {
	text-align: center;
	padding: 1.25rem 2.5rem;
	margin: 10px;
	border: 1px solid var(--fourth-color);
	border-radius: 10px;
	background: var(--secondary-color);
}

.project-title {
	margin-bottom: 0.75rem;
}

.project-text {
	margin-bottom: 1rem;
}

.project-link {
	margin-bottom: 1rem;
}

.scroll-down.mouse {
	display: flex;
	justify-content: center;
  }

.scroll-down.mouse label {
	display: none;
}

.scroll-down.mouse span {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 60px;
	border: 2px solid #fff;
	border-radius: 50px;
	top: 60px;
}

.scroll-down.mouse.effect1 span::after {
	position: absolute;
	content: "";
	top: 10px;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 6px;
	height: 6px;
	border-radius: 100%;
	background: #fff;
	animation: animateMousePointer 1.5s infinite;
}

@keyframes animateMousePointer {
	0% {
		transform: translateY(0);
	}
	50% {
		opacity: 0.7;
	}
	100% {
		opacity: 0;
		transform: translateY(20px);
	}
}
