@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body{
  /* background-color: rgb(96, 96, 223); */
}

nav{
  position: fixed;
  z-index: 1;
  width: 100%;
  background: whitesmoke;
  -webkit-box-shadow: 0 5px 6px -6px #777;
  -moz-box-shadow: 0 5px 6px -6px #777;
       box-shadow: 0 5px 6px -6px #777;
       display: block;
}
nav:after{
  content: '';
  clear: both;
  display: table;
}
nav .logo{
  float: left;
  color:black;
  font-size: 27px;
  font-weight: 600;
  line-height: 70px;
  padding-left: 60px;
}


.logoImg .img1{
  
  display: block;
    margin: 0 auto;
    height: 70px;
}

.logoImg .img2{
  margin: 0 auto;
  height: 70px;
  display: none;
}


nav ul{
  float: right;
  margin-right: 40px;
  list-style: none;
  position: relative;
}
nav ul li{
  float: left;
  display: inline-block;
  background: whitesmoke;
  margin: 0 5px;
}
nav ul li a{
  color: black;
  line-height: 70px;
  text-decoration: none;
  font-size: 15px;
  padding: 8px 15px;
}
nav ul li a:hover{
  color: #a10606;
  border-radius: 5px;

}
nav ul ul li a:hover{
  box-shadow: none;
}
nav ul ul{
  position: absolute;
  top: 90px;
  border-top: 3px solid #a10606;
  opacity: 0;
  visibility: hidden;
  transition: top .3s;
}
nav ul ul ul{
  border-top: none;
}
nav ul li:hover > ul{
  top: 70px;
  opacity: 1;
  visibility: visible;
}
nav ul ul li{
  position: relative;
  margin: 0px;
  width: 150px;
  float: none;
  display: list-item;
  border-bottom: 1px solid rgba(0,0,0,0.3);
}
nav ul ul li a{
  line-height: 50px;
}
nav ul ul ul li{
  position: relative;
  top: -60px;
  left: 150px;
}
.show,.icon,input{
  display: none;
}
.fa-plus{
  font-size: 15px;
  margin-left: 40px;
}
@media all and (max-width: 968px) {

  .logoImg .img1{
    float: left;
  }

  nav ul{
    margin-right: 0px;
    float: left;
  }
  nav .logo{
    padding-left: 30px;
    width: 100%;
  }
  .show + a, ul{
    display: none;
  }
  nav ul li,nav ul ul li{
    display: block;
    width: 100%;
  }
  nav ul li a:hover{
    box-shadow: none;
  }
  .show{
    display: block;
    color: black;
    font-size: 15px;
    padding: 0 20px;
    line-height: 70px;
    cursor: pointer;
  }
  .show:hover{
    color: #a10606;
  }
  .icon{
    display: block;
    color: black;
    position: absolute;
    top: 0%;
    right: 20px;
    line-height: 70px;
    cursor: pointer;
    font-size: 25px;
  }
  nav ul ul{
    top: 70px;
    border-top: 0px;
    float: none;
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  nav ul ul a{
    padding-left: 40px;
  }
  nav ul ul ul a{
    padding-left: 80px;
  }
  nav ul ul ul li{
    position: static;
  }
  [id^=btn]:checked + ul{
    display: block;
  }
  nav ul ul li{
    border-bottom: 0px;
  }
  span.cancel:before{
    content: '\f00d';
  }
}

@media all and (max-width: 380px) {
  .logoImg .img1{
    display: none;
  }

  .logoImg .img2{
    display: block;
    float: left;
  }

  nav .logo{
    padding-left: 0;
  }

}

  .banner{
  position: relative;
  background: url('../img/cover.jpg');
  background-size:cover;
  background-attachment: fixed;    background-attachment: fixed;
    background-repeat: no-repeat;
  background-position:top;
  height:90vh;
}

.banner-color{
  height: 100%;
  background: rgba(22, 22, 24, 0.8);
}

.banner-text{
  position: absolute;
  left:13%;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  color:white;
  display: flex;
  flex-direction: column;
  width: 40%;
  padding-top: 5rem;
}

.anim >header{
  font-size: 33px;
  font-weight: 500;
}

.line-banner{
  padding: .05rem 0;
  color: white;
  width: 100%;
  height: 100%;
  background-color: white;
}

.anim >p{
  padding-top: 0.5rem;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
}

.banner-button{
 text-align: left;
  margin:2rem 0;
  background: none;
  border: none;

}
.banner-button a{
  text-decoration: none;
  padding: .3rem 1.5rem;
  border: 2px solid white;
  color: white;
  border-radius: .3rem;

}
.banner-button a:hover{
  
  padding: .4rem 1.6rem;
  border: 2px solid rgb(255, 83, 83);
  color: rgb(255, 83, 83);
 
}

.banner-kecil{
  display: none;
}


@media all and (max-width:725px) {
  .anim >header{
    font-size: 25px;
  }

  .banner-text{
    width: 60%;
  }


}

@media all and (max-width:570px) {
  .anim >header{
    font-size: 20px;
  }
  .banner{
    min-height: 70vh;
    }

}
@media all and (max-width:475px) {

  .line-banner{
    width: 90%;
  }

  .banner-text{
    width: 80%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
  }

  .banner{
  min-height: 70vh;
  }

 

  .banner-kecil-before{
    display: none;
  }

  .banner-kecil{
    padding-bottom: .1rem;
    display: initial;
  }

  .anim >header{
    font-size: 22px;
    
  }

}
/*test*/
    /*@media all and (max-width: 1920px) {*/
        
    /*    .anim >header{*/
    /*     font-size: 70px;*/
    /*    font-weight: 500;*/
    /*    }*/
        
    /*    .anim >p{*/
    /*        font-size: 50px;*/
        
    /*}*/


/*---------------------------salam------------------------- */

.salam{
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem 5rem;
  box-shadow: 
  inset 0px 12px 8px -10px #CCC,
  inset 0px -11px 8px -10px #CCC; 

}


.salam header, .text-video header{
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
  
}
.content p{
  text-align: justify;
  font-size: 20px;
  font-weight: 300;
  color: gray;
}



@media all and (max-width: 650px) {
  .salam{
    padding: 2rem 2rem;
  }

  header{
    font-size:25px;
  }

  .content >p{
    font-size: 18px;
  }

}


@media all and (max-width: 500px) {
  .salam{
    padding: 2rem 2rem;
  }

  header{
    font-size:22px;
  }

  .content >p{
    font-size: 16px;
  }

}

/*------------x--------------salam---------x---------------- */


/*---------------------------video------------------------- */






.video{ 
  min-height: 40vh;
  background: url('../img/dpm2022.png');
  background-size:cover;
  background-repeat: no-repeat;
  background-position:top;
}




.content-video{
  color: white;
  background: rgb(13, 47, 141,0.8);
  padding:4rem 0;
 display: grid;
 grid-template-columns: 0.8fr 1fr;
 align-items:center;
}



.text-video header{
  font-size: 44px;
  font-weight: 500;

}



@media all and (max-width: 1055px) {
.video-container{padding-right: 1rem;}
}

@media all and (max-width: 970px) {
  .video-container{
    justify-self: center;
    padding-right: 0;
  }

  .content-video{
    grid-template-columns: 1fr;
  }

}



@media all and (max-width: 650px) {
  .text-video header{
    font-size: 30px;
    font-weight: 400;
  
  }


  .content-video{
    padding: 2rem 2rem;
  }

  .video-container {
    justify-self: auto;
    position: relative; 
    padding-bottom: 56.25%; 
    padding-top: 30px; 
    height: 0; 
    overflow: hidden;
   
  } 

  .video-container iframe{ 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%;
     height: 100%; 
    }

} 
/*--------------x-------------video----------x--------------- */

/*---------------------------AJakan------------------------- */
.ajakan{
  min-height: 50vh;
  display : grid;
  align-content: center;
  grid-template-columns:1fr 1.5fr;
  place-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem 5rem;
  box-shadow: 
  inset 0px 12px 8px -10px #CCC,
  inset 0px -11px 8px -10px #CCC; 
}


.ajakan1{
  align-content: flex-end;
}

.ajakan1 img{
  width:325px;
  height:280px;
}

.ajakan2{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 1rem;
  width: 90%;
  
  
}
.ajakan2 header{
  display: inline-block;
  font-size: 23px;
  font-weight: 300;
  text-align: left;

}
.ajakan2 p{
  font-size: 14px;
  font-weight: 300;
  text-align: justify;
  color: gray;
}

.content-ajakan p{
  font-size: 20px;
  font-weight: 300;
  color: gray;
}
.button_aspirasi {
  background-color: #b31f1f;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: .5rem;
}

.button_aspirasi:hover{
  background-color: #a10606;

}
.button_aspirasi a {
  text-decoration:none;
  color: white;
}

@media only screen and (max-width:700px){

  .ajakan{
    grid-template-columns:1fr;
    padding: 2rem 2rem;
  }

  .ajakan2{
    width: 100%;
  }

  .ajakan1 img{
    width:375.6px;
    height:328.2px;
  }


}

@media only screen and (max-width:475px){

  .ajakan{
    grid-template-columns:1fr;
    padding: 2rem 1rem;
  }
  .ajakan2{
    padding:2rem 0;
  }

  .ajakan1 img{
    width:100%;
    height:auto;
  }

}





/*---------------------------AJakan------------------------- */



/*-------------------------------FOOTER----------------------------------*/
.footer{
  position:relative;
  bottom:0;
  display:flex;
  justify-content: center;
  padding-bottom:3rem;
  font-size: x-small;
}

.about-us p{
  font-size: 16px;
}

@media only screen and (max-width:450px){

  .site{
      font-size: 14px;
  }

  .footer h1{
      font-size: 18px;;
  }


}




h3{
  font-weight: 500; 
  font-size: 16PX;
}

h4{
  font-weight: 300;
  font-size: 10PX;
}


.footer-container{
  padding: 2rem 0;
  display:grid;
  background:#a10606;
  grid-template-columns:1fr 1fr 1fr;
  list-style: none;
  text-decoration: none;
  color: white;
}

.lambang{
  font-size:1.7rem;
  padding:0 7px;
}


.nav-link{
  color:white;
}


.footer1{
padding: 0 30px;


}

.info{
  display: flex;
  padding-bottom: 15px;
}



.jarak{
  padding-top:5px;
}


.email{
  margin-left: 40px;
}

.footer2{
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer3{
display:flex;
flex-direction: column;
}


.copyright{
  overflow: hidden;
  background-color: rgb(148, 0, 0);
  color: white;
  text-align: center;
}




@media only screen and (max-width:900px){
  .footer-container{
      grid-template-columns: 1fr;
  }

  .line{
      border-bottom: 2px solid white;
      padding-top:15px;
      width: 80%;
  }

  .footer1{
    justify-content: center;
      align-items: center;
      text-align: center; 
  }
  .footer2{
      /* margin-top: -2.5rem; */
  }

  .footer3{
      justify-content: center;
      align-items: center;
      text-align: center;
  }
  .info{
      flex-direction: column;
  }
  .email{
      margin-left: 0px;
  }
}
/*---------------x----------------footer----------------x-----------------*/