@import url('https://fonts.googleapis.com/css2?family=Zen+Antique&display=swap');

/* * {
    font-family: 'Zen Antique', serif;
} */

/* @media screen and (min-width: 320px) {
    .img-hero {
        width: 100%;
        height: 150px;
    }

    .carousel-caption h5 {
        font-size: 10px;
    }
}

@media screen and (min-width: 375px) {
    .img-hero {
        width: 100%;
        height: 200px;
    }

    .carousel-caption h5 {
        font-size: 11px;
    }
}

@media screen and (min-width: 768px) {
    .img-hero {
        width: 100%;
        height: 400px;
    }

    .carousel-caption h5 {
        font-size: 14px;
    }
} */

.img-hero {
    width: 100%;
    height: 0;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    overflow: hidden;
  }
  
  .img-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Memastikan gambar tetap sesuai rasio tanpa terdistorsi */
  }
  

.head2 {
    height: 70px;
    width: auto;
    position: absolute;
    right: 0;
    top: 0;
}

.head1 {
    height: 70px;
    width: auto;
    position: absolute;
    left: 0;
    top: 0;
}

.tt1 {
    position: absolute;
    width: 200px;
    height: 13px;
    left: 94px;
    top: 16px;

    font-style: normal;
    font-weight: 800;
    font-size: 9px;
    line-height: 12px;
    /* identical to box height */

    letter-spacing: -0.055em;

    color: #000000;
}

.tt2 {
    position: absolute;
    width: 150px;
    height: 13px;
    left: 119px;
    top: 27px;

    font-style: normal;
    font-weight: 800;
    font-size: 9px;
    line-height: 12px;
    /* identical to box height */

    letter-spacing: -0.055em;

    color: #000000;
}

.hline-y {
    position: absolute;
    width: 68px;
    height: 6px;
    left: 134px;
    top: 45px;
    background-color: #FFC412;
}

.hline-y .hline-b {
    background-color: #301D6E;
    width: 50%;
    height: 100%;
}

.logo-instansi {
    position: absolute;
    width: 106px;
    height: 27px;
    right: 10px;
    top: 16px;
}


/* The Modal (background) */
.modal-egi {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    margin: auto;
    padding: 20px;
    border: 0;
    width: 80%;
    position: relative;
    border-radius: 8px;
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    right: 15px;
    top: 0;
    color: #ebebeb;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }