/* Edited by Joseph Tajaran. I made this for my UX portfolio gotajaran.com Nice to meet you :) */

/* OVERALL --------------------------------------------------*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	display: flex;
	justify-content: center;
	width: 100%;
	overflow: visible;
}

/* Content Wrapper */
.joseph {
	width: 100%;
}

/* Horizontal line */
hr {
  border: 1px solid rgba(0,0,0,0.1);
	margin: 64px 0;
}

/* Center Align Content */
#center-align {
	text-align: center;
	align-items: center;
}

/* TYPOGRAPHY --------------------------------------------------*/
/* Metropolis Font ---*/
@font-face {
	font-family: Metropolis;
	src: url(Metropolis-Bold.otf);
}

h1,
h2,
h3,
h4,

.go-back a,
figcaption {
	font-family: Metropolis, arial, sans-serif;
	line-height: 1.3;
	font-weight: bold;
}


/* Inter Font ---*/
@font-face {
	font-family: Inter;
	src: url(Inter-Regular.otf),
			 url(Inter-Bold.otf);
}


p,
a {
	font-family: Inter, arial, sans-serif;
	line-height: 1.5;
	font-weight: normal;
}

h5 {
	font-family: Inter, arial, sans-serif;
	line-height: 1.3;
	font-weight: bold;
}

/* Font Colors ---*/
h1,
h2,
h3,
h5,
i,
nav a,
p,
.backwards,
.go-back a,
strong {
	color: #111111;
}

.three-col-image p,
.three-col-image p i {
	color: #FFFFFF;
}

#intro-p,
p > a,
.three-col-content p,
.two-col-item p,
figcaption {
	color: rgb(0, 0, 0, 0.6);
}

h4,
h4 i{
	color: #0290EE;
	letter-spacing: 0.05em;
}

/* Font Sizes ---*/
h1 {
	font-size: 54px;
}

h2 {
	font-size: 36px;
}

h3 {
	font-size: 24px;
}

#h3-p,
#h3-nopic {
	margin-top: 48px;
}

p,
h5,
.go-back a,
.go-back a i {
	font-size: 18px;
}

h4,
nav a,
figcaption,
.three-col-content p,
.two-col-item p,
footer p,
footer a,
.backwards {
	font-size: 16px;
}

#h5-two-col {
	margin: 8px 0;
}

i,
.three-col-image p,
.three-col-image p i {
	font-size: 14px;
}

/* Backwards text so my email and phone number don't get pick up from bots */
.backwards {
	unicode-bidi: bidi-override;
	direction: rtl;
	font-family: Inter;
	line-height: 2;
}

/* Strong formatting */
strong,
strong > a {
	font-weight: bold;
}

#special-txt {
	margin-top: 16px;
	letter-spacing: 0.025em;
}

/* HYPERLINK --------------------------------------------------*/
a {
	text-decoration: none;
}

header a:hover,
header a:hover i,
p > a,
.footer-menu li:hover a,
.footer-menu li:hover a i,
.go-back:hover a,
.go-back:hover a i,
.content p a {
	color: #0290EE;
}

.footer-menu a {
	color: #111111;
}

.curve-container a {
	color: #FFFFFF;
}

p > a:hover,
.content p a:hover {
	text-decoration: underline;
}

/* LISTS --------------------------------------------------*/
header ul,
footer ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

footer ul a {
	line-height: 2;
}

/* IMAGES --------------------------------------------------*/
/* Logo */
.logo {
	width: 64px;
}

/* Long logo in the header */
.logo img:nth-child(1) {
	max-width: 64px;
	width: 100%;
	height: auto;
}

/* Short logo in the header */
.logo img:nth-child(2) {
	width: 100%;
	height: auto;
}

/* Showing large images for desktop */
#large-logo {
	display: block;
}

/* Hiding small images for mobile */
#small-logo {
	display: none;
}

/* COLOR --------------------------------------------------*/
/* Adding radius and shadow to home page thumb */
a .three-col-image img {
	border-radius: 4px;
	box-shadow: 0px 32px 64px rgba(0, 0, 0, 0.4);
}

/* Suicide is Different - Bg Color */
#sid-bg {
	background-color: #4EA459;
}

