body {
	font-family: "Josefin Sans", sans-serif;
}

@font-face {
	font-family: 'Code-Bold';
	src: url('../assets/fonts/CodePro-Trial-Black.woff') format('woff');
	src: url('../assets/fonts/CodePro-Trial-Black.woff2') format('woff2');
	font-style: normal;
	font-weight: 600;
}

@font-face {
	font-family: 'Code-Normal';
	src: url('../assets/fonts/CodePro-Trial-Normal.woff') format('woff');
	src: url('../assets/fonts/CodePro-Trial-Normal.woff2') format('woff2');
	font-style: normal;
	font-weight: 400;
}

h1 {
	font-family: "Josefin Sans";
	max-width: 60%;
	margin-left: 15%;
}

.quotes {
	font-family: "Josefin Sans";
	font-size: 2rem;
}


.link-reel-home {
	cursor: pointer;
	text-align: center;
}

.link-reel-home img {
	max-width: 10%;
	text-align: center;
	opacity: 0.4;
}

.link-reel-home:hover img {
	opacity: 0.7;
	filter: hue-rotate(60deg) brightness(100%);
	transition: all 0.5s;
}

.mt-0 {
	margin-top: 0
}

.category-description {
	margin-bottom: 0px;
	margin-top: 1rem;
	text-transform: uppercase;
}

.navbar-toggler {
	display: none;
}

.cabayo-responsive {
	max-width: 150px;
	position: absolute;
	bottom: 40px;
	right: 40px
}

#mainNav {
	transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

#mainNav .navbar-nav .nav-item .nav-link {
	font-family: "Josefin Sans", sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	transition: color 0.3s ease, opacity 0.3s ease;
}

#portfolio .container-fluid,
#portfolio .container-sm,
#portfolio .container-md,
#portfolio .container-lg,
#portfolio .container-xl,
#portfolio .container-xxl {
	max-width: 1320px;
}

.destacado-home {
	font-size: 2rem;
	font-family: "Raleway";
	line-height: 1.5;
}

a {
	text-decoration: none;
}

.logo-img-rayo {
	max-width: 50%;
	display: none;
}

.navbar-shrink .logo-img-rayo {
	max-width: 50%;
	display: block;
	opacity: 0;
	animation: logo-rayo-reveal 1s ease 0.3s forwards;
}

@keyframes logo-rayo-reveal {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.logo-img-rayo-t {
	max-width: 50%;
	display: block;
}

.navbar-shrink .logo-img-rayo-t {
	max-width: 50%;
	display: none;
}

.btn-reel-home {

	font-size: 20px;
	font-family: "Josefin Sans", sans-serif;
	padding: 15px 40px;
	border-radius: 0;
	margin-top: 2rem;
	border: solid 2px #000;
}

.btn-reel-home:hover {
	background-color: #000;
	color: #fff;
	border-color: #000;
}

.bg-blue-home {
	background-color: #0046e6 !important;
}

h2 {
	text-transform: uppercase;
	font-size: 16px;
	margin-bottom: 15px;
	font-family: "Josefin Sans"
}

.title-contact {
	font-size: 45px;
	font-weight: 300;
	font-family: "Josefin Sans", sans-serif;
}

.img-fluid {
	width: 100%;
}

.selection-home {
	padding: 60px;
}

.margin-bottom-selection {
	margin-bottom: calc(1 * var(--bs-gutter-x));
}

.margin-top-selection {
	margin-top: calc(1 * var(--bs-gutter-x));
}

.page-section {
	padding: 4rem 0;
}

.page-section-2 {
	padding: 2rem 0;
}

.name-contact {
	font-family: "Code-Bold", sans-serif;
	letter-spacing: 1px;
	font-size: 1.2rem;
	line-height: 1;
	margin-bottom: 1px;
}

.name-normal {
	font-family: 'Inter', sans-serif;
}

.project-category {
	font-family: "Josefin Sans", sans-serif !important;
	letter-spacing: 1px;

}

.name-contact-about {
	font-family: "Josefin Sans", sans-serif;
	margin-bottom: 0;
	margin-top: 5px;
}

.rol-about {
	font-size: 14px;
	margin-bottom: 0;
}

.description-bio {
	line-height: 1.2;
}

.project-name {
	font-family: "Code-Bold", sans-serif;
	font-size: 1.4;
}

.rounded-img {
	border-radius: 1rem;
}

a .portfolio-box-caption:hover {
	border-radius: 1rem;
}

a .portfolio-box-caption {
	border-radius: 1rem;
}

#portfolio .selection-home .portfolio-box {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
}

#portfolio .selection-home .portfolio-box .rounded-img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	border-radius: 1rem;
}

#portfolio .selection-home .col-lg-12 .portfolio-box {
	aspect-ratio: 16 / 8;
}

