* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier Prime', monospace;
    background-color: #F8F4E6;
    color: #333;
    line-height: 1.6;
}
html{
    scroll-behavior: smooth;
}


/* Navbar Retro */
.navbar {
    background-color: #2A3439;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #F5F0E1;
    letter-spacing: 1px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: 'Courier Prime', monospace;
    color: #F5F0E1;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.nav-links a:hover {
    color: #D2B48C;
    border-bottom: 2px solid #C9A66B;
}

/* Hero Section */
.hero {
    background-color: #F8F4E6;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 6rem;

}
.hero-content {
    flex: 1;
    padding-right: 3rem;
    text-align: justify; 
}

.hero-images {
    flex: 1;
    position: relative; 
    width: 45%;
    max-width: 400px; 
    height: 400px; 
    margin-left: 2rem;
}

.hero-images img {
    position: absolute;
    transition: transform 0.3s ease;
    width: 90%;
    height: auto;
    object-fit: contain;
}
.hero-images img[src="sketsa.png"] {
    z-index: 2; 
    transform: rotate(-5deg) translateY(-10px);
}

.hero-images img[src="background.png"] {
    z-index: 1;
    transform: rotate(3deg) translateY(30px) scale(1.1);
    filter: brightness(0.9) contrast(0.9);
    top: 100px;
}

/* Hover effects */
.hero-images:hover img[src="sketsa.png"] {
    transform: rotate(-7deg) translateY(-15px);
}

.hero-images:hover img[src="background.png"] {
    transform: rotate(5deg) translateY(35px) scale(1.15);
}
.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #2A3439;
    margin-bottom: 0rem;
    text-shadow: 3px 3px 0px rgba(139, 69, 19, 0.2);
    letter-spacing: 1px;
    position: relative;
    margin-left: 4rem;
}

.tagline {
    font-family: 'Courier Prime', monospace;
    font-size: 1.2rem;
    color: #5F4B32;
    margin-bottom: 1rem;
    font-style: italic;
}
.hero p {
    max-width: 600px;
    font-size: 1.1rem;
    color: #333;
    margin-left: 4rem;
}



/* About Section */
.about {
    background: #F5F0E1;
    padding: 5rem 2rem;
    border-top: 8px dashed #D2B48C;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.main-photo {
    width: 100%;
    max-width: 350px;
    border: 8px solid #2A3439;
    box-shadow: 12px 12px 0 #8B4513;
    transform: rotate(-3deg);
}

.decor-photo {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    opacity: 0.8;
}

.about-content {
    flex: 1;
}

.about h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #2A3439;
    margin-bottom: 1rem;
}

.highlight {
    color: #8B4513;
}

.retro-divider {
    height: 4px;
    width: 100px;
    background: #8B4513;
    margin: 1rem 0 2rem;
}

.intro {
    font-family: 'Courier Prime', monospace;
    font-size: 1.2rem;
    color: #5F4B32;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.retro-card {
    background: #FFF;
    border-left: 5px solid #8B4513;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 5px 5px 0 #2A3439;
}

.retro-card h3 {
    color: #2A3439;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: #8B4513; /* Warna coklat retro */
    color: #F5F0E1;
    border: 2px solid #D2B48C;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 4px 4px 0 #2A3439;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-image: url('https://www.transparenttextures.com/patterns/paper.png');
}

