* {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    --yellow: #EBB11B;
    --black: rgb(51, 51, 51);
    --white: #fafafa;
}

body{
    overflow-x: hidden;
}

.circle-button {
    display: none;
}
  
header {
    top: 0;
    left: 0;
    background-color: rgba(51, 51, 51, 0.7); /* Mengatur opacity pada background-color */
    padding: 10px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 10000;
}

header .logo {
    width: 40px;
    height: auto;
    margin-left: 20px;
    margin-right: 20px;
}

header h1 {
    color: var(--yellow);
    margin: 0;
    font-size: 24px;
}

.icon-text {
    margin-left: 8px;
    font-size: 14px;
    color: var(--yellow);
}

.banner {
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0, 36, 57, 0.8), rgba(0, 36, 57, 0.8)), url(images/PA-Cirebon.jpeg);
    background-size: cover;
    position: relative;
}

.banner-logo {
    position: absolute;
    top: 70px;
    right: 12%;
    width: 200px;
    padding: 10px;
    padding-left: 30px;
    display: flex;
    align-items: center;
    margin-right: 30px;
}
  
.banner-logo img {
width: 60px;
height: auto;
padding: 10px;
}

#logo-pemda{
width: 70px;
}

.banner-logo h1 {
color: var(--white);
font-size: 20px;
margin-left: 8px;
line-height: 1.2;
}

.hashtag {
font-size: 80px !important;
}

.overlay {
    text-transform:uppercase;
    max-width: 650px;
    position: absolute;
    top: 45%;
    left: 26.5%;
    transform: translate(-50%, -50%);
    color: var(--white);
    text-align: left;
    font-size: 54px;
    line-height: 1;
}

.overlay span{
    font-size: 64px;
}

.hr-banner {
    width: 53%;
    position: absolute;
    top: 56%;
    margin-left: 90px;
    z-index: 1;
    border-top: 6px solid var(--yellow);
  }

  .overlay-desc {
    position: absolute;
    text-align: left;
    margin-left: 90px;
    top: 60%;
    color: white;
    font-size: 20px;
    z-index: 1;
    max-width: 800px;
}

.info {
    background-color: rgba(235, 177, 27, 0.5);
    position: absolute;
    bottom: 20px;
    right: -220px; 
    width: 200px;
    padding: 10px;
    padding-left: 30px;
    border-left: 5px solid var(--yellow);
    margin-right: 30px;
    animation: slide-in 0.5s ease-out forwards; 
}

@keyframes slide-in {
    0% {
        right: -220px;
    }
    100% {
        right: 20px;
    }
}

.information {
    display: flex;
    align-items: center;
    padding: 8px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.material-icons {
    color: var(--white);
    margin-right: 5px;
}

.icon-text {
    text-decoration: none;
    color: var(--white);
}

.information:hover {
    transform: scale(1.05);
}

.menus h2 {
    margin-top: 20px;
    padding-top: 30px;
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
}

hr {
    border: none;
    border-top: 4px solid var(--black);
    width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.menu-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 20px;
    border-radius: 20px;
    max-width: 90%;
    margin: 0 auto; 
    justify-items: center; 
}

.menu-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    max-height: 220px;
    max-width: 75%;
    animation: fly-in 1s; 
    margin-bottom: 30px; 
}
  
@keyframes fly-in {
    0% {
      transform: translateX(-100%); 
      opacity: 0;
    }
    100% {
      transform: translateX(0%);
      opacity: 1;
    }
  }
  
  
.menu-card img {
    width: 80%;
    max-width: 120px;
    height: auto;
    border-radius: 10px;
    padding-top: 20px;
}

.menu-card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: var(--black);
}

.menu-card:hover {
    background: rgb(35, 80, 46);
    transform: scale(1.05);
}

.menu-card:hover h3 {
    color: white; 
}

