@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700;1,800;1,900&display=swap");

:root {
    --hitam: #000;
    --biru: #3193f1;
    --merah: #f9322c;
    --white: #ffffff;
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #f97316;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #407bff;
    --secondary: #6c757d;
    --success: #26ff59;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
}

html,
body {
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
    /* font-size: 12px !important; */
}

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

a {
    text-decoration: none;
}

.nav__link.active {
    box-shadow: 0px 0px 5px 3px var(--white);
    padding: 5px 10px;
    border-radius: 5px;
}

/* Toastr */
.colored-toast.swal2-icon-success {
    background-color: #26ff59 !important;
}

.colored-toast.swal2-icon-error {
    background-color: #ff1c1c !important;
}

.colored-toast.swal2-icon-warning {
    background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
    background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
    background-color: #87adbd !important;
}

.colored-toast .swal2-title {
    color: white;
}

.colored-toast .swal2-close {
    color: white;
}

.colored-toast .swal2-html-container {
    color: white;
}
/* End Toastr */

/* ? logo */
.logo {
    height: 35px;
    max-height: 35px;
    width: 35px;
    margin-right: 5px;
}
.logo__ {
    height: 55px;
    max-height: 55px;
    width: 55px;
    margin-right: 5px;
}

/* ? End Logo */

/* ------------------------- custom scroll bar ------------------ */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #d1e5ff;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(#f97316, #ffa768);
}

ul {
    list-style: none;
}

.container {
    max-width: 768px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.header {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    /* background-color: var(--purple); */
}

.nav {
    max-width: 968px;
    height: 4.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo,
.nav__toggle {
    color: var(--white) !important;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 12px;
    transition: all 0.5s ease;
}

.nav__logo:hover {
    transform: translateY(-1px);
    color: var(--white) !important;
    text-shadow: 0px 0px 12px rgba(255, 255, 255, 1),
        0px 0px 6px rgba(255, 255, 255, 1),
        0px 0px 25px rgba(255, 255, 255, 0.93);
}

.nav__btns {
    display: flex;
    align-items: center;
    padding-left: 10px;
    margin-top: -15px;
}

.theme-customization {
    font-size: 1.25rem;
    color: var(--white);
    margin-right: 1rem;
    cursor: pointer;
}

.nav__toggle:hover,
.theme-customization:hover {
    color: var(--white) !important;
    text-shadow: 0px 0px 12px rgba(255, 255, 255, 1),
        0px 0px 6px rgba(255, 255, 255, 1),
        0px 0px 25px rgba(255, 255, 255, 0.93);
}

.nav__toggle {
    font-size: 1.1rem;
    cursor: pointer;
    margin-right: 30px;
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        background-color: var(--purple);
        padding: 2rem 1.5rem 4rem;
        box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
        border-radius: 1.2rem 1.2rem 0 0;
        transition: 0.3s;
    }
}

.nav__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.2rem;
}

.nav__icon {
    font-size: 1.2rem;
}

.nav__close {
    position: absolute;
    right: 1.2rem;
    bottom: 0.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/* show menu */
.show-menu {
    bottom: 0;
}

@media screen and (max-width: 350px) {
    .nav__menu {
        padding: 2rem 0.25rem 4rem;
    }

    .nav__list {
        column-gap: 0;
    }
}

@media screen and (min-width: 767px) {
    .header {
        top: 0;
        bottom: initial;
    }

    .nav {
        height: 4.5rem;
        column-gap: 0rem;
    }

    .nav__icon,
    .nav__close,
    .nav__toggle {
        display: none;
    }

    .nav__list {
        display: flex;
        column-gap: 2rem;
    }

    .nav__menu {
        margin-top: 0px;
        margin-left: auto;
    }

    .theme-customization {
        margin-top: 15px;
    }
}

@media screen and (min-width: 992px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }
    .nav__link {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.8rem;
        color: var(--white);
        font-weight: 500;
        transition: all 0.5s ease;
        padding: 5px 0px;
    }
}

/* ? Jumbotron */
.home .carousel__item {
    min-height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
}
.home .carousel__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(249, 116, 21, 0.2);
    z-index: -1;
}

