@font-face{font-family:poppins;src:url(fonts/Poppins/Poppins-Bold.ttf);}
@font-face{font-family:blueno-heading;src:url(fonts/Commissioner/Commissioner-VariableFont_FLAR\,VOLM\,slnt\,wght.ttf);}
@font-face{font-family:Zain;src:url(fonts/Zain/Zain-Regular.ttf);}
@font-face{font-family:Zain-Light;src:url(fonts/Zain/Zain-Light.ttf);}
*,html,body{
   font-family: blueno-heading;
}
body{
   display: flex;
   flex-direction: column;
   min-height: 100vh;  
}
main{
   flex: 1;
   display: block;
}
h1,h2{
   text-transform: uppercase;
}
h1{
   font-family: blueno-heading;
}
h2{
   font-family: poppins;
}
h3{
   font-weight: normal;
}
img{
   display: initial;
}
.service-card h3{
   font-size: 1.3rem;
   font-weight: 500;
   text-transform: uppercase;
   font-family: blueno-heading;
}
.logo{
   display: grid;
   grid-template-columns: 60px 1fr;
   
   .site-title{
      color: #fff;
      font-size: 1.5rem;
      line-height: 21px;

      span{
         font-weight: 300;
         font-size: 0.8rem;
      }
   }
}
.about-image{
   position: relative;

   img{
      border-radius: 100%;
   }
}
.label-name{
   left: 0;
   right: 0;
   position: absolute;
   bottom: 1px;
   background-color: #0047ab;
   text-align: center;
   color: #fff;
   height: 120px;
   display: grid;
   align-content: center;
   background-image: linear-gradient(to bottom right, #001f3f, #06F);

   span{
      font-size: 1.2rem;
   }
}
.content{
   padding-top: 100px;
  padding-bottom: 100px;
}
.section-page-title {
  width: 100%;
  border-bottom: solid 1px #eee;
  margin-bottom: 20px;
}
.page-title {
  width: max-content;
  border-bottom: solid 5px var(--color-theme-1);
}
.section-title, .page-title {
  padding: 40px 0 40px;
  color: #4A4747;
  text-shadow: 2px 2px 3px var(--color-theme-3);
}
.section-title,
.page-title{
  padding: 20px 0 10px;
  font-family: Work_Sans;
  color: #4A4747;
  text-shadow: 2px 2px 3px var(--color-theme-3);
  border-bottom: 1px solid rgba(134,119,148,.4);
  text-transform: uppercase;
  margin-bottom: 30px;
}
.section-title > div{
  display: grid;
  align-content: end;
}
.section-title > div:nth-child(2){
  font-size: 14px;
  justify-content: end;
}
.section-title small{
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
  color: gray;
}
.section-title-h1{
  font-size: 33px;
  line-height: 33px;
  font-weight: 700;
}
/* PEGAWAI */
.pegawai-list{
   font-family: Lexend;

   .kadis{
      display: grid;
      grid-template-columns: 250px 1fr;
      gap: 20px;

      img{
         border-radius: 30px;
         width: 250px;
         height: 250px;
         object-fit: cover;
         box-shadow: rgba(174, 174, 174, 0.15) 1px 3px 3px 1px;
      }

      h3{
         font-family: Lexend;
         font-size: 2rem;
         font-weight: 600;
      }
      span{
         font-family: Lexend;
         font-size: 1.5rem;
      }
   }
   .limiter{
      font-family: Lexend;
      font-size: 1.7rem;
      padding: 50px 0 30px 0;

      .title{
         border-bottom: solid 2px #ddd;
         width: auto;
         font-weight: 100;
      }
   }
   .pejabat-struktural{
      .pejabat-grid{
         gap: 40px;

         .pejabat-list{
            border-radius: 30px;
            padding: 40px;
            box-shadow: rgba(174, 174, 174, 0.15) 1px 3px 3px 1px;
            max-width: 350px;
            background: linear-gradient( var(--angle), #2b6599, rgba(249, 249, 249, 0.8), rgba(255, 255, 255, 0.6), rgba(255, 0, 0, 0) );

            .data-image{
               text-align: center;

               img{
                  border-radius: 30px;;
                  width: 250px;
                  height: 250px;
                  object-fit: cover;
                  box-shadow: rgba(189, 189, 189, 0.15) 1px 3px 3px 1px;
               }
            }
            .data-text{
               display: flex;
               flex-direction: column;
               align-items: center; 
               justify-content: flex-start;
               text-align: center;
               line-height: normal;

               h3{
                  font-size: 2.1rem;
                  font-family: Zain;
                  margin-bottom: 15px;
                  line-height: 1.6rem;
                  margin-top: 11px;
               }
               span{
                  font-size: 1.4rem;
                  font-weight: normal;
                  line-height: 1.5rem;
                  display: inline-block;
                  font-family: Zain-Light;
                  color: grey;
               }
            }
         }
      }
   }
   .staf{
      .staf-grid{
         justify-items: center;

         .staf-list{
            border-radius: 10px;
            box-shadow: rgba(174, 174, 174, 0.15) 1px 3px 3px 1px;
            max-width: 150px;

            .data-image{
               text-align: center;

               img{
                  border-radius: 10px;
                  width: 150px;
                  height: 150px;
                  object-fit: cover;
                  box-shadow: rgba(189, 189, 189, 0.15) 1px 3px 3px 1px;
               }
            }
            .data-text{
               display: flex;
               flex-direction: column;
               align-items: center; 
               justify-content: flex-start;
               text-align: center;
               line-height: normal;

               h3{
                  font-size: 1rem;
                  font-family: Zain;
                  line-height: 1rem;
               }
               span{
                  font-size: 0.9rem;
                  font-weight: normal;
                  display: inline-block;
                  font-family: Zain-Light;
                  color: grey;
                  line-height: 0.8rem;
                  padding: 10px 0;
               }
            }
         }
      }
   }
}

/* BERITA */
   .berita-list {
      display: grid;
      grid-template-columns: 130px 1fr;
   }
   .ximg-image-text {
      gap: 2px;
      padding-bottom: 20px;
      display: grid;
      font-size: 0.9rem;
   }
   .berita-list-img img {
      width: 120px;
      height: 80px;
      border-radius: 5px;
      border: solid 1px #ccc;
      object-fit: cover;
      filter: brightness(80%);
      -webkit-filter: brightness(80%);
      -webkit-transition: all 0.5s ease;
      -moz-transition: all 0.5s ease;
      -o-transition: all 0.5s ease;
      -ms-transition: all 0.5s ease;
      transition: all 0.5s ease;
   }
   .berita-list-txt {
      padding: 0 10px;
      color: #515151;
      position: relative;
      font-size: 0.9rem;
   }
   .berita-title {
      color: #515151;
      font-weight: 500;
      color: var(--color-theme-1);
   }
   .berita-meta {
      font-size: 0.7rem;
      position: absolute;
      bottom: 5px;
   }
   article{
      .x-quill{

         p{
            font-size: 1.1rem;
         }
      }
      h1{
         font-size: 180%;
         font-weight: 500;
         line-height: 2.2rem;
         padding: 20px 0;
      }
      img{
         margin: auto;
         display: block;
         padding: 10px;
         box-shadow: rgba(34, 34, 34, 0.24) 0px 4px 16px;
         border: solid 1px #f6f6f6;
         border-radius: 5px;
      }
      .berita-datetime{
         font-size: 0.8rem;
         color: #595757;
      }
   }
   /*
   article h1{
      font-size: 1.6rem;
      font-weight: 500;
      color: var(--color-theme-1);
      line-height: 2.1rem;
      margin-bottom: 10px;
   }
   article .baca-img{
      display: block;
      margin: 30px auto;
      border-radius: 5px;
      box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
   }

   article p,
   article ul li{
      font-size: 1rem;
      color: #2d2d2d;
      text-align: justify;
   }
   article p{
      margin: 0;
      padding-bottom: 10px;
      line-height: 1.5rem;
   }
   article ul,
   article ol{
      margin: 10px 0 20px;
      padding-left: 50px;
      li{
         padding-left: 20px;
      }
   }
   article ul li{
      line-height: 1rem;
   }
   */
article,
.section-content{
   margin: 40px 0;
   background: rgba( 255, 255, 255, 0.6 );
   box-shadow: 0 8px 32px 0 rgba(210, 210, 210, 0.37);
   backdrop-filter: blur( 4px );
   -webkit-backdrop-filter: blur( 4px );
   border-radius: 10px;
   border: 1px solid rgba( 255, 255, 255, 0.18 );
   padding: 20px 50px;
}

/* ALBUM */

.album-box-title{
  /*border-bottom: solid 3px #666;*/
  margin-bottom: 20px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 1.2rem;
}
.gallery-box-content{
  display: grid;
  position: relative;
  justify-items: center;
  height: 200px;
}
.gallery-box img{
  max-width: 80%;
  position: absolute;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}
.gallery-box img:nth-child(2){
  top: 10px;
  left: 30%;
}
.gallery-box img:nth-child(3){
  top: 20px;
  left: 34%;
}
.gallery-list img{
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}
/* EOF ALBUM */

/* GALLERY */
.gallery-popup{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height: 100%;
  background-color: rgba(0,0,0,.8);
  z-index: 20;
  display: grid;
}
.gallery-content{
  width: 80%;
  max-height: 80%;
  margin: auto;
  display: grid;
  align-content: center;
  justify-content: center;
  position: relative;
}
.gallery-content img{
  width: 100%;
  max-width: 800px;
  max-height: 100%;
}
.gallery-prev,
.gallery-next{
  position: absolute;
  top: 50%;
  background-color: rgba(255,255,255,.8);
  padding: 10px;
  border-radius: 5px;
  z-index: 1000;
  cursor: pointer;
}
.gallery-prev{
  left: 20px;
}
.gallery-next{
  right: 20px;
}
.gallery-popup-close{
  position: absolute;
  right: -41px;
  top: -32px;
  cursor: pointer;
}
.gallery-popup-close i{
  font-size: 3rem;
  color: red;
}
.gallery-popup-close i:hover{
  color: #fff;
}
/* EOF GALLERY */

/* SECTION YOUTUBE */
.home-youtube{
  margin-top: 50px;
}
.home-youtube iframe,
.video-player iframe{
  width: 100%;
  aspect-ratio: 16/9;
}
.video-player iframe{
  margin-bottom: 20px;
}
.video-player-title{
  display: inline-block;
  font-size: 1.7rem;
  padding: 10px 0 5px;
}
.video-list{
  gap: 10px;
  font-size: 0.8rem;
}
.video-list > div{
  overflow: hidden;
}
.video-list img{
  max-width: 100%;
  transition: 0.5s all ease-in-out;
}
.video-list img:hover{
  transform: scale(0.9);
}
.label-date {
  font-size: 0.8rem;
  color: #888;
}
/* MODIFY */
   .service-card{
      backdrop-filter: blur(16px);
      border: 1px solid rgba(194, 208, 229, 0.15);
      box-shadow: 0 8px 32px rgba(0, 31, 63, 0.12);
      border-radius: 16px;
      padding: 1.5rem;
   }
   .service-card:hover {
     transform: scale(0.9);
   }
   /* CONTACT */
      .contact-map{
         background: rgba(255, 255, 255, 0.75);
         backdrop-filter: blur(16px);
         border: 1px solid rgba(0, 102, 255, 0.15);
         box-shadow: 0 8px 32px rgba(0, 31, 63, 0.12);
         border-radius: 16px;
         padding: 1rem;
         transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .contact-item{
         background: rgba(255, 255, 255, 0.75);
         backdrop-filter: blur(16px);
         border: 1px solid rgba(0, 102, 255, 0.15);
         box-shadow: 0 8px 32px rgba(0, 31, 63, 0.12);
         border-radius: 16px;
         padding: 1.5rem;
         transition: all 0.3s ease;
      }
      .contact-item:hover {
         transform: scale(1.1);
      }
      .contact-icon{
         font-size: 1.4rem;
         width: 3rem;
         height: 3rem;
         align-items: center;
         justify-content: center;
         display: flex;
         flex-shrink: 0;
         border-color: hsl(0 0% 89.8%);
         background-image: linear-gradient(to bottom right, #e3f2fd, #bbdefb);
         border-radius: 100%;
         color: rgb(0 102 255);
      }
   .footer,
   .header{
      background-image: linear-gradient(to bottom right, #001f3f, #06F);
   }

@media (max-width: 768px) {
   .section-header h2 {
      font-size: 1.8rem;
      font-weight: 300;
   }
   .section-title small {
      font-size: 14px;
   }
   .section-title-h1{
      font-size: 19px;
      line-height: 20px;
   }
   .pegawai-list{

      .kadis{
         grid-template-columns: 1fr;
         text-align: center;
      }
   }
}