footer {
    bottom: 0;
    margin-top: 30px;
    background-color: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-img {
    margin-top: 30px;
    width: 200px;
    height: auto;
    margin-bottom: 30px;
}

.contact {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    margin-right: 20px;
    padding-right: 20px;
}

.contact-us {
    display: flex;
    align-items: center;
    padding: 10px;
}

.contact-us .material-icons {
    margin-right: 5px;
}

.icon-text {
    color: var(--white);
}

.popup {
    background: rgb(255, 255, 255);
    border-radius: 6px;
    position: relative; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    text-align: center;
    padding: 0 30px 30px;
    color: var(--black);
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
    width: 250px;
    height: auto;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-height: max-content;
    transition: transform 0.4s 0.2s, top 0.4s 0.2s; 
}

.popup img {
    width: 70px;
    margin-top: -50px;
}

.popup h2 {
    font-size: 20px;
    font-weight: bold;
    margin: 5px 0 10px;
}

.popup p {
    padding-top: 5px;
    font-size: 16px;
    font-weight: 100;
    text-align: left;
}

.popup button {
    width: 70%;
    margin-top: 30px;
    padding: 10px 0;
    background: #EBB11B;
    color: var(--white);
    border: 0;
    outline: none;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.open-popup {
    visibility: visible;
}

.blur-background {
    filter: blur(4px);
}

.logo-container {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
}

@media (min-width: 2000px){
    #space{
        display: none;
    }
    .menu-cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        column-gap: 30px;
    }

    .menu-cards .menu-card {
        flex: 0 0 calc(25% - 30px);
        margin-right: 20px;
        margin-bottom: 20px;
    }
}

@media (min-width: 1545px){
    .overlay {
        position: absolute;
        text-align: left;
        top: 50%;
        left: 90px;
        transform: translateY(-80%);
        font-size: 64px;
        width: calc(100% - 90px);
    }

    .overlay span{
        font-size: 65px;
        width: 100%;
    }
    .overlay-desc {
        font-size: 36px;
        max-width: 80%;
    }
    .menu-card{
        margin-bottom: 20%;
    }
}

@media screen and (max-width: 900px) and (orientation: portrait){
    .banner-logo {
        right: 24%;
    }

    #space{
        display: none;
    }

    .overlay {
        position: absolute;
        font-size: 45px;
        font-weight: 300;
        top: 45%;
        left: 40%;
        width: max-content;
        line-height: 1.2;
        justify-self: center;
        text-align: center;
        padding-bottom: 10px;

    }

    .overlay span{
        font-weight:bold;
        font-size: 60px;
        padding-bottom: 10px;
    }

    .hr-banner{
        border-width: 4px;
        top: 51%;
        justify-content: center;
        margin-left: 35%;
        width: 30%;
        margin-bottom: 10px;
    }

    .overlay-desc {
        top: 58%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding-top: 30px;
        margin: 0;
        opacity: 0.8;
        font-size: 28px;
        text-align: center;
        width: 90%;
    }

    .popup img {
        width: 90px;
        margin-top: -60px;
    }

    .menu-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-left: 40px;
        margin: 0;
        row-gap: 20px;
    }

    .info {
        display: none;
        position: fixed;
        right: 10px; 
        bottom: 24%;
        padding: 10px 10px 10px 25px;
        width: max-content; 
        background-color: rgba(25, 25, 25, 0.8);
        text-align: center;
        z-index: 10000;
        transform: translateX(0) translateY(100%); 
        border-radius: 5px;
    }

    .information {
        padding: 16px 10px 16px 0px;
    }

    .circle-button {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: var(--yellow);
        color: #fff;
        font-size: 30px;
        border: none;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 10000;
        display: block;
    }

    .material-icons{
        font-size: 30px;
        padding: 0px 10px 0px 10px;
    }

    .icon-text{
        font-size: 20px;
        padding-right: 10px;
    }
}

@media (min-width: 891px) and (max-width: 1544px) {
    .overlay {
        position: absolute;
        text-align: left;
        top: 50%;
        left: 90px;
        transform: translateY(-80%);
        font-size: 64px;
        width: calc(100% - 90px);
    }

    
}

