@import 'modern-normalize.css';


body {
	background: #272A36;
	color: rgba(255,255,255,0.72);
}

h1 {
	font-size: 8rem;
	font-weight: 900;
	color: rgba(255,255,255,0.9);
	margin: 96px auto 16px auto;
	padding: 0px 32px;
	max-width: 1376px;
}

p.description {
	font-size: 2rem;
	font-weight: 400;
	color: rgba(255,255,255,0.50);
	margin: 0 auto 32px auto;
	padding: 0px 32px;
	max-width: 1376px;
}

h2 {
	font-size: 4rem;
	font-weight: 900;
	color: rgba(255,255,255,0.9);
	margin: 96px auto 32px auto;
	padding: 0px 32px;
	max-width: 1376px;
}

a {
	color: #F92B47;
}

.buttons {
	margin: 48px auto 0px;
	padding: 0px 32px;
	max-width: 1376px;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 32px;
}

.buttons a {
	position: relative;
	overflow: hidden;
	width: 100%;
	grid-area: span 1 / span 3;
	border-radius: 16px;
	text-align: center;
	color: rgba(255,255,255,1);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.36px;
	text-decoration: none;
	background: red;
	padding: 0;
	margin: 0;
	height: 80px;
	line-height: 80px;
	transition: all .1s ease-in-out;
	cursor: pointer;
}


.buttons a:hover {
	background: #FFFFFF;
	color: #272A36;
	border: 2px solid #FFFFFF;
	box-shadow: 0 16px 48px rgba(0,0,0,0.16);
	transform: scale(1.04);
	cursor: pointer;
}

a.button-email {
	background: #E4223C;
}

a.button-email i:before {
	display: inline-block;
	content: ' ';
	background-image: url('../images/icon-email.svg');
	background-size: 32px 32px;
	height: 32px;
	width: 32px;
	margin: 0 16px 0 0;
	position: relative;
	top: 7px;
	filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(132deg) brightness(101%) contrast(104%);
}

a.button-email:hover i:before {
	filter: invert(0%) sepia(100%) saturate(7428%) hue-rotate(30deg) brightness(116%) contrast(116%);
}


a.button-twitter {
	background: rgb(29,161,242);
}

a.button-twitter i:before {
	display: inline-block;
	content: ' ';
	background-image: url('../images/icon-twitter.svg');
	background-size: 32px 32px;
	height: 32px;
	width: 32px;
	margin: 0 16px 0 0;
	position: relative;
	top: 7px;
	filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(132deg) brightness(101%) contrast(104%);
}

a.button-twitter:hover i:before {
	filter: invert(0%) sepia(100%) saturate(7428%) hue-rotate(30deg) brightness(116%) contrast(116%);
}


a.button-mastodon {
	background: #595aff;
}

a.button-mastodon i:before {
	display: inline-block;
	content: ' ';
	background-image: url('../images/icon-mastodon.svg');
	background-size: 32px 32px;
	height: 32px;
	width: 32px;
	margin: 0 16px 0 0;
	position: relative;
	top: 7px;
	filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(132deg) brightness(101%) contrast(104%);
}

a.button-mastodon:hover i:before {
	filter: invert(0%) sepia(100%) saturate(7428%) hue-rotate(30deg) brightness(116%) contrast(116%);
}

a.button-dribbble {
	background: #ea4c89;
}

a.button-dribbble i:before {
	display: inline-block;
	content: ' ';
	background-image: url('../images/icon-dribbble.svg');
	background-size: 32px 32px;
	height: 32px;
	width: 32px;
	margin: 0 16px 0 0;
	position: relative;
	top: 7px;
	filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(132deg) brightness(101%) contrast(104%);
}

a.button-dribbble:hover i:before {
	filter: invert(0%) sepia(100%) saturate(7428%) hue-rotate(30deg) brightness(116%) contrast(116%);
}



.work {
	margin: 32px auto 0px;
	padding: 0px 32px;
	max-width: 1376px;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 32px;
}

.card {
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.12);
}

a.card {
	transition: all .1s ease-in-out;
}

a.card:hover {
	transform: scale(1.04);
	border: 2px solid #FFFFFF;
	box-shadow: 0 16px 48px rgba(0,0,0,0.16);
}


.card-single {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 324px;
	grid-area: span 1 / span 3;
	border-radius: 16px;
}

.card-double {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 324px;
	grid-area: span 1 / span 6;
	border-radius: 16px;
}



.app-icons .card-img-wrapper {
	position: relative;
	width: 100%;
	display: flex;
	place-content: center;
	-moz-box-pack: center;
	padding: 24px 0px 16px;
}

.app-icons .card-single img {
	width: 200px;
	height: 200px;
}

.app-icons .card-double img {
	width: auto;
	max-height: 200px;
}



.ui-icons .card-img-wrapper {
	position: relative;
	width: 100%;
	display: flex;
	place-content: center;
	-moz-box-pack: center;
	padding: 0;
}

.ui-icons .card-single img {
	width: auto;
	height: 240px;
}

.ui-icons .card-double img {
	width: auto;
	height: 240px;
}

