/**
* Template Name: BizPage - v3.1.0
* Template URL: https://bootstrapmade.com/bizpage-bootstrap-business-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

@font-face {
  font-family: 'montserratextrabold';
  src: url('../fonts/montserrat/montserrat-extrabold.woff2') format('woff2'),
       url('../fonts/montserrat/montserrat-extrabold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'montserratbold';
  src: url('../fonts/montserrat/montserrat-bold.woff2') format('woff2'),
       url('../fonts/montserrat/montserrat-bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'montserratlight';
  src: url('../fonts/montserrat/montserrat-light.woff2') format('woff2'),
       url('../fonts/montserrat/montserrat-light.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'montserratmedium';
  src: url('../fonts/montserrat/montserrat-medium.woff2') format('woff2'),
       url('../fonts/montserrat/montserrat-medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'montserratregular';
  src: url('../fonts/montserrat/montserrat-regular.woff2') format('woff2'),
       url('../fonts/montserrat/montserrat-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
font-family: 'Lato-Black';
src: url('../fonts/lato/Lato-Black.woff2') format('woff2'),
     url('../fonts/lato/Lato-Black.woff') format('woff');
font-weight: normal;
font-style: normal;
}

body {
font-family: 'montserratmedium';
font-size: 45px;
background: rgba(120, 175, 159, 0.1);
background-color: #333333;
transform-origin: top left;
overflow: hidden;
}

a {
color: #fff1e6;
transition: 0.5s;
}

a:hover, a:active, a:focus {
color: #18d36e;
outline: none;
text-decoration: none;
}

p {
padding: 0;
margin: 0 0 0px 0;
}

h1, h2, h3, h4, h5, h6 {
font-family: 'montserratregular';
font-weight: 400;
margin: 0 0 20px 0;
padding: 0;
}

label {
font-weight: 700;
font-family: 'montserratregular';
}

small,
.small {
font-size: 60%;
font-weight: 700;
color: #fff1e6;
}

.table td, .table th {
  border: none;
}

table.table.table-condensed {
  border: 1px solid #eee;   
}

th, td {
  font-size: 13px;
}

.text-white {
font-family: 'montserratbold';
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
width:100%;
transition: all 0.5s;
position:fixed;
z-index: 997;
padding: 5px 0;
background-color: rgba(50, 49, 49, 0.5);
}

#header.header-transparent {
background: transparent;
}

#header .logo {
font-size: 40px;
color: #ffd152;  
line-height: 1;
font-family: 'montserratbold';
font-weight: 700;
letter-spacing: 3px;
margin: 0;
padding-left: 8px;
padding-right: 8px;
}

#header .nama {
font-size: 42px;
color: #ffd152;
margin: 0;
padding: 0;
line-height: 1;
font-family: 'montserratextrabold';
font-weight: 400;
text-align: left;
}

#header .alamat {
font-size: 20px;
padding-top: 5px;  
color: #fff1e6;
letter-spacing: 2px;
font-family: 'montserratmedium';
font-weight: 700;
}

#header .tanggal {
font-size: 20px;
padding-top: 2px;  
color: #fff1e6;
letter-spacing: 2px;
font-family: 'montserratmedium';
font-weight: 700;
}

#header .logo a {
color: #fff;
}

#header .logo img {
max-height: 40px;
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */

.nav-menu p {
display: block;
position: relative;
color: #2b2e42;
transition: 0.3s;
font-size: 35px;
font-family: "Montserrat", sans-serif;  
font-weight: 600;
background-color: #f7dc6f;  
padding-right: 10px;
padding-left: 10px;

}

.nav-menu ul {
margin: 0;
padding: 0;
list-style: none;
}

.nav-menu > ul {
display: flex;
}

.nav-menu > ul > li {
position: relative;
white-space: nowrap;
padding: 10px 0 10px 28px;
}

.nav-menu a {
display: block;
position: relative;
color: #fff;
transition: 0.3s;
font-size: 15px;
font-family: "Montserrat", sans-serif;
font-weight: 600;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
color: #18d26e;
}

.nav-menu .drop-down ul {
display: block;
position: absolute;
left: 14px;
top: calc(100% + 30px);
z-index: 99;
opacity: 0;
visibility: hidden;
padding: 10px 0;
background: #fff;
box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
transition: 0.3s;
}

.nav-menu .drop-down:hover > ul {
opacity: 1;
top: 100%;
visibility: visible;
}

