@import url('https://fonts.googleapis.com/css?family=Raleway');

* {
    font-family: Raleway;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #DFDFDF;
}


/*----------[Desktop]----------*/


/*-[Main]-*/
.img{
 width: 100%;
}

.button-link{
  /* display: flex; */
  text-decoration: none;
  background-color: #333;
  border-radius: 3px;
  padding: 1.5% 2.5%;
  color:white;
  border-top: 2rem;
  align-self: center;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 20%;
  margin-top: 1.3rem;
}

.button-link:hover{
  background-color: #555;
}


/*-[Hero]-*/
.hero{
  margin-bottom: 2rem;
  margin-top: 2rem;
  padding: 0;
  width: 100%;
  display:flex;
  position: relative;
}

.hero .img{
  width: 50%;
  height: 40rem;
}

.hero .content{
  position:relative;
  padding-top: 20%;
}

.content{
  width: 50%;

}

.content .img{
  width: 50%;

}


.content h1{
  font-size: 3.5rem;
  text-align: left;
}
.content p{
  
  width: 55%;
  margin-top: 0.5rem;
}

.content .button-link{
  margin-left: 6rem;

}

/*-[Projects]-*/

/*-[Footer]-*/
footer{
  display: flex;
  
  background-color: #555;
  height: 3rem;
  color: white;
}

footer p{
  width: 100%;
  padding-top: 1rem;
  padding-left: 1rem;
}

footer a{
  display: inline-block;
  text-decoration: none;
  color: white;
  padding-top: 1rem;
  padding-right: 1rem;
  align-self: right;
}

footer a:hover{
  text-decoration: underline;
  color: #111;
}




/*----------[Tablet/Phone]----------*/
@media (max-width: 750px){
  .hero{
    flex-direction: column;
    align-self: center;
    margin-top: 0;
    padding-top: 0;
  }
  .hero .img{
  width: 100%;
  }
  .hero .content{
  width: 100%;
  padding-top: 0;
  padding-left: 6rem;
  text-align: left;
  }

  .content h1{
  font-size: 1.9rem;
  }
  
  .content p{
    padding-left: 0.05rem;
  }
  
  .content .button-link{
  margin-left: .1rem;
  height: 3rem;
  width: 10rem;
  padding-top:1rem;

  }

  footer{
  display: flex;
  flex-direction: column;
  height: 11rem;
  }

  footer a{
    padding-left: 1rem;
  }

}