@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap');

body {
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Style the header with the logo */
header {
    text-align: center;
    background-color: #45b39d;
    height: 100%;
    padding: 2px 0;
    font-size: 32px;
    font-weight: 200;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
}

/* Style the logo image */
header img {    
    height: 160px;
    /*margin-top: -100px;*/
    /*margin-bottom: -100px;*/
}

#background-pict{
    width: 100%;
}

#background-pict img{
    width: 100%;
}

.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 50px;
    max-width: 100%; /* Set the container to 100% width */
    /* padding: 50px; */
    background-color: rgba(255, 255, 255, 0);
    margin: 0 auto;
    /* position: relative; */
    display:flex ;
    width:100%;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
    /* background-color: #0b996e; */
}

.header2 header {
    text-align: center;
    padding: 20px 0;
    background-color: #ffffff;
    font-size: 38px;
    font-weight: 200;
    font-family: 'Poppins', sans-serif;
    color: #000;
}

footer {
    text-align: center;
    padding-bottom: 15px;
    background-color: #ffffff;
    font-size: 14px;
    font-weight: 200;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    color: #000;
}

#foot1 {
    font-size: 20px;
    text-align: center; /* Center-align the content */
}

#foot2 {
    font-size: 30px;
    padding-top: 40px;
}

footer a {
    text-decoration: none; /* Remove underline */
    color: #000; /* Change link color */
}
footer img {    
    padding-bottom: 20px;
    height: 100%;
    margin: 0 auto;
}
/* Style the WhatsApp box */
.whatsapp-box {
    background-color: #000000; /* WhatsApp green color */
    padding: 20px;
    width: 200px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    margin: 0 auto;
    position: relative;
    border-radius: 10px;
}

.whatsapp-box a {
    text-decoration: none;
    color: #fff;
}

/* Center the WhatsApp box */
.whatsapp-box-container {
    text-align: center;
    padding: 20px 0;
}


/* Media query for mobile view */
@media (max-width: 800px) {
    .whatsapp-box {
        font-size: 16px;
        padding: 15px;
    }
}


/* Style the boxes */
.box {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 10px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    transition: background-color 1s ease, color 0.3s ease;
    border-radius: 15px;
    color: #000;
    text-align: center;
    /* margin: 0 auto;  */
    font-size: 20px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    width: 20%; 
    min-height: 200px;
    margin-top: 10px;
}

.box:hover {
    background-color: #b8b6b6;
    color: #fff;
}

/* Style the images */
.box img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    width: 100%; /* Set initial width to 100% */
    transition: width 0.5s ease; /* Add a transition for smooth width changes */
}

/* Media query for mobile view */
@media (max-width: 800px) {
    .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .box {
        margin: 10px 0;
        max-width: 100%;
        width: 80%; /* Reset the width for mobile screens */
    }

    .image-container {
        display: none;
        width: 100%;
    }

    /* Center-align header text and logo on small screens */
    header {
        text-align: center;
    }
    
    #foot1 {
        text-align: center;
        width: 100%;/* Left-align the content on smaller screens */
    }

    header img {
        max-width: 80%;
    }

    /* Adjust the image width for mobile screens */
    .box img {
        width: 80%; /* Set a different width for mobile screens */
    }

    /* Gradually reduce the max-width of the image in image-container */
    .image-container img {
        max-width: 80%; /* Set a different max-width for mobile screens */
        transition: max-width 0.5s ease; /* Add a transition for smooth max-width changes */
    }

    footer img {
        max-width: 80%;
    }
}

.social-icons {
    display: flex;
    justify-content: center; /* Untuk mengatur ke tengah */
    gap: 10px; /* Jarak antara ikon-ikon sosial */
  }
  
  .social-icon {
    padding: 5px;
    transition: background-color 0.3s ease;
  }
  
  .social-icon img {
    width: 45px; /* Ukuran ikon */
    height: 45px;
  }
