:root {
    --primary: #af9c1d;
    --bg: #efe4b8;
    --sc: #0a226e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg);
    color: #fff;
    /* min-height: 2000px; */
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 7%;
    background-color: rgba(1, 1, 1, 0.8);
    border-bottom: 1px solid #b6895b;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.navbar .navbar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    font-style: italic;
}

.navbar .navbar-logo span {
    color: var(--primary);
}

.navbar .navbar-nav a {
    color: #fff;
    display: inline-block;
    font-size: 1rem;
    margin: 0 1rem;
}

.navbar .navbar-nav a:hover {
    color: var(--primary);
}

.navbar .navbar-nav a::after {
    content: "";
    display: block;
    padding-bottom: 0.5rem;
    border-bottom: 0.1rem solid var(--primary);
    transform: scaleX(0);
    transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
    transform: scaleX(0.5);
}

.navbar .navbar-extra a {
    color: #fff;
    margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
    color: var(--primary);
}

#hamburger-menu {
    display: none;
}

/* navbar search-form start*/
.navbar .search-form {
    position: absolute;
    top: 100%;
    right: 7%;
    background-color: #fff;
    width: 50rem;
    height: 5rem;
    display: flex;
    align-items: center;
    transform: scaleY(0);/* transform minimize search */
    transform-origin: top;
    transition: 0.3s;
}

.navbar .search-form.active {
    transform: scaleY(1);
}

.navbar .search-form input {
    height: 100%;
    width: 100%;
    font-size: 1.6rem;
    color: var(--sc);
    padding: 1rem;
}

.navbar .search-form label {
    cursor: pointer;
    font-size: 2rem;
    margin-right: 1.5rem;
    color: var(--primary);
}
/* navbar search-form end */

/* hero section of content */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url("../img/bg-hero.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::after,
.job-vacancy::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 20%;
    bottom: 0;
    background: linear-gradient(
        0deg,
        rgb(240, 229, 182) 3%,
        rgba(255, 255, 255, 0) 25%
    );
}

.hero .content,
.job-vacancy .content {
    padding: 1.4rem 7%;
    max-width: 60rem;
}

.hero .content h1 {
    font-size: 5em;
    color: #070440;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
    line-height: 1.2;
}

.hero .content h1 span {
    color: #e7cc35;
}

.hero .content p {
    font-size: 1.6rem;
    margin-top: 1rem;
    line-height: 1.4;
    font-weight: 400;
    /* text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5); */
    color: rgb(18, 17, 17);
    /* mix-blend-mode: difference; */
}

.hero .content .cta {
    margin-top: 1rem;
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.4rem;
    color: #fff;
    background-color: var(--primary);
    border-radius: 0.5rem;
    box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}

/* section of job-vacancy */
.job-vacancy {
    min-height: 70vh;
    display: flex;
    background-color: #fff;
    align-items: center;
    background-image: url("../img/qq.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.job-vacancy .content h2 {
    font-size: 4em;
    color: #070440;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
    line-height: 1.2;
}

.job-vacancy .content h2 span {
    color: #b35b00;
}

.job-vacancy .img-gif {
    flex: 1 1 17rem;
}

.job-vacancy .img-gif img {
    width: 70%;
    /* margin-left: 10rem; */
    animation: animate 3s linear infinite;
}
@keyframes animate {
    0% {
        transform: translate(-10px, 0);
    }
    50% {
        transform: translate(-0px, -10px);
    }
    100% {
        transform: translate(-10px, 0);
    }
}



/* .job-vacancy .content p {
    font-size: 1.5em;
    color: #070440;
    line-height: 1.2;
} */

/* section of show-job */
.head-show {
    min-height: 30vh;
    display: flex;
    background-color: #fff;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    margin: 3rem;
    margin-top: 7rem;
    border-radius: 1rem;
    margin-bottom: auto;
}

.head-show .img-gif img {
    width: 70%;
    /* margin-left: 10rem; */
    animation: animate 3s linear infinite;
}

.detail-show {
    text-align: left;
    font-size: 1rem;
    margin-bottom: 3rem;
    margin-left: 6rem;
    margin-top: 1rem;
    color: rgb(70, 42, 11);
}
.detail-show .row {
    display: flex;
    flex-wrap: wrap;
}

.detail-show .row .side-left {
    flex: 1 1 50rem;
    /* text-align: justify; */
}
.detail-show .row .side-right {
    flex: 1 1 35rem;
    padding: 0 6rem;
}
.detail-show .side-right .box {
    background-color: #fff;
    padding: 1rem;
    border-radius: 1rem;
}
.detail-show .side-right .title {
    font-weight: 400;
    color: #5a5a5a;
}
.detail-show .side-right .sub {
    font-weight: 500;
    color: var(--sc);
}
.detail-show hr {
    margin: 1rem;
}
.detail-show img {
    width: 1.5%;
}


/* About section */
.about,
.job,
.contact {
    padding: 10rem 7% 1.4rem;
    color: #070440;
}

.about h2,
.job h2,
.contact h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 3rem;
}

