body {
  margin: 1.5em;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

a {
  text-decoration: none;
  font-size: 1.3rem;
}

blues {
  color: #8ecae6;
  color: #219ebc;
  color: #023047;
  color: #ffb703;
  color: #fb8500;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(205, 92, 92);
  width: 100%;
  height: 100vh;
  z-index: -1;
}

.logo {
  color: white;
  font-weight: bold;
}

nav {
  position: fixed;
  right: 0;
  top: 0;
  background: white;
  height: 100vh;
  width: 50%;
  z-index: 999;
  text-transform: uppercase;
  transform: translateX(100%);
  transition: transform 1.5s ease-in-out;
}

ul.menu {
  list-style-type: none;
  padding: 0;
  margin-top: 8em;
}

.menu-item {
  color: black;
  padding: 0.75em 2em;
  display: block;
}
.menu a:hover {
  background: gray;
}

.close {
  float: right;
  margin: 2em;
  width: 2.5em;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

h1 {
  font-size: 3rem;
  margin-top: 2em;
  line-height: 3.3rem;
}

.subhead {
  font-size: 1.4rem;
}

section.hero {
  color: white;
  height: 90vh;

  animation: fadeIn 2s ease-in forwards;
  opacity: 0;
}

.scroll-down:hover {
  animation: fadeIn 1s ease-in-out forwards;
  opacity: 0.25;
}

.about {
  display: flex;
  padding: 1em;
  background: #ffb703;
  align-items: center;
  clear: both;
  justify-content: center;
  align-items: center;
  margin-bottom: 150px;
}

.projects {
  background: salmon;
  margin: 0 auto;
  padding: 1em;
}

.photo {
  display: none;
}

.card {
  margin: 3rem auto;
}

.projects img {
  padding: 1em;
  width: 75%;
  object-fit: cover;
  height: 11em;
}

.title {
  font-weight: bold;
  font-size: 1.25rem;
}

.desc {
  line-height: 1.5rem;
}

.tech {
  display: flex;
  flex-direction: row;
}

@media only screen and (min-width: 680px) {
  body {
    margin: 1.5em 6em;
    padding: 0;
  }
}

@media only screen and (min-width: 710px) {
  .hero-img {
    animation: introload 2.5s forwards;
  }
}

@media only screen and (min-width: 920px) {
  ul.menu {
    margin-top: 0;
  }
  nav {
    transform: translateX(0);
    position: unset;
    display: block;
    width: auto;
    height: auto;
    background: none;
  }

  header {
    background: white;
  }

  .container {
    width: 90%;
    margin: 0 auto;
  }

  .close {
    display: none;
  }

  nav ul {
    display: flex;
    margin: 0;
  }

  .menu-item {
    color: #000001;
    padding: 0.5em 1.5;
    font-size: 0.9rem;
  }

  .menu-item:hover {
    background: none;
    text-decoration: underline;
  }

  .hero-img {
    left: unset;
    right: 0;
    width: 50%;
  }

  .logo {
    color: black;
  }

  section.hero {
    color: black;
    height: auto;
    width: 40%;
    margin-bottom: 25em;
  }

  .about {
    background: #ffb703;
    display: flex;
    flex-direction: row;
    align-items: center;
    clear: both;
    justify-content: center;
    align-items: center;
  }

  .blurb {
    padding: 2em;
  }

  .photo {
    display: block;
    min-width: 35%;
  }
  .profile-photo {
    max-width: 12em;
    margin-left: 25%;
    border-radius: 50%;
    border-style: 3px solid;
    border-color: indianred;
  }

  /* .projects {
    padding-top: 7em;
  } */

  .projects {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  }

  .card {
    margin: 0;
    padding: 0;
  }

  .content {
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: black dotted;
    border-left: black dotted;
    margin: 0.125em;
  }
}

@media only screen and (min-width: 1200px) {
  .container {
    width: 1200px;
    margin: 0 auto;
  }

  .more-info {
    border: solid;
    border-color: black;
    padding-top: 7em;
  }
}

@keyframes introload {
  from {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }
  to {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 80%);
  }
}

@keyframes fadeIn {
  from {
    translate: translateY(-100px);
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
