/**************/
/* Typography */
/**************/
@font-face {
    font-family: "Libre Franklin";
    src: url("../font-book/LibreFranklin-ExtraLight.ttf");
}
/**********/
/* LAYOUT */
/**********/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Libre Franklin";
	text-decoration: none;
	letter-spacing: 2px;
}
body {
	padding-top: 50px;
	padding-left: 100px;
	padding-right: 100px;
}
/**************/
/* NAVIGATION */
/**************/
nav {
	display: flex;
	padding-bottom: 100px;
}
nav a {
	font-size: 120%;
	color: black;
	letter-spacing: 2px;
}
nav a:hover {
    color: #137dc5;
    transition: all .3s ease;
}
.navLeft {
	width: 33.33%;
	align-self: flex-end;
}
.navLeft a {
	padding-right: 30px;
}
.navMiddle {
	width: 33.33%;
}
.navMiddle img {
	width: 70%;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.navRight {
	width: 33.33%;
	align-self: flex-end;
}
.navRight a {
	float: right;
}
/*************/
/* SMALL NAV */
/*************/
.smallNav {
	display: flex;
	padding-bottom: 50px;
}
.smallNav img {
	width: 300px;
}
.smallNav span {
	display: flex;
	flex-direction: column;
	align-self: center;
	cursor: pointer;
}
.smallNav div {
	align-self: flex-end;
	width: 50px;
	height: 2px;
	background-color: black;
	margin: 5px;
}
/***************/
/* OVERLAY NAV */
/***************/
.overlay {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0, 0.9);
	overflow-x: hidden;
	transition: 0.5s;
}
.overlay-content {
	position: relative;
	top: 25%;
	width: 100%;
	text-align: center;
	margin-top: 30px;
}
.overlay a {
	padding: 8px;
	text-decoration: none;
	font-size: 36px;
	color: #818181;
	display: block;
	transition: 0.3s;
}
.overlay a:hover, .overlay a:focus {
	color: #f1f1f1;
}
.overlay .closebtn {
	position: absolute;
	top: 20px;
	right: 45px;
	font-size: 60px;
}
/*****************/
/* IMAGE GALLERY */
/*****************/
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	grid-auto-rows: 15rem;
	grid-auto-flow: dense;
	gap: 0.75rem;
}
.gallery figure {
	contain: inline-size;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr);
}
.gallery img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	grid-area: 1 / 1 / -1 / -1;
	transition: scale 1s ease-in-out;
}
/************/
/* PRODUCTS */
/************/
.products-container {
	display: flex;
	align-items: center;
	gap: 100px;
	padding-bottom: 60px;
}
.products-container h1:hover {
	color: black;
    text-decoration: underline;
    transition: all .3s ease;
}
.products-container a {
	color: black;
}
.products-container a:hover {
    color: #137dc5;
    transition: all .3s ease;
}
.products-container h1 {
	font-size: 150%;
	padding-bottom: 30px;
}
.products-container p {
	padding-bottom: 20px;
}
.products-left img {
	width: 500px;
}
/*********/
/* ABOUT */
/*********/
.about {
	display: flex;
	align-items: center;
	gap: 100px;
	padding-bottom: 60px;
}
.about img {
	width: 400px;
}
.about p {
	padding-bottom: 20px;
}
.about a {
	color: black;
}
.about a:hover {
	text-decoration: underline;
	transition: all .3s ease;
}
/***********/
/* CONTACT */
/***********/
.contact-container {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	gap: 100px;
}
.contact-left img {
	width: 500px;
}
.contact-right {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
}
.contact-inputs {
	width: 500px;
	height: 50px;
	padding-left: 25px;
	background-color: #ecf0f1;
	border: 0.5px solid black;
	font-size: 20px;
}
.contact-right textarea {
	height: 140px;
	padding-top: 15px;
}
.contact-right button {
	padding: 15px 30px;
	font-size: 16px;
	border: 0.5px solid black;
	border-radius: 50px;
	background-color: #ecf0f1;
	cursor: pointer;
}
.contact-right button:hover {
	background-color: #0c4f7d;
	color: #ecf0f1;
	transition: all .3s ease;
}
form p {
	padding-bottom: 50px;
	text-align: center;
}
/**********/
/* FOOTER */
/**********/
footer {
	margin-top: 50px;
	padding-top: 25px;
	padding-bottom: 25px;
	background-color: #0c4f7d;
}
.footerNav {
	display: flex;
	justify-content: space-evenly;
}
footer a {
	display: block;
	padding-bottom: 10px;
}
footer a:hover {
    text-decoration: underline;
    transition: all .3s ease;
}
footer h1 {
	font-size: 120%;
	color: white;
	padding-bottom: 25px;
}
footer a, footer p {
	color: #ecf0f1;
}
footer p {
	text-align: center;
	padding: 20px;
}
/**************/
/* RESPONSIVE */
/**************/
@media (max-width: 600px) {
	body {
		padding: 20px;
	}
	nav {
		display: none;
	}
	.contact-left img {
		display: none;
	}
	.contact-right {
		width: 100%;
	}
	.contact-inputs, .contact-right textarea {
		width: 100%;
		max-width: 100%;
	}
	footer {
		padding-left: 40px;
	}
	footer h1 {
		padding-top: 20px;
	}
	footer p {
		text-align: left;
		padding-left: 0px;
	}
	.footerNav {
		flex-direction: column;
	}
	.smallNav img {
		width: 250px;
	}
}
@media (width > 600px) {
	.gallery figure:nth-child(1) {
		grid-area: span 2 / span 2;
	}
	.gallery figure:nth-child(4n + 1) {
		grid-row: span 2;
	}
	.gallery figure:nth-child(4n + 2) {
		grid-column: span 2;
	}
}
@media (width < 1200px) {
	nav {
		display: none;
	}
}
@media (width > 1200px) {
	.smallNav {
		display: none;
	}
}
@media (max-width: 1024px) {
	body {
		padding-left: 50px;
		padding-right: 50px;
	}
	.products-container, .contact-container, .joke {
		flex-direction: column;
		text-align: center;
	}
	.products-left img, .contact-left img, .joke img {
		width: 100%;
		max-width: 400px;
	}
	.contact-inputs {
		width: 100%;
		max-width: 400px;
	}
}