.project-ui-icons-focusplan { background: #1C59C1; }
.project-ui-icons-sheetplanner { background: #2A2B2D; }
.project-ui-icons-home-plus { background: #1C1C1E; }
.project-ui-icons-lightricks { background: #04B0BB; }
.project-ui-icons-geekbench { background: #00579A; }
.project-ui-icons-acorn { background: #8F5725; }
.project-ui-icons-skeuomorphic { background: #3B435F; }
.project-ui-icons-halloween { background: #392462; }
.project-ui-icons-holidays { background: #8269AE; }
.project-ui-icons-macos-preferences { background: #30384C; }





.illustrations .card-img-wrapper {
	position: relative;
	width: 100%;
	display: flex;
	place-content: center;
	-moz-box-pack: center;
	padding: 0;
}

.illustrations .card {
	height: 240px;
}

.illustrations .card img {
	width: 650px;
	height: 240px;
}






.card-text-wrapper {
	position: absolute;
	padding: 0;
	bottom: 16px;
	width: 100%;
	text-align: center;
}

.card-text-wrapper p.title {
	color: rgba(255,255,255,0.90);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.36px;
	width: 100%;
	margin: 0;
}

.card-text-wrapper p {
	margin-top: 4px;
	color: rgba(255,255,255,0.50);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: -0.32px;
	line-height: 22.5px;
	width: 100%;
}





.about {
	margin: 32px auto 96px;
	padding: 0px 32px;
	max-width: 1376px;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 32px;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.3em;
}

.about-image {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-height: 350px;
	grid-area: span 1 / span 3;
	border-radius: 16px;
}

.about-image img {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
}

.about-text {
	position: relative;
	overflow: hidden;
	width: 100%;
	grid-area: span 1 / span 9;
}



.footer {
	text-align: center;
	font-size: 24px;
	font-weight: 400;
	padding: 32px 0;
}


@media only screen and (max-width: 820px) {
	
	.alt-icons {
		display: none;
	}
	
}



@media only screen and (max-width: 900px) {
	
	
	
	.buttons span {
		display: none;
	}
	
	.buttons a.button-email i::before,
	.buttons a.button-twitter i::before,
	.buttons a.button-mastodon i::before,
	.buttons a.button-dribbble i::before {
		margin: 0 auto !important;
	}
	
}


@media only screen and (max-width: 600px) {
	
	h1 {
		font-size: 4rem;
		line-height: 1.1em;
		margin: 32px auto 16px auto;
		padding: 0px 16px;
	}
	
	p.description {
		font-size: 1.4rem;
		line-height: 1.3em;
		font-weight: 400;
		margin: 0 auto 32px auto;
		padding: 0 16px;
	}
	
	h2 {
		font-size: 2.4rem;
		font-weight: 900;
		margin: 48px auto 32px auto;
		padding: 0 16px;
	}

	
	
	
	.about {
		margin: 32px auto 32px;
		padding: 0 16px;
		font-size: 1.1rem;
		line-height: 1.5em;
	}
	
	.about-image {
		grid-area: span 1 / span 12;
		padding: 0 0;
	}

	
	.about-text {
		position: relative;
		overflow: hidden;
		width: 100%;
		grid-area: span 1 / span 12;
		padding: 0 0;
	}
	
	
	.buttons {
		
		gap: 16px;
		padding: 0 16px;
	}

	.buttons a {
		grid-area: span 1 / span 6;
	}
	
	.buttons span {
		display: none;
	}
	
	.buttons a.button-email i::before,
	.buttons a.button-twitter i::before,
	.buttons a.button-mastodon i::before,
	.buttons a.button-dribbble i::before {
		margin: 0 auto !important;
	}
	

	.footer {
		font-size: 1.1rem;
		line-height: 1.5em;
	}
	

	.work {
		margin: 32px auto 0px;
		padding: 0px 16px;
		gap: 16px;
	}
	
	
	.card-single {
		position: relative;
		overflow: hidden;
		width: 100%;
		height: auto;
		grid-area: span 1 / span 6;
		border-radius: 16px;
	}
	
	.card-double {
		position: relative;
		overflow: hidden;
		width: 100%;
		height: auto;
		grid-area: span 1 / span 6;
		border-radius: 16px;
	}
	
	
	.ui-icons .card-single,
	.ui-icons .card-double {
		grid-area: span 1 / span 12;
	}
	
	.illustrations .card-single,
	.illustrations .card-double {
		grid-area: span 1 / span 12;
	}
	
	
	
	.card-img-wrapper {
		place-content: center;
		-moz-box-pack: center;
		padding: 0 0px 0;
	}
	
	.app-icons .card-img-wrapper {
		padding: 0;
	}
	
	.app-icons .card-img-wrapper img {
		padding: 8px;
		width: 156px;
		height: 156px;
	}

	.card-text-wrapper {
		display: none;
	}

}


@media (min-width: 601px) and (max-width: 1150px) {

	.card-single {
		grid-area: span 1 / span 6;
	}
	
	.card-double {
		grid-area: span 1 / span 6;
	}

}
