span {
	font-family: "Inconsolata", monospace;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
	font-variation-settings:
		"wdth" 100;
	letter-spacing: -3.5px;
}

#portfolioSection {
	margin-top: 5rem;
	margin-bottom: 5rem;
	padding: 1.25rem;
}

@media (min-width: 768px) {
	#portfolioSection {
		padding-left: 5rem;
		padding-right: 5rem;
	}

}

@media (min-width: 1024px) {
	#portfolioSection {
		padding-left: 8rem;
		padding-right: 8rem;
	}

}

@media (min-width: 1280px) {
	#portfolioSection {
		padding-left: 18rem;
		padding-right: 18rem;
	}
}

@media (min-width: 1px) {
	#default-carousel {
		position: relative;
		margin-top: 1rem;
		margin-bottom: 1rem;
	}
}

#carouselWrapper {
	display: block;
	overflow: hidden;
	position: relative;
	border-radius: 0.5rem;
	height: 28rem;
	width: 20rem;
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 768px) {
	#carouselWrapper {
		width: auto;
		height: 35.5rem;
	}
}

.itemContainer {
	background-color: var(--secondary-dark);
	transition-timing-function: ease-in-out;
	transition-duration: 700ms;
	width: auto;
	display: grid;
	padding: 1rem;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 1rem;
	align-items: start;
}

