/* General Body and Container Styles */
body {
    font-family: 'Nunito', sans-serif;
    background: #f4f7f9;
    margin: 0;
    padding: 0;
    color: #333;
}

h1, h2, h3, p {
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.resume-wrapper {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 50px;
}

section {
    margin-bottom: 50px;
}

/* Header (Personal Information) */
.personal-information {
    text-align: center;
}

.name {
    font-size: 36px;
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 10px;
}

.detail-information p {
    font-size: 16px;
    line-height: 1.6;
    color: #7f8c8d;
}

.detail-information span {
    font-weight: bold;
    color: #2c3e50;
}

/* History Section */
.personal-history h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.history {
    font-size: 16px;
    line-height: 1.8;
    color: #34495e;
    font-style: italic;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Employment Section */
.employment-history {
    background-color: #ecf0f1;
    border-radius: 10px;
    padding: 20px;
}

.employment-heading {
    font-size: 28px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
}

.employment-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 1rem;
    border-bottom: 1px solid #dfe6e9;
    transition: background 0.3s ease;
}

.employment-wrapper:hover {
    background-color: #dfe6e9;
}

.emp-right {
    width: 65%;
}

.emp-date {
    font-size: 16px;
    color: #7f8c8d;
}

.emp-location {
    font-size: 14px;
    color: #7f8c8d;
}

.employer {
    font-size: 20px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
}

.jobs {
    font-size: 16px;
    color: #34495e;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    padding-left: 18px;
}

.jobs li {
    margin-bottom: 8px;
}

/* Skills Section */
.skills h2 {
    font-size: 28px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.skill-wrapper {
    display: flex;
    justify-content: space-between;
}

.skill {
    width: 30%;
}

.skill p {
    font-size: 1rem;
    color: #34495e;
    margin-bottom: 0.625rem;
}

.skill span {
    font-weight: bold;
    color: #2c3e50;
}

/* Certification Section */
.cert-wrapper {
    display: flex;
    justify-content: space-between;
}

.certif-wrapper {
    width: 32%;
}

.certif-wrapper img {
    width: 100%;
}

.certification {
    background-color: #ecf0f1;
    border-radius: 10px;
    padding: 20px;
}

.certification h2 {
    font-size: 28px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
}

.certification .employment-wrapper {
    margin-bottom: 30px;
    width: 30%;
}

.certification .employment-wrapper .emp-right img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.certification .employment-wrapper .emp-right img:hover {
    transform: scale(1.05);
}

/* Portfolio Section */
.portofolios h2 {
    font-size: 28px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
}

.portofolios .employment-wrapper {
    margin-bottom: 30px;
}

.portofolios .employment-wrapper .emp-left {
    width: 25%;
}

.portofolios .employment-wrapper .emp-right {
    width: 70%;
}

.portofolios .employment-wrapper .emp-left p {
    font-size: 16px;
    color: #7f8c8d;
}

.portofolios .employment-wrapper .emp-right h3 {
    font-size: 20px;
    color: #2c3e50;
    font-weight: 600;
}

.portofolios .employment-wrapper .emp-right ul {
    list-style-type: none;
    padding-left: 0;
}

.portofolios .employment-wrapper .emp-right li {
    font-size: 16px;
    color: #34495e;
    margin-bottom: 8px;
}

/* Animation for Portfolio Links */
.portofolios .employment-wrapper a {
    font-size: 16px;
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.portofolios .employment-wrapper a:hover {
    color: #2980b9;
}

/* Footer and Additional Styles */
footer {
    text-align: center;
    margin-top: 50px;
    font-size: 16px;
    color: #7f8c8d;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }

    .resume-wrapper {
        padding: 30px;
    }

    .personal-history h2 {
        font-size: 26px;
    }

    .employment-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .emp-left, .emp-right {
        width: 100%;
    }

    .emp-left {
        margin-bottom: 10px;
    }

    .jobs li {
        margin-bottom: 6px;
    }

    .skills .skill-wrapper {
        flex-direction: column;
    }

    .skill {
        width: 100%;
        margin-bottom: 20px;
    }

    .certification .employment-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .portofolios .employment-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .portofolios .employment-wrapper .emp-left {
        width: 100%;
    }

    .portofolios .employment-wrapper .emp-right {
        width: 100%;
    }

    footer {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .name {
        font-size: 30px;
    }

    .detail-information p {
        font-size: 14px;
    }

    .employment-wrapper {
        flex-direction: column;
    }

    .emp-left, .emp-right {
        width: 100%;
    }

    .skills h2, .certification h2, .portofolios h2 {
        font-size: 24px;
    }

    .job, .certification, .portofolios .employment-wrapper {
        font-size: 14px;
    }

    .skill-wrapper {
        flex-direction: column;
    }

    .skill {
        width: 100%;
        margin-bottom: 15px;
    }

    .cert-wrapper {
        flex-direction: column;
    }
    
    .certif-wrapper {
        width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
        max-width: 100%;
    }

    .resume-wrapper {
        padding: 20px;
    }

    .name {
        font-size: 24px;
    }

    .personal-history h2 {
        font-size: 24px;
    }

    .emp-left, .emp-right {
        width: 100%;
    }

    .skills .skill-wrapper {
        flex-direction: column;
    }

    .skill {
        width: 100%;
        margin-bottom: 15px;
    }

    footer {
        font-size: 12px;
    }
}

/* Sticky Social account */
.sticky-social {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.social-btn {
    display: flex;
    background-color: #333;
    color: white;
    margin-bottom: 10px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 30px;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
}

.social-btn:hover {
    transform: scale(1.1);
}

.github {
    background-color: #333;
}

.github:hover {
    background-color: #444;
}

.stackoverflow {
    background-color: #f48024;
}

.stackoverflow:hover {
    background-color: #e05a13;
}

.linkedin {
    background-color: #0077b5;
}

.linkedin:hover {
    background-color: #005f83;
}

.whatsapp {
    background-color: #25D366;
}

.whatsapp:hover {
    background-color: #128C7E;
}

.email {
    background-color: #d44638;
}

.email:hover {
    background-color: #c1351d;
}

.chatbot {
    position: fixed;
    bottom: 40px;
    left: 40px;
    background-color: #25D366;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.chatbot a {
    color: white;
}