#portfolio .selection-home .col-md-6 .portfolio-box,
#portfolio .selection-home .col-lg-6 .portfolio-box,
#portfolio .selection-home .col-sm-6 .portfolio-box {
	aspect-ratio: 4 / 3;
}

header {
	position: relative;
	background-color: black;
	height: 100vh;
	min-height: 25rem;
	width: 100%;
	overflow: hidden;
	overflow: hidden;
}

header.header-about {
	height: 50vh;

}

header video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: 0;
	-ms-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}


.video-icon {
	position: absolute;
	left: 47%;
	bottom: 45%;
	z-index: 100;
	opacity: 0.7;
	text-align: center;
}

.footer-contact-bottom {
	float: left;
	width: auto;
	margin-bottom: 1rem;
}


#container-reel {
	z-index: 99998;
	margin: auto;
	display: none;
}

.container-reel {
	display: flex;
	align-items: center;
	height: 100vh;
	background-color: #000;
}

.reel-embed {
	z-index: 99999;
	width: 90%;
	margin: auto;
}

#reel-embed {
	display: block;
	padding: 56% 0;
	position: relative;
	background-color: #000;
	width: 100%;
	height: 100%;
}

header .container {
	position: relative;
	z-index: 2;
}

header .overlay {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: black;
	opacity: 0.3;
	z-index: 1;
}

.video-button {
	color: #fff;
	position: absolute;
	height: 35px;
	cursor: pointer;
	top: 30px;
	right: 30px;
	z-index: 99999;
	font-size: 30px;
	display: none;
	font-family: "Code-Bold", sans-serif;
	opacity: 0.8;
	color: #fff !important;
}

/* work SELECTION */
.text-work-selection {
	font-size: 1.5rem;
	font-family: "Raleway";
	margin: 1rem 0;
	line-height: 1.5;
}


.credits-selection {
	font-size: 0.8rem;
	font-family: "Raleway";
	text-align: justify;
	text-transform: uppercase;
}

.name-selection {
	font-size: 3rem;
	font-family: "Code-Bold", sans-serif;
	margin: 1rem 0 0;
	line-height: 1.2
}

.credits-title-selection {
	font-size: 1.5rem;
	font-family: "Code-Bold", sans-serif;
	margin: 1rem 0 0;
}

.img-selection-margin {
	padding-top: calc(var(--bs-gutter-x) * 0.5);
	padding-bottom: calc(var(--bs-gutter-x) * 0.5);
}


/* Media Query for devices withi coarse pointers and no hover functionality   margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));*/

/* This will use a fallback image instead of a video for devices that commonly do not support the HTML5 video element */

@media (pointer: coarse) and (hover: none) {
	header {
		background: url('../assets/videos/video-loading.jpg') black no-repeat center center scroll;
	}


}

@media only screen and (max-width: 1400px) {

	.name-contact {
		font-size: 1rem
	}
}

@media only screen and (max-width: 1200px) {

	.name-contact {
		font-size: 1.5rem
	}

	.footer-contact-bottom {
		width: 33%;
	}
}

@media only screen and (max-width: 900px) {
	.footer-contact-bottom {
		width: 50%
	}

	.footer-contact {
		margin-top: 1rem;
	}
}

@media only screen and (max-width: 600px) {
	.destacado-home {
		font-size: 1.5rem;
	}

	.name-contact {
		font-size: 1.3rem
	}

	.margin-selection-r {
		margin-bottom: calc(1 * var(--bs-gutter-x));
	}

	.credits-title-selection,
	.text-work-selection {
		font-size: 1rem;
	}

	.name-selection {
		font-size: 2rem;
		margin-top: 2rem !important;
	}

	.category-description {
		font-size: 0.8rem;
	}

	#reel-embed {
		padding: 56% 0;
	}

	.project-category {
		font-size: 0.8rem !important;
	}

	.selection-home {
		padding: 30px;
	}

	.text-work-selection {
		text-align: justify;
	}

	.mt-5 {
		margin-top: 1rem !important;
	}

	.justify-resp {
		text-align: justify;
	}

	#mainNav {
		background-color: transparent;
	}

	#mainNav.navbar-shrink {
		background-color: #fff;
	}

	.cabayo-responsive {
		max-width: 100px;
		position: absolute;
		bottom: 10px;
		right: 10px;
	}


	#portfolio .selection-home .col-lg-12 .portfolio-box,
	#portfolio .selection-home .col-md-6 .portfolio-box,
	#portfolio .selection-home .col-lg-6 .portfolio-box,
	#portfolio .selection-home .col-sm-6 .portfolio-box {
		aspect-ratio: 4 / 3;
	}
}

@media only screen and (max-width: 400px) {
	.footer-contact-bottom {
		width: 100%;
	}

	.link-reel-home img {
		max-width: 40%;
	}

	.link-reel-home img {
		max-width: 40%;
		text-align: center;
		opacity: 0.4;
	}

	.video-icon {
		left: 41%;
	}

	#reel-embed {
		height: 100%;
	}

}