/* style.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: white;
    color: #000;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    border: 1px solid black;
    padding: 10px 20em 10px 20em;
}

header div a {
    text-decoration: none;
    color: black;
}

.header img {
    height: 40px;
}

.header .profile {
    font-size: 24px;
}

.sub-nav {
    display: flex;
    gap: 2em;
}

.logo a {
    text-decoration: none;
}

.login-btn {
    height: 50%;
    background-color: #1dd1a1;
    color: white;
    padding: 0.25em 2.5em 0.25em 2.5em;
    margin-top: 1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
}

.upload-btn {
    height: 50%;
    border: 1px solid black;
    color: black;
    padding: 0.25em 2em 0.25em 2em;
    margin-top: 1.2em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
}

.profil-login {
    border-radius: 5em;
    border: 2px solid black;
    margin-top: 0.5em;
}

.hero {
    background-color: #841fe4;
    text-align: center;
    color: white;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-hero {
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    font-style: italic;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.btn-orange-hero {
    background-color: #e68c00;
    color: white;
}

.btn-white-hero {
    background-color: white;
    color: #841fe4;
    border: 2px solid #841fe4;
}

/* Upload Job Page */
.form-container {
    max-width: 600px;
    margin: 50px auto;
    border: 1px solid #ddd;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    padding: 40px;
    border-radius: 10px;
}

.form-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.form-group {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.form-group label {
    width: 30%;
    margin-top: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 70%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group textarea {
    height: 100px;
    resize: none;
}

.form-footer {
    text-align: right;
}

.form-footer button {
    padding: 10px 30px;
    border: none;
    background-color: #555;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.drag-drop {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5em;
    width: 365px;
    height: 365px;
    cursor: pointer;
}

.drag-drop div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Login Page */
.login {
    background-color: #841fe4;
    color: white;
    width: 600px;
    height: 600px;
    margin: 4em 0px 4em 0px;
    padding: 0px 1.5em 0px 1.5em;
    font-style: italic;
}

.login h2 {
    font-weight: bold;
    text-align: center;
    font-style: normal;
    font-size: 40px;
    margin: 32px 0px 32px 0px;
}

.login p {
    font-size: 15px;
    text-align: center;
    margin: 5.5em 0px 0px 0px;
}

.login form input {
    width: 552px;
    height: 50px;
    font-style: italic;
}

/* Upload Page */
.upload {
    border: black 1px solid;
    color: white;
    width: 600px;
    height: 600px;
    margin: 4em 0px 4em 0px;
    padding: 1em 1.5em 1em 1.5em;
    font-style: italic;
}

.upload h2 {
    font-size: 30px;
    text-align: center;
    color: black;
    margin-top: 6em;
}

.upload div a {
    font-style: normal;
    text-decoration: none;
}

.upload div a i {
    display: flex;
    gap: 0.5em;
    letter-spacing: 0.1em;
    color: black;
    font-size: 40px;
}

/* My Upload Page */
.my-upload {
    border: black 1px solid;
    color: white;
    width: 600px;
    height: 600px;
    margin: 4em 0px 4em 0px;
    padding: 1em 1.5em 1em 1.5em;
    font-style: italic;
}

.my-upload h2 {
    font-size: 30px;
    text-align: center;
    color: black;
    margin-top: 6em;
}

.my-upload div a {
    font-style: normal;
    text-decoration: none;
}

.my-upload div a i {
    display: flex;
    gap: 0.5em;
    letter-spacing: 0.1em;
    color: black;
    font-size: 30px;
}

/* Lihat Karya Page */
.lihat-karya {
    padding: 40px 30em 10px 30em;
}

.lihat-karya h2 {
    font-size: 35px;
    font-weight: bold;
}

/* Job Page */
.job {
    margin: 0px 0px 4em 0px;
    padding: 40px 30em 10px 30em;
}

.job h2 {
    font-size: 35px;
    font-weight: bold;
}

.card-job {
    border: 1px solid;
    width: 100%;
    height: 100%;
}

.card-job-text {
    width: 100vh;
    padding-left: 3em;
}

/* Detail Page */
.detail {
    margin: 0px 0px 10em 0px;
    padding: 40px 20em 10px 20em;
}

.sub-detail {
    display: flex;
    border: 1px solid;
    padding: 2.5em 0px 5em 5em;
    word-wrap: break-word;
}

.sub-detail img {
    width: 300px;
    height: 300px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.7);
}

#date {
    display: flex;
    align-items: end;
    margin-left: 24rem;
    font-weight: 600;
}

/* Payment Page */
.sub-payment {
    display: flex;
    border: 1px solid;
}

