/* Vonique 43 */
@font-face {
	font-family: "vonique43";
	src: url("../font/vonique43.otf") format("opentype");
}

:root {
	--primary-color: #141414;
	--secondary-color: #b2523b;
	--secondary-color-hover: #cb8473;
}

.go-back-btn {
	position: absolute;
	top: 48px;
	left: 48px;
}

.go-back-btn img {
	height: 36px;
}

.hero-container {
	height: 760px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.work-details {
	background-color: #f5f3ef;
	margin: 0;
	padding: 40px 170px;

	flex-direction: row;
	justify-content: space-between;

	color: #6a6a70;
	font-size: 16px;
}

.work-details .details {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.work-details .title {
	color: #000;
	font-size: 24px;
}

.work-details .subtitle {
	font-size: 16px;
}

.work-details .specs {
	display: flex;
	position: relative;
	gap: 12px;
}

.work-details .specs .spec-separator {
	width: 1.5px;
	height: 46px;
	background-color: #6a6a70;
	opacity: 0.5;
}

.work-details .icon-text {
	display: flex;
	gap: 5px;
}

.work-details .right-box {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.picture-slider {
	display: flex;
	gap: 15px;
}

.picture-slider .picture-prev-button,
.picture-slider .picture-next-button {
	padding: 15px;
	border-radius: 10px;
	border: none;
	background: none;
	display: none;

	cursor: pointer;
}

.work-details .pictures {
	display: flex;
	flex-wrap: nowrap;
	max-width: 550px;
	overflow-x: scroll;
	gap: 12px;
	user-select: none;
}

.work-details .pictures::-webkit-scrollbar {
	display: none;
}

.work-details .picture {
	background-color: #84b23b;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;

	min-height: 96px;
	min-width: 112px;

	cursor: pointer;
	transition: 0.3s;
}

.work-details .btn-contact {
	border: none;
	background: var(--secondary-color);
	color: #fff;
	padding: 20px 40px;

	max-width: fit-content;
	align-self: end;
}

.slider-section {
	background-color: #f5f3ef;
	margin: 0 !important;
	padding: 80px 170px;
}

.work-description {
	flex-direction: row;
	justify-content: space-between;
	background: white;
}

.work-description > h1 {
	font-size: 46px;
	font-family: vonique43;
}

.work-description > .right-box {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.work-description > .right-box > p {
	max-width: 700px;
	font-size: 16px;
}

.work-description .read-more-btn {
	border: none;
	background: none;
	max-width: fit-content;
	color: var(--secondary-color);
	font-size: 16px;

	position: relative;
}

.work-description .read-more-btn::after {
	content: "";
	display: block;
	position: absolute;
	bottom: -5px;

	height: 1px;
	width: 100%;
	background-color: var(--secondary-color);
	opacity: 0.5;
}

@media only screen and (max-width: 1300px) {
	section {
		padding: 80px 40px;
		justify-content: center;
	}

	.work-details {
		justify-content: center;
		padding: 80px 40px;
	}
}

@media only screen and (max-width: 1100px) {
	.work-details .pictures {
		max-width: 350px;
	}
}

@media only screen and (max-width: 1000px) {
	.work-description {
		flex-direction: column;
	}
}

@media only screen and (max-width: 900px) {
	.work-details {
		flex-direction: column;
	}

	.btn-contact {
		display: none;
	}

	.hero-container {
		height: 500px;
	}
}

@media only screen and (max-width: 550px) {
	.work-details {
		align-items: center;
		padding-top: 50px !important;
	}

	.work-details .pictures {
		max-width: 250px;
	}

	.hero-container {
		height: 300px;
	}
}
