html,
body {
	margin: 0;
	padding: 0;
	min-height: 100% !important;
	min-width: 100% !important;
	overflow: hidden;
}

@font-face {
	font-family: MetropolisMedium;
	src: url("./../packages/Metropolis-Medium.otf");
}

@media (max-width: 767px) {
	h1 {
		font-size: 7svw;
	}
	h2 {
		font-size: 5svw;
	}
	p {
		font-size: 3.5svw !important;
	}
	li {
		font-size: 4svw !important;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	h1 {
		font-size: 4svw;
	}
	h2 {
		font-size: 4svw;
	}
	p {
		font-size: 1.8svw !important;
	}
	li {
		font-size: 1.5svw !important;
	}
	li > a {
		font-size: 1.8svw !important;
	}
}

@media (min-width: 1024px) and (max-width: 1279px) {
	h1 {
		font-size: 6svw;
	}
	h2 {
		font-size: 4svw;
	}
	p {
		font-size: 1.8svw !important;
	}
	li {
		font-size: 1.4svw !important;
	}
	li > a {
		font-size: 1.7svw !important;
	}
}

@media (min-width: 1280px) {
	h1 {
		font-size: 6svw;
	}
	h2 {
		font-size: 4svw;
	}
	p {
		font-size: 1svw !important;
	}
	li {
		font-size: 0.95svw !important;
	}
	li > a {
		font-size: 0.9svw !important;
	}
}

main {
	height: calc(100svh - 8svh);
	overflow-y: scroll;
	width: 100%;
	scroll-behavior: smooth;

	.text-justify {
		text-align: justify !important;
	}

	.tracking-wide {
		letter-spacing: 0.02em;
	}
}

.offcanvas {
	background-color: #242424 !important;
	width: 300px !important;
}

header {
	z-index: 100;
	position: sticky;
	top: 0;
	font-family: MetropolisMedium;

	.navbar-toggler {
		border: none;
		background: transparent;
	}

	.navbar-toggler:focus {
		box-shadow: none;
	}

	@media (min-width: 991px) {
		.offcanvas-body {
			justify-content: end;
			align-items: center;
			gap: 0 10px;
		}
	}

	@media (max-width: 1023px) {
		.navbar-nav {
			align-items: center;
			row-gap: 5px;
		}

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

		li > a {
			padding: 15px 0;
			display: flex;
			align-items: center;
			gap: 0 10px;
			text-align: center;
		}

		img {
			width: 45px;
		}
	}
}

footer {
	background-color: rgb(12, 12, 12);
	position: relative;
	color: white !important;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	height: 30svh;
	padding: 2% 10%;
	cursor: default;
	p {
		margin: 0;
		font-size: 0.9svw !important;
	}

	a {
		font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
			"Lucida Sans Unicode", Geneva, Verdana, sans-serif;
		color: white;
		text-decoration: none;
		transition: color 0.5s;
		font-size: 1.3svw !important;
		&:hover {
			color: #fff;
			text-decoration: underline;
		}
	}

	img {
		height: 35px;
		width: fit-content;
	}

	.footer-image {
		height: calc(80px - 2.5svh);
		transform: scale(1);
		filter: drop-shadow(5px 5px #000);
		transition: transform 0.3s, filter 1s;

		&:hover {
			transform: scale(1.1);
			filter: drop-shadow(10px 10px #000);
			cursor: pointer;
		}
	}

	.divCopy {
		border-top: solid #242424;
	}

	.divContact {
		border-bottom: 2px solid #565656;
	}

	font-family: "Times New Roman", Times, serif;

	@media (max-width: 767px) {
		div:has(> .divContact) {
			width: 100% !important;
			margin: 40px 0 20px;
		}

		a {
			font-size: 4.2svw !important;
		}

		p {
			font-size: 3svw !important;
		}

		.footer-image {
			height: calc(80px - 3.5svh);
		}
	}

	@media (min-width: 768px) and (max-width: 1023px) {
		div:has(> .divContact) {
			width: 100% !important;
			margin: 40px 0 20px;
		}

		a {
			font-size: 2.2svw !important;
		}

		p {
			font-size: 2svw !important;
		}

		.footer-image {
			height: calc(80px - 2.2svh);
		}
	}

	.custom-shape-divider-top {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		overflow: hidden;
		line-height: 0;
	}

	.custom-shape-divider-top svg {
		position: relative;
		display: block;
		width: calc(170% + 1.3px);
		height: 45px;
	}

	.custom-shape-divider-top .shape-fill {
		fill: #111010;
	}
}

.top-bar {
	background-color: #0c0c0c;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 8svh;
	width: 100svw !important;

	a {
		text-decoration: none;
		color: white;
		font-weight: 700;
		letter-spacing: 1px;
		transition: color 0.5s;
		&:hover {
			color: #959595;
		}
	}

	.top-bar-left {
		img {
			width: 30px;
			object-position: center;
			transform: scale(1);
			filter: drop-shadow(2px 2px 2px rgb(39, 39, 39));
			transition: all 0.3s ease-in-out;

			&:hover {
				transform: scale(1.1);
				filter: drop-shadow(4px 4px 4px rgb(39, 39, 39));
			}
		}
	}
}

@media (max-width: 991px) {
	.top-bar {
		flex-direction: row-reverse !important;
	}
}

section {
	min-height: 92svh !important;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
}

@media (max-width: 1023px) {
	#servicios {
		min-height: 1150px !important;
	}

	#equipo {
		min-height: 1850px !important;
	}

	footer {
		height: fit-content;
	}
}

@media (min-width: 1024px) and (max-width: 1280px) {
	#equipo {
		min-height: 1320px !important;
	}
}