@media screen and (min-width: 870px) and (max-width: 890px){
    .overlay {
        position: absolute;
        font-size: 18px;
        font-weight: 300;
        top: 43%;
        left: 40%;
        transform: translate(-40%, -50%);
        width: 100%;
        line-height: 1.2;
        text-align: center;
    }
    .overlay span{
        font-size: 30px;

    }
}
@media screen and (min-width: 701px) and (max-width: 870px) {
    #space {
        display: none;
    }
    
    header {
        padding: 5px;
    }

    header .logo {
        width: 32px;
        margin-left: 10px;
        margin-right: 10px;
    }

    header h1 {
        font-size: 16px;
    }

    .banner-logo {
        width: 120px;
        top: 10%;
        right: 18%;
    }

    .banner-logo img {
        padding: 5px;
        width: 36px;
    }

    #logo-pemda {
        width: 40px;
    }
    
    .hashtag {
        font-size: 50px !important;
    }

    .banner-logo h1 {
        font-size: 12px;
    }

    .banner-logo h1 span {
        font-size: 16px;
    }

    .overlay {
        position: absolute;
        font-size: 18px;
        font-weight: 300;
        top: 43%;
        left: 40%;
        transform: translate(-40%, -50%);
        width: 100%;
        line-height: 1.2;
        text-align: center;
    }

    .hr-banner{
        top: 47%;
    }
    .overlay span {
        font-weight: bold;
        font-size: 20px;
    }

    .overlay-desc {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.8;
        font-size: 16px;
        text-align: center;
        margin: 0;
        width: 90%;
    }
}


@media screen and (min-width: 481px) and (max-width: 700px) and (orientation: portrait) {
    #space{
        display: none;
    }
    
    header {
        padding: 5px;
    }

    header .logo {
        width: 32px;
        margin-left: 10px;
        margin-right: 10px;
    }

    header h1 {
        font-size: 16px;
    }

    .banner-logo {
        width: 120px;
        top: 10%;
        right: 18%;
    }

    .banner-logo img{
        padding: 5px;
        width: 36px;
    }

    #logo-pemda{
        width: 40px;
    }
    
    .hashtag{
        font-size: 50px !important;
    }

    .banner-logo h1 {
        font-size: 12px;
    }

    .banner-logo h1 span{
        font-size: 16px;
    }

    .overlay {
        position: absolute;
        font-size: 18px;
        font-weight: 300;
        top: 43%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        line-height: 1.2;
        text-align: center;
    }

    .overlay span {
        font-weight: bold;
        font-size: 20px;
    }

    .hr-banner {
        top: 47%;

    }

    .overlay-desc {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.8;
        font-size: 16px;
        text-align: center;
        margin: 0;
        width: 90%;
    }
      
    .info {
        display: none;
        position: fixed;
        right: 10px; 
        bottom: 24%;
        width: max-content; 
        background-color: rgba(25, 25, 25, 0.8);
        padding: 10px;
        padding-left: 15px;
        text-align: center;
        z-index: 10000;
        transform: translateX(0) translateY(100%); 
        border-radius: 5px;
    }
    
    .information {
        padding: 10px 10px 12px 0px;
        width: max-content;
    }
    
    .information .icon-text{
        font-size: 14px;
    }

    .information .material-icons{
        font-size: 20px;
    }

    .circle-button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--yellow);
        color: #fff;
        font-size: 20px;
        border: none;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 10000;
    }
    
    .circle-button {
        display: block;
    }

    .menus h2{
        font-size: 22px;
    }

    hr{
        border-top: 2px solid var(--black);
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .menu-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 30%;
        width: 70%;
        padding-left: 14%;
        margin: 0;
    }
      
    .menu-card {
        max-height: 160px;
        width: 100%;
        max-width: 100%;
    }
      
    .menu-card img {
        max-width: 80px;
        border-radius: 6px;
    }

    .menu-card h3 {
        font-size: 0.9rem;
    }

    .footer-img {
        width: 120px;
    }

    .contact {
        margin-right: 5px;
        padding-right: 5px;
    }

    .popup {
        padding: 16px;
        width: 130px;
    }

    .popup img {
        width: 60px;
        margin-top: -70px;
    }

    .popup h2 {
        font-size: 14px;
    }

    .popup p {
        font-size: 12px;
    }

    .popup button {
        width: 70%;
        margin-top: 15px;
        font-size: 14px;
        
    }
    .contact-us .material-icons{
        font-size: 16px;
    }
    .contact-us .icon-text{
        font-size: 10px;
    }
    
    footer {
        padding-top: 10px;
        bottom: 0;
        display: flex;
        flex-direction: column;
      }
    
    .footer-img{
        left: 0;
        margin: 0 auto;
        margin-right: 90%;
        width: 100px;
        height: max-content;
    }
}

