.main-content-profile {
    padding: 30px 3%;
}

.profile-box {
    background-color: rgb(9, 44, 136);
    padding: 30px 20px 20px;
    margin-bottom: 50px;
}

.profile-box h1 {
    color: white;
    margin-bottom: 10px;
}

.profile-sub-box {
    background-color: rgb(206, 206, 206);
    padding: 0px 100px 30px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    color: rgb(9, 44, 136);
}

.profile-box img {
    width: 300px;
    height: 300px;
    border-radius: 100%;
    box-shadow: 0px 0px 0px 5px white;
    margin-top: -75px;
}

.profile-box p {
    margin-top: 20px;
    margin-bottom: 0;
    font-style: italic;
}

img.edit-button {
    margin: 0;
    cursor: pointer;
    width: 10px;
    height: 10px;
    opacity: 0.5;
}

img.edit-button:hover {
    opacity: 1;
}

img.edit-button:active {
    opacity: 1;
    transform: scale(0.9);
}

.text-box {
    display: flex;
    gap: 20px;
    align-items: center;
}

.text-box.type2 {
    display: grid;
    gap: 3px;
    grid-template-columns: 1fr;
    justify-items: center;
    margin-bottom: 20px;
}

.logo-title-box-main {
    margin-bottom: 20px;
}

.logo-title-box-main img {
    width: 350px;
}

.logo-title-box-main h2 {
    margin-bottom: 0;
    margin-top: -45px;
    margin-left: 20px;
    color: white;
    font-size: 20pt;
}

.mynews {
    margin-bottom: 50px;
}

.news-content-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.news-card {
    width: 280px;
}

.news-card .img-box {
    width: 280px;
    height: 220px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    background-color: rgb(206, 206, 206);
}

.news-card .img-box img {
    max-width: 280px;
    max-height: 220px;
    display: block;
}

.news-card-content {
    padding: 5px;
}

.news-card-content h5 {
    font-weight: bold;
}

.news-card-content .date-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.news-card-content .date-box img {
    width: 40px;
}

.news-card-content .date-box img {
    color: black;
}

.news-card-content p {
    text-align: justify;
}

.news-card-content a {
    padding: 2px 15px;
    width: max-content;
    border: none;
    border-radius: 10px;
    background-color: rgb(9, 44, 136);
    text-decoration: none;
    text-align: center;
    color: white;
    opacity: 1;
    font-size: 14px;
}

.news-card-content a.edit {
    background-color: orange;
}

.news-card-content a.delete {
    background-color: red;
    color: white;
}

.news-card-content a:hover {
    opacity: 1;
    box-shadow: 0px 0px 3px 3px aqua;
}

.news-card-content a:active {
    opacity: 1;
    transform: scale(0.9);
}