/* landscape */
@media (min-height: 320px) and (max-height: 479px) {
	#proyectos {
		min-height: 650px !important;
	}

	.top-bar {
		height: 12svh;
	}
}

#home {
	position: relative;
	height: 75svh;
	padding: 5%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: white;
	cursor: default;

	img {
		max-width: 550px;
		height: auto;
		filter: drop-shadow(1px 2px 1px #fff);
	}

	.home-content {
		padding: 4% 20% 2%;
		font-family: Verdana, Geneva, Tahoma, sans-serif;
	}

	@media (max-width: 991px) {
		img {
			max-width: 275px;
			height: auto;
		}

		.home-content {
			padding: 4% 20px 2%;
		}
	}
}

#servicios {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: center;
	color: white;
	height: 90%;
	text-align: center;
	cursor: default;

	.servicios-content {
		padding: 50px 10% 25px;

		h2 {
			font-weight: 900;
		}

		.icon-container {
			height: 140px;
			display: flex;
			align-items: center;
		}

		#web_icon {
			width: 100px;
			height: auto;
		}

		#mobile_icon {
			width: 125px;
			height: auto;
		}
	}

	.devDivs > div {
		background-color: #242424;
		height: fit-content;
		filter: brightness(1);
		transform: scale(1);
		transition: all 1s;

		p {
			font-size: 0.85svw !important;
		}
	}

	@media (min-width: 1024px) {
		.devDivs > div:hover {
			filter: brightness(1.2);
			transform: scale(1.05);
		}
	}

	@media (max-width: 767px) {
		.servicios-content {
			padding: 10px 20px 5px !important;
		}

		.devDivs {
			flex-direction: row !important;
			flex-wrap: wrap;
			row-gap: 50px;
			width: 100% !important;

			& > div {
				width: 100% !important;
				p {
					font-size: 3.2svw !important;
				}
			}
		}
	}

	@media (min-width: 768px) and (max-width: 1024px) {
		.servicios-content {
			padding: 10px 20px 5px !important;
		}

		.devDivs {
			flex-direction: row !important;
			flex-wrap: wrap;
			row-gap: 50px;
			width: 100% !important;

			& > div {
				width: 100% !important;
				p {
					font-size: 2.2svw !important;
				}
			}
		}
	}
}

