﻿:root {
    --light-right: #eff5f5;
    --dark-green: #497174;
    --dark-orange: #eb6440;
}

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");

html {
    scroll-behavior: smooth;
}

body {
    background: var(--light-right);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Plus Jakarta Sans", sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

p {
    margin-bottom: 0;
}

header {
    position: fixed;
    width: 100%;
    transition: 500ms all ease;
    z-index: 4;
}

.solid {
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
}

nav {
    margin: 0 auto;
    max-width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 0;
    font-weight: 700;
}

.logos {
    display: flex;
    gap: 20px;
}

    .logos > * {
        width: 45px;
        height: 100%;
    }

nav ul {
    display: flex;
    align-items: center;
    gap: 1em;
}

.tombol {
    padding: 10px 18px;
    color: white;
    border-radius: 10px;
    transition: 300ms all ease;
}

    .tombol:hover {
        filter: brightness(1.25);
        color: white;
    }

    .tombol.green {
        background: var(--dark-green);
    }

    .tombol.orange {
        background: var(--dark-orange);
    }

main {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #d6e4e5;
    overflow: hidden;
    position: relative;
    z-index: 3;
}

    main h1 {
        font-weight: 900;
        font-size: 6vw;
        text-transform: uppercase;
        z-index: 3;
        text-align: center;
    }

    main h2 {
        font-weight: 700;
        margin-top: 10px;
        font-size: 2vw;
        z-index: 3;
    }

    main h3 {
        font-weight: 700;
        margin-top: 10px;
        font-size: 1.5vw;
        z-index: 3;
    }

    main a {
        background-color: var(--dark-green);
        padding: 0.8em 1.2em;
        color: white;
        font-size: 1.2rem;
        margin-top: 2em;
        border-radius: 10px;
        font-weight: 700;
        transition: 300ms all ease;
        z-index: 3;
    }

        main a.lowongan:hover {
            filter: brightness(1.25);
        }

    main img.illustrator {
        width: 400px;
        /* width: 2em; */
        position: absolute;
        bottom: -40px;
        left: 5%;
        z-index: 2;
    }

    main img.bg-asset-1 {
        position: absolute;
        top: -50px;
        right: -5px;
        max-height: 40vh;
        rotate: 180deg;
        opacity: 0.3;
    }

    main img.bg-asset-2 {
        position: absolute;
        top: -50px;
        left: -5px;
        max-height: 40vh;
        rotate: -180deg;
        transform: scaleX(-1);
        opacity: 0.3;
    }

    main .jakarta {
        position: absolute;
        bottom: -100px;
        z-index: 1;
        opacity: 0.9;
    }

    main .daur,
    main .pila {
        position: absolute;
        height: 175px;
        bottom: -2px;
        right: 30px;
        z-index: 2;
    }

    main .daur {
        right: 100px;
    }

section {
    min-height: 100vh;
    padding: 4em 0;
}

    section h1 {
        font-weight: 800;
        font-size: 3rem;
        text-align: center;
        /*margin-bottom: 1em;*/
    }

.baris {
    width: 80%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3em;
}

.baris .kartu {
    display: block;
    width: 35em;
    height: 100%;
    padding: 30px;
    background: linear-gradient( 45deg, rgba(73, 113, 116, 1) 0%, rgb(105, 162, 167) 100% );
    border-radius: 20px;
    transition: 300ms all ease;
}

.baris .kartu:hover {
    transform: scale(1.05);
}

.tanggal {
    margin: 20px 0;
    color: white;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.icon-tanggal {
    font-size: 1.5rem;
}

.tanggal .due {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.sekadis {
    margin-top: 20px;
    margin-bottom: 40px;
}

.linkpdf {
    background-color: darkorange;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

    .header h2 {
        color: white;
        text-transform: uppercase;
        inline-size: 77%;
        overflow-wrap: break-word;
        text-align: center;
    }

        .header h2.long {
            font-size: 1.8rem;
            font-weight: bold;
        }        

.kuota {
    font-weight: 700;
    margin-left: 20px;
    align-items: center;
    background-color: white;
    color: var(--dark-green);
    padding: 10px;
    border-radius: 10px;
}

.detail-jabatan {
    color: white;
    display: flex;
    gap: 15px;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

    .detail-jabatan p:nth-child(1) {
        inline-size: 80%;
        overflow-wrap: break-word;
    }

.syarat {
    color: var(--dark-green);
    margin-top: 15px;
    font-weight: 700;
    text-align: center;
    display: block;
    width: 100%;
    background: white;
    padding: 15px;
    border-radius: 10px;
    transition: 300ms filter ease;
}

    .syarat:hover {
        filter: brightness(0.9);
        color: var(--dark-green);
    }

.border-top {
    border-top: 1px solid white;
}

#m_glass {
    position: fixed;
    top: 50%;
    left: 100px;
    background-image: url("./images/magnifying_glass.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 300px;
    height: 300px;
}

.top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    transition: 300ms all ease;
    opacity: 0;
    visibility: hidden;
    z-index: 5;
}

    .top:hover {
        transform: scale(1.3);
        filter: brightness(1.2);
    }

    .top svg {
        background-color: var(--dark-green);
        border-radius: 50%;
        /* color: white; */
        fill: white;
        box-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);
    }

.time-countdown {
    font-size: 2em;
}

.countdown .timesup {
    font-size: 2em;
}

.counter {
    background-color: #d6e4e5;
    display: flex;
    justify-content: center;
    padding: 50px 0;
}

    .counter .kartu {
        min-width: 350px;
        height: 100%;
        display: flex;
        flex-direction: column;
        padding: 20px;
        background-color: white;
        border-radius: 20px;
        color: var(--dark-green);
        box-shadow: 0 10px 15px #4971744d;
    }

        .counter .kartu .kartu-header {
            font-weight: 900;
            margin-bottom: 10px;
            text-align: center;
            font-size: 1.5rem;
        }

        .counter .kartu .kartu-body .wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid var(--dark-green);
        }

            .counter .kartu .kartu-body .wrapper:first-child {
                border-top: none;
            }

            .counter .kartu .kartu-body .wrapper > * {
                font-weight: 700;
                padding: 10px 0;
            }

footer {
    /* font-weight: 700; */
    font-size: 0.9rem;
    text-align: center;
    padding: 25px 15px;
    background-color: var(--dark-green);
    color: white;
    border-top: 1px solid rgb(201, 201, 201);
}

    footer > * {
        margin-bottom: 8px;
    }

.animate-up {
    overflow-y: hidden;
}

    .animate-up span {
        position: relative;
        animation: float-up 1s ease-in-out;
    }

.animate-float {
    position: relative;
    animation: float 600ms linear infinite alternate;
}

.icon-svg {
    width: 30px;
}

@keyframes float-up {
    0% {
        top: 100%;
    }

    100% {
        top: 0%;
    }
}

@keyframes float {
    0% {
        top: 0;
    }

    100% {
        top: 10px;
    }
}

@media only screen and (max-width: 768px) {
    main {
        padding: 0 1em;
    }

        main h1 {
            font-size: 2.3rem;
        }

        main h2 {
            text-align: center;
            font-size: 1.2rem;
        }

        main h3 {
            text-align: center;
            font-size: 1rem;
        }

        main a {
            font-size: 1rem;
        }

        main img.bg-asset-1 {
            width: 55%;
        }

        main img.bg-asset-2 {
            display: none;
        }

        main img.illustrator {
            width: 300px;
            left: 3%;
        }

        main .jakarta {
            bottom: 0;
            width: 130%;
        }

    .baris {
        width: 90%;
    }

        .baris .kartu:hover {
            transform: none;
        }

    .top:hover {
        transform: none;
        filter: none;
    }

    main .daur,
    main .pila {
        height: 120px;
        right: 10px;
    }

    main .daur {
        right: 60px;
    }
}
