html,
body {
	font-family: 'Inter', sans-serif;
}

body {
	padding-top: 3rem;
	overflow-x: hidden !important;
	font-weight: 400;
}

p, h1, h2, h3, h4, h5, h6 {
	margin-bottom: 0;
	font-weight: 700;
}

h5 {
	font-size: 1rem;
}

.display-3 {
	font-size: 2.5rem;
	font-weight: 700;
}

.home-section .display-3 {
	text-align: left;
}

.home-section .display-3::before {
	color: hsl(222, 100%, 62%);
	content: '#';
	margin-right: 0.5rem;
}

.display-4 {
	font-size: 1.75rem;
	color: hsl(222, 100%, 62%);
	font-weight: 600;
}

.form-control {
	padding: 0.75rem 1rem;
}

.form-control, .project {
	border: 2px solid hsl(216, 8%, 6%) !important;
}

.form-control::placeholder {
	color: #555;
}

p {
	font-size: 1.2rem;
}

::-webkit-scrollbar {
	width: 8px;
	background: #eee;
}

::-webkit-scrollbar-track {
	background: #eee;
	border-radius: 8px;
}

::-webkit-scrollbar-thumb {
	background: #bbb;
}

::selection {
	background: #dedede;
	background: rgba(0, 0, 0, .1);
}

::-moz-selection {
	background: #dedede;
	background: rgba(0, 0, 0, .1);
}

body {
	overflow-x: hidden !important;
	overflow-y: scroll !important;
}

html,
body,
main,
main>.container-fluid {
	height: 100% !important;
}

span[href] {
	cursor: pointer;
}

textarea {
	resize: none;
}

input.form-control[type=text],
textarea.form-control {
	transition: .2s background-color, .2s box-shadow, .2s border-bottom;
}

input.form-control[type=text]:hover,
input.form-control[type=text]:focus,
textarea.form-control:hover,
textarea.form-control:focus {
	outline: none !important;
	box-shadow: none !important;
}

.btn {
	transition: background-color .3s;
	box-shadow: none !important;
}

.btn:hover {
	background-color: hsl(222, 80%, 54%) !important;
}

.main-content {
	height: 0 !important;
	overflow: visible !important;
	position: relative;
	padding: 0 !important;
	margin: 0 !important;
}

.page-section#section-main {
	height: 100% !important;
}

.page-section#section-main p {
	top: 170px !important;
}

.page-section {
	min-height: 50% !important;
	position: relative;
}

.page-section>span.target {
	position: absolute;
	width: 0;
	height: 255px;
	left: 0;
	right: 0;
	pointer-events: none;
	margin-top: -50px;
}

.scroll-indicator svg {
	height: 48px;
	animation: scroll 1000ms infinite;
	fill: #fff;
}

@keyframes scroll {
	0% {
		margin-top: 0;
	}

	50% {
		margin-top: 16px;
	}

	100% {
		margin-top: 0;
	}
}

.dwtri {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 200px;
	width: 100%;
}

.dwtri-left, .dwtri-right {
	position: absolute;
	width: 0;
	height: 0;
	border-color: inherit;
	border-top-width: 200px;
	border-top-style: solid;
	bottom: 0;
}

.dwtri>.dwtri-left {
	left: 0;
	border-top-color: transparent !important;
	border-left-width: 750px;
	border-left-width: 50vw;
	border-left-style: solid;
}

@media(max-width: 567.98px) {
	.dwtri-left, .dwtri-right {
		border-top-width: 100px;
	}
}

a:hover,
a:focus {
	text-decoration: none;
}

a:not(.nav-link):not(.navbar-brand).underline:hover,
a:not(.nav-link):not(.navbar-brand).underline:focus {
	border-bottom: 2px solid #5AADBD;
}

#down-msg-mobile {
	display: none;
}

#down-msg-desktop {
	display: block;
}

@media (hover: none) {
	a::before {
		width: 100% !important;
	}

	#down-msg-mobile {
		display: block;
	}

	#down-msg-desktop {
		display: none;
	}
}

