* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*costume font*/

@font-face {
    font-family: 'verdana';
    src: url(asset/verdana-font-family/verdana.ttf);
}

@font-face {
    font-family: 'verdanabold';
    src: url(asset/verdana-font-family/verdana-bold.ttf);
}



/*settingan dasar*/
.container {
    max-width: 1300px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}

.col-2 {
    flex-basis: 50%;
    min-width: 300px;
}

.col-2 img {
    max-width: 100%;
    padding: 50px 0;
}

.col-2 h1 {
    font-family: 'verdanabold';
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0;
    color: #fff;
}


/*akhir dari settingan*/


body {
    font-family: 'verdana';
}


/*navbar*/
.navbar {
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: flex-end;
    padding: 1rem 2rem;
    align-items: center;
    position: fixed; /* Ubah dari relative ke fixed */
    top: 0; /* Pastikan navbar tetap di atas */
    width: 100%; /* Pastikan navbar mencakup seluruh lebar layar */
    z-index: 1000; /* Pastikan navbar berada di atas elemen lain */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Tambahkan bayangan untuk sedikit gaya */
}
.logo{
    justify-content: flex-end;
    align-items: center;
}
.logosrinaga{
    width: 90px; 
    margin-right: 60px; 
}

.menu-icon {
    display: block;
    cursor: pointer;
    width: 30px;
    margin-left: auto;
}

nav {
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: space-between;
    text-align: right;
}

nav ul {
    position: absolute;
    top: 70px;
    right: 0;
    background: #ffffff;
    overflow: hidden;
    text-align: center;
    transition: max-height 0.5s;
    z-index: 1000; /* Increase z-index to ensure the menu is above other elements */
    max-height: 500px;
}

nav ul li {
    display: block;
    margin: 10px; /* Simplified margin property */
}

nav ul li a {
    color: #000000;
    text-decoration: none;
    display: block; /* Ensure the whole area of the <li> is clickable */
    padding: 10px; /* Add padding to make it easier to click */
}
/*----media query for menu---*/
@media only screen and (max-width: 800px) {
    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        background: #ffffff;
        width: 100%;
        overflow: hidden;
        text-align: center;
        transition: max-height 0.5s;
    }
    nav ul li {
        display: block;
        margin-right: 50px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    nav ul li a {
        color: #000000;
    }
    .menu-icon {
        display: block;
        cursor: pointer;
    }
}



/*main*/
.main {
    width: 100%;
    height: 100%;
    align-items: center;
    top: 5%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin-top: 70px;
}

.sticky {
    position: sticky;
    height: 100%;
    max-height: 655px;
}
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slide-container {
    display: flex;
    transition: transform 1s ease-in-out;
    width: 100%;
}

.slider img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .sticky {
        max-height: 390px;
    }
}

@media screen and (max-width: 768px) {
    .main {
        top: 10%;
    }

    .sticky {
        max-height: 150px;
    }

    .prev,
    .next {
        font-size: 12px;
        padding: 5px;
    }
}

@media screen and (max-width: 576px) {
    .sticky {
        max-height: 150px;
    }
}




/*akhir main*/

/*coretan srinaga*/


.coretan {
    padding: 30px 0;
}

.coretan .row{
    padding-left: 50px;
}

.coretan h1{
    margin-left: 0px;
    font-size: 40px;
}

.coretan h1.in-view{
    margin-left: 50px;
    animation: slide-right 3s forwards;
}


.coretan p {
    color: #ffffff;
    font-family: 'verdana';
    font-size: 15px;
    line-height: 25px;
    margin-left: 45px;
    text-align: justify;
    width: 80%;
}

.coretan p.in-view{
    /* margin-left: 50px; */
    animation: slide-right-p 3s ;
   
}


@keyframes slide-right {
    from {
        margin-left: -100%;
        opacity: 0;
    }

    to {
        margin-left: 7%;
        opacity: 1;
    }
}
@keyframes slide-right-p {
    from {
        margin-left: -50%;
        opacity: 0;
    }

    to {
        margin-left: 7%;
        opacity: 1;
    }
}


.coretan .btn {
    display: inline-block;
    background: #f6bc1d;
    font-size: 15px;
    padding: 14px 40px;
    margin: 30px 0;
    margin-left: 50px;
    border-radius: 0px;
    transition: background 0.5;
    
}

