@font-face {
    font-family: 'Frogie-Regular';
    src: url('../fonts/Frogie-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* =========================================
   RESET
========================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    background: #ffffff;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}


/* =========================================
   HERO
========================================= */
.hero {
    position: relative;

    width: 100%;

    /* margin-top: 150px; */

    padding-top: 65px;
    padding-bottom: 120px;

    background-color: rgb(255, 255, 255);

    overflow: hidden;
}

.hero::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 0;
    bottom: 0;

    transform: translateX(-50%);

    width: 140%;
    height: auto;

    background: linear-gradient(
        to bottom,
        #b34b66 0%,
        #b34b66 65%,
        #98b8dc 100%
    );

    border-radius: 50%;

    z-index: 1;
}


/* =========================================
   CONTENT
========================================= */

.hero-content {
    position: relative;

    z-index: 4;

    width: 100%;
    max-width: 500px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================
   TITLE
========================================= */

.hero-content h1 {
    margin: 0;

    font-family: 'Frogie-Regular', Arial, sans-serif;

    font-size: clamp(24px, 3vw, 32px);

    line-height: 1.2;

    color: #ffffff;
}


/* =========================================
   DESCRIPTION
========================================= */

.hero-content .deskripsi {
    margin-top: 10px;
    margin-bottom: 32px;

    font-family: Arial, sans-serif;

    font-size: clamp(14px, 1.7vw, 16px);

    color: #ffffff;
}

/* =========================================
   CHECKBOX LIST
========================================= */

.checkbox-list {
    width: 100%;
    max-width: 370px;

    margin-left: auto;
    margin-right: auto;
}

.checkbox-list form {
    display: flex;
    flex-direction: column;
    gap: 11px;
}


/* =========================================
   CHECKBOX ITEM
========================================= */

.checkbox-item {
    position: relative;

    width: 100%;

    min-height: 56px;

    padding: 8px 12px;

    display: flex;
    align-items: center;

    border: 1.5px solid #ffffff;

    border-radius: 11px;

    cursor: pointer;

    color: #ffffff;

    font-family: Arial, sans-serif;

    transition: background 0.2s ease;
}


/*
 * Checkbox asli disembunyikan.
 */

.checkbox-item input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


/* =========================================
   CUSTOM CHECKBOX
========================================= */

.custom-checkbox {
    position: relative;

    flex-shrink: 0;

    width: 27px;
    height: 27px;

    margin-right: 13px;

    border: 1px solid #ffffff;

    border-radius: 5px;

    background: transparent;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


/*
 * Checkbox ketika dipilih.
 */

.checkbox-item input:checked + .custom-checkbox {
    background: #ffffff;
    border-color: #ffffff;
}


/*
 * Tanda centang.
 */

.checkbox-item input:checked + .custom-checkbox::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 7px;
    height: 13px;

    border-right: 2px solid #000000;
    border-bottom: 2px solid #000000;

    transform: translate(-50%, -58%) rotate(45deg);
}


/* =========================================
   TEXT CHECKBOX
========================================= */

.checkbox-label {
    flex: 1;

    font-family: Arial, sans-serif;

    font-size: 14px;

    line-height: 1.25;

    color: #ffffff;
}


/* =========================================
   HOVER
========================================= */

.checkbox-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* =========================================
   TOMBOL LANJUT LAPOR
========================================= */

.btn-lapor {
    width: 100%;

    padding: 14px 20px;

    border: none;
    border-radius: 12px;

    background-color: #98b8dc;

    color: #ffffff;

    font-family: 'Frogie-Regular', Arial, sans-serif;

    font-size: 20px;
    line-height: 1.2;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.btn-lapor:hover {
    background-color: #82a9d3;

    transform: translateY(-2px);
}


.btn-lapor:active {
    transform: translateY(0);
}


/* =========================================
   DESKTOP
========================================= */

@media (min-width: 768px) {

    .hero {
        margin-top: 150px;
        padding-top: 65px;
        padding-bottom: 120px;
    }

    .hero::after {
        width: 140%;
    }

    .hero-content {
        max-width: 500px;
    }

    .checkbox-list {
        max-width: 370px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {

    .hero {
        margin-top: 100px;
        padding-top: 58px;
        padding-bottom: 100px;
    }

    .hero::after {
        width: 190%;
    }

    .hero-content {
        width: 100%;

        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-content h1 {
        font-size: 25px;
    }

    .hero-content .deskripsi {
        margin-top: 8px;
        margin-bottom: 30px;
        font-size: 14px;
    }

    .home-button {
        top: -2px;
        width: 64px;
        height: 64px;
        font-size: 22px;
    }

    .checkbox-list {
        width: 100%;
        max-width: 100%;
    }

    .checkbox-item {
        min-height: 56px;
        padding: 8px 11px;
    }

    .custom-checkbox {
        width: 27px;
        height: 27px;
        margin-right: 12px;
    }

    .checkbox-label {
        font-size: 14px;
    }
}