﻿@font-face {
    font-family: Poppins-Regular;
    src: url(./fonts/poppins/Poppins-Regular.ttf);
}

html {
    font-size: 15px;
    font-family: Poppins-Regular;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

html {
    position: relative;
    min-height: 100%;
}

.tengah {
    text-align: center !important;
}

.kananitem {
    margin-right: 0px !important;
}

body {
    margin: 0;
    padding: 0;
}

.pattern {
    position: absolute;
    left: 0;
    top: 0px;
    width: 100%;
    height: 100%;
    margin: auto;
    background-color: #e5e5f7;
    opacity: 0.1;
    background-image: linear-gradient(135deg, #ffdb00 25%, transparent 25%), linear-gradient(225deg, #ffdb00 25%, transparent 25%), linear-gradient(45deg, #ffdb00 25%, transparent 25%), linear-gradient(315deg, #ffdb00 25%, #e5e5f7 25%);
    background-position: 10px 0, 10px 0, 0 0, 0 0;
    background-size: 10px 10px;
    background-repeat: repeat;
}




header {
    width: 100%;
    height: 100px;
    position: fixed;
    z-index: 10;
}

nav {
    width: 100%;
    height: 40px;
    background-color: #ffdb00;
    position: relative;
}

.menu {
    position: relative;
    top: 5px;
    left: 0px;
    width: 98%;
    margin: auto;
    color: white;
}

.homeicon {
    width: 20px;
    cursor: pointer;
}

.rutemenu {
    position: absolute;
    top: 5px;
    left: 30px;
    color: brown;
    font-size: 12px;
}

.akun{
    position:absolute;
    right:2%;
    top:0px;
    width:200px;
    height:40px;
    background-color:transparent;
    align-content:center;
    text-align:end;
    display:flex;
    flex-direction:row;
    gap:10px;
    justify-content:center;
    padding-top:7px;
}
.akun button{    
    border:none;
    border-radius:3px;
    width:80px;
    height:25px;
    background-color:white;
    cursor:pointer;
}
.akun button:hover{
    transform:scale(1.06);
}

.panelprofile {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 60px;
    background-color: #fcfcfc;
    align-items: center;
}

.logo {
    position: relative;
    top:10px;
    left: 2%;
    width: 70px;
    height: 50px;
    background-color: transparent;
}

    .logo img {
        width: 100%;
        height: 100%;
        object-fit:scale-down;
    }
    .namaperusahaan{
        position:absolute;
        top:-10px;
        left:70px;
        font-size:20px;
        width:250px;
        background-color:transparent;
    }
    .alamatperusahaan{
        position:absolute;
        top:30px;
        left:70px;
        font-size:12px;
        width:250px;
       color:grey;
       line-height:15px;
    }

.pencarian {
    position: relative;
    left: 18.5%;
    width: 65%;
    height: 40px;
    align-items: center;
}

    .pencarian input {
        position: absolute;
        border: none;
        border-radius: 5px;
        border: 1px solid grey;
        width: 100%;
        height: 100%;
        padding-left: 40px;
    }

.iconpencarian {
    position: absolute;
    top: 25%;
    left: 1%;
    margin: auto;
    width: 20px;
    z-index: 3;
}
.btncari{
    position:absolute;
    top:2px;
    bottom:0px;
    right:-42px;
    z-index:6;
    width:50px;
    height:100%;
    border-radius:10px;
    border:none;
    display:none;
}

.pembatas {
    position: absolute;
    width: 1px;
    right: 9%;
    border: 1px solid #9a9494;
    height: 35px;
    z-index: 4;
}

.keranjang {
    position: absolute;
    right: 4%;
    width: 100px;
    height: 40px;
    background-color: transparent;
    z-index: 4;
    text-align: center;
    align-content: center;
}

.keranjang img{
    cursor:pointer;
    width:40px;
}

.keranjang img:hover{
    transform:scale(1.06);
}

.menulogin {
    position: absolute;
    right: 2%;
    width: 100px;
    height: 40px;
    background-color: transparent;
    z-index: 4;
    text-align: center;
    align-content: center;
}

    .menulogin button {
        border-radius: 5px;
        background-color: #ffdb00;
        color: black;
        border: 1px solid grey;
        width: 80%;
        height: 90%;
        cursor: pointer;
    }

.banner {
    position: relative;
    margin: auto;
    top: 100px;
    width: 80%;
    height: 250px;
    background-color: transparent;
}

.renderer {
    position: relative;
    top: 120px;
    width: 80%;
    min-height: 800px;
    margin: auto;
    /* overflow:scroll;*/
}

.jarak {
    height: 200px;
}

footer {
    position: relative;
    width: 100%;
    height: 120px;
    background-color: #ffdb00;
    bottom: 0px;
}

.divinputstyle {
    line-height: 30px;
    background-color: transparent
}

.textboxstyle {
    width: 70%;
    height: 45px;
    border: 0.5px solid rgb(128,128,128,0.4);
    border-radius: 8px;
    padding-left: 10px;
    padding-right: 10px;
    position: absolute;
    left: 0px;
    right: 0px;
    margin: auto;
    text-align: center;
    font-size: 20px;
    font-weight: normal;
    text-align: left;
}

::placeholder {
    color: #cccccc; /* Use any color value (Hex, RGB, etc.) */
    opacity: 1; /* Recommended for Firefox */
    font-size: 13px;
}

.labelket {
    position: absolute;
    left: 14.8%;
    right: 0px;
    margin: auto;
    margin-top: 25px;
    font-weight: normal;
    color: lightslategray;
}

.btnstandard-holder {
    position: absolute;
    width: 100%;
    background-color: transparent;
    bottom: 30px;
    right: 0px;
    margin: auto;
    text-align: center;
}



.btn_standard {
    border: 1px solid grey;
    margin: auto;
    border-radius: 5px;
    height: 45px;
    width: 100px;
    background-color: #ffdb00;
    color: black;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}



.btnstandard-holder-right {
    position: absolute;
    width: 100%;
    background-color: transparent;
    bottom: 35px;
    right: 7%;
    margin: auto;
    text-align: right;
}

.btnstandard-holder-left {
    position: absolute;
    width: 100%;
    background-color: transparent;
    bottom: 30px;
    left: 3%;
    margin: auto;
    text-align: left;
}



.btn_standard:hover {
    box-shadow: darkgray 0px 3px 5px 1px;
    transform: scale(1.04);
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}

/*BEGIN : Cover*/
.panelcover {
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
    background-color: #b5b5b5b2;
    margin: auto;
    z-index: 10;
}
/*END : Cover*/


/*Messages*/
.panelpesan {
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    width: 400px;
    height: 300px;
    background-color: white;
    z-index: 10;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

.panelpesan-header {
    position: relative;
    top: 0px;
    width: 100%;
    height: 50px;
    margin: auto;
    background-color: #ffdb00;
    align-content: center;
}

    .panelpesan-header a {
        position: relative;
        left: 5%;
        font-size: 14px;
        color: black;
    }

.panelpesan-content {
    position: relative;
    top: 1px;
    width: 90%;
    height: 40%;
    background-color: transparent;
    margin: auto;
    align-content: center;
}

    .panelpesan-content img {
        position: absolute;
        width: 50px;
        height: 50px;
        left: 5%;
    }

    .panelpesan-content p {
        position: absolute;
        top: 25%;
        left: 10%;
        right: 0px;
        bottom: 0px;
        background-color: transparent;
        width: 70%;
        height: 90%;
        margin: auto;
        text-align: center;
        align-content: center;
        font-size: 16px;
    }

.panelpesan-footer {
    position: absolute;
    width: 100%;
    bottom: 70px;
    margin: auto;
}

.panelpesan-footer-btnlogin{
    bottom:-30px;
}

/*Loading Bar*/
.loadingbar {
    position: fixed;
    width: 70px;
    height: 70px;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
    z-index: 10;
    text-align: center;
    align-content: center;
    background-color: transparent;
}

    .loadingbar img {
        position: relative;
        width: 100%;
        animation: animasiloadingbar 1s linear infinite;
    }

@keyframes animasiloadingbar {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

.hide {
    display: none;
}

.show {
    display: block;
}