#proyectos {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: center;
	color: white;
	height: 100%;
	text-align: center;

	.proyectos-content {
		padding: 4% 10% 2%;
		display: flex;
		flex-direction: column;
		align-items: center;

		.projectDescription {
			width: 70vw;
		}

		h2 {
			font-weight: 900;
		}
	}

	.splide__track {
		background-color: #242424;
	}

	.splide__slide {
		padding: 0.5rem 0;
		background-position: center !important;
		p {
			margin: 10px 0 0 !important;
		}

		.splide__slide__container {
			position: relative;
			background-size: contain !important;
		}

		.overlay-project {
			position: absolute;
			bottom: 100%;
			left: 0;
			right: 0;
			background-color: rgba(0, 0, 0, 0.903);
			overflow: hidden;
			width: 100%;
			height: 0;
			transition: 0.5s;
		}

		.text {
			white-space: nowrap;
			color: white;
			font-size: 20px;
			position: absolute;
			cursor: pointer;
			text-decoration: none;
			overflow: hidden;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			-ms-transform: translate(-50%, -50%);
		}
	}

	@media (min-width: 768px) {
		.splide__slide:hover {
			.overlay-project {
				bottom: 0;
				height: 100%;
			}
		}
	}

	@media (max-width: 1024px) {
		.proyectos-content {
			padding: 4% 0 0;
		}
	}
}

@media (max-width: 767px) {
	.proyectos-content {
		padding: 2px 25px !important;
	}

	.projectDescription {
		width: 86svw !important;
	}
}

