@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playwrite+AU+QLD:wght@100..400&display=swap");

html,
body {
  margin: 0px;
  padding: 0px;
  font-size: 16px;
  font-family: "Nunito", sans-serif;
  scroll-behavior:smooth;
}

.wrapper {
  width: 1024px;
  margin: auto;
  padding: 20px 0px 20px 0px;
}

/* menu */
nav {
  background-color: #21094e;
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav > .wrapper {
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu {
  width: 50%;
}

.menu ul {
  display: flex;
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  justify-content: space-between;
}

.menu > ul > li > a {
  text-decoration: none;
  color: white;
}

.logo {
  display: flex;
  align-items: center;
}

.logo > img {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  border: 1px solid #a5e1ad;
}

/* jumbotron */
header {
  background: url("/assets/img/bg.jpg");
  height: 100vh;
  bacground-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  letter-spacing: 2px;
  text-shadow: 0 0 4px black;
}

.header-opacity {
  background-color: #21094e;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  position: absolute;
  top: 0;
  left: 0;
}

.header-jumbotron {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.header-jumbotron > h4 {
  color: #a5e1ad;
  font-size: 2.5rem;
  margin: 0px;
  padding: 0px;
  font-family: "Playwrite AU QLD", cursive;
}

.header-jumbotron > h5 {
  color: white;
  margin: 0px;
  padding: 5px;
  font-size: 3.5rem;
  line-height: 4rem;
  text-transform: uppercase;
}

.header-jumbotron > p {
  font-size: 1.2rem;
  padding 5px;
  margin:0px 5px 20px 5px;
  color: #fff;
}

a {
  text-decoration: none;
  color: #333;
  text-shadow:none;
}

.button {
  background-color: #a5e1ad;
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  font-family: "Playwrite AU QLD", cursive;

}

.button-xl {
  font-size:1.4rem;
  padding:15px;
}


/* statistic */
#statistic {
  background-color: #511281;
  color: white;
}

#statistic > .wrapper {
  display:flex;
  justify-content: space-evenly;
  padding: 50px;
  width: 80%;
  font-family: "nunito", sans-serif;
  font-weight: 600;
}

#statistic > .wrapper > div {
  text-align: center;
}

#statistic > .wrapper > div > p {
  font-size: 3.5rem;
  margin: 0px;
  padding:0px;
}

#statistic > .wrapper > div > p > i {
  margin-right: 10px;
  font-size: 3.5rem;
}

#statistic > .wrapper > div > small {
  font-size: 1.5rem;
}

/* project */
#project {
  background-color: #21094e;
  color: white;
}

#project > .wrapper {
  padding: 50px 0px 50px 0px;
}

#project > .wrapper > h4 {
  text-align: center;
  font-size: 2.8rem;
  margin: 0px;
  padding: 0px;
  font-family: "Playwrite AU QLD", cursive;
}

#project > .wrapper > h4 > span {
  color: #4CA1A3
}

#project > .wrapper  > p {
  text-align: center;
  margin-bottom: 30px;
  padding:0px;
}

.grid {
  display: grid;
  grid-template-columns: 30% 30% 30%;
  grid-gap: 50px;
}

.grid > .items {
  border: 1px solid #a5e1ad;
  background-color: #511281;
  border-radius: 5px;
  position: relative;
}

.grid > .items > img {
  width: 15%;
  position:absolute;
  top:10px;
  right:10px;
}

.grid > .items > .items-detail {
  padding: 30px;
  font-size:1.3rem;
  font-weight:bold;
  width:70%;
}

.grid > .items > .items-detail > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.grid > .items > .items-detail > div > small {
  color: #ccc;
  font-size:1rem;
  font-style: italic;
  font-weight: normal;
}

.grid > .items > .items-detail > div > a {
  background-color: #a5e1ad;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 5px;
  padding: 5px 10px;
  color: #000;
  font-weight: normal;
}

/* about me */
#about {
  background-color: #A5E1AD;
  color: #333;
}

#about > .wrapper {
  padding: 50px 0px 50px 0px;
}

#about > .wrapper > h4 {
  text-align: center;
  font-size: 2.8rem;
  margin: 0px;
  padding: 0px;
  font-family: "Playwrite AU QLD", cursive;
}

#about > .wrapper  > p {
  text-align: center;
  margin-bottom: 50px;
  padding:0px;
  padding:0px;
}

#about > .wrapper > div {
  display:flex;
  width:80%;
  margin:auto;
  justify-content:center;
  align-items: center;
}

#about > .wrapper > div > .foto {
  width: 30%;
}

