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

body {
  overflow-y: scroll;
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  font-weight: normal;
  line-height: normal;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  background-color: rgba(247, 247, 247, 0.9);
  font-weight: 200; }

header,
main,
section,
footer {
  display: block;
  text-align: center; }

.col-xs-12 {
  width: 100%; }

/*
   Home Section
 */
.section-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  background: url("../img/cover2.jpg") no-repeat;
  background-size: cover;
  background-attachment: fixed;
  animation: 2s ease-out 0s 1 slideInFromRight; }

.section-home {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center; }

.section-full-height {
  height: 100vh; }

.section-home-content {
  position: absolute;
  top: 15%;
  color: #ca1515;
  width: 100%;
  z-index: 2; }

.name {
  font-size: 4em;
  font-weight: 200;
  animation: 1.5s ease-out 0s 1 slideInFromLeft; }

.title {
  font-size: 3em;
  font-weight: 200;
  animation: 1.8s ease-out 0s 1 slideInFromRight; }

.link-projects {
  position: absolute;
  box-sizing: content-box;
  width: 100%;
  animation: 2s 0s 1 slideInFromBottom;
  bottom: 0;
  z-index: 3; }

.link-projects:hover {
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  transition: transform 1s ease-in-out; }

.link-projects a {
  color: #ca1515;
  font-size: 1em;
  font-weight: 300; }

.link {
  text-decoration: none !important; }

.link:hover {
  color: red;
  -webkit-transition: color .3s ease-in-out;
  /* Safari */
  transition: color .3s ease-in-out; }

/*
   Projects Section
 */
#header-projects-section {
  font-size: 4em;
  font-weight: 200; }

.section-projects {
  box-sizing: content-box;
  padding-top: 2%; }

.project {
  padding-top: 5%; }

.project-name {
  margin: 0;
  font-size: 2.5em;
  font-weight: 300; }

.location {
  margin: 0;
  font-size: 1.5em;
  font-weight: 200; }

.course-name {
  font-size: 1.5em;
  font-weight: 300; }

.project-img {
  padding: 1.5em 0 .2em 0; }

.size-sm {
  width: 35%; }

.size-full {
  width: 70%; }

.img-caption {
  font-size: 1em;
  font-weight: 200; }

p {
  font-weight: 200; }

li {
  border-bottom: 1px solid #e8e3e3;
  padding-bottom: 5%; }

li:last-child {
  border: none; }

/*
    Footer Section
 */
.section-footer {
  font-size: 1.3em;
  padding: 5% 0;
  background-color: #f5f4f4;
  color: #a9a5a5; }

#social-links {
  padding: 1% 0; }

.social {
  padding: 0 1em; }

.social a:hover {
  transform: scale(1.5);
  color: #FED766;
  -webkit-transition: trasform color 1s ease;
  transition: transform color 1s ease; }

.social a {
  color: #737373; }

.developer {
  font-size: .8em; }

/*
    Animation
 */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%); }
  100% {
    transform: translateX(0); } }

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%); }
  100% {
    transform: translateX(0); } }

@keyframes slideInFromTop {
  0% {
    transform: translateY(-200%); }
  100% {
    transform: translateY(0); } }

@keyframes slideInFromBottom {
  0% {
    transform: translateY(200%); }
  100% {
    transform: translateY(0); } }

/*
    Media Queries
 */
@media only screen and (min-width: 320px) and (max-width: 1024px) {
  .section-img {
    background: url("../img/cover1.jpg") no-repeat;
    background-size: cover; } }

@media only screen and (min-width: 320px) and (max-width: 749px) {
  .name {
    font-size: 1.5em;
    font-weight: 400; }
  .title {
    font-size: 1em;
    font-weight: 300; }
  #header-projects-section {
    font-size: 2em; }
  .project-name {
    font-size: 1em;
    font-weight: 500; }
  .location {
    font-size: .8em; }
  .course-name {
    font-size: .8em;
    font-weight: 500; }
  .project-img {
    width: 100%; }
  .img-caption {
    font-size: .7em;
    font-weight: 200; }
  .developer {
    font-size: .5em; } }

@media screen and (min-width: 750px) and (max-width: 1100px) {
  .name {
    font-size: 2.5em;
    font-weight: 300; }
  .title {
    font-size: 1.9em;
    font-weight: 200; }
  #header-projects-section {
    font-size: 2em; }
  .project-name {
    font-size: 1.5em;
    font-weight: 500; }
  .location {
    font-size: 1em; }
  .course-name {
    font-size: 1em;
    font-weight: 500; }
  .size-sm {
    width: 40%; }
  .size-full {
    width: 100%; }
  .img-caption {
    font-size: .7em;
    font-weight: 200; }
  .developer {
    font-size: .5em; } }
