html, body {
	overflow-x: hidden;
}

html.no-scroll {
	overflow: hidden;
}

img {
	width: 100%;
}

input::placeholder {
	color: white !important;
}

h1, .h1, h2, .h2, .display-1, .display-2 {
	font-size: 6vw;
}

h3, .h3, .work-title, .display-3, .accordion-header {
	font-size: 3vw;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
}

a {
	text-decoration: none;
}

/* a.action {
	width: 40px;
	height: 40px;
} */

p, .accordion-header > span, .accordion-body {
	line-height: 2;
}

.rounded {
	border-radius: 1rem !important;
}

.form-control:focus, .form-control:focus-visible, .form-check-input:focus {
	border-color: #6c757d;
	outline: 0;
	box-shadow: 0 0 0 .25rem rgba(108,117,125, .25);
}

.form-check-input:checked {
	border-color: #6c757d;
}

.row>* {
	padding-left: .5rem;
	padding-right: .5rem;
}

main, header {
	-webkit-transition: all ease-in-out .25s;
	transition: all ease-in-out .25s;
}

header.hide {
	top: -100% !important;
}

main.blur, header.blur {
	-webkit-filter: blur(1rem);
	filter: blur(1rem);
}

#home header a {
	color: white;
}

header.position-absolute #logo.rounded {
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}

header #logo {
	padding-left: 2.5% !important;
	padding-right: 2.5% !important;
}

header.position-fixed {
	/* padding-top: 0 !important;
	padding-bottom: 0 !important; */
}

header.position-fixed .align-items-end, header.position-relative .align-items-end {
	align-items: center!important;
	padding: .875rem 0 .875rem .5rem;
}

header.position-fixed img, header.position-relative img {
	max-width: 100px;
}

footer #languages img {
	max-width: 1rem;
	width: 100%;
	max-height: 1rem;
	height: 100%;
}

section#hero video {
	object-fit: cover;
	z-index: -1;
	background-position: 50%;
	background-size: cover;
	width: 100%;
	height: 100%;
	margin: auto;
	inset: -100%;
}

.text-break > * {
	-webkit-hyphens: auto;
	  -moz-hyphens: auto;
	  -ms-hyphens: auto;
	  hyphens: auto;
}

#overlay {
	height: 100%;
	min-height: 100vh;
	width: 100%;
	min-width: 100vw;
	/* background: #212529; */
	border-radius: 0;
	bottom: -150%;
	-webkit-transition: all ease-in-out .5s;
	transition: all ease-in-out .5s;
	overflow-y: scroll;
}

#overlay.active {
	bottom: 0;
}

#overlay #logo img {
	filter: invert(1);
	-webkit-filter: invert(1);
	width: 100%;
	max-width: 200px;
}

#overlay nav a {
	font-size: 6vw;
	display: block;
}

#scroll-up {
	-webkit-transition: all ease-in-out 1s;
	transition: all ease-in-out 1s;
	bottom: -150%;
}

#scroll-up button {
	width: 50px;
	height: 50px;
}

/* #scroll-up.bottom-0 {
	bottom: 0;
} */

@media (max-width:991px) { 
	
	header #logo {
		padding-left: 5% !important;
		padding-right: 5% !important;
	}
	
	h1, .h1, h2, .h2, .display-1, .display-2 {
		font-size: 12vw;
	}
	
	h3, .h3, .work-title, .accordion-header, header #categories a {
		font-size: 6vw;
	}
	
	.display-3 {
		font-size: 4vw;
	}
	
	.rounded {
		border-radius: .5rem;
	}
}