.back-to-top:hover {
    background-color: #5F4B32;
    transform: translateY(-5px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* Skills Section */
.skills {
    background: #F8F4E6;
    padding: 5rem 2rem;
    border-top: 8px dotted #D2B48C;
    border-bottom: 8px dotted #D2B48C;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #2A3439;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.subtitle {
    font-family: 'Courier Prime', monospace;
    font-style: italic;
    color: #5F4B32;
    margin-top: 1rem;
}

.skill-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category {
    background: #FFF;
    border: 3px solid #2A3439;
    box-shadow: 8px 8px 0 rgba(139, 69, 19, 0.3);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 0 rgba(139, 69, 19, 0.3);
}

.category-header {
    padding: 1rem;
    color: #F5F0E1;
}

.category-header h3 {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-items {
    list-style: none;
    padding: 1.5rem;
}

.skill-items li {
    margin-bottom: 1.5rem;
}

.skill-name {
    font-family: 'Courier Prime', monospace;
    display: block;
    margin-bottom: 0.5rem;
    color: #2A3439;
    font-weight: bold;
}

.skill-level {
    height: 10px;
    background: #F5F0E1;
    border: 1px solid #D2B48C;
    position: relative;
}

.level-bar {
    height: 100%;
    position: relative;
    transition: width 1s ease-in-out;
}

.level-bar::after {
    content: attr(data-level);
    position: absolute;
    right: -40px;
    top: -5px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    color: #533511;
}

.skill-footer {
    text-align: center;
    margin-top: 3rem;
    font-family: 'Courier Prime', monospace;
    color: #5F4B32;
}
/* Contact Section */
.contact {
    background: #F5F0E1;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/notebook.png');
    opacity: 0.1;
    z-index: 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #2A3439;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Form Styles */
.retro-form {
    background: white;
    padding: 2rem;
    border: 3px solid #2A3439;
    box-shadow: 8px 8px 0 #8B4513;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-family: 'Courier Prime', monospace;
    color: #5F4B32;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid #D2B48C;
    font-family: 'Courier Prime', monospace;
    font-size: 1rem;
    color: #2A3439;
}

.form-group textarea {
    resize: vertical;
}

.underline {
    height: 2px;
    background: #8B4513;
    width: 0;
    transition: width 0.3s ease;
}

.form-group input:focus + .underline,
.form-group textarea:focus + .underline {
    width: 100%;
}

/* Submit Button */
.btn-retro {
    background: #2A3439;
    color: #F5F0E1;
    border: 2px solid #D2B48C;
    padding: 12px 28px;
    font-family: 'Courier Prime', monospace;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 rgba(139, 69, 19, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
}

.btn-retro:hover {
    background: #8B4513;
    transform: translateY(-3px);
    box-shadow: 6px 6px 0 rgba(139, 69, 19, 0.3);
}

.paper-plane {
    transition: transform 0.3s ease;
}

.btn-retro:hover .paper-plane {
    transform: translateX(5px) rotate(30deg);
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border: 2px solid #D2B48C;
    text-align: center;
    box-shadow: 5px 5px 0 #2A3439;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 #2A3439;
}

.info-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-family: 'Poppins', sans-serif;
    color: #2A3439;
    margin-bottom: 0.5rem;
}

.info-card p {
    font-family: 'Courier Prime', monospace;
    color: #5F4B32;
}

/*Tugas*/

.pdf-upload-section {
    background-color: #F5F0E1;
    padding: 2rem;
    margin: 2rem 0;
    border: 3px solid #8B4513;
    box-shadow: 8px 8px 0 #D2B48C;
    border-radius: 5px;
}

.pdf-upload-section h1 {
    font-family: 'Poppins', sans-serif;
    color: #2A3439;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0px rgba(139, 69, 19, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

#pdfListViewer h2 {
    font-family: 'Courier Prime', monospace;
    color: #5F4B32;
    font-size: 1.5rem;
    border-top:2px dashed #8B4513; 
    border-bottom: 2px dashed #8B4513;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.pdf-item {
    background-color: #FFF;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid #2A3439;
    box-shadow: 4px 4px 0 rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
}
.garis{
    border-bottom: 2px dashed #8B4513;
    margin-bottom: 1.5rem;
}
.pdf-item:hover {
    transform: translateY(-3px);
    box-shadow: 6px 6px 0 rgba(139, 69, 19, 0.2);
}

.pdf-item h3 {
    font-family: 'Courier Prime', monospace;
    color: #2A3439;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}


/* Responsive */
@media (max-width: 768px) {
    .pdf-upload-section {
        padding: 1.5rem;
    }
    
    .pdf-upload-section h1 {
        font-size: 1.8rem;
    }
    
    .pdf-item {
        padding: 1rem;
    }
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .retro-form {
        margin-bottom: 2rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    
    .skill-categories {
        grid-template-columns: 1fr;
    }
    .about-container {
        flex-direction: column;
    }
    
    .main-photo {
        max-width: 250px;
    }
    
    .about h2 {
        font-size: 2rem;
    }
    .navbar {
        padding: 1rem;
        flex-direction: column;
    }
    .nav-links {
        margin-top: 1rem;
        gap: 1rem;
    }
    
    .hero {
        flex-direction: column;
        padding: 4rem 2rem;
        text-align: center;
    }
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .hero-images {
        justify-content: top;
        width: 50%;
        position: relative;
        bottom: 120px;
        right: 50px;
    }
    
    .buttons {
        flex-direction: column;
        gap: 1rem;
    } 
    .hero p {
        margin: 0 0 3rem;

    }
}

/*teks*/
.font-display {
    font-size: 1.5rem;
    line-height: 1.6;
    padding: 1.5rem;
    background: #F8F4E6;
    border: 2px solid #D2B48C;
    min-height: 200px;
    margin: 1rem 0;
}

.font-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.font-btn {
    background: #2A3439;
    color: #F5F0E1;
    border: 2px solid #D2B48C;
    padding: 8px 16px;
    font-family: 'Courier Prime';
    cursor: pointer;
    box-shadow: 3px 3px 0 rgba(139, 69, 19, 0.3);
    transition: all 0.3s;
}

.font-btn:hover {
    background: #8B4513;
    transform: translateY(-2px);
}

.font-btn.active {
    background: #8B4513;
    box-shadow: 1px 1px 0 #2A3439;
}

.sample-text {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: #5F4B32;
}
/*gambar*/
.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

  /* Retro Frame Styling */
.retro-frame {
    background: #FFF;
    padding: 1rem;
    border: 2px solid #5F4B32;
    box-shadow: 5px 5px 0 #D2B48C;
    transition: all 0.3s ease;
    text-align: center;
}

.retro-frame:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 #8B4513;
}

.retro-frame img {
    width: 100%;
    border: 1px solid #D2B48C;
    aspect-ratio: 1/1;
    object-fit: contain;
    background: #F8F4E6;
}

.caption {
    text-align: center;
    color: #5F4B32;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}
.font-viewer-container h2{
    margin-top: 2rem;
}

.audio-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.audio-card {
    background: #F8F4E6;
    border: 2px solid #5F4B32;
    padding: 1rem;
    box-shadow: 5px 5px 0 #D2B48C;
    transition: all 0.3s;
    text-align: center;
}

.audio-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 #8B4513;
}

audio {
    width: 100%;
    margin-top: 10px;
    filter: sepia(50%) hue-rotate(10deg);
}

.audio-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #2A3439;
}
.audio-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #FFF;
    border: 3px solid #8B4513;
    padding: 2rem;
    box-shadow: 8px 8px 0 #D2B48C;
}

h2.section-title {
    font-family: 'Poppins', sans-serif;
    color: #8B4513;
    margin: 2rem 0 1rem;
    padding-left: 10px;
    border-left: 5px solid #5F4B32;
}

.animation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.animation-card {
    background: #F8F4E6;
    border: 2px solid #5F4B32;
    padding: 1rem;
    box-shadow: 5px 5px 0 #D2B48C;
    transition: all 0.3s;
}

.animation-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 #8B4513;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #D2B48C;
}

.animation-info {
    margin-top: 10px;
}

.animation-title {
    font-weight: bold;
    color: #2A3439;
}

.animation-origin {
    font-size: 0.9rem;
    color: #5F4B32;
    font-style: italic;
}
.animation-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #FFF;
    border: 3px solid #8B4513;
    padding: 2rem;
    box-shadow: 8px 8px 0 #D2B48C;
    margin-top: 2rem;
}
