* {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    z-index: 100;
    color: #121212;
    overflow-x: hidden;
}

/* 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: space-between;
    align-items: center;
    flex-direction: row;
    position: relative;
    flex-wrap: wrap;
}

.header-image {
    width: 640px;
}

.header-title {
    text-align: left;
    color: #121212;
    font-size: 3em;
    font-weight: bold;
    position: relative;
}

.header-component {
    padding-left: 140px;
}

.black-component {
    width: 400px;
    height: 100%;
    background-color: #121212;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -100;
}

.visit-container {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.visit {
    font-size: 1.1em;
    font-weight: bold;
    margin-right: 30px;
}

.btn-container {
    display: flex;
    flex-direction: row;
}

.basic-btn {
    width: 130px;
    height: 45px;
    margin-right: 20px;
    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: 100vw;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 0px 0px;
    flex-wrap: wrap;
}

.title {
    font-size: 2.2em;
    font-weight: bold;
}

.subtitle {
    font-size: 1em;
    font-weight: bold;
    color: #285340;
    margin: 5px 0px;
}

.margin {
    margin-top: 70px;
}

.text {
    width: 440px;
    font-size: 1.1em;
    font-weight: 300;
    margin-top: 20px;
    margin-bottom: 35px;
    word-wrap: wrap;
}

/* Why Us */
.section {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    margin: 60px 0px;
    flex-wrap: wrap;
}

.even-box {
    padding-top: 50px;
}

.box-container {
    width: 220px;
    height: 300px;
    margin: 0px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-box {
    width: 75px;
    height: 75px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-a {
    background-color: #FECBC2;

}

.icon-b {
    background-color: #B4E0C5;

}

.icon-c {
    background-color: #FFEFB7;

}

.icon-d {
    background-color: #E6E6E7;

}

.icon-box img {
    width: 30px;
    height: 30px;
}

.section-name {
    font-size: 17px;
    font-family: 'Nunito', sans-serif;
    text-align: center;
    font-weight: bold;
    margin: 15px 0px;
}

.section-description {
    font-family: 'Nunito', sans-serif;
    text-align: center;
    margin: 0px 10px;
}

/* Tentang */
.tentang-box {
    width: auto;
    padding: 0px 100px;
    margin-bottom: 80px;
    height: 320px;
    background-color: #121212;
    color: #f1f1f1;
    border-radius: 10px;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    align-items: center;
}

.tentang-text {
    width: 450px;
    margin-right: 50px;
}

.tentang-description {
    width: 440px;
    margin: 10px 0px;
    font-weight: 200;
}

.tentang-image {
    width: 340px;
    height: 420px;
    border-radius: 5px;
    object-fit: cover;
}

.kunjungi-container {
    display: inline-flex;
    align-items: center;
    flex-direction: space-between;
    margin-top: 10px;
}

.kunjungi-text {
    font-size: 1.1em;
    font-weight: 400;
    margin-right: 30px;
}


.content-btn {
    margin: 0;
}

.my-btn {
    color: #121212;
    text-decoration: none;
    transform: scale(1);
    animation: 1.5s myBtnAnimation infinite ease-in-out;
    transition: 0.2s;
    position: relative;
    display: inline-flex;
}

.my-btn:hover {
    color: #285340;
    stroke: #121212;
}

.my-btn:hover svg {
    fill: #285340;
}

.my-btn:hover polyline,
.my-btn:hover line,
.my-btn:hover path {
    stroke: #285340;
}


@keyframes myBtnAnimation {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }

    100% {
        transform: scale(1)
    }
}

.no-background {
    width: 150px;
    background-color: transparent;
    color: #121212;
    padding-left: 10px;
}

.resize-image {
    width: auto;
    height: 90%;
}

.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;
}

/* Kelas */
.kelas-component {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.kelas-box {
    width: 300px;
    height: 220px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 50px;
    border-radius: 10px;
    margin: 30px 20px;
    padding: 0px 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    transition: 0.4s;
}

.nama-kelas {
    font-size: 24px;
    font-family: 'Nunito', sans-serif;
    font-weight: bold;
}

.deskripsi-kelas {
    font-family: 'Nunito', sans-serif;
    margin-top: 5px;
    margin-bottom: 10px;
}

.getstarted-btn {
    width: 100%;
    height: 40px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    line-height: 40px;
    font-size: 0.9em;
    color: #f1f1f1;
    border-radius: 5px;
}

/* 
.hover-effect:hover .kelas-box{
    box-shadow: none;
    border: 2px solid #285340;
} */

/* FAQ */
.faq-title {
    padding: 0px 220px;
    margin-top: 30px;
}

.align-left {
    text-align: left;
}

.faq-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 30px;
}

.accordion {
    max-width: 440px;
    overflow: hidden;
    position: relative;
    border: 2px solid #121212;
    border-radius: 5px;
    margin: 10px 15px
}


.accordion input {
    position: absolute;
    z-index: -1;
}

.accordion label {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #ffffff;
    cursor: pointer;
}

.accordion .faq-ans {
    max-height: 0px;
    padding: 0 15px;
    transition: all 0.35s;
}

.rotate {
    position: absolute;
    top: 15px;
    right: 15px;
    transition: 0.25s;
}

.accordion input[type="checkbox"]:checked~.rotate {
    transform: rotate(-180deg);
}

.accordion input[type="checkbox"]:checked~.faq-ans {
    max-height: 100vh;
    padding: 15px;
}

/* 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: 400px;
}

.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;
}

.text-centered {
    text-align: center;
}

.text-centered-title {
    text-align: center;
    margin-top: 50px;
}



@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: 0 20px;
        padding: 30px 20px;
        height: auto;
    }

    .content {
        padding: 00px 0px;
    }

    .tentang-box {
        flex-wrap: wrap;
        height: auto;
        width: 95%;
        padding: 20px 0px;
        align-items: center;
        flex-direction: column-reverse;
    }

    .tentang-text,
    .tentang-description {
        width: auto;
        text-align: center;
        align-items: center;
        margin: 15px;
    }

    .text {
        width: 95%;
        font-size: 1.2em;
    }

    .berjualan-container {
        display: inline-flex;
        align-items: center;
        flex-direction: space-between;
    }

    .mulai-berjualan {
        font-size: 1.1em;
        font-weight: bold;
        margin-right: 30px;
    }

    .header-component {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .header-component div {
        text-align: center;
    }

    .visit {
        margin: 0;
        padding: 0;
    }

    .even-box {
        padding-top: 0;
    }

    .title {
        text-align: center;
    }

    .header {
        flex-direction: column-reverse;
        margin-bottom: 100px;
    }

    .black-component {
        display: none;
    }

    .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;
    }

    .normal-btn {
        display: none;
    }

    .header-image {
        width: 400px;
        margin-top: 0;
    }

    .header-title {
        margin-bottom: 0;
    }

    .faq-title {
        padding: 0;
    }
}