@media screen and (max-width: 480px) and (orientation: portrait) {
    #space{
        display: none;  
    }
    
    header {
        width: 100%;
        padding: 5px;
    }

    header .logo {
        width: 32px;
        margin-left: 10px;
        margin-right: 10px;
    }

    header h1 {
        font-size: 16px;
    }

    .banner{
        max-width: 100vw;
        background-size: cover;
    }

    .banner-logo {
        width: 120px;
        top: 10%;
        right: 18%;
    }

    .banner-logo img{
        padding: 5px;
        width: 36px;
    }

    #logo-pemda{
        width: 40px;
    }
    
    .hashtag{
        font-size: 50px !important;
    }

    .banner-logo h1 {
        font-size: 12px;
    }

    .banner-logo h1 span{
        font-size: 16px;
    }

    .overlay {
        position: absolute;
        font-size: 20px;
        font-weight: 300;
        top: 45%;
        left: 50%;
        width: 100%;
        line-height: 1.2;
        justify-self: center;
        text-align: center;
    }

    .overlay span{
        font-weight:bold;
        font-size: 28px;
    }

    .hr-banner{
        border-width: 3px;
        top: 50%;
        justify-content: center;
        margin-left: 35%;
        width: 30%;
    }

    .overlay-desc {
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.8;
        font-size: 16px;
        text-align: center;
        margin: 0;
        width: 90%;
    }
      
    .info {
        display: none;
        position: fixed;
        right: 10px; 
        bottom: 24%;
        width: max-content; 
        background-color: rgba(25, 25, 25, 0.8);
        padding: 10px;
        padding-left: 15px;
        text-align: center;
        z-index: 10000;
        transform: translateX(0) translateY(100%); 
        border-radius: 5px;
    }
    
    .information {
        padding: 10px 10px 12px 0px;
        width: max-content;
    }
    
    .information .icon-text{
        font-size: 14px;
    }

    .information .material-icons{
        font-size: 20px;
    }

    .circle-button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--yellow);
        color: #fff;
        font-size: 20px;
        border: none;
        position: fixed;
        bottom: 20px;
        right: 10%;
        z-index: 10000;
    }
    
    .circle-button {
        display: block;
    }

    .menus h2{
        font-size: 22px;
    }

    hr{
        border-top: 2px solid var(--black);
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .menu-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 30%;
        width: 70%;
        padding-left: 14%;
        margin: 0;
    }
      
    .menu-card {
        max-height: 160px;
        width: 100%;
        max-width: 100%;
    }
      
    .menu-card img {
        max-width: 80px;
        border-radius: 6px;
    }

    .menu-card h3 {
        font-size: 0.9rem;
    }

    .footer-img {
        width: 120px;
    }

    .contact {
        margin-right: 5px;
        padding-right: 5px;
    }

    .popup {
        padding: 16px;
        width: 130px;
    }

    .popup img {
        width: 60px;
        margin-top: -70px;
    }

    .popup h2 {
        font-size: 14px;
    }

    .popup p {
        font-size: 12px;
    }

    .popup button {
        width: 70%;
        margin-top: 15px;
        font-size: 14px;
        
    }
    .contact-us .material-icons{
        font-size: 16px;
    }
    .contact-us .icon-text{
        font-size: 10px;
    }
    
    footer {
        padding-top: 10px;
        bottom: 0;
        display: flex;
        flex-direction: column;
      }
    
    .footer-img{
        left: 0;
        margin: 0 auto;
        margin-right: 75%;
        width: 100px;
        height: max-content;
    }

}

