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

body {
  color: #fff;
  font-family: 'Raleway', sans-serif;
}

h1 {
  font-size:  90px;
}

h1 span {
  font-size:  50px;
  display: block;
}

h2 {
  font-size: 5em;
  margin-bottom: .5em;
  text-shadow: 1px 1px 3px #565652;
}

ul {
  list-style: none;
}

p {
  margin: 1em 0;
  font-size: 20px;
  line-height: 1.25em;
  text-align: left;
}

/* Header Section */

header {
  background: url("./images/bg-1.jpg") no-repeat center/cover fixed;
  min-height: 100vh;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:  40px 0 140px;
}

header ul {
  display: flex;
  justify-content: center;
}

header li img {
  width: 29px;
  height: auto;
  margin: 10px;
}

header .prof-pic {
  width:  200px;
  border: 5px solid #fff;
  border-radius: 50%;
}

/* Sections */

section {
  min-height: 100vh;
  padding:  40px 0 140px;
  background:  gray;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.contain {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.bio {
  background: url("./images/bio.jpg") no-repeat center/cover fixed;
}

.skills {
  background: url("./images/bg-2.jpg") no-repeat center/cover fixed;
}

.skills .skills-list {
  display: flex;
  justify-content: center;
  font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif;
  font-size: 46px;
}

.skills .lefty {
  text-align: left;
}

.skills .lefty li:nth-of-type(even) {
  color: #d3d3d3;
}

.skills .righty {
  text-align: right;
}

.skills .righty li:nth-of-type(odd) {
  color: #d3d3d3;
}

.projects {
  background: url("./images/projects.jpg") no-repeat center/cover fixed;
}

.projects ul {
  display: flex;
  justify-content: center;
  font-size: 60px;
}

.projects li {
  margin: 10px 20px;
  flex-basis: 0;
  flex-grow: 1;
  width: 300px;
}

.resume {
  background: url("./images/bg-3.jpg") no-repeat center/cover fixed;
}

.resume .contain {
  width: 700px;
}

.iframe-container {
  position: relative;
  height: 0;
  overflow: hidden;
}

.iframe-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* 16x9 Aspect Ratio*/
.iframe-container-16x9 {
  padding-bottom: 56.25%;
}

/* 4x3 Aspect Ratio */
.iframe-container-4x3 {
  padding-bottom: 75%;
}

.anchor{
  height: 100px;
  width: 200px;
  background-color: white;
  -webkit-clip-path: polygon(50% 100%, 0 70%, 0 60%, 50% 90%, 100% 60%, 100% 70%);
  clip-path: polygon(50% 100%, 0 70%, 0 60%, 50% 90%, 100% 60%, 100% 70%);
  position: absolute;
  bottom: 20px;
  left: calc(50% - 100px);
}

/* Mobile Size */

@media (max-width: 768px) {

  header,
  section {
    background-attachment: scroll!important;
  }
  h1 {
    font-size: 36px;
  }
  h1 span {
    font-size: 30px;
  }
  h2 {
    font-size: 34px;
  }
  .skills .skills-list {
    font-size: 26px;
  }
  .projects ul {
    display: block;
    font-size: 30px;
  }
  .projects li {
    width: 100%;
    margin: 20px 0;
  }
  .resume .contain {
    width: 100%;
  }

}