.about h2 span,
.job h2 span,
.contact h2 span {
    color: var(--primary);
}

.about .row {
    display: flex;
}

.about .row .about-img {
    flex: 1 1 20rem;
}

.about .row .about-img img {
    width: 100%;
    border-radius: 0.5rem;
}

.about .row .content {
    flex: 1 1 35rem;
    padding: 0 1rem;
}

.about .row .content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    /* text-transform: uppercase; */
}

.about .row .content p {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.6;
    text-align: justify;
}

.about .jarak {
    padding: 2rem;
}

/* job section */
.job-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 5rem;
}

.job-container .box {
    flex: 1 1 20rem;
    background: #fff;
    padding: 20px;
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
    border-radius: 0.5rem;
}

.job-container .box .box-img {
    width: 150px;
    height: 150px;
    margin-top: -100px;
}

.job-container .box .box-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.job-container .box h3 {
    color: var(--sc);
    font-size: 1.2rem;
}

.job-container .box span {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0.2rem 0 0.5rem;
}

.job-container .box p {
    text-align: justify;
}

.job-container .box .btn,
.job-box .btn {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem;
    border-radius: 20px;
}

.job-container .box .btn:hover,
.job-box .btn:hover {
    background: var(--primary);
    color: var(--bg);
}

.job-box {
    padding-top: 2rem;
    text-align: center;
}

.job .box h4 {
    font-weight: 500;
    color: red;
}

/* .job-container .box-img img {
    flex: 1 1 20rem;
    width: 100%;
} */


/* contact section */
.contact h2 {
    margin-bottom: 1rem;
}

.contact p {
    text-align: center;
    max-width: 30rem;
    margin: auto;
    font-weight: 300;
    line-height: 1.6;
}

.contact .row {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5rem;
    justify-content: center;
}

.contact .row .contact-card {
    text-align: center;
    padding-bottom: 4rem;
    padding-left: 1rem;
}

.contact .row .contact-card .contact-card-title {
    margin-top: 1.5rem auto 0.5rem;
}

 /* copyright */
 .copyright {
    text-align: center;
    padding: 20px;
    color: #000;
 }


 /* section of show detail */
.detail-show {
    
}


/* Media */

/* Laptop */
@media (max-width: 1366px) {
    html {
        font-size: 75%;
    }
}

/* Tablet */
@media (max-width: 758px) {
    html {
        font-size: 62.5%;
    }

    #hamburger-menu {
        display: inline-block;
    }

    .navbar .navbar-nav {
        position: absolute;
        top: 100%;
        right: -100%;
        background-color: #fff;
        width: 30rem;
        height: 100vh;
        transition: 0.3s;
    }

    .navbar .navbar-nav.active {
        right: 0;
    }

    .navbar .navbar-nav a {
        color: var(--bg);
        display: block;
        margin: 1.5rem;
        padding: 0.5rem;
        font-size: 2rem;
    }

    .navbar .navbar-nav a::after {
        transform-origin: 0 0;
    }

    .navbar .navbar-nav a:hover::after {
        transform: scaleX(0.2);
    }

    .navbar .search-form {
        width: 90%;
        right: 2rem;
    }

    .about .row {
        flex-wrap: wrap;
    }

    .about .row .about-img img {
        height: 24rem;
        object-fit: cover;
        object-position: center;
    }

    .about .row .content {
        padding: 0;
    }

    .about .row .content h3 {
        margin-top: 1rem;
        font-size: 2rem;
    }

    .about .row .content p {
        font-size: 1.6rem;
    }

    .detail-show {
        text-align: left;
        font-size: 1rem;
        margin-bottom: 3rem;
        margin-left: 3rem;
        margin-top: 1rem;
        color: rgb(70, 42, 11);
    }
    .detail-show .row {
        display: flex;
        flex-wrap: wrap;
    }

    
}

/* Mobile */
@media (max-width: 450px) {
    html {
        font-size: 55%;
    }
}
