body {
  margin: 1.5em;
  font-family: sans-serif;
}

.menu {
  width: 2.3em;
  height: 2em;
  margin-top: -1em;
}

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

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  background: url("../image/photo-1542291026-7eec264c27ff (1).jpeg");
  background-size: cover;
  background-position-x: 20%;
  background-position-y: 20%;
  width: 100%;
  height: 100vh;
  z-index: -1;
  -webkit-animation: introLoad 2s forwards;
          animation: introLoad 2s forwards;
}

.logo {
  color: #fff;
  font-weight: bold;
}

nav {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  background: #fff;
  width: 50%;
  z-index: 999;
  text-transform: uppercase;
  transform: translateX(100%);
  transition: transform 0.5s ease-in-out;
}
nav ul {
  list-style-type: none;
  padding: 0;
  margin-top: 3em;
}
nav ul a {
  color: black;
  padding: 0.75em 2em;
  display: block;
}

.close-menu {
  float: right;
  margin: 2em;
  width: 1em;
}

header {
  display: flex;
  justify-content: space-between;
}
header img {
  width: 2em;
  margin-top: -1em;
  cursor: pointer;
}

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

.subhead {
  font-size: 1.4rem;
}

section.hero {
  color: #fff;
  height: 90vw;
  -webkit-animation: moveDown 2s ease-out forwards;
          animation: moveDown 2s ease-out forwards;
  opacity: 0;
}
section.hero .down-arrow {
  stroke: #fff;
  position: absolute;
  bottom: 5em;
  width: 8em;
  animation: moveArrow 1s alternate-reverse infinite;
  fill: #fff;
  left: 3;
}

.more-info img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  height: 11em;
}
.more-info .title {
  font-weight: bold;
  font-size: 1.25rem;
}
.more-info .description {
  line-height: 2.5rem;
}

.open-nav {
  transform: translateX(0%);
}

@media only screen and (min-width: 680px) {
  body {
    margin: 1.5em 5em;
    font-family: sans-serif;
  }
}
@media only screen and (min-width: 920px) {
  .menu {
    display: none;
  }
  nav {
    transform: translateX(0);
    position: unset;
    display: block;
    width: auto;
    height: auto;
    background: none;
  }
  nav .close-menu {
    display: none;
  }
  nav ul {
    display: flex;
    margin: 0;
  }
  nav ul a {
    color: #fff;
    padding: 0.5em 1.5em;
    font-size: 0.9rem;
  }
  nav ul a:hover {
    background: none;
    text-decoration: underline;
  }
  .hero-img {
    left: unset;
    right: 0;
    width: 50%;
    height: 42em;
  }
  .logo {
    color: #000;
  }
  span {
    color: red;
  }
  section.hero {
    color: #000;
    height: auto;
    width: 40%;
    margin-bottom: 8em;
  }
  section.hero img.down-arrow {
    stroke: #fff;
    position: unset;
    fill: rgb(238, 235, 235);
  }
  .feature {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 2em;
    margin-bottom: 8em;
  }
  .feature img {
    width: 25em;
  }
  .feature .content {
    text-align: right;
    width: 25em;
  }
  .feature-left {
    grid-template-areas: " left  right";
  }
  .feature-left img {
    grid-area: left;
  }
  .feature-left .content {
    text-align: left;
    width: 25em;
    justify-self: left;
  }
}
@media only screen and (min-width: 1200px) {
  .wrapper {
    width: 1200px;
    margin: 0 auto;
  }
  .feature {
    gap: 0;
  }
}
@-webkit-keyframes introLoad {
  from {
    transform: translateY(-30px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes introLoad {
  from {
    transform: translateY(-30px);
  }
  to {
    transform: translateY(0);
  }
}
@-webkit-keyframes moveArrow {
  from {
    transform: translateY(-100px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes moveArrow {
  from {
    transform: translateY(-100px);
  }
  to {
    transform: translateY(0);
  }
}
@-webkit-keyframes moveDown {
  from {
    transform: translateY(-100px);
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes moveDown {
  from {
    transform: translateY(-100px);
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}/*# sourceMappingURL=main.css.map */