@import url("https://fonts.googleapis.com/css2?family=Orbitron&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

ol, ul, li {
  list-style: none;
}

body {
  background-color: #efefef;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 100%;
  background: linear-gradient(45deg, aqua, royalblue);
}
header h1 {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translateY(-200%);
  font: bold 50px/1 "orbitron";
  color: #fff;
  letter-spacing: 1px;
}
header h1::before {
  content: "UI/UX DEVELOPMENT";
  position: absolute;
  top: 140px;
  left: 0;
  font: 14px/1 "orbitron";
  letter-spacing: 2px;
  color: #fff;
}
header h1::after {
  content: "";
  display: block;
  width: 130px;
  height: 2px;
  margin-top: 20px;
  background-color: #fff;
}
header ul {
  position: absolute;
  bottom: 100px;
  left: 60px;
}
header ul li {
  float: left;
  margin-right: 10px;
  transition: all ease-in-out 0.3s;
}
header ul li a {
  font-size: 20px;
  color: #fff;
}
header ul li a span {
  display: inline-block;
  transform: scale(0.7);
  transform-origin: left center;
}
header ul li:hover {
  transform: translateY(-10px);
}

@media screen and (max-width: 1200px) {
  header {
    position: relative;
    width: 100%;
    height: 80px;
  }
  header h1 {
    left: 50px;
    transform: translateY(-50%);
    font: bold 24px/1 "orbitron";
  }
  header h1::before, header h1::after {
    display: none;
  }
  header ul {
    right: 50px;
    bottom: 27px;
    left: auto;
  }
  header ul li:hover {
    transform: translateY(0);
  }
}
@media screen and (max-width: 700px) {
  header h1 {
    left: 20px;
  }
  header ul {
    right: 20px;
  }
  header ul li a span {
    display: none;
  }
}
@media screen and (max-width: 470px) {
  header h1 {
    font-size: 20px;
  }
  header ul li {
    margin-left: 3px;
  }
}
main {
  min-height: 600px;
  padding: 20px;
  margin-left: 400px;
}
main ul {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-right: 20px;
  margin-bottom: 10px;
}
main ul li {
  width: 100px;
  height: 26px;
  margin-right: 20px;
}
main ul li a {
  display: block;
  width: 100%;
  height: 100%;
  font: bold 7px/26px "orbitron";
  letter-spacing: 1px;
  text-align: center;
  color: #aaa;
  background-color: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
main ul li.on a {
  color: #fff;
  background: linear-gradient(45deg, aqua, cornflowerblue);
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.5);
}
main section {
  width: 100%;
}
main section::after {
  content: "";
  display: block;
  clear: both;
}
main section article {
  overflow: hidden;
  float: left;
  width: 20%;
  padding: 12px;
}
main section article .inner {
  width: 100%;
  padding: 14px;
  background-color: #fff;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}
main section article .inner img {
  width: 100%;
}
main section article .inner h2 {
  margin: 15px auto 5px;
  font: bold 11px/1 "orbitron";
  letter-spacing: 1px;
  color: #444;
}
main section article .inner p {
  margin-bottom: 15px;
  font: 10px/1.2 "arial";
  color: #777;
}

@media screen and (max-width: 1200px) {
  main {
    margin-left: 0;
  }
}
@media screen and (max-width: 900px) {
  main section article {
    width: 25%;
  }
}
@media screen and (max-width: 800px) {
  main section article {
    width: 33.333%;
  }
}
@media screen and (max-width: 700px) {
  main ul {
    justify-content: center;
  }
  main section article {
    width: 50%;
  }
}
@media screen and (max-width: 470px) {
  main section article {
    width: 100%;
  }
}

/*# sourceMappingURL=style.css.map */
