*{
    scroll-behavior: smooth;
}
html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    z-index: 100;
}

/* Nav */
nav {
    min-width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: 0.3s;
    background-color: transparent;
}

.logo {
    width: 200px;
    margin: -50px;
    transition: 0.3s;
}

.nav {
    display: flex;
    justify-content: space-around;
    width: 30%;
}

.navlink {
    list-style: none;
    margin: 0;
}

.navlink a {
    color: #121212;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    position: relative;
}

.navlink a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    border-radius: 4px;
    background-color: #18272F;
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
}

.navlink a:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}

.burger {
    font-size: 1.2em;
    display: none;
    margin-right: -60px;
    z-index: 1000;
}

.donasi-box {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}

.donasi-btn {
    width: 100px;
    height: 38px;
    line-height: 41px;
    font-size: 0.8em;
    text-decoration: none;
    background-color: #285340;
    border-radius: 5px;
    text-align: center;
    color: #f1f1f1;
    font-weight: 500;

}

.responsive-btn {
    display: none;
}

/* Main */
main {
    min-width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.header {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.header-background {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
}

.header-title {
    text-align: center;
    color: #f1f1f1;
    font-size: 2.5em;
    font-weight: bold;
}

.btn-container {
    display: flex;
    flex-direction: row;
}

.basic-btn {
    width: 130px;
    height: 45px;
    margin: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    line-height: 45px;
    font-size: 0.8em;
    color: #f1f1f1;
    border-radius: 5px;
}

.gabung-btn {
    background-color: #285340;
}

.selengkapnya-btn {
    background-color: #121212;
}

.content {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-direction: row;
    padding: 50px 0px;
    flex-wrap: wrap;
}

.content-additional {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-direction: row;
    padding: 50px 0px;
    flex-wrap: wrap;
}

.left-component {
    width: 450px;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 40px;
    align-items: center;
}

.right-component {
    margin-top: 60px;
    padding-left: 40px;
    width: 500px;
    height: auto;
    display: flex;
    flex-direction: column;
}

.title {
    font-size: 2.2em;
    font-weight: bold;
}

.text {
    width: 440px;
    font-size: 1em;
    font-weight: 300;
    margin-top: 20px;
    margin-bottom: 35px;
    word-wrap: wrap;
}

.content-btn {
    margin: 0;
}

.no-background {
    width: 150px;
    background-color: transparent;
    color: #121212;
    padding-left: 10px;
}

.resize-image {
    width: auto;
    height: 90%;
}

/* Donasi */
.donasi-title {
    width: 300px;
    display: flex;
    justify-content: flex-start;
    padding: 0 100px 0 100px;
    font-size: 1.1em;
}

.donasi-container {
    width: 760px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.donasi-content {
    margin-top: -40px;
}

.donasi-box {
    width: 360px;
    height: 270px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    box-sizing: border-box;
}

.donasi-image {
    width: 360px;
    height: 270px;
    object-fit: cover;
    position: absolute;
}

.kedepan {
    z-index: 1;
    color: #f1f1f1;
    padding: 0px 20px;
}

.tipe-donasi {
    margin-top: 25px
}

.tentang-donasi {
    width: 300px;
    height: 50px;
    margin-top: 10px;
    margin-bottom: 70px;
}

/* Teknologi */
.teknologi-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 20px 120px;
    position: relative;
}

.background-outline {
    width: 100%;
    height: 60%;
    border: 4px solid #121212;
    position: absolute;
}

.teknologi-box {
    width: 300px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    margin: 20px 30px
}

.teknologi-image {
    width: 300px;
    height: 180px;
    object-fit: cover;
    position: absolute;
}

.teknologi-text {
    font-size: 2em;
    font-weight: bold;
    color: #f1f1f1;
    z-index: 100;
}

.kerjasama-title {
    text-align: center;
    font-size: 2.3em;
}

/* Product */
.product-header {
    width: 100%;
    height: auto;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px 120px;
    flex-wrap: wrap;
}

.produk-selengkapnya {
    text-decoration: none;
    color: #121212;
}

.product-container {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 20px 100px;
}

.product-box {
    width: 220px;
    height: 300px;
    background-color: #EEEEEE;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 5px;
    text-decoration: none;
    color: #121212;
    transition: 0.3s;
}

.product-box:hover {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
}

.product-box img {
    width: 200px;
    height: 200px;
    margin: 10px 0px;
    object-fit: cover;
}

.product-name {
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    padding: 0 10px;
}

.product-stock {
    font-weight: 500;
    font-size: 0.6em
}

/* Carousel */
.galeri-content {
    flex-direction: column;
    align-items: center;
}

.carousel {
    position: relative;
    width: 80%;
    height: 340px;
    margin: 30px auto;
}

.carousel-content {
    position: relative;
    overflow: hidden;
    transition: width .4s;
    height: 100%;
}

.slide {
    height: 100%;
    position: absolute;
    z-index: 1;
    transition: left .4s cubic-bezier(.47, .13, .15, .89);
    display: flex;
    justify-content: center;
}

.slide img {
    width: 90%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.navi {
    position: absolute;
    top: 50%;
    margin-top: -10px;
    width: 40px;
    height: 40px;
    z-index: 2;
    cursor: pointer;
    border-radius: 50%;
    border: none;
    outline: none;
    color: white;
    -webkit-user-select: none;
}

.nav-left {
    left: -25px;
}

.nav-right {
    right: -25px;
}

.carousel-arrow-icon-left {
    margin-left: 5px;
    margin-top: 2px;
}

.carousel-arrow-icon-right {
    margin-left: 7px;
    margin-top: 2px;
}

/* Ajakan */
.invite {
    width: 500px;
    margin: 0 10px;
    height: 320px;
    background-color: #285340;
    color: #f1f1f1;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.edukasi {
    width: 500px;
    margin: 0 10px;
    height: 320px;
    background-color: #121212;
    color: #f1f1f1;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.edukasi .selengkapnya-btn {
    background-color: #285340
}

.edukasi .title,
.invite .title {
    font-size: 1.7em;
    margin: 0px 15px;
}

.invite-text {
    width: 450px;
    margin: 15px 0;
}

/* Footer */
footer {
    height: 300px;
    background-color: #121212;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    color: #f1f1f1;
}

.footer-top {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 20px 0px;
}

.footer-logo {
    width: 500px;
}

.footer-right {
    width: 500px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-top: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: space-between;
    line-height: 25px
}

.footer-link-title {
    font-size: 1.1em;
    color: #f1f1f1;
    margin-bottom: 5px;
}

.footer-link {
    font-size: 1em;
    color: #f1f1f1;
    text-decoration: none;
    font-weight: 300;
    position: relative;
    transition: 0.3s
}

.footer-link:hover {
    text-decoration: underline;
}

svg {
    fill: #f1f1f1
}

svg:hover {
    fill: #EEEEEE;
}

.svg {
    fill: #121212;
    transition: 0.6s;
    transform: translate(0px, 6px)
}

.no-background:hover .svg {
    fill: #121212;
    transform: translate(5px, 6px)
}

.produk-selengkapnya:hover .svg {
    fill: #121212;
    transform: translate(5px, 6px)
}

.no-underline:hover {
    text-decoration: none;
}

.footer-bottom {
    width: 100%;
    height: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f1f1f1;
    border-top: 0.3px solid #1f1f1f;
    font-weight: 200;
}

.switch-color {
    color: #f1f1f1;
}

@media screen and (max-width: 678px) {
    footer {
        height: 365px;
    }

    .footer-logo {
        width: 330px;
    }

    .footer-top {
        justify-content: center;
        align-items: center;
    }

    .hide {
        display: none;
    }


    .invite {
        margin: 10px 20px;
        padding: 30px 20px;
        height: auto;
    }

    .edukasi {
        margin: 10px 20px;
        padding: 30px 20px;
        height: auto;
    }

    .center {
        width: 100vw;
        display: inline-flex;
        align-items: center;
        margin-top: 20px;
        justify-content: center;
    }

    .product-header {
        margin: 0 20px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .product-box {
        margin: 20px 0;
    }

    .content {
        padding: 50px 0px;
    }

    .text {
        width: 95%;
        font-size: 1.2em;
    }

    .donasi-box {
        margin: 10px 0;
    }

    .donasi-container {
        width: 500px;
    }

    .left-component {
        align-items: center;
    }

    .right-component {
        padding: 0px 20px
    }

    .donasi-title {
        padding: 0px 20px;
    }

    .tentang-donasi {
        width: 330px
    }

    .donasi-container {
        justify-content: center;
    }

    .resize-image {
        width: 100%;
        height: auto;
    }

    .burger {
        display: block;
        z-index: 1;
    }

    .nav {
        margin: 0;
        position: fixed;
        display: flex;
        justify-content: center;
        right: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        padding: 0;
        transition: all 400ms;
        background-color: rgb(18, 18, 18);
        z-index: 500;
    }

    .navlink {
        text-align: center;
        display: flex;
        justify-content: center;
        margin-top: 60px;
        font-size: 20px;
    }

    .navlink a {
        color: #f1f1f1;
        text-decoration: none;
        font-weight: 500;
        font-size: 1.1em;
    }

    .nav-active {
        right: 0;
    }

    .responsive-btn {
        display: block;
        text-align: center;
    }

    .normal-btn {
        display: none;
    }

    .background-outline {
        height: 80%;
    }
}