/* Basic settings */
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	padding: 0;
}

.page {
	font-family: 'Zhi Mang Xing', sans-serif;
	font-size: 16px;

	max-width: 1230px;
	padding: 40px 40px;
	margin: 0 auto;
	text-align: center;
}

.title {
	font-size: 80px;
	color: #515151;
	margin-bottom: 10px;
}

.sub-title {
	font-size: 40px;
	margin-bottom: 40px;
	font-family: 'B52', sans-serif;
}

.portfolio__list {
	display: grid;
	justify-items: stretch;
	align-items: stretch;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	grid-gap: 40px;
}

.portfolio__item {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

@media (max-width: 1200px) {
	.portfolio__item {
		flex-basis: 40%;
	}

	.portfolio__list {
		justify-content: space-around;
	}
}

@media (max-width: 750px) {
	.portfolio__item {
		flex-basis: 100%;
	}
}

@media (max-width: 460px) {
	.title {
		font-size: 30px;
	}

	.sub-title {
		font-size: 15px;
	}
}


.portfolio__wrap {
	position: relative;
	background-color: rgb(5, 200, 200);
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	margin-bottom: 20px;
	flex-grow: 1;
}

.portfolio__img {
	display: block;
	width: 100%;
	height: 100%;
	transition: transform 0.2s linear 0s;
}

.portfolio__text {
	font-size: 13px;
	font-weight: 700;
	color: #000;
	text-transform: uppercase;
	position: absolute;
	top: 5%;
	left: 5%;
	z-index: 2;
	font-family: 'B52', sans-serif;
	opacity: 0;
}

.portfolio__content:hover .portfolio__img {
	opacity: 0.1;
}

.portfolio__content:hover .portfolio__text {
	opacity: 1;
}

.portfolio__content:hover .description {
	opacity: 1;
}

.portfolio__content:hover {
	transform: translate(-10px, -10px);
	background: linear-gradient(rgb(17, 129, 159), rgb(243, 243, 243));
}

.portfolio__content {
	transition: transform 0.2s linear 0s;
	height: 100%;
}

.portfolio__img {
	height: 100%;
	object-fit: cover;
}

.portfolio__link {
	height: 100%;
}
.portfolio__title {
	font-family: 'B52', sans-serif;
}

.description {
	display: flex;
	justify-content: space-between;
	width: 50%;
	font-size: 16px;
	font-weight: 700;
	color: #000;
	text-transform: uppercase;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
}

.description_mojo {
	width: 75%;
}

.description__text {
	margin-bottom: 5px;
	font-family: "Kaushan Script", sans-serif;
}