/* paginator button */
.my-news-paginator {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.my-news-paginator img {
    width: 30px;
    opacity: 0.5;
}

.my-news-paginator img:first-child {
    transform: rotate(-180deg);
}

.my-news-paginator img:hover {
    opacity: 1;
}

.my-news-paginator img:active {
    opacity: 1;
    transform: scale(0.9);
}

.my-news-paginator img:first-child:active {
    opacity: 1;
    transform: scale(0.9) rotate(-180deg);
}

/* Product List Content */
.content-product-detail {
    margin-top: 20px;
    padding: 2% 2%;
    background-color: rgb(9, 44, 136);
}

.product-list-box {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3%;
}

/* Product Item */
.product-item-box {
    width: calc( 100cqw / 5.1 );
    position: relative;
    border-radius: 5px;
    text-decoration: none;
}

.product-item-box:hover {
    scale: 1.1;
}

.logo-buana-mekar {
    position: absolute;
    width: 35%;
    right: -5%;
    top: -5%;
}

.img-product-list {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.logo-title-box {
    margin-top: -10%;
}

.logo-title-box img {
    width: 100%;
    margin-left: -1%;
}

.logo-title-box h6 {
    margin-bottom: 0;
    margin-top: -13%;
    margin-left: 5%;
    color: white;
    font-size: 1.2vw;
}

.info-box {
    padding: 5% 1%;
}

.info-box h5, .info-box p {
    margin-bottom: 2%;
    color: white;
}

.info-box h5 {
    font-size: 1.8vw;
    margin-left: 5%;
}

.info-box p {
    font-size: 1.2vw;
    margin-left: 5%;
}

.info-box span {
    display: flex;
    align-items: start;
}

.info-box span p:last-child {
    font-size: 130%;
    font-weight: bold;
}

.info-box a {
    color: white;
}

.info-box a:hover {
    color: #f8fc57;
}

.blank-item {
    text-align: center;
    padding: 10px 0px 50px;
    color: rgb(9, 44, 136);
    font-size: 30px;
}

.blank-item.white {
    color: white;
}

.profile-box p.testimoni-profile-content {
    margin-top: 0vw;
}

.action-button {
    display: flex;
    justify-content: center;
    gap: 2vw;
}

/* Responsive Break */
@media (max-width: 1025px) {
    .product-item-box {
        width: calc( 100cqw / 4 );
    }

    .product-list-box {
        column-gap: 6%;
        row-gap: 30px;
    }

    .logo-title-box h6 {
        font-size: 1.6vw;
    }

    .info-box h5 {
        font-size: 2.2vw;
    }
    
    .info-box p {
        font-size: 1.6vw;
    }
}

@media (max-width: 840px) {
    .profile-box img {
        margin-top: 0px;
    }
}

@media (max-width: 800px) {
    .product-item-box {
        width: calc( 100cqw / 2.6 );
    }

    .product-list-box {
        column-gap: 6%;
        row-gap: 30px;
    }

    .logo-title-box h6 {
        font-size: 2.3vw;
    }

    .info-box h5 {
        font-size: 3.2vw;
    }
    
    .info-box p {
        font-size: 2.3vw;
    }

    .logo-title-box-main img {
        width: 280px;
    }
    
    .logo-title-box-main h2 {
        margin-top: -35px;
        font-size: 17pt;
    }
}

@media (max-width: 710px) {
    .main-content-profile {
        padding: 30px 20px;
    }
    
    .profile-box {
        padding: 30px 20px 20px;
    }
    
    .profile-sub-box {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (max-width: 690px) {
    .main-content-profile {
        padding: 30px 20px;
    }
    
    .profile-box {
        padding: 30px 20px 20px;
    }
    
    .profile-sub-box {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (max-width: 580px) {
    .main-content-profile {
        padding: 30px 20px;
    }
    .profile-sub-box {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 580px) {
    .profile-box img.profile-picture {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 560px) {
    .product_list {
        padding: 20px 10px;
    }
}

@media (max-width: 520px) {
    .logo-title-box-main img {
        width: 250px;
    }
    
    .logo-title-box-main h2 {
        margin-top: -32px;
        font-size: 15pt;
    }

}

@media (max-width: 450px) {
    .main-content-profile {
        padding: 30px 10px;
    }
    
    .profile-box {
        padding: 30px 20px 20px;
    }
    
    .profile-sub-box {
        padding-left: 10px;
        padding-right: 10px;
    }

}

@media (max-width: 450px) {
    .content-product-detail {
        padding: 1% 3%;
        background-color: rgb(9, 44, 136);
    }
    
    .logo-title-box-main {
        margin-bottom: 10px;
    }
}

@media (max-width: 450px) {
    .main-content-profile {
        padding: 30px 5px;
    }
    .profile-box {
        padding: 30px 10px 20px;
    }
    .profile-sub-box {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (max-width: 420px) {
    .logo-title-box-main img {
        width: 220px;
    }
    
    .logo-title-box-main h2 {
        margin-top: -28px;
        font-size: 14pt;
    }
}

@media (max-width: 390px) {
    .product_list {
        padding: 20px 5px;
    }

    .header-product-list {
        padding: 10px;
    }
}

