@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap");

*,
html,
body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #fefefe;
  overflow-x: hidden;
  width: 100%;
}

nav {
  z-index: 99;
  padding: 0 3px;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: 0.2em;
}

nav ul li {
  margin-left: 15px;
  position: relative;
  cursor: pointer;
}

nav ul li::before {
  content: "";
  position: absolute;
  height: 3px;
  width: 0;
  background-color: #fff;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

nav ul li:hover::before {
  width: 100%;
}

button.btn-close {
  filter: invert(0.8);
  -webkit-filter: invert(0.8);
}

.primary {
  background-color: #1cafff;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  top: -8px;
}

.cta {
  position: absolute;
  background: radial-gradient(#9cdcff, #1cafff);
  width: 100%;
  height: 100vh;
}

.cta #scene {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.cta #scene #text {
  position: absolute;
  display: flex;
  letter-spacing: 3px;
  color: #fff;
  font-size: 9vw;
  z-index: 8;
  text-shadow: 1px 1px 0 #e1e1e1, 2px 2px 0 #e1e1e1, 3px 3px 0 #e1e1e1,
    4px 4px 0 #e1e1e1, 5px 5px 0 #e1e1e1, 6px 6px 0 #e1e1e1,
    13px 17px 0 rgba(0, 0, 0, 0.1);
}

.cta .layer img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: contain;
}

#about {
  position: relative;
  background: url(.././img/about.jpg) no-repeat left;
  background-size: 72%;
  background-color: #eaeaea;
  overflow: hidden;
  padding: 80px 0;
  margin-top: -8px;
  box-shadow: 8px 0px 49px -17px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 8px 0px 49px -17px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 8px 0px 49px -17px rgba(0, 0, 0, 0.75);
}

.inner {
  width: 55%;
  float: right;
  margin-right: 10px;
  background-color: #fdfdfd;
  padding: 60px;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
  box-shadow: -2px 6px 115px -5px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: -2px 6px 115px -5px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -2px 6px 115px -5px rgba(0, 0, 0, 0.75);
}

.inner h1 {
  margin-bottom: 30px;
  font-size: 30px;
  font-weight: 900;
}

.text {
  font-size: 15px;
  color: #545454;
  line-height: 30px;
  text-align: justify;
  margin-bottom: 40px;
}

.keahlian {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 500;
}

#about .credit {
  position: absolute;
  font-size: 8px;
  color: white;
  left: 10px;
  bottom: 5px;
}

#about .credit a {
  text-decoration: none;
}

#project {
  height: 100vh;
  width: 100%;
}

.list-img {
  position: relative;
}

img {
  width: 300px;
  height: 300px;
}

.overlay {
  position: absolute;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  opacity: 0;
  background: rgba(255, 255, 255, 0.5);
}

.list-img:hover .overlay {
  opacity: 1;
}

.overlayLeft {
  height: 100%;
  width: 0;
  top: 0;
  left: 0;
}

.list-img:hover .overlayLeft {
  width: 100%;
}

.prj-txt {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  font-size: 20px;
}

#project {
  height: 110vh;
  width: 100%;
  background-color: rgb(8, 67, 135);
  overflow-x: hidden;
  overflow-y: auto;
}

footer {
  position: relative;
  top: 50px;
  width: 100%;
  background-color: #273036;
  min-height: 150px;
}

footer .social-icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  flex-wrap: wrap;
}

footer .social-icon li {
  list-style: none;
}

footer .social-icon li a {
  font-size: 2em;
  color: #fff;
  margin: 100px 15px;
  display: inline-block;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

footer .social-icon li a:hover {
  transform: translateY(-20px);
  -webkit-transform: translateY(-20px);
  -moz-transform: translateY(-20px);
  -ms-transform: translateY(-20px);
  -o-transform: translateY(-20px);
}

@media screen and (max-width: 1200px) {
  nav ul li::before {
    display: none;
  }
  nav ul li::after {
    content: "";
    position: relative;
    height: 3px;
    width: 0;
    background-color: #fff;
    bottom: 0;
    left: 0;
    transition: 1s;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -ms-transition: 1s;
    -o-transition: 1s;
  }

  nav ul li:hover::after {
    width: 100%;
  }

  .inner {
    padding: 80px;
  }
}

@media screen and (max-width: 1000px) {
  #about {
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 100px 40px;
  }

  .inner {
    width: 100%;
  }
  .cta #scene #text {
    text-shadow: 1px 1px 0 #e1e1e1, 2px 2px 0 #e1e1e1, 3px 3px 0 #e1e1e1,
      4px 4px 0 #e1e1e1, 5px 5px 0 #e1e1e1, 6px 6px 0 #e1e1e1,
      13px 11px 0 rgba(0, 0, 0, 0.1);
  }
}

@media screen and (max-width: 600px) {
  #about {
    padding: 0;
  }
  .inner {
    margin: 40px 0;
    padding: 40px;
  }
}

@media screen and (max-width: 992px) {
  #project {
    height: 188vh;
  }
}

@media screen and (max-width: 768px) {
  #project {
    height: 270vh;
  }
}
