.multiphone-widget {
	max-height: 90px;
	transition: max-height 1.3s;
}

.multiphone-widget:hover {
	max-height: 500px;
}

.multiphone-blocks {
	display: flex;
	flex-wrap: wrap;
	flex-flow: wrap-reverse;
	perspective: 10px;
	transform: perspective(300px) rotateX(20deg);
	will-change: perspective;
	perspective-origin: center center;
	transition: all 1.3s ease-out;
	justify-content: center;
	transform-style: preserve-3d;
	margin-bottom: 50px;
}

.multiphone-blocks>div {
	height: 50px;
}

.multiphone-blocks:hover {
	perspective: 1000px;
	transition: all 1.3s ease-in;
	transform: perspective(10000px) rotateX(0deg);
}

.multiphone-blocks {
	pointer-events: none;
}

.multiphone-blocks>div {
	pointer-events: auto;
}

.multiphone-blocks:hover .multiphone-text {
	opacity: 1;
}

.multiphone-blocks:hover > div {
	opacity: 1;
	transition-delay: 0s;
}

.multiphone-main-block, .multiphone-office-block {
	width: 200px;
	height: 150px;
	margin-bottom: 35px;
	transform-style: preserve-3d;
	border-radius: 10px;
	border: 1px solid #fff;
	box-shadow: 0 0 20px 3px #fcc600;
	opacity: 0;
	transition: all 0.3s ease;
	transition-delay: 1s;
	position: relative;
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	background-color: #fcc600;
	cursor: pointer;
	background-blend-mode: color-burn;
	flex: 1 1 135px;
}

.multiphone-office-block:hover, .multiphone-main-block:hover {
	box-shadow: 0 0 30px 10px #fff;
}

.multiphone-text {
	transform: translateY(30px);
	opacity: 0;
	transition: all 0.3s ease;
	bottom: 0;
	left: 5px;
	position: absolute;
	will-change: transform;
	color: #fff;
	font-weight: 600;
	font-size: 18px;
	width: 150px;
	text-align: center;
}

.multiphone-inner {
	display: block;
	font-size: 18px;
	line-height: 50px;
	text-align: center;
	text-decoration: none;
	color: #000;
}

.multiphone-main-block {
	opacity: 1;
}

.multiphone-explainer {
	font-weight: 300;
	font-size: 2rem;
	color: #fff;
	transition: all 0.6s ease;
	width: 100%;
	height: 100%;
	background-color: $color;
	border-radius: 10px;
	text-shadow: 0 0 10px rgba(255, 255, 255, .8);
	display: flex;
	justify-content: center;
	align-items: center;
}