.coretan .btn.in-view{
    border-radius: 30px;
    animation:fadeIn ease 4s;
}


@keyframes fadeIn{
    0% {
      opacity:0;
    }
    100% {
      opacity:1;
    }
  }


.btn:hover {
    background: #b4870b;
}


.coretan a {
    font-family: 'verdanabold';
    color: #ffffff;
    text-decoration: none;
}

.col-2 .coretan-img {
    padding-top: 30px;
    /* margin-left: 20px; */
    width: 0;
    
}

.col-2 .coretan-img.in-view{
    width: 90%;
    animation: slide-left 3s;
}


@keyframes slide-left {
    from {
        margin-left: 100%;
    }

    to {
        margin-left: 3%;
    }
}

@media screen and (max-width: 1280px){
   

    .coretan p {
       
        margin-left: 40px;
    }
    

}

@media screen and (max-width: 992px){
   

    .coretan p {
        font-size: 14px;
        line-height: 20px;
        margin-left: 30px;
    }
    

}

/*coretan mobile*/

@media screen and (max-width: 768px){
    .coretan {
        padding: 15px 0;
    }

    .coretan h1 {
        font-size: 24px;
        margin-left: 0;
    }

    .coretan p {
        font-size: 14px;
        line-height: 20px;
        margin-left: 0;
    }
    
@keyframes slide-right {
    from {
        margin-left: -100%;
    }

    to {
        margin-left: 0%;
    }
}

@keyframes slide-left {
    from {
        margin-left: 100%;
    }

    to {
        margin-left: -40%;
    }
}

    .coretan .btn{
        margin-left: 0;
    }
    .col-2 {
        flex-direction: column-reverse; /* Mengubah urutan kolom menjadi terbalik */
    }

    .col-2 .coretan-img {
        margin-top: 20px;
        margin-bottom: 10px;
    }
    
    .col-2 .coretan-img.in-view {
        max-width: 300%;
        width: 150%;
        margin-left: -120px;
    }
}

/*akhir coretan*/

/*kelezatan*/

.kelezatan{
    padding: 30px 0;
}
.col-2 .kelezatan-img{
   width: 50%;
   flex-direction: row;
   position: relative;
   top: 0;
   left: 0;
   margin-left: 0;
}
.col-2 .kelezatan-img.in-view{
    margin-left: 100px;
    animation: slide-right-kelezatan 3s forwards;
}
@keyframes slide-right-kelezatan {
    from {
        margin-left: -50%;
        opacity: 0;
    }

    to {
        margin-left: 7%;
        opacity: 1;
    }
}
.lava {
    position: relative;
    top: 0;
    left: 0;
}

.stick{
    position: absolute;
    top: -25px;
    left: 275px;
}
.kelezatan h1{
    align-items: center;
    text-align: center;
    font-size: 40px;
}

.kelezatan p{
    color: #ffffff;
    font-family: 'verdana';
    font-size: 15px;
    line-height: 25px;
    text-align: center;
}
.kelezatan .btn {
    display:block;
    background: #f6bc1d;
    padding: 14px 40px;
    margin: 30px 0;
    border-radius: 30px;
    align-items: center;
    text-align: center;
    width: 300px;
    margin: 30px auto 0;
}

.kelezatan a{
    font-family: 'verdanabold';
    font-size: 15px;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    align-items: center;
}

/*kelezatan tablet..*/
@media screen and (max-width: 1024px){ 
    .stick{
        position: absolute;
        top: -15px;
        left: 160px;
    }
}

/*kelezatan mobile*/
@media screen and (max-width: 768px){
    .lava {
        position: relative;
        top: 0;
        left: -5px;
    }
    
    .stick{
        position: absolute;
        top: -25px;
        left: 95px;
    }
    .kelezatan h1{
       font-size: 28px;
    }
    
    .kelezatan p{
        font-size: 17px;
    }
}
/*akhir dari kelezatan*/

/*saus*/
.saus{
    padding: 40px 0;
}

.col-2 .saus-img-1, .saus-img-2 {
    padding-top: 30px;
    width:0%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 30px;
}


.col-2 .saus-img-1.in-view{
    width:55%;
    animation: saus-slide-right 2s;
}