.nav-menu .drop-down li {
min-width: 180px;
position: relative;
}

.nav-menu .drop-down ul a {
padding: 10px 20px;
font-size: 13px;
text-transform: none;
color: #333333;
}

.nav-menu .drop-down ul a:hover, .nav-menu .drop-down ul .active > a, .nav-menu .drop-down ul li:hover > a {
color: #18d26e;
}

.nav-menu .drop-down > a:after {
content: "\ea99";
font-family: IcoFont;
padding-left: 5px;
}

.nav-menu .drop-down .drop-down ul {
top: 0;
left: calc(100% - 30px);
}

.nav-menu .drop-down .drop-down:hover > ul {
opacity: 1;
top: 0;
left: 100%;
}

.nav-menu .drop-down .drop-down > a {
padding-right: 35px;
}

.nav-menu .drop-down .drop-down > a:after {
content: "\eaa0";
font-family: IcoFont;
position: absolute;
right: 15px;
}

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/
#intro {
min-height: 83vh;  
overflow: hidden;
position: relative;
}

#intro .carousel, #intro .carousel-inner, #intro .carousel-item, #intro .carousel-item::before {
position: absolute;  
top: 0;
right: 0;
left: 0;
bottom: 0; 
}

#intro .carousel-item {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}

#intro .carousel-item::before {
content: '';
background-color: rgba(30, 35, 40, 0.3); /* Pengaturan opacity */
}

#intro .carousel-container {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
bottom: 0;
top: 70px;
left: 50px;
right: 50px;
}

#intro .container-fluid {
text-align: center;
}

#intro .container-fluid p {
  font-size: 30px;
}

#intro h1 {
color: #fff1e6;
margin-bottom: 50px;
font-size: 40px;
font-weight: 700;
font-family: 'montserratbold'; 
padding: 10px; 
}

#intro h2 {
color: #ffd152;
margin-bottom: 50px;
font-size: 40px;
font-weight: 100px;
font-family: 'montserratbold'; 
padding: 10px; 
}

#intro p {
margin: 0 auto 30px auto;
line-height: 1.1;
color: #fff1e6;
font-size: 50px;
font-weight: 600;
font-family: 'montserratbold';
-webkit-animation-delay: 0.4s;
animation-delay: 0.4s;
}

#intro .carousel-fade {
overflow: hidden;
}

#intro .carousel-fade .carousel-inner .carousel-item {
transition-property: opacity;
}

#intro .carousel-fade .carousel-inner .carousel-item,
#intro .carousel-fade .carousel-inner .active.carousel-item-left,
#intro .carousel-fade .carousel-inner .active.carousel-item-right {
opacity: 0;
}

#intro .carousel-fade .carousel-inner .active,
#intro .carousel-fade .carousel-inner .carousel-item-next.carousel-item-left,
#intro .carousel-fade .carousel-inner .carousel-item-prev.carousel-item-right {
opacity: 1;
transition: 1s;

}

#intro .carousel-fade .carousel-inner .carousel-item-next,
#intro .carousel-fade .carousel-inner .carousel-item-prev,
#intro .carousel-fade .carousel-inner .active.carousel-item-left,
#intro .carousel-fade .carousel-inner .active.carousel-item-right {
left: 0;
transform: translate3d(0, 0, 0);
}

#intro .carousel-control-prev, #intro .carousel-control-next {
width: 10%;
}

#intro .carousel-control-next-icon, #intro .carousel-control-prev-icon {
background: none;
font-size: 22px;
line-height: 1;
}

#intro .carousel-indicators li {
cursor: pointer;
}


/*--------------------------------------------------------------
# Clock
--------------------------------------------------------------*/
#clock {
padding-top: 0px;
position: relative;
background: rgb(52, 58, 64);   
}

#clock .left { 
background: rgba(52, 58, 64, 0);
color: #ffd152;
position: absolute;  
bottom: 20px;
z-index: 2;  
height: 120px;
width: 480px;
left: 10px;
padding-left: 8px;
} 

#clock .right { 
background: rgba(52, 58, 64, 0);
color: #ffd152; 
position: absolute;  
bottom: 60px;
z-index: 2;  
height: 75px;
width:700px;
right: 0px; 
padding-left: 8px;
text-align: right;
padding-right: 20px;
} 

#clock h2 {
font-size: 65px;
font-weight: 700;
font-family: 'montserratbold'; 
}

