.be {
    background: #2e3267;
    box-shadow: inset 0 0 3rem rgba(0, 0, 0, 0.5);
}

.box-be {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.box-be p {
    padding-left: 20px;
    width: 500px;
    text-align: justify;
}

.box-be h3 {
    padding-left: 50px;
    font-size: 50px;
    border-radius: 76px;
}

.box-be ul {
    position: relative;
    transform: skewY(-15deg);
    padding: 120px;
}

.box-be ul li {
    position: relative;
    list-style: none;
    width: auto;
    background: #3e3f46;
    padding: 15px;
    transition: 0.5s;
    z-index: calc(1* var(--i));
}

.box-be ul li:hover {
    transform: translateX(-50px);
    background: var(--clr);
}

.box-be ul li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40px;
    width: 40px;
    height: 100%;
    background: #3e3f46;
    filter: brightness(0.7);
    transform-origin: right;
    transform: skewY(45deg);
    transition: 0.5s;
}

.box-be ul li:hover::before {
    background: var(--clr);
    filter: brightness(0.7);
}

.box-be ul li::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: #3e3f46;
    filter: brightness(0.9);
    transform-origin: bottom;
    transform: skewX(45deg);
    transition: 0.5s;
}

.box-be ul li:hover::after {
    background: var(--clr);
    filter: brightness(0.9);
}

.box-be ul li a {
    text-decoration: none;
    color: #999;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: 0.5s;
}

.box-be ul li:hover a {
    color: #fff;
}

.box-be ul li:last-child::after {
    box-shadow: -120px 120px 20px rgba(0, 0, 0, 0.25);
}

.box-be ul li span {
    position: absolute;
    top: 0;
    left: -40px;
    width: 40px;
    height: 100%;
    transform-origin: right;
    transform: skewY(45deg);
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
    font-size: 1.25em;
}

.box-be ul li:hover span {
    opacity: 1;
}

.content-be {
    background: #2e3267;
    padding: 3rem;
    grid-template-columns: 1fr 1fr;
    display: grid;
}

.content-be h4 {
    text-align: center;
    padding-bottom: 3rem;
}

.content-be p {
    display: grid;
    text-align: justify;
    padding: 2rem;
}

.content-be ol {
    padding-right: 2rem;
    padding-left: 2rem;
}

.content-be li {
    display: grid;
    text-align: justify;
    list-style-type: circle;
}

.image-be {
    animation: animate__backInUp;
}

.materi-be {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background: #2e3267;
}

.materi-be-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.materi-be-container .materi-be-box {
    position: relative;
    width: 400px;
    padding: 20px;
    background: var(--color-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 40px;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
    align-items: center;
}

.materi-be-container .materi-be-box:before {
    content: '';
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.materi-be-container .materi-be-box .materi-be-icon {
    position: relative;
    width: 80px;
    height: 80px;
    color: #fff;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-radius: 50%;
    font-size: 40px;
    font-weight: 700;
    transition: 1s;
}


/* 1 */

.materi-be-container .materi-be-box:nth-child(1) .materi-be-icon {
    box-shadow: 0 0 0 0 #436af9;
    background: #436af9;
}

.materi-be-container .materi-be-box:nth-child(1):hover .materi-be-icon {
    box-shadow: 0 0 0 500px #436af9;
}


/* 2 */

.materi-be-container .materi-be-box:nth-child(2) .materi-be-icon {
    box-shadow: 0 0 0 0 #6b3cf6;
    background: #6b3cf6;
}

.materi-be-container .materi-be-box:nth-child(2):hover .materi-be-icon {
    box-shadow: 0 0 0 500px #6b3cf6;
}


/* 3 */

.materi-be-container .materi-be-box:nth-child(3) .materi-be-icon {
    box-shadow: 0 0 0 0 #9551f5;
    background: #9551f5;
}

.materi-be-container .materi-be-box:nth-child(3):hover .materi-be-icon {
    box-shadow: 0 0 0 500px #9551f5;
}


/* 4 */

.materi-be-container .materi-be-box:nth-child(4) .materi-be-icon {
    box-shadow: 0 0 0 0 #402a98;
    background: #402a98;
}

.materi-be-container .materi-be-box:nth-child(4):hover .materi-be-icon {
    box-shadow: 0 0 0 450px #402a98;
}


/* 5 */

.materi-be-container .materi-be-box:nth-child(5) .materi-be-icon {
    box-shadow: 0 0 0 0 #452775;
    background: #452775;
}

.materi-be-container .materi-be-box:nth-child(5):hover .materi-be-icon {
    box-shadow: 0 0 0 450px #452775;
}


/* 6 */

.materi-be-container .materi-be-box:nth-child(6) .materi-be-icon {
    box-shadow: 0 0 0 0 #574d9f;
    background: #574d9f;
}

.materi-be-container .materi-be-box:nth-child(6):hover .materi-be-icon {
    box-shadow: 0 0 0 500px #574d9f;
}


/* 7 */

.materi-be-container .materi-be-box:nth-child(7) .materi-be-icon {
    box-shadow: 0 0 0 0 #4d579f;
    background: #4d579f;
    align-items: center;
}

.materi-be-container .materi-be-box:nth-child(7):hover .materi-be-icon {
    box-shadow: 0 0 0 450px #4d579f;
}


/* 8 */

.materi-be-container .materi-be-box:nth-child(8) .materi-be-icon {
    box-shadow: 0 0 0 0 #5978f3;
    background: #5978f3;
}

.materi-be-container .materi-be-box:nth-child(8):hover .materi-be-icon {
    box-shadow: 0 0 0 400px #5978f3;
}


/* 9 */

.materi-be-container .materi-be-box:nth-child(9) .materi-be-icon {
    box-shadow: 0 0 0 0 #5b69e7;
    background: #5b69e7;
}

.materi-be-container .materi-be-box:nth-child(9):hover .materi-be-icon {
    box-shadow: 0 0 0 400px #5b69e7;
}

.materi-be-container .materi-be-box .materi-be-content {
    position: relative;
    z-index: 1;
    transition: 0.5s;
    color: #000;
}

.materi-be-container .materi-be-box:hover .materi-be-content {
    color: #fff;
}

.materi-be-container .materi-be-box .materi-be-content h3 {
    font-size: 20px;
    margin: 10px 0;
    padding: 0;
}

.materi-be-container .materi-be-box .materi-be-content p {
    margin: 0;
    padding: 0;
}

.materi-be-content a {
    display: inline-block;
    padding: 10px 20px;
    background: #8ea2f5;
    border-radius: 4px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width:1024px) {
    @media screen and (max-width: 420px) {
        * {
            overflow-x: hidden;
        }
        nav {
            width: 390px;
        }
        .box-be {
            display: block;
            min-height: max-content;
            padding-bottom: 2rem;
            overflow-y: hidden;
        }
        .box-be h3 {
            font-size: 1.8rem;
            padding-top: 2rem;
            padding-left: 0;
            text-align: center;
        }
        .box-be p {
            max-width: 100%;
            padding-right: 20px;
        }
        .kontak-be {
            width: 80%;
            height: 80%;
        }
        .content-be {
            display: block;
            min-height: max-content;
            padding-bottom: 2rem;
        }
        .content-be p {
            padding-bottom: 1rem;
            padding-top: 0;
            padding-left: 0;
            padding-right: 0;
            font-size: 0.6rem;
        }
        .content-be ol li {
            font-size: 0.6rem;
        }
        .content-be ol {
            padding-right: 0;
            padding-left: 0;
            padding-bottom: 3rem;
        }
        h4 {
            font-size: 0.8rem;
        }
    }
}