:root{
    --purple:#383838;
    --purple-light:#1d1d1d;
    --dark-blue:#012677;
    --instagram-color:#f5284d;
    --x-color :#00ccff;
    --linkedin-color:#0080ff;
    --linktree-color:#43E55E;
    --whatsapp-color:#25D366;
    --mail-color:#EA4335;
    --location-color:#d9abff;
}
gelar{ 
    font-size: 9pt;
}
*{
    box-sizing: border-box;
    padding:0;
    margin:0;
    text-decoration: none;
    font-family: poppins,sans-serif;
}
body{
    /* background: linear-gradient(45deg, var(--purple),var(--purple-light)); */
    /* background: #1f1f1f; */
    /* background: url("/images/bg/cpn.jpg") no-repeat fixed center; */
    background: url("/images/bg/cpn.jpg") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
}
.container{
    display: flex;
    /* justify-content: space-around; */
    justify-content: center;
    column-gap: 30px;
    align-items: center;
    /* min-height: 100%; */
    min-height: 100vh;
    width: 100%;
    flex-wrap: wrap;
    position: relative;
    margin: auto;
}
.profile-card{
    background: #111;
    width:400px;
    padding: 3rem;
    border-radius: 10px;
    min-height: 400px;
    position: relative;
    color:#fff;
    margin: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}
