@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Nunito:ital,wght@0,800;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
html, 
body {
  margin: 0px;
  padding: 0px;
  font-size: 16px;
  font-family: "Nunito Sans", sans-serif;
  scroll-behavior: smooth;
}
.wrapper {
    width: 1024px;
    margin: auto;
    padding: 20px 0px 20px 0px;
}

/*
* menu
*/
nav {
    background-color: #27374D;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav > .wrapper {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    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: #fff;
}

.logo {
    display: flex;
    align-items: center;
}
.logo > img {
    height: 65px;
}

/*
* Hero / jumbotron
*/
header {
    background: url("../images/header.jpg");
    height: 100dvh;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    font-family: "Lato", sans-serif;
    letter-spacing: 3px;
    text-shadow: 0 0 6px #000;
}
.header-opacity {
    background-color: #222831;
    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: #FFCE10;
    font-size: 1.8rem;
    margin: 0px;
    padding: 0px;
}

.header-jumbotron > h5 {
    color: #fff;
    margin: 0px;
    padding: 5px;
    font-size: 2rem;
    line-height: 2.5rem;
    text-transform: uppercase;
}

.header-jumbotron > p {
    padding: 3px;
    margin: 0px 3px 15px 3px;
    font-size: 1rem;
    color: #fff;
}
a {
    text-decoration: none;
    color: #333;
    text-shadow: none;
}

.button {
    background-color: #FFCE10;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    font-family: "Lato", sans-serif;
}
.button-xl {
    font-size: 1.4rem;
    padding: 15px;
}

/*
* statistic
*/
#statistic {
    background-color: #27374D;
    color: #fff;
    font-family: "Lato", sans-serif;
}

#statistic > .wrapper {
    padding: 50px;
    width: 80%;
    display: flex;
    justify-content: space-evenly;
}

#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;
}

/*
* aplikasi web
*/

#aplikasi-web {
    background-color: #526D82;
    color: #fff;
}

#aplikasi-web > .wrapper {
    padding: 40px 0px 40px 0px;
}

#aplikasi-web > .wrapper > h4 {
    text-align: center;
    font-size: 2.5rem;
    margin: 0px;
    padding: 0px;
    font-family: "Lato", sans-serif;
}

#aplikasi-web > .wrapper > h4 > span {
    color: #FFCE10;
}

#aplikasi-web > .wrapper > p {
    text-align: center;
    margin: 0px;
    padding: 0px;
    margin-bottom: 50px;
}

.grid {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    grid-gap: 50px;
}

.grid > .item {
    border: 1px solid #666;
    background-color: #27374D;
    border-radius: 5px;
    position: relative;
}

.grid > .item > img {
    width: 11%;
    position: absolute;
    top: 10px;
    right: 10px;
}

.grid > .item > .item-detail {
    padding: 30px;
    font-size: 1.3rem;
    font-weight: bold;
    width: 70%;
}

.grid > .item > .item-detail div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grid > .item > .item-detail div  > small {
    color: #ccc;
    font-size: 1rem;
    font-style: italic;
    font-weight: normal;
}

.grid > .item > .item-detail div a {
    font-size: 1rem;
    color: #333;
    font-weight: normal;
}

/*
* tentang saya
*/

#tentang-saya {
    background-color: #DCD6F7;
    color: #333;
}

#tentang-saya > .wrapper {
    padding: 50px 0px 50px 0px;
}

#tentang-saya > .wrapper > h4 {
    text-align: center;
    font-size: 2.5rem;
    margin: 0px;
    padding: 0px;
    font-family: "Lato", sans-serif;
}

#tentang-saya > .wrapper > p {
    text-align: center;
    margin: 0px;
    padding: 0px;
    margin-bottom: 50px;
}

#tentang-saya > .wrapper > div {
    display: flex;
    width: 70%;
    margin: auto;
    justify-content: space-between;
    align-items: center;
}

#tentang-saya > .wrapper > div > .foto {
    width: 35%;
}

#tentang-saya > .wrapper > div > .foto > img {
    max-width: 100%;
}

#tentang-saya > .wrapper > div > .desc {
    width: 70%;
    padding: 20px;
    margin: 10px;
    background-color: #fff;
    border-radius: 10px;
}

#tentang-saya > .wrapper > div > .desc > p {
    margin: 0px 0px 10px 0px;
    font-size: 1.3rem;
    line-height: 1.8rem;
}

