body {
    font-family: "poppins", sans-serif;
  }
:root {
    --primary: #09697d;
    --secondary: #f9be20;
    --light: white;
    --dark: #092635;
}
.judul1{
    font-family: "Poppins", sans-serif;
    font-weight: bolder;
    font-style: normal;
    font-size: 2.5rem;
    color: white;
}
.judul2{
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.67rem;
}
.judul3{
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-size: 1.24rem;
    font-style: normal;
    color: var(--primary);
}
.judul4{
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-size: 1.11rem;
    font-style: normal;
    color: var(--primary);
}
.paragraf{
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.11rem;
}
.paragraf2{
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 0.98rem;
    text-indent: 20px;
    line-height: 1.7rem;
    text-align: justify;
}
.paragraf3{
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.15rem;
    text-indent: 30px;
    line-height: 1.8rem;
    text-align: justify;
}
.paragraf4{
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 0.75rem;
    text-indent: 20px;
    line-height: 1.7rem;
    text-align: justify;
}
.font3 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    font-style: normal;
    color: var(--primary);
  }
.font5 {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    font-style: normal;
}
/* .font1 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 3.0rem;
  }
  .font2 {
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 2rem;
    color: var(--primary);
  }

  .font4 {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 0.88rem;
    font-style: normal;
    padding: 5%;
  }
  } */
.judul-dashboard{
    font-family: "Poppins", sans-serif;
    font-weight: bolder;
    font-style: normal;
    font-size: 2rem;
    color: var(--dark);
}

.judul-berita{
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.67rem;
    color: var(--primary);
    text-decoration: underline;
    color: #171A39;
}

.judul-samping{
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.67rem;
    color: var(--primary);
    text-decoration: underline;
    color: #171A39;
}

.card-img-samping {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.sidebar{
    background-color: var(--dark);
    position: fixed;
    height: 100vh;
}

.navbar{
    background-color: var(--primary);
    transition: background-color 0.3s ease-in-out;
}
.nav-link{
    font-weight: 400;
    font-family: "Poppins", sans-serif;
    color: var(--light) !important;
}
.nav-link:hover{
    font-weight: 400;
    font-family: "Poppins", sans-serif;
    color: var(--secondary) !important;
}
.nav-link.active {
    color: #FFE012 !important;
    font-weight: 700;
    transition: ease-in-out 0.5s;
}

.carousel-item img {
    filter: brightness(50%);
    object-fit: cover;
}

.carousel-caption h5 {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.carousel-caption p {
    font-size: 1.5rem;
    font-weight: normal;
  }


.jumbotron {
    filter: brightness(0.5); /* 0.5 membuat gambar lebih gelap */
}

.container .judul .garis{
    border-top: 1px solid rgba(251, 196, 196, 0.664);
}

.card-img-overlay{
    display: flex !important;
    justify-content: end;
}

.footer{
    font-family: "Poppins", sans-serif;
    background: url(../img/pattern/footer.png) center center no-repeat;
    background-size: contain;
}

.footer .h5{
    font-weight: 700;
}

.footer .garis-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.190);
    padding-bottom: 20px;
    margin: auto;
}

/* .icon-text{
    display: inline-flex;
    align-items: center;
} */

.icon-survei{
display: inline-flex;
align-items: center;
color: white;
}

.halaman-dashboard {
    background-color: var(--primary);
}

.tentanglpm {
    background-color:azure;
}

.sambutan .garis {
    border-top: 2px solid var(--dark);
    padding-bottom: 20px;
    
}

.tentanglpm .garis {
    border-top: 2px solid var(--dark);
    padding-bottom: 20px;
}

.tentangspmi .garis {
    border-top: 2px solid var(--dark);
    padding-bottom: 20px;
    
}

.news .garis {
    border-top: 2px solid var(--dark);
    padding-bottom: 20px;
}
.akreditasi .card {
    transition: 0.3s;
    border-radius: 10px;
}

.akreditasi .card:hover {
    transform: scale(1.05);
}

.berita-card {
    overflow: hidden;
    border-radius: 15px;
    transition: 0.3s;
}

.berita-image {
    overflow: hidden;
    border-radius: 15px;
}

