.headerbox-search-form {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--seach-input-icon-bg: var(--primary-color-800);
	--seach-input-icon-bg-hover: var(--primary-color-600);

	display: flex;
	height: 100%;
}

.search-cont {
	grid-column: 1 / 4;
}

.search-cont .toggle-desktop {
	display: none;
}

.headerbox-search-form button[type="submit"] i {
	font-size: 24px;
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 100%;
	margin: 0;
	font-size: 1.4rem;
	text-indent: var(--space-1);
	font-family: var(--font-family-body);
	padding-left: 16px;
	padding-right: 16px;
}

.headerbox-search-form input[type="search"]:focus {
	outline: 1px dashed white;
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: 1.4rem;
}

.headerbox-search-form button {
	width: 60px;
	height: 100%;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--rose);
}

.headerbox-search-form button:hover {
	background-color: var(--rose);
}

.search-cont .search-button {
	display: none;
	background: transparent;
	color: var(--search-icon);
}

.search-cont .search-outer-cont {
	height: 40px;
}

@media screen and (min-width: 64em) {
	.search-cont {
		position: relative;
	}

	.search-cont .search-button .close {
		display: none;
	}

	.search-cont.active .search-button .open {
		display: none;
	}

	.search-cont.active .search-button .close {
		display: block;
	}

	.search-cont .search-outer-cont {
		display: flex;
		width: 620px;
		height: 75px;
		opacity: 0;
		pointer-events: none;
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		height: 100vh;
		z-index: 25;
		transition: opacity 200ms ease-in-out;
	}

	.search-cont .search-outer-cont::after {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: -1;
		background-color: var(--dark-blue);
		opacity: 0.85;
	}

	.search-cont.active .search-outer-cont {
		opacity: 1;
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.search-cont .search-button {
		display: block;
		width: 25px;
		height: 25px;
	}
	.search-cont .search-button.active {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 30;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 80px;
		height: 80px;
		background-color: var(--green);
		border-bottom-left-radius: 100%;
	}

	.headerbox-search-form {
		height: 75px;
		width: 620px;
		margin: 240px auto 0;
	}

	.search-cont .toggle-desktop {
		display: block;
	}

	.headerbox-search-form input[type="search"] {
		width: 80%;
	}

	.headerbox-search-form button {
		width: 20%;
	}
}