@keyframes saus-slide-right {
    from {
        margin-left: -50%;
    }

    to {
        margin-left: 22%;
    }
}

.col-2 .saus-img-2.in-view{
    width:55%;
    animation: saus-slide-left 2s;
}

@keyframes saus-slide-left {
    from {
        margin-left: 50%;
    }

    to {
        margin-left: 23%;
    }
}

.saus .saus-img-1:hover, .saus-img-2:hover{
    transform: scale(1.05)
}

/*akhir dari saus*/

/*video*/
.video {
    display: flex;
    position: relative; 
}


.rempah-kiri, .rempah-kanan{
    width: 20%;
    align-items: center;
}

.laptop-container {
    position: relative; 
    overflow: hidden; 
}

.laptop {
    width: 75%; 
    height: auto;
    display: block; 
    margin: auto;
    opacity: 0;
}

.video-iframe {
    border-radius: 10px;
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
}
/*video tablet*/
@media screen and (max-width: 1024px){
    .video-iframe {
        width: 465px;
        height: 275px;
    }
}

/*video mobile*/

@media screen and (max-width: 768px){
    .video-iframe {
        width: 185px;
        height: 110px;
    }
}

/*akhir dari video*/

/*produk*/

.produk{
    background-image: url(/asset/rev/Background\ rev\ Online\ Shop\ menu-19.jpg); background-size: cover; background-position: center;
    padding: 30px 0;
}
.col-2 .produk-img1, .col-2 .produk-img2{
    padding: 50px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.produk-img1{
    width: 100%;
    margin: 60px auto 0;
}

.produk-img2{
    width: 70%;
    align-items: center;
}

.produk .btn {
    display:block;
    background: #f6bc1d;
    padding: 14px 40px;
    margin: 30px 0;
    border-radius: 30px;
    align-items: center;
    text-align: center;
    width: 300px;
    margin: 30px auto 0;
}

.produk a{
    font-family: 'verdanabold';
    font-size: 15px;
    color: #000000;
    text-decoration: none;
    text-align: center;
    align-items: center;
}

@media screen and (max-width: 768px){
    .col-2 .produk-img1{
        margin-top: 100px;
    }

    .col-2 .produk-img1, .col-2 .produk-img2{
        padding: 0;
    }

    .col-2 .produk-img2{
        display: none;
    }

    .produk a{
        margin-top: 200px;
    }
    .produk{

        background-image: url(../../asset/rev/mobrum.jpg);
    }
}

/*akhir produk*/

/*partner*/
/*partner*/
.partner {
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center;
}

.partner h2 {
    font-family: 'verdanabold';
    color: #000000;
    text-decoration: none;
    text-align: center;
    align-items: center;
}

.tittle {
    display: block;
    text-align: center;
    padding: 5px 2px;
    border: 5px solid #f6bc1d;
    border-radius: 30px;
    margin: 0 auto 80px;
    color: #ffffff; /* Ganti teks warna menjadi putih agar kontras dengan background */
    background-color: #f6bc1d;
    width: 200px;
}

.small-containerpart {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 15px;
}

.rowpart {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Tambahkan jarak antar gambar */
}

.img-part {
    display: flex; /* Tambahkan Flexbox ke .img-part */
    justify-content: center; /* Horizontally center the image */
    align-items: center; /* Vertically center the image */
    flex: 0 1 calc(100% / 6 - 20px); /* Menggunakan 6 kolom pada ukuran layar besar */
    box-sizing: border-box;
    padding: 0 10px;
}

.img-part img {
    max-width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media only screen and (max-width: 1280px) {
    .img-part {
        flex: 0 1 calc(100% / 5 - 20px); /* Menggunakan 4 kolom di layar besar */
    }
}

@media only screen and (max-width: 992px) {
    .img-part {
        flex: 0 1 calc(100% / 3 - 20px); /* Menggunakan 3 kolom di layar sedang */
    }
}

@media only screen and (max-width: 768px) {
    .img-part {
        flex: 0 1 calc(100% / 6 - 0px); /* Menggunakan 1 kolom di layar sangat kecil */
    }
    .img-part img {
        max-width: 200%;
    }
}

@media only screen and (max-width: 576px) {
    .img-part {
        flex: 0 1 calc(100% / 6 - 0px); /* Menggunakan 1 kolom di layar sangat kecil */
    }

    .img-part {
        max-width: 200%;
    }

   
}







/*akhir partner*/

/*sosmed*/
.sosmed{
    padding-bottom: 80px;
}
.sosmed .tittle {
    font-family: 'verdanabold';
    color: #000000;
    text-decoration: none;
    text-align: center;
    align-items: center;
}

.small-containersos {
    max-width: 75%;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
    margin-bottom: 50px;
}

.rowsos {
    display: flex;
    flex-wrap: wrap; /* Mengizinkan wrap gambar jika tidak cukup ruang */
    justify-content: center; /* Pusatkan gambar di dalam container */
    gap: 20px; /* Atur jarak antara gambar */
}

.sos {
    width: calc(33.33% - 20px); /* Lebar gambar */
    margin-bottom: 30px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.5s;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5); /* Tambahkan bayangan hitam */
    border-radius: 8px;
}

.sos img {
    text-align: center;
    align-items: center;
    justify-content: center;
    max-width: 340px; /* Atur lebar maksimum gambar */
    height: auto; /* Biarkan tinggi gambar menyesuaikan dengan proporsi aslinya */
    border-radius: 8px;
}

.sos:hover {
    transform: translateY(-10px);
}

@media only screen and (max-width: 1280px) {
    .small-containersos {
        max-width: 85%; /* Sesuaikan lebar container pada layar berukuran kecil */
    }

    .sos img {
        max-width: 320px; /* Atur lebar maksimum gambar */

    }
   
}

@media only screen and (max-width: 992px) {
    .sos {
        width: calc(50% - 20px); /* Menggunakan 2 kolom di layar berukuran kecil */
    }
    .sos img {
        max-width: 320px; /* Atur lebar maksimum gambar */

    }
   
}

@media only screen and (max-width: 768px) {
    .sos {
        width: calc(100% - 20px); /* Menggunakan 1 kolom di layar sangat kecil */
    }

    .sos img {
        max-width: 260px; /* Atur lebar maksimum gambar */

    }
   
}



/*akhir sosmed*/

/*kontak*/

.kontak{
    padding: 30px 0;
}
.kontak h2{
    font-family: 'verdanabold';
    color: #000000;
    text-decoration: none;
    text-align: center;
    align-items: center;
}

.kontak-container {
    display: flex;
    justify-content: center; /* Mengatur elemen-elemen di tengah */
    align-items: center; /* Mengatur elemen-elemen di tengah */
    margin: 20px auto; /* Penyesuaian margin sesuai kebutuhan */
}

.kontak-img {
    width: 20%; /* Sesuaikan ukuran dengan kebutuhan */
    height: auto; /* Sesuaikan ukuran dengan kebutuhan */
}

.form-container {
    margin: 0 20px; /* Penyesuaian margin sesuai kebutuhan */
}



.inputgrup{
    position: relative;
    margin: 20px 0;
}

.inputgrup input{
    width: 550px;
    height: 50px;
    font-size: 15px;
    color: #000000;
    padding: 0 10px;
    outline: none;
    border-radius: 5px;
    background-color: #fff; /* Tambahkan warna latar belakang */
    box-shadow: 0 5px red;
}

.inputgrup textarea {
    width: 550px;
    height: 200px;
    font-size: 15px;
    color: #000000;
    padding: 15px 10px;
    outline: none;
    border-radius: 5px;
    resize: none;
    background-color: #fff; /* Tambahkan warna latar belakang */
    box-shadow: 0 5px red;
}

.inputgrup label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #333;
    padding: 0 5px;
    pointer-events: none;
    background-color: #fff;
}