.dwtri>.dwtri-right {
	right: 0;
	border-top-color: transparent !important;
	border-right-width: 750px;
	border-right-width: 50vw;
	border-right-style: solid;
}

.dwtri-arrow {
	border-right-width: 50vw;
	border-right-style: solid;
}

.dwtri-arrow>* {
	display: none;
}

.navbar-background {
	z-index: -100 !important;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	transition: .5s box-shadow;
}

.text-muted {
	color: #aaa !important;
}

.nav-link {
	color: #ccc !important;
	font-size: 1rem;
	transition: .3s opacity;
}

.nav-item.active > .nav-link,
.nav-link.active {
	color: #fff !important;
	opacity: 1 !important;
	font-weight: 700;
}

.nav-item > .nav-link > img.rounded {
	height: 1.5rem;
}

.project {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.project div {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 20;
	opacity: 0;
	cursor: pointer;
	transition: opacity .5s;
}

.project span.d-md-block {
	position: absolute !important;
	transition: .5s ease-in-out;
	color: #fff;
	pointer-events: none;
	z-index: 30;
	width: 80%;
	font-weight: 600;
}

.project span.d-md-none {
	display: none !important;
	position: absolute !important;
	transition: .5s ease-in-out;
	color: #fff;
	pointer-events: none;
	z-index: 20;
	bottom: 0;
	width: 100%;
	text-align: center;
	height: 2em;
	font-size: 1.5rem;
	white-space: nowrap;
	text-overflow: ellipsis;
	max-width: 100%;
	overflow: hidden;
	padding: 0 1.5rem;
	font-weight: 600;
}

.project img {
	transition: transform .5s ease-in-out;
	z-index: 10;
	pointer-events: none;
	width: 100%;
}

@media(hover: hover) {
	.project span {
		opacity: 0;
	}

	.project div:hover,
	.project div:focus {
		opacity: .5;
	}

	.project div:hover~img,
	.project div:focus~img {
		transform: scale(1.1);
	}

	.project div:hover~span,
	.project div:focus~span {
		opacity: 1;
	}

	.project div {
		opacity: 0;
		height: 100%;
	}
}

.navbar-dark .navbar-toggler {
	border: none;
	outline: none !important;
	padding-left: 0 !important;
	color: inherit !important;
	box-shadow: none !important;
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.set-language {
	order: 1; 
}

.nav-link:hover,
.nav-link:focus {
	opacity: 1 !important;
}

@media(max-width: 567.98px) {
	.navbar.expanded > .navbar-background {
		border-bottom: 1px solid #3A8392;
	}

	.set-language {
		padding-top: .5rem;
		padding-right: .5rem;
		right: 0; 
		top: 0 !important; 
		position: absolute;
		transform: translateY(0) !important;
	}
}

.input-error {
	position: absolute;
	background: #dc3545;
	color: #FFFFFF;
	font-family: Arial;
	bottom: 0;
	width: auto;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: -10px;
	z-index: 10;
	pointer-events: none !important;
	opacity: 0;
	transition: .3s opacity;
}

.input-error:before {
	content: '';
	position: absolute;
	display: block;
	width: 0;
	z-index: 1;
	border-style: solid;
	border-color: #dc3545 transparent;
	border-width: 0 7px 7px;
	top: -5px;
	left: 50%;
	transform: translateX(-50%);
}



.footer {
	width: 100%;
	height: auto;
	font-size: 1.2rem;
}

.footer h3 {
	font-size: 1.5rem;
}

@media(max-width: 767.98px) {
	.footer {
		font-size: 1.4rem !important;
	}

	.footer h3 {
		font-size: 1.75rem;
	}
}

.footer-text,
.footer-link {
	color: #efefef !important;
}

.border,
.border-top,
.border-right,
.border-bottom,
.border-left {
	border-color: #aaa !important;
}

.pack {
	height: 100%;
}

.pack a {
	text-decoration: none !important;
}

.pack > a {
	opacity: 1 !important;
	color: inherit;
}

.pack > a div {
	transition: .3s background-color;
}

.pack > a:hover > div > div.bg-blue {
	background-color: #498D99 !important;
}

li {
	list-style-type: none;
}
