
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400i,900');

*, *::before, *::after { box-sizing: border-box; }

:root {
	--main-text-color: #f8f8f8;
}

body {
	font-family: "Raleway", sans-serif;
	font-weight: 300;
	line-height: 1.6;
	background-color: #0b2027;
}

p {
	color: var(--main-text-color);
}

a {
	color: #2eccf3;
	text-decoration: none;
}

a:hover {
	color: #ebdd1e;
}

img {
	background-size: cover;
	width: 100%;
	height: 100%;
}

.grid-container {
	width: 95%;
	max-width: 900px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 1em;
}

@media (min-width: 52em) {
	.grid-container {
		grid-template-columns: repeat(auto-fit, minmax(15em, 1fr));
	}
}

.project-list {
	background-color: #0b2027;
	padding: 5em 0;
	color: rgba(#f8f8f8, .6);
}

.profile-desc {
	grid-column: span 2;
}



@media (min-width: 52em) {
	.profile-desc {
    	grid-column: auto;
    	grid-row: span 1;
    	align-self: center;
	}
}

.name-desc {
	text-transform: uppercase;
	font-weight: 300;
	font-size: 3rem;
	color: #f8f8f8;
	margin-top: 0;
	line-height: 1;
}

.team-title span {
    display: block;
	font-weight: 900;
}

.team-member {
	margin: 0;
	padding: 0;
	position: relative;
}
  
.team-member img {
    width: 100%;
    display: block;
}
  
.team-member figcaption {
	position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
	left: 0;
	padding: 15px;
    background: #041412;
    color: #70a9a1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity ease-in-out 300ms;
}
  
figcaption:hover { 
    opacity: 1;
}
  
.team-member .name {
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
}