.profile-card .profile-pic{
    margin-top: 15px;
    overflow: hidden;
}
.profile-card .profile-pic img{
    border-radius: 10px;
}
.profile-card .profile-details{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width:100%;
}
.profile-details .intro{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.profile-details .intro h2{
    margin-top: 20px;
}
.profile-details .intro h4{
    background: #1d1d1d;
    font-weight: 400;
    border-radius: 4px;
    padding: 5px 10px;
    margin: 8px;
}
.profile-details .intro .social{
    margin-top: 10px;
    margin-bottom: 25px;
}
.profile-details .intro .social i{
    color:#ddd;
    font-size: 16px;
    background-color:#222;
    margin: 5px;
    height: 35px;
    width:35px;
    line-height: 35px;
    text-align: center;
    border-radius: 5px;
    transition: 0.5s;
    border: 1px solid;
}
.profile-details .intro .social i:hover{
    transform: scale(1.2);
    border:1px solid rgba(255,255,255,0.3);
}
.profile-details .contact-info{
    background-color: #1d1d1d;
    padding: 15px;
    border-radius: 10px;
    width: 100%;
}
.profile-details .contact-info .row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 10px 0;
    margin-bottom: 10px;
}
.contact-info .row .icon{
    height: 40px;
    width: 40px;
    line-height: 40px;
    border-radius: 5px;
    background-color: #111;
    text-align: center;
    color:#fff;
    transition: 0.5s;
}
.row .icon:hover{
    transform:scale(1.2);
    border:1px solid rgba(255,255,255,0.1);
}
.row .content{
    min-width: 70%;
}
.row .content span{
    font-size: 12px;
}
.button{
    /* background: linear-gradient(45deg, #4c4ff6,#e21be2); */
    color:#000;
    padding: 1rem 3rem;
    border-radius: 30px;
    margin-top: 1.5rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition-duration: 0.4s;
    cursor: pointer;
    border: none;
}
.download-btn{
    background: linear-gradient(45deg, #4c4ff6,#e21be2);
    color: black;
    border: 2px solid #111;
}
.download-btn:hover{
    /* background: #aa048e; */
    border: 2px solid #ffffff;
    color: white;
}
.backdash-btn{
    background: linear-gradient(45deg, #4c4ff6,#e21be2);
    color: black;
    border: 2px solid #111;
    margin-bottom: 20px;
}
.backdash-btn:hover{
    /* background: #aa048e; */
    border: 2px solid #ffffff;
    color: white;
}

.homelab-btn {
  background: #0d0d0d;
  color: #00ffcc;
  border: 2px solid #00ffcc;
  box-shadow: 0 0 8px rgba(0, 255, 204, 0.5), inset 0 0 8px rgba(0, 255, 204, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.homelab-btn:hover {
  color: #0d0d0d;
  background: #00ffcc;
  box-shadow: 0 0 15px rgba(0, 255, 204, 0.8), 0 0 30px rgba(0, 255, 204, 0.6);
  transform: scale(1.05);
}
.typed-cursor {
  font-size: 1.5rem;
  color: #00ffcc;
  text-shadow: 0 0 8px #00ffcc, 0 0 15px #00ffcc;
}
.status-box {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 4px; /* square corners */
  border: 1px solid #00ffcc;
  color: #00ffcc;
  background: rgba(10, 10, 10, 0.85);
  box-shadow: 0 0 8px rgba(0,255,204,0.5);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-box.online {
  color: #00ffcc;
  border-color: #00ffcc;
  box-shadow: 0 0 12px rgba(0,255,204,0.7);
}

.status-box.offline {
  color: #ff4444;
  border-color: #ff4444;
  box-shadow: 0 0 12px rgba(255,68,68,0.6);
}

/*****about & dashboard section ****/
.about{
    background-color: #111;
    max-width: 800px;
    padding: 2rem 3rem;
    border-radius: 10px;
}
.about h1{
    color:#f2f2f2;
    margin-bottom: 1.1rem;
    position: relative;
    display: inline-block;
    font-size: 3.5rem;
}
.about h1::after{
    position: absolute;
    content: "";
    top:50%;
    right:-50%;
    width:45%;
    height: 3px;
    background: linear-gradient(45deg, #4772ff,#f10953);
}
.about h2{
    color:#f2f2f2;
    font-size: 2rem;
    margin:0.5rem 0;
}
.about p{
    color:#6b6b6b;
    margin:1.5rem 0;
}
.about .work{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
}

.about-homelab{
    background-color: #111;
    width: 900px;
    max-width: 1000px;
    padding: 2rem 3rem;
    border-radius: 10px;
}
.about-homelab h1{
    margin-top: 20px;
    color:#f2f2f2;
    margin-bottom: 1.1rem;
    position: relative;
    display: inline-block;
    font-size: 3.5rem;
}
.about-homelab h1::after{
    position: absolute;
    content: "";
    top:50%;
    right:-20%;
    width:15%;
    height: 3px;
    background: linear-gradient(45deg, #4772ff,#f10953);
}
.about-homelab h2{
    color:#f2f2f2;
    font-size: 2rem;
    margin:0.5rem 0;
}
.about-homelab p{
    color:#6b6b6b;
    margin:1.5rem 0;
}
.about-homelab .work{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
}

.work .workbox{
    display: flex;
    justify-content: space-between;
    border-radius:8px;
    border:1px solid #333;
    padding: 1rem;
    margin:1rem;

}
.work .workbox .desc{
    width:75%;
    color:#555;
}
.work .workbox .desc h3{
    color:#f2f2f2;
    margin-bottom: 3px;
}
.work .workbox .desc p{
    margin:0px;
}





.service-link {
  text-decoration: none; /* remove underline */
  color: inherit;        /* keep text color */
}

.service-link .workbox {
  cursor: pointer; /* show clickable hand cursor */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-link .workbox:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 12px rgba(0, 255, 204, 0.6);
}






/***Responsive Design ***/
@media(max-width:768px)
{
    .about{
        width: 1005;
        max-width: 400px;
        padding:1rem;
        margin:1rem;

    }
    .about h1{
        font-size: 2.2rem;
    }
    .about .work{
        grid-template-columns: repeat(1,1fr);
        grid-template-rows: repeat(4,auto);
    }

    .about-homelab{
        width: 1005;
        max-width: 400px;
        padding:1rem;
        margin:1rem;

    }
    .about-homelab h1{
        font-size: 2.2rem;
    }
    .about-homelab .work{
        grid-template-columns: repeat(1,1fr);
        grid-template-rows: repeat(4,auto);
    }
}