/* Green Shirt Studio - Bg Color */
#gss-bg {
	background-color: #3A8149;
}

#gss-bg-2,
#cc-bg-2,
#ides-bg-2,
#sdt-bg-2,
#sid-bg-2,
#alt-bg {
	background-color: #EFEFEF;
}

/* Crowd Capital - Bg Color */
#cc-bg {
	background-color: #7AB648;
}

/* Strata Decision Technology - Bg Color */
#sdt-bg {
	background-color: #FF7139;
}

/* IDES - Bg Color */
#ides-bg {
	background-color: #17397D;
}

/* DonorDrive - Bg Color */
#dd-bg {
	background-color: #12A0D7;
}

/* Beauty App - Bg Color */
#beauty-bg {
	background-color: #414141;
}

/* Shipment Widget - Bg Color */
#shipment-bg {
	background-color: #5756B3;
}

/* Blank Case Study - Bg Color */
#no-bg {
	background-color: transparent;
}

/* PADDING --------------------------------------------------*/
/* Adding top/bottom padding to 2nd lvl wrapper */
#three-col-padding {
	padding: 64px 0;
}

/* Adding bottom padding to 2nd lvl wrapper */
#bottom-padding {
	padding-bottom: 64px;
}

/* Adding bottom padding to 2nd lvl wrapper */
#bottom-margin-2 {
	margin-bottom: 16px;
}

/* Padding for flex items - Down */
#three-col-padding a:nth-child(1),
#three-col-padding a:nth-child(2),
#three-col-padding a:nth-child(3),
#three-col-padding a:nth-child(1),
.three-col-child div.three-col-item:nth-child(2),
.three-col-child div.three-col-item:nth-child(3),
.three-col-child div.three-col-item:nth-child(4),
.two-col-child .two-col-item:nth-child(1),
.two-col-child .two-col-item:nth-child(2),
.two-col-child .two-col-item:nth-child(3),
.two-col-child .two-col-item:nth-child(4) {
	padding-bottom: 32px;
}

/* Padding for flex items - Up */
#three-col-padding a:nth-child(4),
#three-col-padding a:nth-child(5),
#three-col-padding a:nth-child(6),
.three-col-child div.three-col-item:nth-child(5),
.three-col-child div.three-col-item:nth-child(6),
.three-col-child div.three-col-item:nth-child(7),
.two-col-child .two-col-item:nth-child(3),
.two-col-child .two-col-item:nth-child(4) {
	padding-top: 32px;
}

/* Adding padding in-between content*/
.content h4 {
	padding-bottom: 16px;
}

/* Adding padding for p */
.content p {
	padding-top: 16px;
}

/* Adding padding for p */
#body p {
	padding-bottom: 16px;
}

/* 4th Lvl 3-col Wrapper ----------*/
.three-col-content h3 {
	padding: 8px 0;
}

/* 4th Lvl 2-col Wrapper ----------*/
.two-col-item h3 {
	padding-top: 8px;
	padding-bottom:8px;
}


/* HEADER --------------------------------------------------*/
/* Parent container for the header */
header {
	display: flex;
	flex-flow: row no wrap;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 92px;
}

/* Header > .nav-bar */

.nav-bar {
	max-width: 1440px;
	width: 100%;
	padding: 16px 70px 0 70px;
}

/* .nav-bar > nav */
nav {
	display: flex;
	justify-content: space-between;
	width: auto;
}

/* nav > .header-menu */
.header-menu {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: auto;
}

/* PRIMARY WRAPPER --------------------------------------------------*/
main {
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	height: auto;
}

/* main > .content */
.wrapper {
	max-width: 1440px;
	width: 100%;
}

/* CONTENT --------------------------------------------------*/
/* Highest Wrappers ----------*/
/* 1st Lvl Wrapper */
.content-parent {
	width: 100%;
	padding: 0 70px;
}

/* 2nd Lvl Wrapper */
.content-child {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	width: 100%;
}

/* 3rd Lvl Wrapper - Content ----------*/
.content {
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	max-width: 650px;
	width: 100%;
	padding: 64px 0;
}

/* Making the P content shorter in the intro */
#intro {
	max-width: 540px;
	width: 100%;
}

