/* Bagian Halaman Tipe Unit */

body::-webkit-scrollbar {
    width: 0.5em;
    height: 1em;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(10deg, #359D9E 50%, #55C595 95.31%);
    border-radius: 100vw;
}

body {
    overflow: overlay;
    scrollbar-width: thin;
    scrollbar-color: inear-gradient(10deg, #359D9E 50%, #55C595 95.31%) transparent;
}

.full-height {
    height: 100vh;
}

.header-font-tipeunit {
    color: var(--theme-darkest);
    text-align: center;
    padding-top: 2rem;
    font-weight: 700;
    font-size: 3.5rem;
}

.custom-row {
    display: flex;
    padding: 0;
    margin: 0;
    flex-direction: row;
}

.item-tipeunit {
    width: 100%;
    height: auto;
}

.title-tipe {
    font-size: 75px;
    font-weight: 900;
    color: white;
    margin: 0 0 7% 10%;
}

.bottom-card {
    position: absolute;
    bottom: 0;
}

.gambar-tipeunit {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: inline-block;
    border-radius: 20px;
}

.gambar-tipeunit::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(0deg, rgba(53, 157, 158, 1) 0%, rgba(53, 157, 158, 0.6) 50%, rgba(53, 157, 158, 0.2) 100%);
}

.gambar-tipeunit>img {
    transition: 200ms ease-in-out;
}

.gambar-tipeunit:hover>img.zoom {
    transform: scale(1.2);
    transition: 0.5s;
}

.gambar-unit {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.wrapper-tipeunit {
    width: 100vh;
    height: 50vh;
    margin: 50px 15px 50px 15px;
    position: relative;
}

@media all and (min-width: 425px) {
    .title-tipe {
        font-size: 25px;
        font-weight: 600;
    }

    .header-font-tipeunit {
        color: var(--theme-darkest);
        text-align: center;
        padding-top: 1rem;
        font-weight: 700;
        font-size: 2rem;
    }

    .wrapper-tipeunit {
        width: 45vh;
        height: 35vh;
        margin: 20px 5px;
        position: relative;
    }

    .custom-row {
        display: flex;
        padding: 0;
        margin: 0;
        flex-direction: column;
    }
}

@media all and (min-width: 768px) {
    .title-tipe {
        font-size: 30px;
        font-weight: 700;
    }

    .header-font-tipeunit {
        color: var(--theme-darkest);
        text-align: center;
        padding-top: 2rem;
        font-weight: 700;
        font-size: 2.5rem;
    }

    .wrapper-tipeunit {
        width: 60vh;
        height: 40vh;
        margin: 25px 8px;
        position: relative;
    }

    .custom-row {
        display: flex;
        padding: 0;
        margin: 0;
        flex-direction: column;
    }
}

@media all and (min-width: 1024px) {
    .title-tipe {
        font-size: 50px;
        font-weight: 800;
    }

    .header-font-tipeunit {
        color: var(--theme-darkest);
        text-align: center;
        padding-top: 2rem;
        font-weight: 700;
        font-size: 3rem;
    }

    .wrapper-tipeunit {
        width: 80vh;
        height: 40vh;
        margin: 40px 10px 40px 10px;
        position: relative;
    }

    .custom-row {
        display: flex;
        padding: 0;
        margin: 0;
        flex-direction: row;
    }
}

@media all and (min-width: 1440px) {
    .title-tipe {
        font-size: 60px;
        font-weight: 900;
    }

    .header-font-tipeunit {
        color: var(--theme-darkest);
        text-align: center;
        padding-top: 2rem;
        font-weight: 700;
        font-size: 3.5rem;
    }

    .wrapper-tipeunit {
        width: 100vh;
        height: 50vh;
        margin: 50px 15px 50px 15px;
        position: relative;
    }
}

@media all and (max-width: 425px) {
    .title-tipe {
        font-size: 20px;
        font-weight: 500;
    }

    .header-font-tipeunit {
        color: var(--theme-darkest);
        text-align: center;
        padding-top: 1rem;
        font-weight: 700;
        font-size: 1.5rem;
    }

    .wrapper-tipeunit {
        width: 40vh;
        height: 30vh;
        margin: 10px 5px;
        position: relative;
    }

    .custom-row {
        display: flex;
        padding: 0;
        margin: 0;
        flex-direction: column;
    }
}
