/** @format */

html,
body {
	font-family: sans-serif;
	padding: 0 1em;
	font-size: 19px;
	background: #222;
	color: #aaa;
	text-align: center;
}

p {
	margin: 1.5em 0;
	color: #aaa;
}

img {
	max-height: 50vh;
}

a {
	color: inherit;
}

a:hover {
	color: #bbb;
}

.italic {
	font-style: italic;
}
.small {
	font-size: 0.8em;
}

/** LIGHTBOX MARKUP **/

.lightbox {
	/* Default to hidden */
	display: none;

	/* Overlay entire screen */
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;

	/* A bit of padding around image */
	padding: 1em;

	/* Translucent background */
	background: rgba(0, 0, 0, 0.8);
}

/* Unhide the lightbox when it's the target */
.lightbox:target {
	display: block;
}

.lightbox span {
	/* Full width and height */
	display: block;
	width: 100%;
	height: 100%;

	/* Size and position background image */
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

/* hover affects */

html,
body {
	width: 100%;
	height: 100%;

	margin: 0;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	font-family: 'Open Sans Condensed', sans-serif;
}

div[class*='box'] {
	height: 33.33%;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.box-1 {
	background-color: #1b4388;
}
.box-2 {
	background-color: #222222;
}
.box-3 {
	background-color: #66a182;
}

.btn {
	line-height: 50px;
	height: 50px;
	text-align: center;
	width: 250px;
	cursor: pointer;
}

/* 
========================
      BUTTON ONE
========================
*/
.btn-one {
	color: #fff;
	transition: all 0.3s;
	position: relative;
}
.btn-one span {
	transition: all 0.3s;
}
.btn-one::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: 0;
	transition: all 0.3s;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: rgba(255, 255, 255, 0.5);
	border-bottom-color: rgba(255, 255, 255, 0.5);
	transform: scale(0.1, 1);
}
.btn-one:hover span {
	letter-spacing: 2px;
}
.btn-one:hover::before {
	opacity: 1;
	transform: scale(1, 1);
}
.btn-one::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	transition: all 0.3s;
	background-color: rgba(255, 255, 255, 0.1);
}
.btn-one:hover::after {
	opacity: 0;
	transform: scale(0.1, 1);
}

/* 
========================
      BUTTON TWO
========================
*/
.btn-two {
	color: #fff;
	transition: all 0.5s;
	position: relative;
}
.btn-two span {
	z-index: 2;
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
}
.btn-two::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	transition: all 0.5s;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background-color: rgba(255, 255, 255, 0.1);
}
.btn-two::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	transition: all 0.5s;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background-color: rgba(255, 255, 255, 0.1);
}
.btn-two:hover::before {
	transform: rotate(-45deg);
	background-color: rgba(255, 255, 255, 0);
}
.btn-two:hover::after {
	transform: rotate(45deg);
	background-color: rgba(255, 255, 255, 0);
}

/* 
========================
      BUTTON THREE
========================
*/
.btn-three {
	color: #fff;
	transition: all 0.5s;
	position: relative;
}
.btn-three::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background-color: rgba(255, 255, 255, 0.1);
	transition: all 0.3s;
}
.btn-three:hover::before {
	opacity: 0;
	transform: scale(0.5, 0.5);
}
.btn-three::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: 0;
	transition: all 0.3s;
	border: 1px solid rgba(255, 255, 255, 0.5);
	transform: scale(1.2, 1.2);
}
.btn-three:hover::after {
	opacity: 1;
	transform: scale(1, 1);
}