/* 3rd Level Wrapper - Large Image ----------*/
.content-img-container {
	display: flex;
	flex-flow: column nowrap;
	max-width: 1440px;
	width: 100%;
	height: auto;
	margin-bottom: 64px;
}

.content-img-container img {
	width: 100%;
	height: auto;
}

.content-img {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
	max-width: 1440px;
	width: 100%;
	height: auto;
	padding: 80px;
}

.content-img-child {
	margin: 0 32px;
}

.content-img img {
	max-width: 100%;
	max-height: 100%;
	min-width: 0;
	border-radius: 4px;
	box-shadow: 0px 32px 64px rgba(0, 0, 0, 0.4);
}


.content-img-container figcaption {
	margin-top: 16px;
}

/* No resized Image in the content container */
#large-img {
	width: 100%;
	height: auto;
}

/* Resized Image @620px in the content container */
#mid-img {
	max-width: 620px;
	width: 100%;
	height: auto;
}


/* 3 COLUMN CONTENT --------------------------------------------------*/
/* Highest Wrappers ----------*/
/* 1st Lvl Wrapper */
.three-col-parent {
	width: 100%;
	padding: 0 70px;
}

/* 2nd Lvl Wrapper */
.three-col-child {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	width: 100%;
}

/* 3rd Lvl Wrapper - Flex Items ----------*/
.three-col-item {
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
	max-width: 393px;
	width: 27vw;
}

/* 4th Lvl Wrapper - Image Container ----------*/
a .three-col-image,
div .three-col-image {
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	width: 100%;
}

/* 4th Lvl Wrapper - Colored-bg Container height ----------*/
a .three-col-image {
	height: 417px;
}

/* Colored-bg image size */
.three-col-item #sid-bg img,
.three-col-item #gss-bg img,
.three-col-item #cc-bg img,
.three-col-item #sdt-bg img,
.three-col-item #ides-bg img,
.three-col-item #dd-bg img, 
.three-col-item #beauty-bg img,
.three-col-item #shipment-bg img  {
	max-width: 286px;
	width: 85%;
	height: auto;
	margin: 48px;
}

/* Icon image size */
div .three-col-image img {
	max-width: 64px;
	width: 100%;
	height: auto;
}

/* Image hover effects */
.three-col-image img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

/* Activate image hover */
a:hover .three-col-image img {
	-webkit-transform: scale(.95);
	transform: scale(.95);
}

/* Activate underline h3 hover */
a:hover h3 {
  text-decoration: underline !important;
}

/* Make the last child unclickable
.three-col-child a:nth-child(6) {
	pointer-events: none;
} */

/* 4th Lvl Wrapper - Content Container ----------*/
.three-col-content {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	width: 100%;
	padding-top: 16px;
}

.three-col-image p {
	margin-bottom: 24px;
}

/* 2 COLUMN CONTENT --------------------------------------------------*/
/* Highest Wrappers ----------*/
/* 1st Lvl Wrapper */
.two-col-parent {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	width: 100%;
}

/* 2nd Lvl Wrapper */
.two-col-child {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	max-width: 846px;
	width: 59vw;
}

/* 3rd Lvl Wrapper - Flex Items ----------*/
.two-col-item {
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
	max-width: 393px;
	width: 27vw;
}

/* Icon image size */
.two-col-item img {
	max-width: 393px;
	width: 27vw;
	height: auto;
}

/* FOOTER --------------------------------------------------*/
footer {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	background-color: transparent;
}

/* footer > .footer-container */
.footer-container {
	max-width: 1300px;
	width: 100%;
	padding: 0 70px;
}

.copyright-container {
	display: flex;
	justify-content: center;
	width: 100%;
	text-align: center;
	padding: 64px 24px 24px 24px;
}



/* .footer-container > .footer-content */
.footer-content {
	display: flex;
	justify-content: space-between;
	width: 100%;
	padding: 32px 0;
}

/* .footer-content > .footer-info */
.footer-info {
	max-width: 414px;
	width: 100%;
	margin: 32px 0;
}

/* .footer-content > .bottom-nav-container  */
.bottom-nav-container {
	display: flex;
	justify-content: space-between;
	max-width: 620px;
	width: 100%;
}

/* .bottom-nav-container > .footer-menu  */
.footer-menu {
	margin: 32px 0;
	width: 163px;
}

