*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* navbar */
.navbar{
  background: rgb(255, 255, 255);
  border: 1px solid rgb(255, 255, 255);
}

nav img{
  width: 50px;
}

.navbar-nav{
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  gap: 10px;
} 

.nav-link:hover{
  background-color: #000;
  border-radius: 10px;
  color: white;
}

ul li.active a{
  background-color: #000;
  border-radius: 10px;
  color: white !important;
}

#offcanvasExample{
  width: 50%;
}

.offcanvas{
  background-color: #FFFFFF;
  height: 100vh;
}

/* Main */
main{
  margin-top: 160px;
}

.isi-main{
  display: grid;
  grid-template-areas: 
  'card-main txt-main';
  font-family: 'Poppins', sans-serif;
  justify-items: center;
}

.card-main{
  width: 300px;
  background-color: #464646;
  border-radius: 20px;
}

.card-main img{
  width: 300px;
  margin-top: 30px;
  padding-right: 30px;
  padding-left: 30px;
}

.card-main h4{
  margin-top: 15px;
  margin-bottom: 15px;
  padding-right: 30px;
  padding-left: 30px;
  font-size: 20px;
}

.txt-card-main{
  display: flex;
  justify-content: space-between;
  padding-right: 30px;
  padding-left: 30px;
}

.txt-card-main a{
  text-decoration: none;
}

.txt-main{
  text-align: justify;
  margin-top: 40px;
}

.isi-main-2{
  display: grid;
  grid-template-areas: 
  'txt-main card-main';
  font-family: 'Poppins', sans-serif;
  margin-top: 170px;
  justify-items: center;
}

/* Supaya Gambar Pindah daribawah ke atas */
.card-main-2{
  width: 300px;
  background-color: #464646;
  border-radius: 20px;
  grid-area: card-main;
}

.card-main-2 img{
  width: 300px;
  margin-top: 30px;
  padding-right: 30px;
  padding-left: 30px;
}

.card-main-2 h4{
  margin-top: 15px;
  margin-bottom: 15px;
  padding-right: 30px;
  padding-left: 30px;
  font-size: 20px;
}

.txt-card-main-2{
  display: flex;
  justify-content: space-between;
  padding-right: 30px;
  padding-left: 30px;
}

.button{
  display: flex;
  justify-content: center;
  margin-top: 100px;
  margin-bottom: 70px;
}

.button button{
  background-color: #464646;
  color: #FFFFFF;
  border: 3px solid #FFFFFF;
  border-radius: 30px;
  width: 200px;
  height: 50px;
  font-weight: bold;
  font-size: 20px;
  font-family: 'Poppins', sans-serif;
}

/* Footer */
footer{
  background-color: #464646;
  width: 100%;
  font-family: 'Poppins', sans-serif;
}

.img-footer{
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 40px;
}

.txt-footer p{
  font-size: 17px;
}

.txt-footer h4{
  font-size: 16px;
}

.img-footer img{
  width: 40px;
}


@media screen and (min-width: 360px) and (max-width: 760px){
  .offcanvas{
    padding: 20px;
    display: flex;
  }

  .nav-link{
    padding: 9px;
  }

  .isi-main{
    grid-template-areas: 
    'card-main' 'txt-main';
    justify-content: center;
    margin: 0;
    margin-bottom: 50px;
  }
  
  .isi-main-2{
    grid-template-areas: 
    'card-main' 'txt-main';
    justify-content: center;
    margin: 0;
    margin-bottom: 50px;
  }

  .img-footer{
    gap: 15px;
  }

  .txt-footer{
    padding: 20px;
  }

  .txt-footer p{
    font-size: 16px !important;
  }

  .txt-footer h4{
    font-size: 15px !important;
  }
}

@media (min-width: 760px) and (max-width: 1200px){
  .offcanvas{
    padding: 20px;
  }

  .nav-link{
    padding: 9px;
  }
}

@media (min-width: 1200px){
  nav ul{
    margin-left: auto;
  }

  .isi-main{
    display: grid;
    grid-template-columns: 50% 50%;
    margin-top: 100px;
  }

  .isi-main-2{
    display: grid;
    grid-template-columns: 50% 50%;
    margin-top: 100px;
  }
}