.inputgrup input:focus + label,
.inputgrup textarea:focus + label,
.inputgrup input:not(:placeholder-shown) + label,
.inputgrup textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 12px; /* Sesuaikan ukuran font */
    left: 10px; /* Sesuaikan jarak ke kiri */
    color: #000000; /* Ubah warna label saat input tidak kosong */

}

.submit-button {
    background-color: #f6bc1d;
    color: #000000;
    font-family: 'verdanabold';
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    float: right;
}

.submit-button:hover {
    background-color: #e0a800;
}

/*kontak mobile*/
@media screen and (max-width: 768px){
    .kontak h2 {
        font-size: 24px; /* Sesuaikan ukuran font */
    }

    .kontak-img {
       display: none;
    }

    .form-container {
        margin: 0; /* Hapus margin */
    }

    .inputgrup input,
    .inputgrup textarea {
        width: 100%; /* Lebar input dan textarea menjadi 100% */
    }
}

/*akhir dari kontak*/

/*footer*/

.footer-container {
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    height: 100%;
    margin: 0 200px;
  }
  .footer a{
    color: #d80000;
    text-decoration: none;
    font-size: 15px;
    margin-top:20px;
    font-weight: 700;
  }
  
  .footer-container .footer-section:first-child{
    display: flex;
    justify-content: center; /* Align links to the center */
    gap: 20px; /* Adjust the spacing between links */
  }
  
  .footer-link{
    font-weight: 800;
    margin: 0 5px; /* Decrease the margin to make links closer */
    padding: 5px; /* Optional: Add some padding for better spacing */
  }
  
  .footer-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px 20px; 
  }
  
  .footer-container .footer-section .footer-link{
    font-weight: bold;
  }
  
  
  
  .footerlogo {
    width: 110px; 
    height: auto; 
    margin-right: 30px;
  }
  
  .address, .footercontact {
    flex: 1; /* Menyebarkan ruang secara merata antara kedua elemen */
    color: #d80000;
    font-family: 'verdana';
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
  }
  .footersosmed{
    left: 10px;
  }
  
  .footer-image {
    margin-left: auto; 
    width:40px;
  }
  /*footer mobile*/
  /* Tambahkan aturan CSS untuk layar yang lebih kecil dari 1024px */
  @media only screen and (max-width: 1280px) {
    .footer-container .footer-section:first-child{
        margin: 0 105px;
    }
  
    .address, .footercontact {
  
        font-size: 10px;
    }
   
  }
  
  @media only screen and (max-width: 992px) {
    .footer-container {
  
        margin: 0 20px;
    }
   
  }
  
  
  /* Tambahkan aturan CSS untuk layar yang lebih kecil dari 768px */
  @media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        margin: 0 20px;
    }

    .footer-section {
        flex-basis: auto;
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .footerlogo {
        margin-bottom: 20px;
        margin-right: 0;
    }

    .address, .footercontact, .footersosmed {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-container .footer-section:first-child {
        flex-direction: row;
        justify-content: center;
        gap: 0;
    }

    .footer a {
        margin-top: 20px;
        font-size: 15px;
    }

    .footer-container .footer-section .footer-link {
        font-size: 12px; /* Meningkatkan font-size untuk keterbacaan */
        display: inline-block; /* Menggunakan inline-block untuk kontrol tata letak yang lebih baik */
        text-decoration: none; /* Menghapus dekorasi teks */
        margin: 0; /* Mengatur ulang margin jika ada */
        white-space: nowrap; /* Mencegah teks pecah ke baris baru */
    }
}


/*akhir footer*/



.back-to-wa {
    position: fixed;
    bottom: 100px;
    right: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 20;
    margin-right: 30px;
  }
  
 
  .back-to-wa.show {
    opacity: 1;
    pointer-events: auto;
  }

  .back-to-wa .fab {
    color: #fff;
    position: relative; /* Menetapkan posisi relatif untuk kontainer ikon */
  }
  
  .back-to-wa .fab::before {
    content: ''; /* Menambahkan elemen pseudo untuk latar belakang */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; /* Sesuaikan ukuran latar belakang sesuai kebutuhan */
    height: 40px; /* Sesuaikan ukuran latar belakang sesuai kebutuhan */
    background-color: rgb(45, 194, 7);
    border-radius: 50%; /* Membuat latar belakang bulat */
    z-index: -1; /* Mengatur z-index agar latar belakang berada di belakang ikon */
  }
  
  @media screen and (max-width: 767px) {
    
    .back-to-wa .fab::before {
        content: ''; /* Menambahkan elemen pseudo untuk latar belakang */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        
        background-color: rgb(45, 194, 7);
        border-radius: 50%; /* Membuat latar belakang bulat */
        z-index: -1; /* Mengatur z-index agar latar belakang berada di belakang ikon */
      }
  
  }