/*
Theme Name:  Chris Chaney
Theme URI:    https://chrischaney.co.uk
Description:  Theme for my website
Author:       Chris Chaney
Author URI:   https://chrischaney.co.uk
Template:     storefront
Version:      1.0.3
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  chrischaney
*/

.about-wrapper {
	display: flex;
  	position: relative;
  	isolation: isolate;
  	box-sizing: border-box;
  	align-items: center;
  	flex-direction: column;
  	width: 100%;
}

.about-outer {
	align-items: center;
	display: flex;
	flex-direction: column;
	width: 280px;
	max-width: 320px;
	flex: 1;
}

.about-inner {
	border-radius: 50%;
	height: 312px;
	-webkit-tap-highlight-color: transparent;
	transform: scale(0.55);
	transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
	width: 400px;
}

.about-wrapper:hover .about-inner {
	transform: scale(0.7);	
}

.about-inner picture {
	display: block;
	clip-path: path( "M 390,400 C 390,504.9341 304.9341,590 200,590 95.065898,590 10,504.9341 10,400 V 10 H 200 390 Z" );
	position: relative;
	transform-origin: 50%;
	top: -200px;	
}

.about-inner .circle {
	  background-color: #3568BD;
	  border-radius: 50%;
	  cursor: pointer;
	  height: 380px;
	  left: 10px;
	  pointer-events: none;
	  position: absolute;
	  top: 210px;
	  width: 380px;
	  opacity: .7;
}

.about-inner img {
	pointer-events: none;
	position: relative;
	transform: translateY(20px) translateX(-50%) scale(1.05);
	transform-origin: 50% bottom;
	transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
	left: 50%;
	top: 164px;
	width: 340px;
}

.about-wrapper:hover .about-inner img {
	transform: translateY(0) translateX(-50%) scale(1.2);
}

.about-wrapper .text-content {
	position: relative;
	width: 100%;
	opacity: 0;
	background-color: rgba(255,255,255,0.7);
	padding: 1rem;
	border-radius: 1rem;
	transition: all ease-in-out .25s;
	margin-top: 0;
	transform: translateY(100%);
	max-height: 0;
	overflow: hidden;
}

.about-wrapper:hover .text-content {
	margin-top:1rem;	
	opacity: 1;
	transform: translateY(0);
	max-height: min-content;
}