/* Adding space below the logo  */
footer .logo img,
footer h5 {
	margin-bottom: 16px;
}

/* Container for back to top */
.curve-container {
	display: flex;
	justify-content: center;
	width: 100%;
	text-align: center;
	padding: 0 24px;
}

/* Container for back to top */
.curve-container a {
	width: auto;
}

/* .curve-container > .curve-parent */
.curve-parent {
	display: flex;
	justify-content: flex-end;
	width: auto;
	position: relative;
}

.curve-parent img {
	max-width: 394px;
	width: 100%;
}

/* .curve-parent > .centered */
.centered {
  position: absolute; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Go Back Container ----------*/
.go-back-container {
	display: flex;
	flex-flow: row nowrap;
	width: 100%;
	justify-content: center;
	align-items: center;
}

.go-back {
	display: flex;
	flex-flow: row nowrap;
	width: auto;
}



/* 1074px RESPONSIVE DESIGN --------------------------------------------- */
@media screen and (max-width: 1074px) {
	/* FOOTER --------------------------------------------------*/
	/* .footer-container > .footer-content */
	.footer-content {
		flex-flow: column nowrap;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	/* .footer-content > .footer-info */
	.footer-info {
		max-width: 620px;
	}

	/* .footer-content > .bottom-nav-container  */
	.bottom-nav-container {
		flex-flow: column nowrap;
		align-items: center;
		max-width: 620px;
	}
/*End @1074 media query */
}


/* 846px RESPONSIVE DESIGN --------------------------------------------- */
@media screen and (max-width: 846px) {
	/* PADDING --------------------------------------------------*/
	/* Padding for flex items - Down */
	#three-col-padding a:nth-child(1),
	#three-col-padding a:nth-child(2),
	#three-col-padding a:nth-child(3),
	#three-col-padding a:nth-child(1),
	.three-col-child div.three-col-item:nth-child(2),
	.three-col-child div.three-col-item:nth-child(3),
	.three-col-child div.three-col-item:nth-child(4),
	.two-col-child .two-col-item:nth-child(1),
	.two-col-child .two-col-item:nth-child(2) {
		padding-bottom: 32px;
		padding-top: 32px;
	}

	/* Padding for flex items - Up */
	#three-col-padding a:nth-child(4),
	#three-col-padding a:nth-child(5),
	#three-col-padding a:nth-child(6),
	.three-col-child div.three-col-item:nth-child(5),
	.three-col-child div.three-col-item:nth-child(6),
	.three-col-child div.three-col-item:nth-child(7),
	.two-col-child .two-col-item:nth-child(3),
	.two-col-child .two-col-item:nth-child(4) {
		padding-bottom: 32px;
		padding-top: 32px;
	}

	/* 3 COLUMN CONTENT --------------------------------------------------*/
	/* Highest Wrappers ----------*/
	/* 2nd Lvl Wrapper */
	.three-col-child,
	.two-col-child {
		display: flex;
		flex-flow: column nowrap;
		align-items: center;
		width: 100%;
	}

	/* 3rd Lvl Wrapper - Flex Items ----------*/
	.three-col-item,
	.two-col-item {
		display: flex;
		flex-flow: column wrap;
		justify-content: center;
		max-width: 846px;
		width: 100%;
	}

	/* 4th Lvl Wrapper - Image Container ----------*/
	a .three-col-image,
	div .three-col-image {
		display: flex;
		flex-flow: column nowrap;
		justify-content: center;
		align-items: center;
		width: 100%;
	}

	/* 4th Lvl Wrapper - Colored-bg Container height ----------*/
	a .three-col-image {
		height: auto;
	}

	/* Colored-bg image size */
	.three-col-item #sid-bg img,
	.three-col-item #gss-bg img,
	.three-col-item #cc-bg img,
	.three-col-item #sdt-bg img,
	.three-col-item #ides-bg img {
		max-width: 286px;
		width: 85%;
		height: auto;
		margin: 64px;
	}

	/* Icon image size */
	div .three-col-image img {
		max-width: 64px;
		width: 100%;
		height: auto;
	}

	/* Two-col item image size */
	.two-col-item img {
		max-width: 100%;
		width: 100%;
	}

	/* Container for the image */
	.three-col-image {
		height: auto;
	}

	/* Content in the card */
	.three-col-content p {
		max-width: 393px;
		width: 100%;
	}

	/* Blank Case Study - Bg Color 
	.three-col-parent a:nth-child(6) {
		display: none;
		background-color: transparent;
	} */
/*End @846px media query */
}


/* 620px RESPONSIVE DESIGN --------------------------------------------- */
@media screen and (max-width: 620px) {
	/* TYPOGRAPHY --------------------------------------------------*/
	/* Font Sizes ---*/
	h1 {
		font-size: 36px;
	}

	h2 {
		font-size: 24px;
	}

	h3,
	.go-back a,
	.go-back a i {
		font-size: 18px;
	}

	p,
	h5 {
		font-size: 16px;
	}

	h4,
	nav a,
	figcaption,
	figcaption > p,
	.three-col-content p,
	.two-col-item p,
	footer p,
	footer a,
	.backwards {
		font-size: 14px;
	}

	/* IMAGES --------------------------------------------------*/
	/* Logo */
	header .logo {
		max-width: 36px;
		width: 100%;
	}

	#large-logo {
		display: none;
	}

	#small-logo {
		display: block;
	}

	/* HEADER --------------------------------------------------*/
	/* Parent container for the header */
	header {
		flex-flow: row wrap;
		height: auto;
	}

	/* Header > .nav-bar */
	.nav-bar {
		max-width: 100%;
		padding: 24px;
	}

	/* .nav-bar > nav */
	nav {
		flex-flow: row nowrap;
		width: 100%;
	}

	/* PADDING --------------------------------------------------*/
	/* Horizontal line */
	hr {
		margin: 32px 0;
	}

	/* Adjusting left/right padding for section containers */
	.content-parent,
	.three-col-parent {
		padding: 0 7%;
	}

	/* Adjusting up/down padding for section containers */
	.content,
	#three-col-padding {
		padding: 32px 0;
	}

	/* Adding radius and box shadow */
	#bg-div .content-img {
		padding: 48px;
	}

	/* Adjusting down margin for section containers */
	.content-img-container {
		margin-bottom: 32px;
	}

	.content-img-container figcaption {
		margin-top: 8px;
	}

	.content-img-child {
		margin: 0 16px;
	}

	/* Adding radius and box shadow */
	#intro-bg .content-img {
		padding: 10%;
	}

	/* Adding bottom padding to 2nd lvl wrapper */
	#bottom-padding {
		padding-bottom: 32px;
	}

	/* Padding for flex items - Down */
	#three-col-padding a:nth-child(1),
	#three-col-padding a:nth-child(2),
	#three-col-padding a:nth-child(3),
	#three-col-padding a:nth-child(1),
	.three-col-child div.three-col-item:nth-child(2),
	.three-col-child div.three-col-item:nth-child(3),
	.three-col-child div.three-col-item:nth-child(4),
	.two-col-child .two-col-item:nth-child(1),
	.two-col-child .two-col-item:nth-child(2) {
		padding-bottom: 16px;
		padding-top: 16px;
	}

	/* Padding for flex items - Up */
	#three-col-padding a:nth-child(4),
	#three-col-padding a:nth-child(5),
	#three-col-padding a:nth-child(6),
	.three-col-child div.three-col-item:nth-child(5),
	.three-col-child div.three-col-item:nth-child(6),
	.three-col-child div.three-col-item:nth-child(7),
	.two-col-child .two-col-item:nth-child(3),
	.two-col-child .two-col-item:nth-child(4) {
		padding-top: 16px;
		padding-bottom: 16px;
	}

	/* Content padding ----------
	.content h2 {
		padding: 16px 0;
	} */

	/* 4th Lvl 3-col Wrapper ----------*/
	.three-col-content h3 {
		padding: 8px 0;
	}

	/* 4th Lvl 2-col Wrapper ----------*/
	.two-col-item h3 {
		padding-top: 16px;
		padding-bottom:8px;
	}


/*End @620px media query */
}

/* 414px RESPONSIVE DESIGN --------------------------------------------- */
@media screen and (max-width: 414px) {

	/* CONTENT --------------------------------------------------*/

/*End @414px media query */
}
