/**
 * Nutikaks.ee compact project gallery
 * Author: Kardo Toonverk / arvutitehnik.ee
 */

.project-card.is-project-collapsed {
	display: none;
}

.project-expand-wrap {
	display: flex;
	justify-content: center;
	margin-top: 34px;
}

.project-expand-wrap[hidden] {
	display: none;
}

.project-expand-button {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 54px;
	padding: 0 12px 0 25px;
	border: 1px solid #cdd5df;
	border-radius: 999px;
	background: #fff;
	color: #0d1420;
	box-shadow: 0 14px 35px rgba(24, 43, 68, .08);
	font: inherit;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .04em;
	cursor: pointer;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.project-expand-button:hover,
.project-expand-button:focus-visible {
	transform: translateY(-2px);
	border-color: var(--blue);
	box-shadow: 0 18px 42px rgba(24, 43, 68, .14);
	outline: none;
}

.project-expand-button b {
	display: grid;
	place-items: center;
	width: 31px;
	height: 31px;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	font-size: 16px;
	line-height: 1;
	transition: transform .25s ease;
}

.project-expand-button.is-expanded b {
	transform: rotate(180deg);
}

@media (max-width: 620px) {
	.project-expand-wrap {
		margin-top: 24px;
	}

	.project-expand-button {
		justify-content: space-between;
		width: 100%;
	}
}