#clock h3 {
font-size: 45px;
font-weight: 700;
font-family: 'Lato-Black'; 
}


/*--------------------------------------------------------------
# Running-Text
--------------------------------------------------------------*/
#text {
padding-top: 0;
position: relative;
background: rgb(52, 58, 64);   
}

#text .running-text { 
background: rgba(52, 58, 64, 0.4);  
color: #fff1e6; 
position: absolute;  
bottom: 0;
z-index: 2;  
height: 50px;
width: 100%;   
} 

#text .running-text h3 {
font-size: 35px;
font-weight: 700;
font-family: 'montserratmedium';
margin: -7px 0;
}

/*--------------------------------------------------------------
# Prayer Section
--------------------------------------------------------------*/

#prayer .bg1 {
background: rgba(73, 80, 87);
height: 135px;
width: 100%;
display: flex;
}


/*prayer time*/
#prayer h2 { 
color: #ddb892;
font-weight: 700;
font-size: 60px; 
bottom: 20px;
margin-bottom: 10px;
text-align: center;
font-family: 'montserratbold';   
}

/*prayer name*/
#prayer h3 {  
color: #fff1e6;
font-weight: 700;
font-size: 35px;  
bottom: 58px;
margin-bottom: 15px; 
text-align: center; 
font-family: 'montserratbold';
margin-bottom: -10px;  
}

#prayer .selected {
color: #495057;
background:#ffd152;
padding: 0 50px;    
font-family: 'montserratbold';
margin-bottom: 10px;
}

/*--------------------------------------------------------------
# Footer Section
--------------------------------------------------------------*/
#footer {
background:#343a40;
padding: 0 0;  
font-size: 15px;
font-family: 'montserratbold';
height: 28px;
}

#footer .social-links {
color: #fff1e6;
padding-left: 7px;
padding-right: 7px;
letter-spacing: 1px;
}

#header {
    padding: 10px 50px;
    text-align: center;
    margin-right: 40px ;
}

.nama {
    font-size: 28px; /* Perbesar nama masjid */
    font-weight: bold;
}

.alamat, .tanggal {
    font-size: 24px;
}

#clock {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 120px;
    font-weight: bold;
    color: yellow;
}

#text .running-text {
    font-size: 2px;
}

.d-flex.bg1 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    text-align: center;
    gap: 15px;
}

.p-2 h3 {
    font-size: 32px;
    font-weight: bold;
}

.p-2 h2 {
    font-size: 40px;
    color: yellow;
}

#footer {
    font-size: 14px;
    text-align: center;
}

.social-links p {
    margin: 0;
    padding: 5px;
}


/* REPONSIF MEDIA QUERY */

@media (max-width: 768px) {
  html, body {
      width: 100%;
      font-size: 18px;
      overflow-x:hidden;
  }

  #header {
      text-align: left;
      width: 100%;
      position:fixed;
  }
  

  #header .nama{
    font-size: 20px;
    text-align:left;
    
  }

  #header .alamat {
  font-size: 12px;
  margin-right: 40px;
  }

  #header .tanggal {
  font-size: 12px;
  }

  .d-flex.bg1 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      text-align: center;
  }

    #clock left {
        z-index:5;

    }
    
    #clock right {
        z-index:5;
    }

  #clock h2 {
    font-size: 20px;
    font-weight: 200;
  }

  #clock h3 {
    font-size: 20px ;
    font-weight: 200;

  }

 #intro {
     min-height:86vh;
 }

  #intro h1 {
    font-size: 15px;
    font-weight: 200;
    }
    
    #intro h2 {
    font-size: 15px;
    font-weight: 100;
    }

  #intro .container-fluid p {
    font-size: 15px;
    font-weight: 50;
  }

  .p-2 {
      width: 100%;
  }

  .p-2 h3 {
      font-size: 16px;
  }

  .p-2 h2 {
      font-size: 22px;
  }

  #prayer {
      justify-content: center;
      align-items: center;
      gap: 8px;
  }

  #prayer h2 {
      font-size: 15px;
      margin-top: 20px;
  }

  #prayer h3 {
      font-size: 12px;
  }

  #prayer .selected {
    padding: 0 20px;    
    margin-bottom: 10px;
    }

    #prayer .bg1 {
    height: 85px;
    }

    #text .running-text { 
      position: absolute;  
      margin-bottom: 0;
      height: 30px;
      } 

    #text .running-text h3 {
      font-size: 20px;
      font-weight: 300;
      }
      
}
