.project-modal {
	position: fixed;
	border-radius: 5px;
	width: calc(100% - 40px);
	height: calc(100vh - 20px);
	max-width: 1400px;
	background-color: var(--white);
	z-index: 3;
	opacity: 1;
	transition: bottom 0.4s, opacity 0.4s 0s, z-index 0s 0s;
}

.modal.hidden .project-modal {
	right: calc(50% - 9px);
}

.project-modal__content {
	height: calc(100% - 65px);
	position: relative;
	top: 0;
	overflow-y: scroll;
	border-top: 1px solid var(--grey);
}

.content-sheet {
	padding: 40px;
	padding-left: 0;
	padding-bottom: 200px;
	display: grid;
	grid-template-columns: auto 320px;
}

@media (max-width: 1024px) {
	.content-sheet {
		grid-template-columns: 1fr;
		padding-right: 0;
	}
}

/* ~~~~~~~~~ Navigator ~~~~~~~~~~ */
.project-modal__list-item {
	position: relative;
}

.project-modal__list-item.close-modal {
	position: absolute;
}

.project-modal__nav-list {
	height: 0px;
	opacity: 0;
	position: absolute;
	overflow: hidden;
	top: calc(100% + 9px);
	left: -10px;
	z-index: 1;
	border: 0px;
	background-color: var(--white);
	outline-color: red, brown;
	transition: opacity 0.2s;
}

.project-modal__nav-list.hide {
	display: none;
}

.project-modal__list-item:not(.close-modal, .project-modal__inline)::after {
	content: '';
	position: absolute;
	height: 10px;
	top: 100%;
	left: 0;
	width: 100%;
}

.project-modal__list-item:hover .project-modal__nav-list {
	height: initial;
	opacity: 1;
	border: 1px solid var(--grey);
	border-top-color: var(--white);
}

.project-modal__nav-item {
	margin-top: -2px;
	width: 230px;
	left: -10px;
	padding: 10px;
	transition: background-color 0.5s, color 0.5s;
}

.project-modal__nav-item:hover {
	transition: background-color 0.2s, color 0.2s;
	background-color: var(--primary);
	color: var(--white);
}

.project-modal__inline {
	vertical-align: middle;
}

/* ~~~~~~~~~~~~ Main ~~~~~~~~~~~~ */

.content-sheet__main {
	text-align: justify;

	-ms-word-break: break-all;
	word-break: break-all;
	word-break: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

.content-sheet__main h2,
.content-sheet__main section > *:not(.image-container.large, .image-container.inline),
.content-sheet__main .image-container.large .image__footer {
	width: 80%;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.content-sheet__main .image-container.large .image__footer {
	max-width: 710px;
}

.content-sheet__main .image-container {
	width: 100%;
	padding: 10px 0;
}

.content-sheet__main .image-container img {
	width: 100%;
}

/**
 * The current selector is overly complex but necessary to override existing styles.
 * You can change the ".image-container" class to something more relevant if needed.
 */
.content-sheet__main section div.image-group:not(.image-container) {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 20px;
}

.content-sheet__main section .image-container.large {
	width: 95%;
	margin: 0;
}

.content-sheet__main .image__footer {
	font-size: 0.9rem;
	color: var(--dark-grey);
}

.content-sheet__main section .image-container .image__footer.d-none,
.content-sheet__main section .image-container.large .image__footer.d-none {
	display: none;
}

.content-sheet__main .thumbnail {
	margin: 10px 0;
}

.content-sheet__main .italic {
	font-style: italic;
}

.content-sheet__main .bold {
	font-weight: 600;
}

@media (max-width: 1024px) {
	.content-sheet__main section .large {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.content-sheet__main section div.image-group:not(.image-container) {
		grid-template-columns: 1fr;
	}

}

/* ~~~~~~~~~~~~ Card ~~~~~~~~~~~~ */

.content-sheet__card__list {
	padding: 10px 0;
	font-size: 0.94rem;
	position: relative;
}

.content-sheet__card__list.position-sticky {
	position: sticky;
	top: 40px;
}

.content-sheet__card__list li:not(.mb-0) {
	padding-bottom: 1rem;
}

.content-sheet__card__list .title {
	font-weight: 500;
	font-size: 1.1rem;
	color: var(--primary);
}

.content-sheet__card__list .description p:last-child {
	padding-bottom: 0;
}

.content-sheet__card .social-urls {
	display: flex;
	justify-content: flex-start;
	gap: 20px;
}

.content-sheet__card .button {
	position: static;
	display: inline-block;
}

.content-sheet__card .social-urls li {
	color: #000;
	filter: invert(11%) sepia(0%) saturate(0%) hue-rotate(1deg) brightness(105%) contrast(97%);
	transition: 0.2s;
}

.content-sheet__card .social-urls li:hover {
	filter: invert(21%) sepia(34%) saturate(3870%) hue-rotate(338deg) brightness(100%) contrast(90%);
}

.content-sheet__card .card-list {
	padding-left: 40px;
}

.content-sheet__card .card-list li {
	padding-bottom: 0.2rem;
}

@media (max-width: 1024px) {
	.content-sheet__card {
		width: 80%;
		margin-left: auto;
		margin-right: auto;
		padding-top: 20px;
	}
}
