* {
    margin: 0;
    padding: 0;
}

.container1 {
    background: #fff;
    padding: 20px;
    font-family: monospace;
    width: 500px;
    box-shadow: 0 0 5px #000;
}

.head1 {
    text-transform: uppercase;
    margin-bottom: 20px;
}

.text {
    margin: 10px 0;
    font-family: sans-serif;
    font-size: 0.9em;
}

.commentbox {
    display: flex;
    justify-content: space-around;
    padding: 10px;
}

.commentbox > img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* float: left; */
    margin-right: 20px;
    object-fit: cover;
    object-position: center;
}

.content {
    width: 100%;
}

.user {
    border: none;
    outline: none;
    margin: 5px 0;
    color: #808080;
    margin-left: 20px;
    padding: 10px;
}

.commentinput > input {
    border: none;
    padding: 10px;
    padding-left: 0;
    outline: none;
    border-bottom: 2px solid blue;
    margin-bottom: 10px;
    width: 95%;
}

.buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #808080;
}

.buttons > button {
    padding: 5px 10px;
    background: lightgrey;
    color: #808080;
    text-transform: uppercase;
    border: none;
    outline: none;
    border-radius: 3px;
    cursor: pointer;
}

.buttons > button.abled {
    background: blue;
    color: #fff;
}

.policy {
    margin: 20px 0;
    font-size: 0.8em;
    font-family: Arial, sans-serif;
    color: #808080;
}

.policy a {
    text-decoration: none;
    color: blue;
}

.notify {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.notify > input {
    margin-right: 5px;
    border: 2px solid #808080;
}

.parents {
    font-family: Arial, sans-serif;
    display: flex;
    margin-bottom: 30px;
}

.parents h1 {
    font-size: 0.9em;
}

.parents p {
    margin: 10px 0;
    font-size: 0.9em;
}

.parents > img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
    object-position: center;
}

.engagements {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.engagements img {
    width: 20px;

}

.engagements img:nth-child(1) {
    margin-right: 10px;
    width: 25px;
}

.date {
    color: #808080;
    font-size: 0.8em;
}


/* .policy {
    width: 100px;
} */

/* body::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #F88379;
} */

/* body::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    right: 0;
    transform: skew(20deg);
    background: #F2D2BD;
    z-index: -1;
} */

/* 
F88379 !IMPORTANT
F2D2BD !IMPORTANT
#9F2B68
F2D2BD
DE3163
*/


/* .comment {
    width: 400px;
    background: #fff;
    padding: 10px;
    border-left: 3px solid purple;
}

.comment div {
    width: 100%;
    margin: 20px 0;
}

.comment div input {
    width: 100%;
    outline: none;
    border: none;
}

.comment div textarea {
    width: 100%;
    outline: none;
    border: none;
    resize: none;
    font-family: Arial, sans-serif;
}

.comment div:nth-child(2) {
    margin-bottom: 0;
}

.comment div:last-child {
    margin: 0;
    text-align: right;
}

.comment div button {
    padding: 5px 15px;
    background: purple;
    color: #fff;
    border: none;
    outline: none;
    border-radius: 4px;
    cursor: pointer;
}

.posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 50px;
}

.parent {
    background: #fff;
    padding: 10px;
    width: 400px;
} */

/* 

#36454F
#023
#353935
28282B




*/
/* ==================== PENYESUAIAN GAMBAR KARTU PROYEK ==================== */
.project-box .project-card-img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

/* Efek sedikit membesar saat kartu proyek diarahkan kursor (hover) */
.project-box:hover .project-card-img {
    transform: scale(1.08);
}


/* ==================== DESAIN MODAL POP-UP DETAIL PROYEK ==================== */
.project-modal {
    display: none; /* Tersembunyi secara default */
    position: fixed; 
    z-index: 2000; /* Memastikan pop-up berada di lapisan paling atas */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.6); /* Efek latar belakang gelap transparan */
    backdrop-filter: blur(5px); /* Efek blur estetik pada latar belakang */
}

.modal-content {
    background-color: var(--color-white);
    margin: 6% auto; 
    padding: 30px;
    border-radius: 20px;
    width: 85%; 
    max-width: 750px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: modalSlideDown 0.4s ease;
}

/* Animasi pop-up muncul halus dari atas */
@keyframes modalSlideDown {
    from { transform: translateY(-40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Tombol silang (X) untuk menutup modal */
.close-modal {
    color: #999;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: var(--first-color);
}

/* Pengaturan elemen di dalam modal */
.modal-detail-title {
    font-size: 22px;
    color: var(--text-color-second);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--second-color);
    padding-bottom: 10px;
    line-height: 1.4;
}

.modal-section-label {
    font-weight: 600;
    color: var(--text-color-third);
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-body-text {
    font-size: 14.5px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.modal-project-img {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    border-radius: 12px;
    margin-block: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background-color: rgba(0, 0, 0, 0.03);
}

.modal-meta-info {
    background: var(--body-color);
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    margin-top: 20px;
    border-left: 3px solid var(--second-color);
}

/* Tombol Tautan/Link Proyek */
.modal-link-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 24px;
    background-color: var(--second-color);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.modal-link-btn:hover {
    background-color: var(--first-color-hover);
    transform: translateY(-2px);
}

/* Responsivitas untuk Layar Smartphone */
@media only screen and (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 15% auto;
        padding: 20px;
    }
    
    .modal-detail-title {
        font-size: 18px;
    }
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Pastikan tag main pembungkus portfolio kamu juga ikut terkunci */
main {
    width: 100%;
    overflow-x: hidden;
}