* {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}
 /* Tampilan Admin */
body{
    background-color: #fff;
}
a{
    color: inherit;
    text-decoration: none;
}

#bg-login{
    display: flex;
    justify-content: end;
    align-items: center;
    height: 90vh;
    margin-right: 120px;
    
}

.box-login{
    height: 240px;
    width:300px;
    min-height: 200px;
    border: 1px solid #756e6eaa;
    background-color: #fff;
    padding: 15px;
    box-sizing: border-box;
}

.box-login h2{
    text-align: center;
    margin-bottom: 15px;
}

.input-control{
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.input-login{
    padding: 8px 15px;
    background-color: #b1a201;
    color: #fff;

    border: none;
    cursor: pointer;
}
/* Tampilan Admin End */


/* Dashboard */
header{
    background-color: #b1a201;
    color: #fff;
}
header h1{
    float: left;
    padding: 10px 0;
}

header ul{
    float: right;
}

header ul li{
    display: inline-block;
}

header ul li a{
    padding: 20px 0 20px 15px;
    display: inline-block;

}

.container {
    width: 80%;
    margin: 0 auto;
}

.container:after{
    content: '';
    display: block;
    clear: both;
}

/* Selamat Datang Dashboard */
.section{
    padding: 25px 0;
}

.box{
    background-color: #fff;
    padding: 15px;
    box-sizing: border-box;
    margin: 10px 0;
}
.box::after{
    content: '';
    display: block;
    clear: both;
}

/* Data Kategori */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table tr {
    height: 30px;
}

.table tr td{
    padding: 5px 10px;
}

.search{
    padding: 15px 0;
    background-color: #fff;
    border: 1px solid;
    text-align: center;
}
.search input[type=text]{
    width: 60%;
    padding: 10px;
    margin-right: -5px;
}
.search input[type=submit]{
    padding: 12px 15px;
    background-color: #b1a201;
    color: #fff;
    border: none;
    cursor: pointer;
}
.col-4{
    width: 25%;
    height: 100px;
    text-align: center;
    float: left;
    box-sizing: border-box;
}

.kolom-4{
    width: 25%;
    height: 320px;
    float: left;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 10px;
}
.kolom-4:hover{
    box-shadow: 0 0 10px #1c1c1a;
    transition-property: all;
    transition-duration: .4s;
    transition-timing-function: ease-in-out;
}
.kolom-4 img{
    width: 100%;
}
.kolom-4 .nama{
    color: #666;
    margin-top: 15px;
}
.kolom-4 .harga{
    font-weight: bold;
    color: #C70039;
    float: right;
    margin-top: 15px;
}
.footer{
    padding: 25px 0;
    background-color: #333;
    color: #fff;
    text-align: center;
}
.footer p{
    margin-bottom: 10px;
}
.footer small{
    margin-top: 20px;
    display: inline-block;
}
.col-2{
    width: 50%;
    min-height: 200px;
    padding: 10px;
    box-sizing: border-box;
    float: left;
}
.col-2 img{
    
    padding: 5px;
    box-sizing: border-box;
}
.col-2 h3{
    margin-bottom: 10px;
}
.col-2 h4{
    color:#C70039 ;
    padding: 20px;
}
.col-2 p {
    margin: 15px 0;
    text-align: justify;
    line-height: 20px;
    font-size: 14px;
}
.col-2 input{
    margin-top: 50px;
    margin-left: 50%;
}


/* contact */
.kontak h3{
    margin-top: 25px;
}
.col-10 h4{
    margin-top: 10px;
    justify-content: center;
    text-align: center;
}
.col-10 p{
    justify-content: center;
    text-align: center;
}
.box1{
    border: solid 1px;
    background-color: #e4e4e1;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Pesan Sekarang */
.box .col-2 a {
    border: 4px solid;
    color: #fff;
    background-color: #b1a201;
    padding: 10px 4px;
    border-radius: 10px;
    text-align: center;
    justify-content: center;
    display: flex;
    margin-top: 50px;   
    float: left;
}

/* About */
.about {
    padding: 20px;
  }
  
  .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .content {
    flex: 1;
    padding: 20px;
  }

.content h3{
    margin-left: 200px;
    margin-bottom: 10px;
}
.content p{
    text-align: justify;
    margin-right: 10px;
    line-height: 25px;
}
  
  .about-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  .slider-container {
    width: 100%;
    overflow: hidden;
  }
  
  .slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .slider img {
    width: 100%;
    object-fit: cover;
  }

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    color: #333;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-controls button:hover {
    background: rgba(255, 255, 255, 0.8);
}
  
  @media (max-width: 768px) {
    .row {
      flex-direction: column; /* Mengatur tampilan menjadi kolom pada perangkat dengan lebar layar kecil */
    }
    
    .content{
        text-align: center;
    }
    .about-img {
      max-width: 100%;
      text-align: center;
    }
    
    .about-img img {
      margin-left: 0;
      margin-top: 10px;
    }
    .content h3 {
        text-align: center;
        margin-left: 30px;
        margin-top: 20px;
      }
      .mission {
        flex-direction: column-reverse;
    }
    
    .about-img::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .mission .content {
        z-index: 1;
        color: rgb(0, 0, 0);
        padding: 20px;
        margin-top: -50px;
    }
    
  }
  
@media (min-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    header ul {
        flex-direction: row;
        margin: 0;
    }
    
    header ul li {
        margin: 0 10px;
    }
}

.search {
    margin: 20px 0;
}

.search input[type="text"] {
    padding: 10px;
    width: 70%;
    margin-right: -5px;
}

.search input[type="submit"] {
    padding: 10px;
    width: 25%;
    margin-left: 20px;
    margin-top: 10px;
    background: #b1a201;
    color: #fff;
    border: none;
    cursor: pointer;
}
@media (max-width: 480px) {
    header {
        text-align: center;
    }

    .box a {
        flex-basis: 100%;
    }
}
@media screen and (max-width: 768px){
    .container{
        width: 90%;
    }
    .col-4{
        width: 50%;
    }
    .kolom-4{
        width: 50%;
        height: 300px;
    }
    .col-2{
        width: 100%;
    }
}