@import url('http://fonts.cdnfonts.com/css/montserrat');

:root {
  background-color: white;
  color: black;
  font-family: 'Montserrat', sans-serif;
	display:grid;
  
}

a{
  text-decoration: none;
}
ul{
	list-style: none;
	display: table;
  text-align: center;
	float: right;
}

li {
  display: table-cell; 
  position: relative; 
}

.brand{
  text-transform: uppercase;
	position: absolute;
	padding: 15px;
}

.navbar{
  background-color: #ffffff;
  overflow: hidden;
}

.navbar a{
	text-transform: uppercase;
  padding: 10px 10px;
  font-size: 12px;
  color: #000000;
	position: relative;
}

.navbar a:hover{
  background-color: #000000;
}

.navbar a.activ{
  background-color: #04AA6D;
  color: green;
}

/* about */

.welcome-section h1, p{
  text-align: center;
  
}
.welcome-section{
  display: flex;
  justify-content: center;
  width: 100%;
  height: 50vh;
  align-items: center;
}

/* Project tiles */
.projects-section{
  background: #000370;
  padding: 20px;
  text-align: center;
}

.proj-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;;
  grid-gap: 2rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.project-tile{
  background-color:#333333;
  position: relative;
}

.project-tile img{
  width: 100%;
  object-fit: cover;

}

a{
  color: white;
}

.show-more{
  background-color: #333333;
  padding: 1rem 1rem;
  display: inline-block;
  margin: auto;
}
.show-more:hover {
  transform: translatey(6px);
  box-shadow: 10px solid #ffffff ;
}
/* Contact */
.contact-header{
  display: block;
  text-align: center;
}

.contact-links{
  display: flex;
  flex-wrap:wrap;
  justify-content: center;
	padding: 5px;
  border-bottom: 3px solid white ;
}
.contact-links a{
  color: #000000;
}

.contact-links i{
  font-size: 2rem;
  padding: 10px;
}

.contact-links i:hover{
  transform: translatey(-10px);
}

/* footer */

footer {
  background-color: #333333;
	color: white;
  padding: 10px;
	text-align: center;
	font-size: 10px;
  position: relative;
}

@media only screen and (max-width: 650px){
  nav{display:flex;
  align-items: center;
  }
  .proj-grid{
  display: flex;
  flex-direction: column;
  }
}