@charset "utf-8";
/* CSS Document */

main {
	width: 100%;
	margin: auto;
	font-family: Verdana, sans-serif;
	position: relative;
}

.gallery-container {
	width: 80%;
	display: flex;
	margin: auto;
	position: relative;
}

.gallery-container .image-container {
	position: relative;
	width: 23%;
	margin: 0 1%;
	overflow: hidden;
}

.gallery-container .image-container img {
	width: 100%;
	margin: auto;
	height: 100%;
	transition: transform 0.3s;
}

.gallery-container .image-container:hover img {
	transform: scale(1.2);
}

.gallery-container .image-container span {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.5);
	text-align: center;
	cursor: pointer;
	z-index: 5;
}

.gallery-container .image-container button {
	position: relative;
	font-size: 30pt;
	color: white;
	background-color: rgba(0,0,0,0);
	border: none;
	cursor: pointer;
	height: 100%;
}

@media (max-width: 1000px) {
	.gallery-container {
		flex-wrap: wrap;
	}
	
	.gallery-container .image-container {
		min-width: 48%;
		margin: 1%;
	}
}

@media (max-width: 600px) {
	.gallery-container {
		display: none;
	}
	
	main {
		margin-top: -80px !important;
	}
}

.production-container {
	width: 80%;
	margin: 0 10%;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	text-align: center;
	height: 50%;
	position: relative;
}

.production-container .product-container {
	width: 48%;
	margin: 1%;
	position: relative;
	overflow: hidden;
}

.production-container .product-container img {
	height: 100%;
	width: 100%;
	transition: transform .4s;
	margin: auto;
	transform: scale(1.02);
	object-fit: cover;	
}

.header-container {
	position: relative;
}

.header-container .hanger {
	width: 60px !important;
	position: absolute;
	animation: swing 2s ease-in-out infinite;
	bottom: 0%;
	left: 50%;
	transform: translate(345%, 68%);
	z-index: 0;
}

@keyframes swing {
	0% {
		transform: translate(345%, 68%) rotate(0deg);
	}
	50% {
		transform: translate(345%, 68%) rotate(10deg);
	}
	100% {
		transform: translate(345%, 68%) rotate(0deg);
	}
}

@media (max-width: 540px) {
	.header-container .hanger {
		transform: translate(201%, -30%) !important;
		animation: none !important;
	}
}

@media (max-width: 800px) {
	.production-container {
		flex-direction: column;
	}
	
	.production-container .product-container {
		width: 100%;
		margin: 5px 0 !important;
	}

	.product-container:hover .title-container {
		height: 100% !important;
	}
	
	.product-container .title-container .big-text {
		transform: translateY(-35px) !important;
	}
}

.product-container .title-container {
	position: absolute;
	width: 100%;
	text-align: center;
	font-size: 18pt;
	background-color: rgba(0, 0, 0, .6);
	height: 65px;
	bottom: 0%;
	transition: .4s;
	z-index: 2;
}

.product-container .title-container p {
	color: white;
	height: 100%;
	line-height: 100%;
	position: relative;
	top: 50%;
	transform: translateY(-35px);
	padding: 0 10px;
	transition: .4s;
}

.product-container:hover .title-container {
	height: 100%;
	cursor: pointer;
	bottom: 0%;
	background-color: rgba(0, 0, 0, .4);
}

.product-container:hover img {
	transform: scale(1.2);
}

@media (max-width: 438px) {
	.product-container .title-container .big-text {
		transform: translateY(-50px) !important;
	}
}

@media (max-width: 903px) {
	.product-container .title-container .big-text {
		transform: translateY(-50px); 
	}
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	animation: fadeOut .4s ease-out forwards;
}

.overlay.open {
	animation: fadeIn 0.4s ease-out forwards;
}

.centered-image {
	max-width: 90%;
	max-height: 90%;
	transform: translateY(150%);
	opacity: 0;
	animation: slideOut .4s ease-out forwards;
}

.centered-image.open {
	opacity: 1;
	animation: slideIn 0.4s ease-out forwards;
}

.close-button {
	position: absolute;
	top: 10px;
	right: 20px;
	font-size: 32pt;
	color: #fff;
	cursor: pointer;
	z-index: 1;
}

.close-button:hover {
	color: #ccc;
}


@keyframes slideIn {
	from {
		transform: translateY(150%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		background-color: rgba(0, 0, 0, 0);
	}
	to {
		background-color: rgba(0, 0, 0, 0.8);
	}
}

@keyframes slideOut {
	from {
		transform: translateY(0);
		opacity: 1;
	}
	to {
		transform: translateY(150%);
		opacity: 0;
	}
}

@keyframes fadeOut {
	from {
		background-color: rgba(0, 0, 0, 0.8);
	}
	to {
		background-color: rgba(0, 0, 0, 0);
	}
}

.title-container p a {
	text-decoration: none;
	color: inherit;
}
