.main-content-galery {
    padding: 30px 50px 50px;
}

.main-picture {
    display: block;
    width: 80%;
    margin: 0px auto 30px;
    border-radius: 5px;
}

.galery-title {
    text-align: center;
    margin-bottom: 30px;
}

.galery-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: end;
    gap: 10px;
    
}

.img-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(9, 44, 136, 0.2);
    width: 25vw;
    height: 19vw;
    padding: 2vw;
    border-radius: 5px;
}

.thumbnail {
    display: block;
    max-width: 24vw;
    max-height: 18vw;
    border-radius: 5px;
}

.btn-galery-item {
    text-decoration: none;
    display: block;
}

.btn-galery-item:hover {
    scale: 1.1;
}

/* Detail Gambar Display */
.detail-galery-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0);
}

.detail-galery-container:target {
    display: block;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.9);
    overflow: scroll;
}

.detail-galeri-box {
    position: relative;
    margin: 20px auto;
    display: block;
    justify-items: center;
    max-width: 1000px;
}

.btn-close {
    position: absolute;
    right: 0;
}

.img-box-detail {
    margin: 0px auto;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
}

.arrow-detail-galery {
    display: block;
    width: 50px;
    opacity: 0.3;
    cursor: pointer;
}

.arrow-detail-galery:hover {
    opacity: 1;
}

img.img-detail {
    display: block;
    max-width: 850px;
    max-height: 520px;
    border-radius: 5px;
}

.info-img {
    margin-top: 20px;
    text-align: center;
    color: rgb(9, 44, 136);
    padding-left: 15px;
    padding-right: 15px;
}

/* Edit delete Part */
.box-type2 {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 3px;
}

.action-button {
    display: flex;
    justify-content: center;
    gap: 10px;
}

img.edit-button {
    margin: 0;
    cursor: pointer;
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

.action-button a {
    display: block;
    width: 20px;
    height: 20px;
}

.action-button a img.edit-button {
    vertical-align: top;
}

img.edit-button:hover {
    opacity: 1;
}

img.edit-button:active {
    opacity: 1;
    transform: scale(0.9);
}

/* add picture */
.add-picture-galery {
    margin-top: 30px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0.5;
}

.add-picture-galery:hover {
    opacity: 1;
}

.add-picture-galery:active {
    scale: 0.9;
}

/* Responsive Break */

/* max width */
@media (max-width: 1160px) {
}

@media (max-width: 955px) {
    
}

@media (max-width: 850px) {
    img.img-detail {
        max-width: 530px;
        max-height: 400px;
    }
}

@media (max-width: 675px) {
    
    img.img-detail {
        max-width: 360px;
        max-height: 400px;
    }
}

@media (max-width: 547px) {
    .img-box {
        width: 32vw;
        height: 27vw;
        padding: 2vw;
    }
    
    .thumbnail {
        max-width: 31vw;
        max-height: 26vw;
    }
}

@media (max-width: 500px) {
    
    .img-box-detail {
        gap: 5px;
    }
    .arrow-detail-galery {
        width: 20px;
    }
    img.img-detail {
        max-width: 310px;
        max-height: 400px;
    }
}

@media (max-width: 390px) {
    .main-content-galery {
        padding: 30px 15px 15px;
    }
    img.img-detail {
        max-width: 270px;
        max-height: 400px;
    }
    .img-box {
        width: 38vw;
        height: 30vw;
        padding: 2vw;
    }
    
    .thumbnail {
        max-width: 37vw;
        max-height: 29vw;
    }
}

/* max height */
@media (max-height: 500px) {
    img.img-detail {
        max-width: 800px;
        max-height: 400px;
    }
}

@media (max-height: 450px) {
    
}

@media (max-height: 400px) {
    .info-img {
        margin-top: 5px;
    }
}