/* .container .box .content .item .detail */
*{
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  list-style: none;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none;
}
:root{
  --gradient: linear-gradient(180deg, red, green);
  --box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
html{
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
html::-webkit-scrollbar{
  width: 1rem;
}
html::-webkit-scrollbar-thumb{
  background: ghostwhite;
  border: 1px solid gainsboro;
}
body{
  max-width: 2000px;
  margin: auto;
  color: #555;
}
h1{
  font-size: 28px;
  color: darkred;
  line-height: 36px;
}
h2{
  font-size: 24px;
  line-height: 32px;
}
h3{
  font-size: 20px;
  line-height: 28px;
}
h4{
  font-size: 16px;
  line-height: 24px;
}
img{
  display: block;
  width: 100%;
  height: 100%;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
p, li, span, a, button{
  line-height: 24px;
  font-size: 16px;
}
button{
  background: transparent;
  cursor: pointer;
}
a,
a:visited {
    color: coral;
}
a:hover{
  color: orangered;
}
.heading{
  text-align: center;
  margin-bottom: 24px;
}
.heading h2{
  color: darkred;
}
.heading p{
  margin-top: 16px;
}
.note{
  margin-top: 24px;
}
.grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 1.5rem;
}
.flex-center{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.flex-down{
  display: flex;
  /*align-items: center;*/
  flex-direction: column;
  gap: 16px;
}
.btn{
  display: inline-block;
  border: 1px solid coral;
  color: coral;
  cursor: pointer;
  background: none;
  padding: 8px 16px;
  font-size: 16px;
  user-select: none;
  border-radius: 21px;
}
.btn:hover{
  background: coral;
  color: #fff;
}
.parallax{
  width: 100%;
  height: 100%;
  position: relative;
  background: url(images/header.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.parallax::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .5;
}
.parallax .content{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.gradient-text{
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mt-16{
  margin-top: 16px;
}
.mb-16{
  margin-bottom: 16px;
}
.mr-8{
  margin-right: 8px;
}
/*root responsive*/
main,
footer{
  padding: 3rem;
}
@media(max-width: 800px){
  main,
  footer{
    padding: 3rem 2rem;
  }
}
@media(max-width: 500px){
  main,
  footer{
    padding: 3rem 1rem;
  }
  .grid{
    grid-template-columns: 1fr;
  }
}

/* ------------------------- header ------------------------- */
.header{
  background: #555;
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
}
.header .logo{
  color: coral;
}
.header .logo{
  color: orangered;
}
.header .nav{
  position: absolute;
  top: 60px;
  left: -500px;
  background: #555;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 300px;
  padding: 1rem 3rem;
  transition: .3s all ease-in-out;
}
.nav a{
  color: #fff;
}
.nav a:hover{
  color: coral;
}
.header .nav.active{
  left: 0;
}
.header .menu{
  cursor: pointer;
  color: #fff;
}

/* header responsive */
@media(max-width: 800px){
  .header{
    padding: 0 2rem;
  }
  .header .nav{
    padding: 1rem 2rem;
  }
}
@media(max-width: 500px){
  .header{
    padding: 0 1rem;
  }
  .header .nav{
    padding: 1rem;
  }
}

/* ------------------------- main ------------------------- */
.main section:not(:last-child){
  margin-bottom: 3rem;
}
/* hero */
.main .hero{
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.main .hero > *{
  flex: 50%;
}
.main .hero .box img{
  width: 100%;
  height: auto;
}
.main .hero .box h1{
  margin-bottom: 16px;
}
/* why */
.main .why .box .content,
.main .penting .box .content,
.main .jenis .box .content{
  text-align: center;
}
.main .why .box .content span,
.main .penting .box .content span,
.main .jenis .box .content span{
  font-size: 32px;
  color: palevioletred;
}

/* ----- all main responsive ----- */
@media(max-width: 800px){
  .main .hero{
    flex-direction: column;
  }
}

/* ------------------------- footer ------------------------- */
.footer{
  background: #555;
  color: silver;
}
.footer .slogan{
  text-align: center;
}
.footer .slogan h3{
  color: coral;
}
.footer .container{
  margin: 3rem 0;
}
.footer .container .box h3{
  margin-bottom: 16px;
}
.footer .container .box .content a{
  display: block;
  margin-bottom: 12px;
}
.footer .container .box .content a:last-child{
  margin-bottom: 0;
}
.footer .container .box .form > *{
  display: block;
}
.footer .container .box .form input{
  margin-bottom: 16px;
  width: 100%;
  padding: 8px;
  font-size: 16px;
  border-radius: 4px;
  color: #555;
}
.footer .container .box .form .btn.langganan{
  margin: 0 auto;
}
/* animasi */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.footer .container .box .form .btn.langganan span.fa-spinner{
  animation: spin 1.5s linear infinite;
}
.footer .copyright p{
  text-align: center;
}
