* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.TopWebsite {
    text-align: center;
    padding: 40px 20px 20px 20px;
}

.TopWebsite h1 {
    font-size: 40px;
    font-weight: bold;
    color: #18181b;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.TopWebsite p {
    font-size: 18px;
    color: #666;
    font-weight: 500;
}

.icon {
    width: 30px;
    height: 30px;
    background-color: black;
    border-radius: 50%;
    text-align: center;
    color: #f4f4f4;
    padding: 3px;
}

nav {
    background-color: #000000;
    padding: 20px;
    text-align: center;
    justify-content: space-around;
    margin-left: 30%;
    margin-right: 30%;
    border-radius: 30px;
    position: sticky;
    top: 20px;
    z-index: 1000;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
}

main {
    display: flex;
    gap: 20px;
    padding: 20px;
}

#content {
    flex: 3;
    flex-flow: column nowrap;
}

aside {
    flex: 1;
    position: sticky;
    top: 10px;
    align-self: flex-start;
}

.card {
    margin: 20px;
    padding: 30px;
    background-color: #f4f4f4;
    border-radius: 20px;
}

.card.Dark {
    background-color: #18181b;
    color: #f4f4f4;
}

.card.Lime {
    background-color: #9df80c;
    color: #000000;
}

.card h2 {
    font-size: 24px;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.card img {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 20px;
}

.card p {
    line-height: 24px;
    text-align: justify;
    opacity: 0.9;
}

.btn-portfolio {
    background-color: #f4f4f4;
    color: #18181b;
    padding: 10px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    font-weight: bold;
    width: 150px;
    display: inline-block; 
    text-decoration: none; 
    text-align: center;    
}


.btn-dicoding {
    background-color: #84cc16;
    color: #000000;
    padding: 10px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    width: 150px;
}

.profile p {
    line-height: 24px;
    text-align: justify;
    opacity: 0.9;
}

.profile h2 {
    font-size: 24px;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.Image-Profil {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    color: white;
    background-color: #18181b;
}

.Image-Profil img {
    width: 100%;
    height: 200px;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 20px;
}

.profile-content {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    color: #222222;
    background-color: #c084fc;
}

.profile-content table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: left;
}

.profile-content table th {
    width: 25%;
}

.profile-content table th,
.profile-content table td {
    padding: 10px 0;
    border-bottom: 1px solid #18181b;
    word-break: break-word;
}

footer {
    padding: 20px 40px;
    color: white;
    background-color: #18181b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

footer nav {
    margin: 0;
    padding: 0;
    background-color: transparent;
    position: static;
}

@media screen and (max-width: 768px) {
    .TopWebsite h1 {
        font-size: 28px;
    }

    nav {
        margin-left: 15px;
        margin-right: 15px;
        border-radius: 20px;
        padding: 15px;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    nav ul li {
        display: block;
        margin: 0;
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 10px;
        width: 100%;
        text-align: center;
    }

    .btn-dicoding {
        width: 100%;
    }

    main {
        flex-direction: column;
        padding: 10px;
    }

    aside {
        position: static;
        width: 100%;
    }

    footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }
}