#about > .wrapper > div > .foto > img {
  width: 100%;
  border-radius: 5px;
  border: 1px solid #333;
}

#about > .wrapper > div > .desc {
  width: 70%;
  padding: 20px;
  margin: 10px;
  background-color: #ffff;
  border-radius: 10px;
}

#about > .wrapper > div > .desc > p {
  margin: 0px 0px 10px 0px;
  font-size:0.9rem;
  line-height: 1.9rem;
}

#about > .wrapper > div > .desc > .social {
  display:flex;
  justify-content: space-between;
  width:30%;
  font-size: 1.3rem;
}

#about > .wrapper > div > .desc > .social > a {
  color: #21094E;
}

/* demo */
#demo {
  background-color: #511281;
  color: white;
}

#demo > .wrapper {
  padding: 50px 0px 50px 0px;
}

#demo > .wrapper > h4 {
  text-align: center;
  font-size: 2.8rem;
  margin: 0px;
  padding: 0px;
  font-family: "Playwrite AU QLD", cursive;

}

#demo > .wrapper > h4 > span {
  color: #4CA1A3
}

#demo > .wrapper  > p {
  text-align: center;
  margin-bottom: 30px;
  padding:0px;
}

#demo > .wrapper > .grid > .items {
  background-color: #21094E;
  margin: 0px;
  padding:0px;
}

#demo > .wrapper > .grid > .items > .items-detail {
  margin: 0px;
  padding:0px;
  font-size:1.4rem;
  width:100%;
}

#demo > .wrapper > .grid > .items > .items-detail > img {
  width:100%;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#demo > .wrapper > .grid > .items > .items-detail > div {
  padding: 10px 20px 10px 20px;
  
}

/* footer */

footer {
  background-color: #21094E;
  color: white;
  text-align: center;
}

footer > .wrapper {
  padding: 30px 0px 30px 0px;
}

/* hamburger menu */
button.hamburger-menu {
  background:none;
  border: none;
  cursor: pointer;
  display: none;
}

button.hamburger-menu > i {
  color: #fff;
  font-size: 1.5rem;
}

button.hamburger-menu > i.icon-close {
  display: none;
}

/* 
 1024 900 768 600 450
*/

@media only screen and (max-width: 1024px) {
  .wrapper {
    width: 90%;
  }
}

@media only screen and (max-width: 900px) {
  #statistic > .wrapper > div > p {
  font-size: 2.5rem;
  margin: 0px;
  padding:0px;
} 
  #statistic > .wrapper > div > p  > i {
  font-size: 2.5rem;
} 

#statistic > .wrapper > div > small {
  font-size: 1rem;
}

  .grid {
  grid-template-columns: 45% 45%;
  }

  .items > img {
  width: 8%;
  }
} 

@media only screen and (max-width: 768px) {
  .menu {
    width: 60%;
  }
  .header-jumbotron > h4 {
    font-size: 1.5rem;
  }
  .header-jumbotron > h5 {
    font-size: 2rem;
    line-height: 2.2rem;
  }
  .header-jumbotron > p {
    font-size: 0.8rem;
  }
  .button {
    padding: 5px;
  }
  .button-xl {
    font-size: 1.2rem;
    padding: 10px;
  }
  
  #statistic > .wrapper > div > p {
    font-size: 1.5rem;
    margin: 0px;
  }
  #statistic > .wrapper > div > small {
    font-size: 0.8rem;
  }
    #statistic > .wrapper > div > p  > i {
    font-size: 1.5rem;
  } 
}


@media only screen and (max-width: 600px) {
  .grid {
    grid-template-columns: 100%;
  }
  
  #statistic > .wrapper {
    padding:10px; 
    flex-direction: column;

  }
  #statistic > .wrapper > div {
    display:flex;
  }

  #statistic > .wrapper > div > small {
    font-size: 1.5rem;
    padding-left: 10px;
  }
  
  #about > .wrapper > div {
    width: 100%;
    flex-direction: column;
  }
  #about > .wrapper > div > .foto {
    width: 50%;
  }
  #about > .wrapper > div > .foto > img {
    width: 100%;
  }

  #about > .wrapper > div > .desc {
    width: 70%;
    padding: 20px;
    margin: 10px;
  }
  #about > .wrapper > div > .desc > .social {
    margin: auto;
  }

  button.hamburger-menu {
    display:inline;
  }

  .menu {
    display:none;
  }

  .tampil{
    display: inline;
  }

  .tampil > ul {
    flex-direction:column;
    background-color: #000;
    width: 100%;
    position: fixed;
    top: 85px;
    left: 0;
  }

  .tampil > ul > li {
    padding:10px 20px 10px 20px;
  }
}