@media (min-width: 768px) {
	.itemContainer {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.cardFront {
	width: 100%;
	height: auto;
	border-radius: 0.5rem;
	overflow: hidden;
}

.stillsImage {
	overflow: hidden;
	object-fit: cover;
	height: 15.5rem;
	border-radius: 0.5rem;
}

@media (min-width: 768px) {
	.stillsImage {
		height: 26rem;
	}
}

.logoContainer {
	padding: 1rem;
	margin-bottom: 2.5rem;
}

.imageContainer {
	background-color: var(--primary-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	height: 3.5rem;
	border-radius: 0.5rem;
}

.gameLogo {
	height: 100%;
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
	border-radius: 0.5rem;
	object-fit: contain;
}

.showDetailsButton {
	display: block;
	width: 60%;
	margin-left: auto;
	margin-right: auto;
	color: white;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	border-radius: 0.5rem;
	font-weight: bold;
	background-color: var(--primary);
	transition: background-color 0.2s ease-in-out;
}

.showDetailsButton:hover {
	background-color: var(--primary);
}

.showDetailsButton:focus {
	outline: none;
}

@media (min-width: 768px) {
	.showDetailsButton {
		display: none;
	}
}

.cardBack {
	background-color: rgba(var(--primary));
	display: none;
	border-radius: 0.5rem;
	overflow: hidden;
	position: absolute;
	padding: 2.5rem;
	height: 30.5rem;
	transform: translateZ(0);
	transition: opacity 0.5s;
}

@media (min-width: 768px) {
	.cardBack {
		background-color: var(--primary);
		display: block;
		padding: 2rem;
		position: relative;
	}
}

.closeBackCardButton {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 2rem;
	height: 2rem;
	background-color: transparent;
	color: white;
	border-radius: 9999px;
	margin: 0.5rem;
	position: absolute;
	top: 0;
	right: 0;
	font-weight: bold;
	transition: background-color 0.3s ease-in-out;
	background-color: var(--primary);
}

@media (min-width: 768px) {
	.closeBackCardButton {
		display: none;
		width: 3rem;
		height: 3rem;
		font-size: 1.5rem;
	}
}

.closeBackCardButton:hover {
	background-color: rgba(0, 0, 0, 0.2);
}

.closeBackCardButton:focus {
	outline: none;
}

.description {
	color: white;
	font-weight: bold;
	font-size: 14px;
}

@media (min-width: 768px) {
	.description {
		font-size: 14px;
	}
}

@media (min-width: 1024px) {
	.description {
		font-size: 16px;
	}
}

@media (min-width: 1280px) {
	.description {
		font-size: 20px;
	}
}

.bottomContainer {
	position: absolute;
	bottom: 8rem;
}

@media (min-width: 768px) {
	.bottomContainer {
		bottom: 4rem;
		width: 80%;
	}
}

@media (min-width: 1280px) {
	.bottomContainer {
		width: 90%;
	}
}

.releaseDate {
	margin-top: 1rem;
	font-size: 14px;
	font-weight: 300;
}

@media (min-width: 768px) {
	.releaseDate {
		margin-top: 1.25rem;
		font-size: 20px;
	}
}

@media (min-width: 1280px) {
	.releaseDate {
		margin-top: 2rem;
	}
}

.badgeContainer {
	margin-top: 1rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}

@media (min-width: 1024px) {
	.badgeContainer {
		margin-top: 1.5rem;
		gap: 1rem;
	}
}

@media (min-width: 1280px) {
	.badgeContainer {
		margin-top: 1.5rem;
	}
}

.badge {
	background-color: var(--badge);
	color: white;
	letter-spacing: -0.015em;
	font-size: 14px;
	border-radius: 0.375rem;
	padding: 0.2rem;
}

@media (min-width: 768px) {
	.badge {
		padding: 0.25rem;
		font-size: 14px;
		border-radius: 0.5rem;
	}
}

@media (min-width: 1024px) {
	.badge {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
		padding-top: 0.125rem;
		padding-bottom: 0.125rem;
		font-size: 20px;
	}
}

.bottomButtonsContainer {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	margin-top: 1.25rem;
	margin-left: 2rem;
	margin-right: 3rem;
	height: 2rem;
	align-items: center;
}

@media (min-width: 768px) {
	.bottomButtonsContainer {
		justify-content: center;
		gap: 2.5rem;
		margin-top: 2.75rem;
		margin-left: 0;
		margin-right: 0;
	}
}

.githubButton {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	color: white;
	border-radius: 9999px;
	transition: background-color 0.3s ease, filter 0.3s ease;
	background-color: white;
}

@media (min-width: 768px) {
	.githubButton {
		width: 4rem;
		height: 4rem;
	}
}

.githubButton:hover {
	filter: invert(1);
}

.githubImage {
	width: 2.75rem;
	height: 2.75rem;
}

@media (min-width: 768px) {
	.githubImage {
		width: 3.5rem;
		height: 3.5rem;
	}
}

.downloadButton {
	background-color: var(--secondary);
	color: black;
	font-weight: bold;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	transition: background-color 0.3s ease;
}

.downloadButton:hover {
	background-color: var(--primary-light);
}

@media (min-width: 768px) {
	.downloadButton {
		font-size: 1.125rem;
	}
}

.packageImage {
	height: 75%;
	max-height: 100%;
	max-width: 100%;
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	object-fit: contain;
}

.packageStill {
	object-fit: contain;
	height: 15.5rem;
	width: 100%;
	border-radius: 0.5rem;
}

@media (min-width: 768px) {
	.packageStill {
		height: 26rem;
	}
}

#portfolioControls {
	position: absolute;
	z-index: 30;
	display: flex;
	transform: translateX(-50%);
	top: 25.6rem;
	left: 50%;
	gap: 0.75rem;
	direction: ltr;
}

.rtl #portfolioControls {
	direction: rtl;
}

@media (min-width: 768px) {
	#portfolioControls {
		top: 33rem;
	}
}

.ellipse {
	border-radius: 9999px;
	width: 0.75rem;
	height: 0.75rem;
}

#back {
	position: absolute;
	left: -5.5rem;
	top: -2rem;
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 1rem;
	padding-right: 1rem;
	cursor: pointer;
}

@media (min-width: 768px) {
	#back {
		top: -0.75rem;
		left: -4.5rem;
	}
}

.arrowButton {
	width: 1rem;
	height: 1rem;
	color: white;
	transform: rotate(0);
}

.rtl .arrowButton {
	transform: rotate(180deg);
}

.arrowContainer {
	background-color: var(--secondary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
}

.arrowContainer:hover {
	background-color: rgba(255, 255, 255, 0.3);
}

#go {
	position: absolute;
	left: 7.8rem;
	top: -2rem;
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 1rem;
	padding-right: 1rem;
	cursor: pointer;
}

@media (min-width: 768px) {
	#go {
		top: -0.75rem;
		left: 6.5rem;
	}
}