@media screen and (max-width: 1000px) and (orientation: landscape) {
    header {
        padding: 5px;
    }

    header .logo {
        width: 32px;
        margin-left: 10px;
        margin-right: 10px;
    }

    header h1 {
        font-size: 16px;
    }

    .banner-logo h1{
        font-size: 14px;
    }
    
    .overlay {
        position: absolute;
        font-size: 16px;
        font-weight: 300;
        top: 56%;
        left: 42%;
        justify-self: center;
        width: 1000px;
        line-height: 1.2;
        text-align: center;
    }

    .overlay span{
        font-weight:bold;
        font-size: 24px;
    }

    .hr-banner{
        border-width: 3px;
        top: 64%;
        justify-content: center;
        margin-left: 35%;
        width: 30%;
    }

    .overlay-desc {
        top: 74%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.8;
        font-size: 16px;
        text-align: center;
        margin: 0;
        width: 70%;
      }
    

    .menus h2{
        font-size: 24px;
    }

    .menus hr{
        border-width: 3px;
    }

    .menu-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin: 5px;
        padding-left: 36px;
        padding-bottom: 40px;
    }
    
    .menu-card img {
        width: 60%;
        max-width: 150px;
        height: auto;
        border-radius: 10px;
    }    
    
    .menu-card h3 {
        margin: 10px 0;
        font-size: 1.0rem;
        color: var(--black);
    }
    
    .popup h2{
        font-size: 1.0rem;
    }
    .popup img {
        width: 70px;
        margin-top: -50px;
    }
    
    .menu-card {
        max-height: 180px;
    }
    
    .info {
        display: none;
        position: fixed;
        bottom: 60px; 
        right: 10px; 
        width: 170px; 
        bottom: 180px;
        background-color: rgba(25, 25, 25, 0.8);
        padding: 10px;
        padding-left: 15px;
        text-align: center;
        z-index: 10000;
        transform: translateX(0) translateY(100%); 
        border-radius: 5px;
    }

    .information {
        padding: 10px 10px 12px 0px;
        width: max-content;
    }

    .circle-button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--yellow);
        color: #fff;
        font-size: 20px;
        border: none;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 10000;
    }
    
    .circle-button {
        display: block;
    }
    
    .popup{
        width: 150px;
    }
    .banner-logo {
        width: 120px;
        top: 20%;
        right: 10%;
    }

    .banner-logo img{
        padding: 5px;
        width: 36px;
    }

    #logo-pemda{
        width: 40px;
    }
    
    .hashtag{
        font-size: 45px !important;
    }

    .banner-logo h1 {
        font-size: 12px;
    }

    .banner-logo h1 span{
        font-size: 16px;
    }

    footer{
        bottom: 0;
    }
}

@media screen and (max-width: 600px) and (orientation: landscape) {
    #space{
        display: none;
    }

    .menu-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 5px;
        margin-left: 18px;
    }

    .overlay {
        position: absolute;
        font-size: 16px;
        font-weight: 300;
        top: 56%;
        left: 40%;
        justify-self: center;
        width: 1000px;
        line-height: 1.2;
        text-align: center;
    }

    .overlay span{
        font-weight:bold;
        font-size: 24px;
    }

    .hr-banner{
        top: 65%;
    }

    .overlay-desc {
        top: 78%;
      }
    
    .menu-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 30%;
        width: 70%;
        padding-left: 14%;
        margin: 0;
    }
      
    .menu-card {
        max-height: 160px;
        width: 100%;
        max-width: 100%;
    }
      
    .menu-card img {
        max-width: 80px;
        border-radius: 6px;
    }

    .popup{
        font-size: 12px;
    }
    .popup img{
        width: 50px;
    }

    .footer-img{
        width: 25%;
    }

    footer{
        bottom: 0;
    }
}