.berita-img {
    /* width: 100%; */
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.berita-card:hover .berita-img {
    transform: scale(1.1);
    filter: brightness(0.7);
}


/* Kelas untuk latar belakang gelap */
.bg-nav {
    background-color: var(--dark) !important; /* Ganti dengan warna yang diinginkan */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Efek transisi untuk latar belakang dan bayangan */
/* Efek overlay untuk teks */
}
.overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.berita-card:hover .overlay {
    opacity: 1;
}

/* Transisi teks */
.berita-caption {
    z-index: 2;
    transition: transform 0.3s ease-in-out;
}

.berita-card:hover .berita-caption {
    transform: translateY(-10px);
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.card-img-samping {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.card:hover .card-img-samping {
    transform: scale(1.05);
}

.card:hover .main-image {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.tujuan-ami {
    background-color: azure;
    padding-top: 50px;
    padding-bottom: 50px;
}

.card-tujuan1 {
    background-color: var(--secondary);
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card-tujuan2 {
    background-color: var(--dark);
    border-radius: 10px;
    color: var(--light);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card-tujuan2:hover,
.card-tujuan1:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.about .garis {
    width: 10%; 
    border-top: 2px solid var(--dark); 
    padding-bottom: 20px;
}

.calendar {
    width: 45%;
    height: 100%;
    background-color: var(--dark);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.calendar-hari .hari {
    width: calc(100% / 7 - 10px);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color:var(--dark);
}

.calendar-tanggal .hari {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% / 7 - 10px);
    height: 50px;
    background-color: var(--light);
    border-radius: 10px;
    color: var(--dark);
    font-weight: 600;
    transition: all 0.3s;
    user-select: none;
}

.calendar .calendar-tanggal .hari:not(.next):not(.prev):hover {
    color:var(--light);
    background-color: var(--primary);
    transform: scale(1.05);
}

.calendar .calendar-tanggal .hari.today {
    color: #171A39 !important;
    background: #FFE012 !important;
}

.card-agenda {
    background-color: var(--secondary);
    border-radius: 10px;
    padding: 10px;
    width: 50%;
}

.card-kegiatan {
    background-color: var(--dark);
    border-radius: 10px;
    /* width: 50%; */
}

.has-agenda {
    position: relative;
}

.has-agenda::after {
    content: '';
    position: absolute;
    top: 5px; /* Mengatur posisi lingkaran di atas */
    right: 5px; /* Mengatur posisi lingkaran di kanan */
    width: 6px;
    height: 6px;
    background-color: #c41104; /* Ubah warna sesuai keinginan */
    border-radius: 50%;
}

.halaman-dashboard {
    background-color: var(--primary);
}

.animated-img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.animated-img:hover {
    transform: scale(1.1); /* Membesarkan gambar saat di-hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); /* Menambahkan bayangan */
}

.backgroundpattern{
    position: relative;
    background-image: url('../img/pattern/pattern1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    min-height: 100vh;
}

.backgroundpattern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9); 
    z-index: -1; 
}

.bgpattern2{
    position: relative;
    background-image: url('/img/dokumentasi/patternmn.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    }
.bgpattern2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: -1; 
    }

/* Judul Modal */
#modalTitle {
    font-size: 1.6rem;
    color: #171A39;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

/* Form dalam modal */
form label {
    font-weight: bold;
    color: #171A39;
    margin-top: 12px;
    display: block;
}

form input[type="text"],
form input[type="date"],
form input[type="file"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

form input:focus,
form textarea:focus {
    border-color: #171A39;
    outline: none;
}

/* Spasi elemen */
form input, form textarea, .btn {
    margin-top: 8px;
}

/* Animasi hover */
.transform-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transform-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Background gradient untuk tiap card */
.bg-gradient-primary {
    background: linear-gradient(135deg, #092635, #041C2C);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #09697d, #064f5d);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #f9be20, #e0a800);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

/* .card-title {
    font-size: 1.25rem;
}

.card-text {
    font-size: 2rem;
    font-weight: bold;
} */

.circle {
    display: inline-block;
    justify-content: center;
    align-content: center;
    width: 150px;
    height: 150px;
    line-height: 100px;
    border-radius: 50%;
    background-color: white;
    text-align: center;
    margin: 20px;
    font-weight: bold;
    color: white;
    transition: transform 0.3s ease;
    position: relative;
}

.circle:hover {
    transform: scale(1.1);
}

/* Panah */
.arrow {
    font-size: 24px;
    margin: 0 10px;
    color: var(--dark);
}

/* Styling untuk popover */
.popover {
    max-width: 200px;
    font-size: 14px;
}

/* Styling untuk responsive layout */
.circle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Atur posisi lingkaran agar responsif */
.circle {
    margin: 20px;
}

/* Responsif pada ukuran layar lebih kecil */

@media (max-width: 768px) {
    .circle {
        width: 80px;
        height: 80px;
        line-height: 80px;
    }

    .arrow {
        font-size: 18px;
        margin: 0 5px;
    }
    .navbar-brand{
        max-width: 40px;
    }
}

/* Styling ikon */
/* i {
    font-size: 3rem;
} */

@media (max-width: 768px) {
    .carousel-caption {
        top: 10px;
    }
    .carousel-caption h5 {
        font-size: medium;  
    }
    .carousel-caption p {
        font-size: small;  
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 10px 15px !important;
    }
    .navbar-nav {
        text-align: start;
        padding-top: 10px;
    }
    .nav-item {
        margin-bottom: 5px;
    }
    .card-agenda {
        width: 100%;
    }
    .sambutan {
        position: absolute;
        top: 700px; /* Jarak dari atas */
        right: 100px; /* Jarak dari kanan */
        padding: 10px 15px; /* Ruang di sekitar teks */
        border-radius: 5px; /* Opsional: Membuat sudut membulat */
    }
}
