/* Styles specific to home page */

.home-header {
	padding-top: calc(var(--feather-grid-mega) * 3);
	padding-bottom: calc(var(--feather-grid-mega) * 1.75);
}

.subheading {
    margin: var(--feather-grid-medium) 0;
}

.subheading a {
	text-decoration: none;
}

.subheading a:link, .subheading a:visited {
	color: white;
}

.subheading a:hover, .subheading a:active {
	color: var(--tw-color-blue-faded);
}

.grey {
	background-color: var(--tw-color-gray-faint);
}

.small-container {
	max-width: calc(var(--feather-grid-page-width) - var(--feather-grid-mega) * 4);
	margin: 0 auto;
}

.small-container .Grid-cell {
	padding: var(--feather-grid-large) var(--feather-grid-mega);
	max-width: 600px;
}

/*Timeline height changed with JS. timeline-cell height is set as a backup.*/
.timeline-cell {
	height: 700px;
}

.open-source-title a {
	text-decoration: none;
}

.open-source-title a:link, .open-source-title a:visited {
	color: inherit;
}

.open-source-title a:hover, .open-source-title a:active {
	color: var(--tw-color-text-link);
}

/* Center text vertically */

.career-title {
	margin-top: 230px;
}

.open-source-title {
	margin-top: 325px;
}

/* Our Philosophy - images */

img.emoji-img {
	display: block;
	width: 175px;
	height: 175px;
}

/* Home page media queries */

/* Less than --feather-grid-page-width + (--feather-grid-mega * 2) */
@media (max-width: 1236px) {
	.home-header {
		padding-bottom: calc(var(--feather-grid-mega) * 1.5);
	}
}

/* Less than 600px */

@media (max-width: 600px) {
	.timeline-cell {
		height: 450px;
	}

	.career-title, .open-source-title {
		margin-top: 0;
	}
}

/* Explore Projects */

.explore-projects {
	background-image: url("../assets/projects.png");
	background-repeat: no-repeat;
    background-size: auto 380px;
	background-position: bottom right -50px;
}

/* Empty space for mobile layout of explore projects */
.explore-projects-blank {
	height: 320px;
	display: none;
}

/* Greater than 1400px */
@media (min-width: 1400px) {
	.explore-projects {
		background-position: bottom right;
	}
}

/* Explore Projects media query breakpoints */

/* Image size slightly smaller between 1050px and 1236px */
@media (max-width: 1236px) and (min-width: 1050px) {
	.explore-projects {
		background-position: bottom right -100px;
		background-size: auto 350px;
	}
}

@media (max-width: 1050px) {
	.explore-projects {
		background-position: bottom right -250px;
	}
}

@media (max-width: 860px) {
	.explore-projects {
		background-position: bottom right -350px;
	}
}

@media (max-width: 700px) {
	.explore-projects {
		background-position: bottom right -400px;
	}
}

/* Empty space now displayed */
@media (max-width: 600px) {
	.explore-projects-blank {
		display: block;
	}

	.explore-projects {
		background-position: bottom right -250px;
	}
}

@media (max-width: 480px) {
	.explore-projects {
		background-position: bottom right -350px;
	}
}

@media (max-width: 380px) {
	.explore-projects {
		background-position: bottom right -400px;
	}
}

.social-media-icons {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.social-media-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 20px;
}

.social-media-icons a:last-child {
  margin-right: 0;
}

.social-media-icons a:hover {
  color: var(--tw-color-blue-faded);
}

.social-media-icons .fa {
  color: white;
}