#tentang-saya > .wrapper > div > .desc > .social {
    display: flex;
    width: 40%;
    justify-content: space-between;
    font-size: 1.3rem;
}

#tentang-saya > .wrapper > div > .desc > .social > a {
    color: #00ADB5;
}

/*
* contoh website
*/

#contoh-website {
    background-color: #393E46;
    color: #fff;
}

#contoh-website {
    background-color: #526D82;
    color: #fff;
}

#contoh-website > .wrapper {
    padding: 50px 0px 50px 0px;
}

#contoh-website > .wrapper > h4 {
    text-align: center;
    font-size: 2.8rem;
    margin: 0px;
    padding: 0px;
    font-family: "Lato", sans-serif;
}

#contoh-website > .wrapper > h4 > span {
    color: #FFCE10;
}

#contoh-website > .wrapper > p {
    text-align: center;
    margin: 0px;
    padding: 0px;
    margin-bottom: 50px;
}

#contoh-website > .wrapper > .grid > .item {
    background-color: #27374D;
    margin: 0px;
    padding: 0px;
}

#contoh-website > .wrapper > .grid > .item > .item-detail {
    padding: 0px;
    margin: 0px;
    font-size: 1.4rem;
    width: 100%;
}

#contoh-website > .wrapper > .grid > .item > .item-detail > img {
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

#contoh-website > .wrapper > .grid > .item > .item-detail > div {
    padding: 10px 20px 10px 20px;
}

/*
* copyright
*/

footer {
    background-color: #27374D;
    color: #fff;
    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.3rem;
}

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%;
   }
   .item > img {
    width: 8%;
   }
}

@media only screen and (max-width: 768px) {
    .menu {
    width: 60%;
    }
    .header-jumbotron > h4 {
        font-size: 1.1rem;
    }
    .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.1rem;
        padding: 10px;
    }

    #statistic > .wrapper > div > p {
        font-size: 1.5rem;
        margin: 0px;
    }

    #statistic > .wrapper > div > p > i {
      font-size: 1.5rem;
   }
}

@media only screen and (max-width: 600px) {
    .grid {
        grid-template-columns: 100%;
    }
    
    .header-jumbotron > h4 {
        font-size: 1rem;
    }
    .header-jumbotron > h5 {
        font-size: 1rem;
        line-height: 2.2rem;
    }

    .header-jumbotron > p {
        font-size: 0.8rem;
    }

    #statistic > .wrapper {
        padding: 10px;
        flex-direction: column;
    }

    #statistic > .wrapper > div {
        display: flex;       
    }

    #statistic > .wrapper > div > small {
        font-size: 1.5rem;
        padding-left: 10px;
    }

    #tentang-saya > .wrapper > div {
        width: 100%;
        flex-direction: column;
    }

    #tentang-saya > .wrapper > div > .foto {
        width: 60%;
    }

    #tentang-saya > .wrapper > div > .foto > img {
        max-width: 100%;
    }

    #tentang-saya > .wrapper > div > .desc {
        width: 70%;
        padding: 20px;
        margin: 10px;
    }

    #tentang-saya > .wrapper > div > .desc > .social {
        margin: auto;
    }

    button.hamburger-menu {
        display: inline;
    }
    .menu {
        display: none;
    }
     
    .tampil {
        display: inline;
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
    }
    .tampil > ul {
        flex-direction: column;
        background-color: #526D82;
        width: 100%;
        position: fixed;
        top: 85px;
        left: 0;
    }

    .tampil > ul > li {
        padding: 5px 30px 5px 30px;
    }
}

@media only screen and (max-width: 450px) {
    .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;
    }

    #tentang-saya > .wrapper > div {
        width: 100%;
        flex-direction: column;
    }

    #tentang-saya > .wrapper > div > .foto {
        width: 50%;
    }

    #tentang-saya > .wrapper > div > .foto > img {
        max-width: 100%;
    }

    #tentang-saya > .wrapper > div > .desc {
        width: 70%;
        padding: 20px;
        margin: 10px;
    }

    #tentang-saya > .wrapper > div > .desc > .social {
        margin: auto;
    }

    button.hamburger-menu {
        display: inline;
    }
    .menu {
        display: none;
    }
     
    .tampil {
        display: inline;
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
    }
    .tampil > ul {
        flex-direction: column;
        background-color: #526D82;
        width: 100%;
        position: fixed;
        top: 85px;
        left: 0;
    }

    .tampil > ul > li {
        padding: 5px 30px 5px 30px;
    }
}