@font-face {
    font-family: 'RobotoMedium';
    src:url(Font/Roboto-Medium.ttf);
    font-weight: normal;
    font-style: normal;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family:'RobotoMedium', sans-serif;
    scroll-behavior: smooth
}
html, body{
    height: 100%;
    margin: 0;
    padding: 0;
}
header{
    color: #003366;
    padding: 0% 1%;
    display: flex;
    justify-content: space-between;
}
header img{
    background-color: #fff;
    margin: 10px;
    height: 77px;
    width: 77px;
}
#navigasiatas ul{
    list-style: none;
    padding: 10px;
    display: flex;
}
#navigasiatas ul li{
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
    transition: font-size 0.5s ease;
}
#navigasiatas ul li:hover{
    padding: 10px;
    font-size: 30px;
    font-weight: bold;
}
#About{
    background: linear-gradient(to right, #FF6501, #FFD700);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
#About:hover{
    background: linear-gradient(to right, #FFD700, #FF6501);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
#Work{
    background: linear-gradient(to right, #00bf63, #7ed957);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
#Work:hover{
    background: linear-gradient(to right, #7ed957, #00bf63);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
#Resume{
    background: linear-gradient(to right, #cb6ce6, #ff66c4);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
#Resume:hover{
    background: linear-gradient(to right, #ff66c4, #cb6ce6);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
body{
    background-color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#background-content{
    padding: 20px 0px 50px 0px;
    background-image: url('Media/green\ particel.png'); /* Ganti dengan nama file kamu */
    background-size: cover;        /* atau 'contain' jika ingin seluruh gambar terlihat */
    background-position: center ;   /* Bisa juga top/left/bottom/right */
    background-repeat: no-repeat;  /* Mencegah gambar diulang */
}
#content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 150px 150px 0 200px;
    flex: 1;
}
#content .text{
    flex: 1;
}
#content img{
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 50px;
}
#content h1{
    background: linear-gradient(to right, #FF6501, #FFD700);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 64px;
    margin-bottom: 10px;
}
#content h2{
    background: linear-gradient(to right, #FF6501, #FFD700);
    background-clip: text;
    -webkit-text-fill-color: #FF6501;
    font-size: 32px;
    margin-bottom: 10px;
}
#content p{
    color: black;
    font-size: 18px;
}
.btn{
    display: flex;
    text-align: center;
    border: none;
    font-size: 16px;
    margin-left: 200px;
    margin-bottom: 190px;
}
#btAbout{
    width: 150px;
    background: linear-gradient(to right, #00bf63, #7ed957);
    padding: 12px 24px;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
#btProj{
    width: 150px;
    margin-left: 30px;
    background: linear-gradient(to right, #cb6ce6, #ff66c4);
    padding: 12px 24px;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
#btSkill{
    width: 150px;
    margin-left: 30px;
    background-image: linear-gradient(to right,#38b6ff,#5ce1e6);
    padding: 12px 24px;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
#btAbout:hover{
    background: linear-gradient(to right, #7ed957, #00bf63);
    transform: scale(1.05);
}
#btProj:hover{
    background: linear-gradient(to right,#ff66c4 ,#cb6ce6 );
    transform: scale(1.05);
}
#btSkill:hover{
    background-image: linear-gradient(to right,#38b6ff,#5ce1e6);
    transform: scale(1.05);
}
.custom-icon{
    font-size: 40px;
    color: #FF6501;
    margin-left: 30px;
    text-decoration: none;
}
#aboutme{
    justify-content: center;
    text-align: center;
    background: linear-gradient(to right, #00bf63, #7ed957);
    animation: muncul linear;
    animation-timeline: view();
    animation-range: entry 0% cover 20%;
}
#aboutme h1{
    font-size: 65px;
    background: linear-gradient(to right, white, #7ed957);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 80px 0px 10px;
}
#aboutme p{
    color: #e5e7eb;
    text-align: justify;
    padding: 20px 350px 50px;
    font-size: 20px;
}
.aboutgambar img{
    width: 100px;
    border-radius: 50%;
    margin-right: 10px;
    filter: grayscale(100%);
    transition: filter 0.6s ease-out, width 0.3s ease;
}
.aboutgambar img:hover{
    width: 200px;
    border-radius: 50%;
    margin-right: 10px;
    filter: grayscale(0%);

}
#project{
    padding: 100px 0px 100px;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to right,#ff66c4 ,#cb6ce6 );
}
#project h1{
    font-size: 50px;
    background: linear-gradient(to right,#fff ,#cb6ce6 );
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 50px 0px 10px;
}
#isiproj{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; 
    flex-wrap: wrap;
}
.youtube{
    padding: 100px;
}
#moreko{
    width: 100%;
    max-width: 500px;
    height: auto;
}
.skills-section {
    padding: 100px 0px 150px;
    text-align: center;
    background-image: linear-gradient(to right,#38b6ff,#5ce1e6);
}
.skills-section h1 {
    font-size: 50px;
    padding: 50px 0px 10px;
    background-image: linear-gradient(to right,#fff,#5ce1e6);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.skills-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 50px 0px 50px;
}
.skill {
    width: 60%; 
}
.bar-wrapper {
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 2px;
}
.bar {
    height: 20px;
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}
.percentage {
    min-width: 40px;
    font-weight: bold;
    text-align: left;
    color: #333;
}
.bar.html {
    width: 50%;
    background: linear-gradient(to right, #ff6600, #ffcc00);
}
.bar.css {
    width: 50%;
    background: linear-gradient(to right, #0066ff, #66ccff);
}
.bar.js {
    width: 10%;
    background: linear-gradient(to right, #f0db4f, #ffe84d);
}
.bar.canva {
    width: 80%;
    background: linear-gradient(to right, #00c4cc, #a6f5f5);
}
.bar.figma {
    width: 40%;
    background: linear-gradient(to right, #a259ff, #f24e1e);
}
.bar-container {
    width: 100%;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
}
footer{
    background-color: #003366;
    color: #e5e7eb;
    padding: 20px 0;
}
.footer-container{
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.footer-container p{
    margin: 5px 0;
}
.footer-links a{
    color: #FF6501;
    margin-left: 15px;
    text-decoration: none;
    transition: 0.3s;
}
.footer-links a:hover{
    color: #FFD700; 
}
@keyframes muncul{
    from{
        opacity: 0;
        scale: 0.8;
    }
    to{
        opacity: 1;
        scale: 1;
    }
}