@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

header {
    position: relative;
    display: flex;
    flex-direction: column;
    background: url("../../asset/foto/lainya/background/bg-illustration.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 100vh;

}


header::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 57vh;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0, 0, 0), rgba(0, 0, 0, 0));
}

.hd-nmcmp {
    margin: auto auto;
    font-size: 5rem;
    position: relative;
    font-weight: 700;
    letter-spacing: 2px;
    animation: munculDariKiri 1s ease-out;
}

@keyframes munculDariKiri {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.hd-nmcmp p {
    color: rgb(220, 220, 220);
    text-align: center;
    text-shadow: 0px 0px 4px #010101;
    font-size: small;
}

.hd-nmcmp p:hover {
    color: rgb(255, 255, 255);
}

.tanggal {
    color: #f8f8ff;
    font-size: 2rem;
    font-weight: 500;
}

.tanggal span {
    font-size: 1.5rem;
}

.sosmed {
    display: flex;
    list-style: none;
    align-items: center;
}

.sosmed li {
    margin-right: 1rem;
}

main {
    margin-top: 5%;
    width: 100%;
    padding: 2.5rem 0;
}

section {
    margin-top: 2%;
    margin-bottom: 5%;
}

.posisi-card-pd-sv {
    margin-top: 2%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.bulat-i-pd {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #00101D;
    width: 60px;
    height: 60px;
    margin: 0 auto;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.bulat-i-pd i {
    color: white;
    transition: all 0.3s ease;
}

#PORTO {
    background: url("/asset/foto/lainya/background/product-illustration.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;

}

.kotak-pd-sv {
    box-shadow: 0px 0px 9px rgb(146, 146, 146);
    background-color: #f8f8ff;
    color: #2a2a2a;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin: 10px;
    width: 235px;
    transition: all 0.3s ease;
    height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kotak-pd-sv:hover {
    box-shadow: 0px 0px 10px rgb(255, 254, 254);
    transform: translateY(-5px);
}

.kotak-pd-sv:hover .bulat-i-pd {
    transform: scale(1.1);
    margin-bottom: 10%;
}

.kotak-pd-sv:hover .bulat-i-pd i {
    color: rgb(255, 255, 255);
    transform: scale(1.4);
}


.kotak-pd-sv:hover h4 {
    transform: scale(1.0);
    margin-bottom: 2%;
}

.image-gallery {
    display: flex;
    width: 55%;
    min-height: 30%;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.img-kotak {
    width: calc(30.33% - 20px);
    padding-bottom: 34%;
    position: relative;
    margin-bottom: 2rem;
    margin-right: 10px;
}

.img-kotak img {
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0px 0px 8px #000000;
    filter: brightness(80%);
    height: 100%;
    object-fit: cover;
}


.ingpo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.img-kotak:hover .ingpo {
    opacity: 1;
}

.text {
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 10px;
}

.ingpo p {

    color: rgba(255, 255, 255, 0.641);
}

.kontak-kami .card-container {
    margin-top: 2%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.kontak-kami .card-container .card {
    width: 400px;
    height: auto;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 10px;
    margin: 10px;
}

.kontak-kami .kontak-paragraph {
    margin-bottom: 20px;
}

.kontak-kami .card-container .card .kontak-title,
.kontak-paragraph {
    line-height: 2px;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}

.kontak-kami .card-container .card h1,
p {
    text-align: center;
    justify-content: center;
    align-items: center;
    color: #000000;
}

footer {
    border-top: 1px solid #ffffff;
    font-size: 17px;
    padding: 15px 5px;
    color: #ffffff;
    text-align: center;
}

.keriz {
    transform: translateY(150px);
    opacity: 0;
    transition: all 1s ease;
}


.keriz.aktip {
    transform: translateY(0px);
    opacity: 1;
}

@media only screen and (max-width: 749px) {
    .main-footer {
        padding: 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .info {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .main-footer {
        grid-template-columns: 1fr;
    }

    .sociallogos {
        padding: 20px 0;
    }

    .com {
        padding: 20px 0;
    }
}

@media screen and (max-width: 980px) {
    nav {
        z-index: 1;
        background: rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(2.3px);
        -webkit-backdrop-filter: blur(2.3px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    nav .menu {
        position: fixed;
        gap: 0;
        flex-direction: column;
        color: #00101D;
        background: rgb(255, 255, 255);
        text-align: center;
        transition: 0.9s;
        top: 80px;
        left: -100px;
        z-index: 0;
    }

    .menu.aktif {
        left: 0;
        width: 100%;
    }

    .menu-ln {
        margin: 16px 0;
    }

    .garis3 {
        display: block;
    }

    .garis3.aktif .bar:nth-child(2) {
        opacity: 0;
    }

    .garis3.aktif .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .garis3.aktif .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .img-kotak {
        width: calc(33.33% - 20px);
    }

    .image-gallery {
        width: 90%;
        min-height: 30%;
    }
}

@media screen and (max-width: 820px) {
    .hd-nmcmp {
        width: 80%;
        margin-left: 2%;
    }

    .hd-nmcmp p {
        margin-left: 2%;
        text-align: initial;
        width: 24rem;
        font-size: small;
    }

    .kotak-pd-sv {
        width: calc(50% - 20px);
        margin: 10px;
    }

    .bulat-i-pd {
        width: 40px;
        height: 40px;
    }

    .img-kotak {
        width: calc(50% - 20px);
    }

    .image-gallery {
        width: 90%;
        min-height: 30%;
    }
}

@media only screen and (max-width: 600px) {
    .hd-nmcmp {
        margin-left: 0;
        font-size: 2rem;
        width: 100%;
        text-align: center;
    }

    .tanggal {
        display: none;
    }

    .hd-nmcmp p {
        margin-left: 4%;
        text-align: center;
        width: 90%;
        font-size: 10px;
    }

    .sosmed {
        display: flex;
        margin: 0 auto;
        list-style: none;
        padding: 0;
    }

    .posisi-card-pd-sv {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .image-gallery {
        width: 90%;
        min-height: 30%;
    }
}