@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-------------------------------*/



.banner{
    position: relative;
    background: url('../img/pic2.png');
    background-size:cover;
    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;
  }
  
  .banner-text >header{
    font-size: 33px;
    font-weight: 500;
  }
  
  .line-banner{
    padding: .05rem 0;
    color: white;
    width: 100%;
    height: 100%;
    background-color: white;
  }
  
  .banner-text >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) {
    .banner-text >header{
      font-size: 25px;
    }
  
    .banner-text{
      width: 60%;
    }
  
  
  }
  
  @media all and (max-width:570px) {
    .banner-text >header{
      font-size: 20px;
    }
    .banner{
      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{
    height: 70vh;
    }
  
    .banner-text .banner-kecil-before{
      display: none;
    }
  
    .banner-kecil{
      padding-bottom: .1rem;
      display: initial;
    }
  
    .banner-text >header{
      font-size: 22px;
    }
  
  }



.blank{
  height: 70px;
}


/*-------------------x------------Banner----------x------------------------*/






/*------------------------------penjelasan--------------------------------*/

.penjelasan-container{
    display: grid;
    grid-template-columns: 1fr 2fr;
    min-height: 90vh;
    background-image: url(../img/white.jpg);
    background-size: cover;
    
}

.foto1{
    width: 70%;
    height: 100%;
    /* margin-left: 6rem; */
    display: flex;
    margin-right: 3rem;
    
}

.foto2{
  height: 100%;
  width: 100%;
  padding-bottom: 4rem;
  display: none;
  
}



.penjelasan-foto{
display:flex;
justify-content: flex-end;
align-items: center;  
width: 100%;
height: 100%;

}


.penjelasan-content{
  
    margin:4rem 0;
    
    margin-left: 2.6rem;
    margin-right:  6rem;
    text-align: left;
}

.penjelasan-content p{
  font-size: 20px;
  margin-top: 4rem;
}


@media only screen and (max-width:1030px){
.penjelasan-container{
  align-items: center;
}

.foto1{
  width: 100%;
  height: 100%;
  margin-right: 0rem;
  padding-left: 2rem;
}

.penjelasan-content{
  margin-right:  3rem;
}

}



@media only screen and (max-width:833px){
  .penjelasan-content{
    margin-top: 6rem;
    margin: auto;
    width: 80%;
    padding-bottom: 4rem;
}

.foto2{
  padding-bottom: 1rem;
}

.penjelasan-content p{
  font-size: 18px;

}

.foto1{
  display: none;
}

.foto2{
  display: initial;
}


.penjelasan-container{
  grid-template-columns: 1fr;
}


}



@media only screen and (max-width:530px){
  .penjelasan-content p{
    font-size: 13px;}
}



/*------------------x-----------penjelasan------------------------x-------*/
.container-fungsi{
  text-align: center;
  padding: 3rem 0;
  background-image: url(../img/bgbg.png);
  background-size: cover;
  align-items: center;
  justify-content: center;
  
  
  
}

.container-fungsi>h2{
  color:aliceblue;
  padding-bottom: 1.6rem;

}
.container-fungsi2x{
  
  grid-template-columns: 1fr 1fr ;
  /* background-color: rgba(27, 55, 116, 0.8); */
  padding: 10px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
}
.content-fungsi2x{
  background-color: rgba(255, 255, 255, 0.8);
  margin: 0 10px;
  /* border: 1px solid rgba(0, 0, 0, 0.8); */
  padding: 20px;
  border-radius: 0.7rem;
  font-size: 30px;
  width: 300px;
  min-height: 260px;
  text-align: center;
  
}
.container-fungsi3x{
  
  grid-template-columns: 1fr 1fr 1fr  ;
  /* background-color: rgba(27, 55, 116, 0.8); */
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-fungsi3x{
  background-color: rgba(255, 255, 255, 0.8);
  /* border: 1px solid rgba(0, 0, 0, 0.8); */
  margin: 0 10px;
  border-radius: 0.7rem;
  padding: 20px;
  font-size: 30px;
  min-height: 260px;
  max-height: 290px;
  width: 300px;
  text-align: center;
  
  
}

.content-fungsi3x>h4{
  font-size: 13px;
}

.content-fungsi2x>h4{
  font-size: 13px;
}
.fungsi-link{
  color:rgb(0, 0, 0);
  font-size: 50px;
}

@media only screen and (max-width:940px){
  
.container-fungsi2x{

  grid-template-columns: 1fr  ;
  display: grid;
  padding: 0px;
  
}
.container-fungsi3x{

  grid-template-columns: 1fr  ;
  display: grid;
  padding:0px;
}
.content-fungsi2x{
  background-color: rgba(255, 255, 255, 0.8);
  margin: 5px 10px;
  /* border: 1px solid rgba(0, 0, 0, 0.8); */
  padding: 20px;
 
  border-radius: 0.7rem;
  font-size: 55px;
  width: 80%;
  min-height: 200px;
  align-self: center;
  justify-self: center;
  text-align: center;
  
}
.content-fungsi3x{
  background-color: rgba(255, 255, 255, 0.8);
  margin: 5px 10px;
  /* border: 1px solid rgba(0, 0, 0, 0.8); */
  padding: 20px;
  border-radius: 0.7rem;
  font-size: 55px;
  width: 80%;
  min-height: 200px;
  text-align: center;
  align-self: center;
  justify-self: center;
  
}



}



@media only screen and (max-width:400px){
  
  .content-fungsi2x{
    min-height: 250px;
    overflow-x: hidden;
    overflow-y: scroll;
    
  }
  .content-fungsi3x{
    min-height: 250px;
    overflow-x: hidden;
    overflow-y: scroll;
    
  }
  
  }









/*-------------------------------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-----------------*/