/* Profil Page */
.profil {
    padding: 40px 30em 10px 30em;
    margin: 0px 0px 10em 0px;
}

.profile-card {
    border: 1px solid black;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.user-info {
    flex-grow: 1;
    margin-left: 15px;
}

.user-info .name {
    font-weight: bold;
}

.user-info .email {
    font-size: 13px;
    color: #666;
}

.close-btn {
    cursor: pointer;
    font-size: 18px;
    color: #888;
}

.profile-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.profile-item:last-of-type {
    border-bottom: none;
}

.add-number {
    color: #888;
    font-style: italic;
    cursor: pointer;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.profile-links {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
}

.profile-links span {
    text-decoration: none;
    color: black;
    display: flex;
    text-align: center;
    padding: 8px 0px;
    font-size: 20px;
    gap: 0.5em;
    cursor: pointer
}

.profile-links span i {
    margin-top: 6px;
    font-size: 20px;
}

/* Statistik */
.statistik {
    display: flex;
    justify-content: space-around;
    margin: 4em 0px 4em 0px;
    padding: 40px 30em 10px 30em;
    text-align: center;
}

.statistik h2 {
    font-size: 28px;
    margin-bottom: 5px;
}

/* Kategori */
.kategori {
    padding: 0px 30em 0px 30em;
    margin: 4em 0px 4em 0px;
}

.kategori h2 {
    font-size: 35px;
    margin-bottom: 0.5em;
}

.kategori-btn {
    width: 216px;
    height: 52px;
    background-color: #e68c00;
    color: white;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    margin: 15px 8px 15px 8px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.kategori-btn a {
    color: white;
    text-decoration: none;
}

.kategori-btn:hover {
    transform: scale(1.05);
}

/* Showcase */
.showcase {
    padding: 0px 30em 0px 30em;
    margin: 3em 0px 6em 0px;
}

.showcase h2 {
    font-size: 35px;
    margin-bottom: 0.5em;
}

.sub-showcase div {
    width: 10%;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.7);
    min-width: 275px;
    min-height: 200px;
}

.showcase-card {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2em;
    gap: 2em;
}

.btn-flat {
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    font-style: italic;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Event */
.event {
    padding: 0px 30em 0px 30em;
    margin: 3em 0px 3em 0px;
}

.event h2 {
    font-size: 35px;
    margin-bottom: 0.5em;
}

.card-event {
    background: #EDEDED;
    padding: 2em;
    min-width: 500px;
    min-height: 266px;
}

.card-event-text {
    padding-left: 3em;
}

.event-img {
    width: 200px;
    height: 200px;
}

/* Testimoni */
.testimoni {
    padding: 0px 30em 0px 30em;
    margin: 3em 0px 3em 0px;
}

.testimoni h2 {
    font-size: 35px;
    margin-bottom: 0.5em;
}

.card-testimoni {
    background: whitesmoke;
    padding: 3em;
    min-width: 446px;
    height: 266px;
}

.card-testimoni-text {
    padding-left: 3em;
}

/* Review Page */
.review-container {
    max-width: 600px;
    margin: 50px auto;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.review-container h2 {
    text-align: center;
    margin-bottom: 10px;
}

.review-options {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.emote {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    cursor: default;
}

.emote span {
    font-size: 40px;
}

textarea {
    width: 100%;
    height: 100px;
    resize: none;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.submit-btn {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    background: #555;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #333;
}


/* Footer */
footer {
    display: flex;
    justify-content: center;
    color: #88899C;
    box-shadow: 0px -2px 4px #88899C;
    padding: 10px 20em 10px 20em;
}

.sub-footer {
    margin: 5em 0px 5em 0px;
    width: 200vh;
    display: flex;
    justify-content: space-between;
}

.sub-footer div a {
    font-size: 15px;
    font-weight: 600;
    color: black;
    text-decoration: none;
}

.sub-footer div h3 {
    font-size: 30px;
    padding-bottom: 0.5em;
}

/* Wallet Page */
#withdraw-btn {
    border: none;
    border-radius: 0.5em;
}

/* Animation on hover effect */
#parent-card:hover,
#remove-btn:hover,
#withdraw-btn:hover,
#wallet:hover,
#myUpload:hover,
#job:hover,
#review:hover,
#remove-account:hover,
#setting:hover,
#logout:hover,
#upload-btn:hover,
.rounded-circle:hover,
.login-btn:hover,
.upload-btn:hover,
.btn-hero:hover,
.kategori-btn:hover,
.form-footer button:hover,
.submit-btn:hover,
.profil-login:hover {
    transform: scale(1.02);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

#remove-btn,
#parent-card,
#withdraw-btn,
#upload-btn,
#wallet,
#myUpload,
#job,
#review,
#remove-account,
#setting,
#logout,
.rounded-circle,
.login-btn,
.upload-btn,
.btn-hero,
.kategori-btn,
.form-footer button,
.submit-btn,
.profil-login {
    transition: all 0.3s ease-in-out;
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.6s ease-in forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Fade Out Animation */
.fade-out {
    animation: fadeOut 0.6s ease-out forwards;
    opacity: 1;
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

/* Responsive Area */

@media (max-width: 1650px) {
    #date {
        margin-left: 4rem;
    }
}

@media (max-width: 1500px) {
    .sub-showcase div {
        min-width: 200px;
        min-height: 100px;
    }

    header,
    .lihat-karya,
    .job,
    .profil,
    .statistik,
    .kategori,
    .showcase,
    .event,
    .testimoni,
    footer {
        padding-left: 20em;
        padding-right: 20em;
    }

    .detail {
        padding-left: 15em;
        padding-right: 15em;
    }
}

/* 1200px ke bawah */
@media (max-width: 1200px) {

    header,
    .lihat-karya,
    .job,
    .detail,
    .profil,
    .statistik,
    .kategori,
    .showcase,
    .event,
    .testimoni,
    footer {
        padding-left: 5em;
        padding-right: 5em;
    }

    .sub-showcase div {
        min-width: 200px;
        min-height: 150px;
    }
}

/* 992px ke bawah */
@media (max-width: 992px) {

    header,
    .lihat-karya,
    .job,
    .detail,
    .profil,
    .statistik,
    .kategori,
    .showcase,
    .event,
    .testimoni,
    footer {
        padding-left: 2em;
        padding-right: 2em;
    }

    .card-job,
    .card-event,
    .card-testimoni,
    .login form input {
        width: 100%;
    }

    .sub-showcase div {
        min-width: 150px;
        min-height: 100px;
    }
}

/* 768px ke bawah */
@media (max-width: 768px) {

    header,
    .lihat-karya,
    .job,
    .detail,
    .profil,
    .statistik,
    .kategori,
    .showcase,
    .event,
    .testimoni,
    footer {
        padding-left: 1.5em;
        padding-right: 1.5em;
    }

    .cta-buttons,
    .showcase-card,
    .sub-detail,
    .statistik,
    .profile-header {
        flex-direction: column;
        align-items: center;
    }

    .card-job,
    .card-event,
    .card-testimoni,
    .card-job-text {
        width: 100%;
    }

    .sub-footer {
        flex-direction: column;
        gap: 2em;
    }

    .login {
        width: 100%;
        height: auto;
        margin: 2em 0;
        padding: 1em;
    }

    .sub-showcase div {
        width: 100%;
        min-width: unset;
        /* Tidak memaksa lebar */
        min-height: 100px;
    }
}

/* 576px ke bawah: Ukuran HP */
@media (max-width: 576px) {

    header,
    .lihat-karya,
    .job,
    .detail,
    .profil,
    .statistik,
    .kategori,
    .showcase,
    .event,
    .testimoni,
    footer {
        padding-left: 1em;
        padding-right: 1em;
    }

    .hero h1,
    .login h2,
    .kategori h2,
    .showcase h2,
    .event h2,
    .testimoni h2,
    .lihat-karya h2,
    .job h2 {
        font-size: 24px;
    }

    .login form input {
        height: 45px;
        width: 100%;
    }

    .kategori-btn {
        width: 100%;
    }

    .sub-showcase {
        flex-direction: column;
        gap: 10px;
    }

    .sub-showcase div {
        width: 100%;
        min-width: unset;
        min-height: 100px;
    }

    #upload-btn a i {
        font-size: 20px;
    }

    .my-upload h2 {
        font-size: 20px;
    }

    .upload h2 {
        font-size: 20px;
    }

    #withdraw-btn {
        font-size: 10px;
    }

    #remove-btn {
        font-size: 10px;
    }

    .emote {
        font-size: 10px;
    }

    .emote span {
        font-size: 20px;
    }

    .sub-detail {
        padding: 0em 0px 5em 0px;
    }

    .sub-detail img {
        width: 100%;
        height: 200px;
        padding-top:-150px ;
    }
    
    .sub-detail .ms-5 h3 {
        margin-left: 1%;
    }
    
    .sub-detail .ms-5 i {
        margin-left: 1%;
        padding-top: 3%;
    }
    
    .sub-detail .ms-5 p {
        padding-top: 1%;
        margin-left: 1%;
    }

    .event-img {
        width: 100%;
        height: 200px;
    }
}