#equipo {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: center;
	color: white;
	height: 100%;
	text-align: center;

	.equipo-content {
		padding: 50px 50px 25px;
		height: 90%;
		width: 100%;
		h2 {
			font-weight: 900;
		}

		.padreCards {
			height: 80%;
			display: flex;
			flex-direction: column;
			justify-content: space-around;
			align-items: center;
			margin-bottom: 3rem;
		}

		@media (min-width: 1024px) and (max-width: 1280px) {
			.padreCards {
				flex: 0 0 auto;
				width: 100%;
				flex-direction: row;
				height: 60%;
			}
		}

		@media (min-width: 1024px) and (max-width: 1280px) and (max-height: 720px) {
			.padreCards {
				margin-bottom: 0;
				flex-direction: row;
				flex: 0 0 auto;
				width: 58.33333333%;
			}

			.parrafosEquipos {
				flex: 0 0 auto;
				width: 41.66666667%;
			}
		}

		@media (min-width: 1281px) {
			.padreCards {
				margin-bottom: 0;
				flex-direction: row;
				flex: 0 0 auto;
				width: 58.33333333%;
			}

			.parrafosEquipos {
				flex: 0 0 auto;
				width: 41.66666667%;
			}
		}

		p {
			font-size: 1.1svw !important;
		}

		@media (min-width: 1024px) and (max-width: 1365px) {
			p {
				font-size: 1.5svw !important;
			}
		}
        
        @media (min-width: 1024px) and (max-width: 1280px) and (max-height: 720px) {
            p {
                font-size: 1.2svw !important;
            }
        }

		@media (min-width: 1280px) and (max-width: 1365px) {
			.card-title,
			.card-text {
				font-size: 0.75rem;
			}
		}

		@media (min-width: 1366px) and (max-width: 1659px) {
			.card-title,
			.card-text {
				font-size: 1rem;
			}
		}
		.card {
			cursor: default;
			padding: 4svh 1.5svw 0;
			width: fit-content;
			height: fit-content;
			background-color: #242424;
			margin: 0 10px 0;
			filter: brightness(1);
			transform: scale(1);
			transition: all 1s;

			.avatar-container {
				display: flex;
				justify-content: center;
				align-items: end;

				@media (max-width: 1023px) {
					height: 62% !important;
				}
			}

			img {
				width: 10svw;
				height: 10svw;
				object-fit: cover;
				border: 3px solid #fff;
				border-radius: 30%;
				filter: drop-shadow(2px 2px 3px #747474)
					drop-shadow(-2px -2px #d4d4d4);
			}

			h5 {
				color: #fff;
			}

			h6 {
				color: #707070;
			}

			@media (min-width: 992px) {
				&:hover {
					filter: brightness(1.1);
					transform: scale(1.05);
				}
			}

			@media (min-width: 1024px) and (max-width: 1279px) {
				img {
					width: 15svw;
					height: 15svw;
				}
			}
		}
	}

	@media (max-width: 767px) {
		ul > div > li {
			margin-top: 5px !important;
			margin-bottom: 5px !important;
			font-size: 3.2svw !important;
		}

		.padreCards {
			height: 1000px !important;
			padding: 0 !important;
		}

		.card {
			min-width: 325px !important;
			height: 300px !important;
			margin: 15px 5px !important;
			padding: 4svh 1svw !important;
			img {
				width: 160px !important;
				height: 160px !important;
			}
		}

		.equipo-content {
			height: 100% !important;
			p {
				font-size: 4.2svw !important;
			}
		}
	}

	@media (min-width: 500px) and (max-width: 767px) {
		ul > div > li {
			margin-top: 5px !important;
			margin-bottom: 5px !important;
			font-size: 2.2svw !important;
		}

		.equipo-content {
			height: 100% !important;
			p {
				font-size: 3svw !important;
			}
		}
	}

	@media (min-width: 768px) and (max-width: 1023px) {
		ul > div > li {
			margin-top: 5px !important;
			margin-bottom: 5px !important;
			font-size: 2.2svw !important;
		}

		.padreCards {
			height: 1000px !important;
			padding: 0 !important;
		}

		.card {
			min-width: 325px !important;
			height: 300px !important;
			margin: 15px 5px !important;
			padding: 4svh 1svw !important;
			img {
				width: 150px !important;
				height: 150px !important;
			}
		}

		.equipo-content {
			height: 100% !important;
			p {
				font-size: 2.5svw !important;
			}
		}
	}
}

#tecnologias {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: center;
	color: white;
	min-height: calc(92svh - 30svh) !important;
	text-align: center;

	.tecnologias-content {
		margin-top: 100px;
		padding: 0 5%;
		height: calc((92svh - 30svh) - 150px);
		h2 {
			font-weight: 900;
		}

		h4 {
			font-size: 1.4svw !important;
		}
	}

	@media (max-width: 767px) {
		h2 ~ div {
			width: 90svw !important;
		}

		.tecnologias-content {
			height: 525px;
			padding-bottom: 5%;

			h4 {
				font-size: 5svw !important;
			}
		}
	}

	@media (min-width: 768px) and (max-width: 1024px) {
		h2 ~ div {
			width: 90svw !important;
		}

		.tecnologias-content {
			height: 525px;
			padding-bottom: 5%;

			h4 {
				font-size: 3.5svw !important;
			}
		}
	}
}

.banner {
	width: 1100px;
	margin: 0 auto;
	overflow: hidden;
	min-height: 100px;
	display: flex;
	flex-direction: column;
	justify-content: end;
}

@media (max-width: 767px) {
	.banner {
		width: 350px !important;

		img {
			width: 6rem !important;
			height: 4rem !important;
		}
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.banner {
		width: 90svw !important;

		img {
			width: 7rem !important;
			height: 5rem !important;
		}
	}
}

.banner-inner {
	display: flex;
	width: fit-content;
}

.animate-banner {
	animation: scrollBanner 25s linear infinite;
}

.banner img {
	width: 6.5svw;
	height: 12svh;
	object-position: center;
	object-fit: contain;
	padding: 10px;
	margin: 10px;
	border-radius: 10px;
	background-color: #242424;
	flex-shrink: 0;
	flex-grow: 0;
	will-change: transform;
	backface-visibility: hidden;
	filter: brightness(1);
	transition: filter 1s ease;
}

@media (min-width: 1024px) {
	.banner img:hover {
		filter: brightness(1.3);
	}
}

@keyframes scrollBanner {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}