.home .carousel__item .containers {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

@media screen and (min-width: 992px) {
    .nav__link:hover {
        transform: translateY(-2px);
        color: var(--white) !important;
        text-shadow: 0px 0px 12px rgba(255, 255, 255, 1),
            0px 0px 6px rgba(255, 255, 255, 1),
            0px 0px 25px rgba(255, 255, 255, 0.93) !important;
    }
    .home .carousel__item .di {
        font-size: 25px;
        margin: 0;
        color: var(--white);
        font-weight: 600;
        opacity: 0;
    }
    .home .carousel__item .judulBeranda {
        font-size: 70px;
        color: #ffffff;
        margin: 0 0 10px;
        font-weight: 700;
        opacity: 0;
    }
    .home .carousel__item .textSMP {
        font-size: 24px;
        margin: 0;
        color: var(--white);
        font-weight: 600;
        opacity: 0;
    }

    .home .carousel__item .textDeskripsi {
        font-size: 14px;
        margin: 0;
        color: var(--white);
        font-weight: 600;
        opacity: 0;
    }
    .home .carousel__controls {
        position: absolute;
        left: 50%;
        bottom: 20px;
        z-index: 10;
        transform: translateX(-50%);
    }
    .home .carousel__indicators {
        position: relative;
        margin: 0;
    }
    .home .carousel__indicators button {
        height: 25px !important;
        width: 25px !important;
        margin: 0 5px;
        border-radius: 50%;
        background-position: center;
        background-size: cover;
        border: 2px solid transparent;
        transition: all 0.3s linear;
    }
    .home .carousel__indicators button.active {
        border-color: #ffffff;
        transform: scale(1.2);
    }

    /* arrow */
    .carousel-control-prev,
    .carousel-control-next {
        font-size: 30px;
    }
    /* end arrow */
}
@media (min-width: 645px) and (max-width: 992px) {
    .home .carousel__item .di {
        font-size: 22px;
        margin: 0;
        color: var(--white);
        font-weight: 600;
        opacity: 0;
    }
    .home .carousel__item .judulBeranda {
        font-size: 50px;
        color: #ffffff;
        margin: 0 0 10px;
        font-weight: 700;
        opacity: 0;
    }
    .home .carousel__item .textSMP {
        font-size: 20px;
        margin: 0;
        color: var(--white);
        font-weight: 600;
        opacity: 0;
    }
    .home .carousel__item .textDeskripsi {
        font-size: 12px;
        margin: 0;
        color: var(--white);
        font-weight: 600;
        opacity: 0;
    }
    .home .carousel__controls {
        position: absolute;
        left: 50%;
        bottom: 20px;
        z-index: 10;
        transform: translateX(-50%);
    }
    .home .carousel__indicators {
        position: relative;
        margin: 0;
    }
    .home .carousel__indicators button {
        height: 23px;
        width: 23px;
        margin: 0 5px;
        border-radius: 50%;
        background-position: center;
        background-size: cover;
        border: 2px solid transparent;
        transition: all 0.3s linear;
    }
    .home .carousel__indicators button.active {
        border-color: #ffffff;
        transform: scale(1.2);
    }

    /* arrow */
    .carousel-control-prev,
    .carousel-control-next {
        font-size: 25px;
    }
    /* end arrow */
}
@media screen and (max-width: 640px) {
    .nav__link {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.8rem;
        color: var(--dark);
        font-weight: 500;
        transition: all 0.5s ease;
        padding: 5px 0px;
    }

    .home .carousel__item .di {
        font-size: 20px;
        margin: 0;
        color: var(--white);
        font-weight: 600;
        opacity: 0;
    }
    .home .carousel__item .judulBeranda {
        font-size: 35px;
        color: #ffffff;
        margin: 0 0 10px;
        font-weight: 700;
        opacity: 0;
    }
    .home .carousel__item .textSMP {
        font-size: 16px;
        margin: 0;
        color: var(--white);
        font-weight: 600;
        opacity: 0;
    }
    .home .carousel__item .textDeskripsi {
        font-size: 11px;
        margin: 0;
        color: var(--white);
        font-weight: 600;
        opacity: 0;
    }
    .home .carousel__controls {
        position: absolute;
        left: 50%;
        bottom: 20px;
        z-index: 10;
        transform: translateX(-50%);
    }
    .home .carousel__indicators {
        position: relative;
        margin: 0;
    }
    .home .carousel__indicators button {
        height: 17px !important;
        width: 17px !important;
        margin: 0 5px;
        border-radius: 50%;
        background-position: center;
        background-size: cover;
        border: 2px solid transparent;
        transition: all 0.3s linear;
    }
    .home .carousel__indicators button.active {
        border-color: #ffffff;
        transform: scale(1.2);
    }
    .carousel-control-next,
    .carousel-control-prev {
        display: none !important;
    }
}

/* animate */
.home .carousel__item.active .di {
    animation: keAtasSatu 0.7s ease forwards;
    animation-delay: 0.2s;
}
.home .carousel__item.active .judulBeranda {
    animation: keAtasDua 0.7s ease forwards;
    animation-delay: 0.4s;
}
.home .carousel__item.active .textSMP {
    animation: keAtasTiga 0.7s ease forwards;
    animation-delay: 0.6s;
}
.home .carousel__item.active .textDeskripsi {
    animation: keAtasEmpat 0.7s ease forwards;
    animation-delay: 0.8s;
}

@keyframes keAtasSatu {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
@keyframes keAtasDua {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
@keyframes keAtasTiga {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
@keyframes keAtasEmpat {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
/* ? End Jumbotron */

/* ? Ubah Bahasa*/
@media screen and (min-width: 992px) {
    .lang {
        position: fixed;
        top: 10px;
        right: 40px;
        z-index: 99999;
    }
}
@media (min-width: 641px) and (max-width: 992px) {
    .lang {
        position: fixed;
        top: 15px;
        right: 40px;
        z-index: 99999;
    }
}
@media screen and (max-width: 640px) {
    .lang {
        position: fixed;
        top: 30px;
        right: -50px;
        transform: translate(-50%, -50%);
        z-index: 99999;
    }
}
.goog-te-gadget {
    font-family: "Poppins";
    font-size: 12px;
    color: transparent !important;
    white-space: nowrap;
}
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
.VIpgJd-ZVi9od-l4eHX-hSRGPd:link,
.VIpgJd-ZVi9od-l4eHX-hSRGPd:visited,
.VIpgJd-ZVi9od-l4eHX-hSRGPd:hover,
.VIpgJd-ZVi9od-l4eHX-hSRGPd:active {
    font-size: 12px;
    font-weight: bold;
    color: #444;
    text-decoration: none;
    display: none;
}

.goog-te-gadget .goog-te-combo {
    margin: 4px 0;
}

.goog-te-combo,
.VIpgJd-ZVi9od-ORHb *,
.VIpgJd-ZVi9od-SmfZ *,
.VIpgJd-ZVi9od-xl07Ob *,
.VIpgJd-ZVi9od-vH1Gmf *,
.VIpgJd-ZVi9od-l9xktf * {
    font-family: "Poppins" !important;
    font-size: 10pt;
}
/* ? End Ubah Bahasa */
