.fe {
    background: #363e5d;
    box-shadow: inset 0 0 3rem rgba(0, 0, 0, 0.5);
}

.box-fe {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.box-fe p {
    padding-left: 20px;
    width: 500px;
    text-align: justify;
}

.box-fe h3 {
    padding-left: 50px;
    font-size: 50px;
    border-radius: 76px;
}

.box-fe ul {
    position: relative;
    transform: skewY(-15deg);
    padding: 120px;
}

.box-fe ul li {
    position: relative;
    list-style: none;
    width: auto;
    background: #3e3f46;
    padding: 15px;
    transition: 0.5s;
    z-index: calc(1* var(--i));
}

.box-fe ul li:hover {
    transform: translateX(-50px);
    background: var(--clr);
}

.box-fe 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-fe ul li:hover::before {
    background: var(--clr);
    filter: brightness(0.7);
}

.box-fe 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-fe ul li:hover::after {
    background: var(--clr);
    filter: brightness(0.9);
}

.box-fe ul li a {
    text-decoration: none;
    color: #999;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: 0.5s;
}

.box-fe ul li:hover a {
    color: #fff;
}

.box-fe ul li:last-child::after {
    box-shadow: -120px 120px 20px rgba(0, 0, 0, 0.25);
}

.box-fe 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-fe ul li:hover span {
    opacity: 1;
}

.content-fe {
    background: #363e5d;
    padding: 3rem;
    grid-template-columns: 1fr 1fr;
    display: grid;
}

.content-fe h4 {
    text-align: center;
    padding-bottom: 3rem;
}

.content-fe p {
    display: grid;
    text-align: justify;
    padding: 2rem;
}

.content-fe ol {
    padding-right: 2rem;
    padding-left: 2rem;
}

.content-fe li {
    display: grid;
    text-align: justify;
    list-style-type: circle;
}

.materi-fe {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background: #363e5d;
}

.materi-fe-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.materi-fe-container .materi-fe-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;
}

.materi-fe-container .materi-fe-box:before {
    content: '';
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.materi-fe-container .materi-fe-box .materi-fe-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-fe-container .materi-fe-box:nth-child(1) .materi-fe-icon {
    box-shadow: 0 0 0 0 #436af9;
    background: #436af9;
}

.materi-fe-container .materi-fe-box:nth-child(1):hover .materi-fe-icon {
    box-shadow: 0 0 0 400px #436af9;
}


/* 2 */

.materi-fe-container .materi-fe-box:nth-child(2) .materi-fe-icon {
    box-shadow: 0 0 0 0 #6b3cf6;
    background: #6b3cf6;
}

.materi-fe-container .materi-fe-box:nth-child(2):hover .materi-fe-icon {
    box-shadow: 0 0 0 400px #6b3cf6;
}


/* 3 */

.materi-fe-container .materi-fe-box:nth-child(3) .materi-fe-icon {
    box-shadow: 0 0 0 0 #9551f5;
    background: #9551f5;
}

.materi-fe-container .materi-fe-box:nth-child(3):hover .materi-fe-icon {
    box-shadow: 0 0 0 400px #9551f5;
}


/* 4 */

.materi-fe-container .materi-fe-box:nth-child(4) .materi-fe-icon {
    box-shadow: 0 0 0 0 #402a98;
    background: #402a98;
}

.materi-fe-container .materi-fe-box:nth-child(4):hover .materi-fe-icon {
    box-shadow: 0 0 0 400px #402a98;
}


/* 5 */

.materi-fe-container .materi-fe-box:nth-child(5) .materi-fe-icon {
    box-shadow: 0 0 0 0 #452775;
    background: #452775;
}

.materi-fe-container .materi-fe-box:nth-child(5):hover .materi-fe-icon {
    box-shadow: 0 0 0 400px #452775;
}


/* 6 */

.materi-fe-container .materi-fe-box:nth-child(6) .materi-fe-icon {
    box-shadow: 0 0 0 0 #574d9f;
    background: #574d9f;
}

.materi-fe-container .materi-fe-box:nth-child(6):hover .materi-fe-icon {
    box-shadow: 0 0 0 400px #574d9f;
}


/* 7 */

.materi-fe-container .materi-fe-box:nth-child(7) .materi-fe-icon {
    box-shadow: 0 0 0 0 #4d579f;
    background: #4d579f;
}

.materi-fe-container .materi-fe-box:nth-child(7):hover .materi-fe-icon {
    box-shadow: 0 0 0 400px #4d579f;
}


/* 8 */

.materi-fe-container .materi-fe-box:nth-child(8) .materi-fe-icon {
    box-shadow: 0 0 0 0 #5978f3;
    background: #5978f3;
}

.materi-fe-container .materi-fe-box:nth-child(8):hover .materi-fe-icon {
    box-shadow: 0 0 0 400px #5978f3;
}


/* 9 */

.materi-fe-container .materi-fe-box:nth-child(9) .materi-fe-icon {
    box-shadow: 0 0 0 0 #5b69e7;
    background: #5b69e7;
}

.materi-fe-container .materi-fe-box:nth-child(9):hover .materi-fe-icon {
    box-shadow: 0 0 0 400px #5b69e7;
}

.materi-fe-container .materi-fe-box .materi-fe-content {
    position: relative;
    z-index: 1;
    transition: 0.5s;
    color: #000;
}

.materi-fe-container .materi-fe-box:hover .materi-fe-content {
    color: #fff;
}

.materi-fe-container .materi-fe-box .materi-fe-content h3 {
    font-size: 20px;
    margin: 10px 0;
    padding: 0;
}

.materi-fe-container .materi-fe-box .materi-fe-content p {
    margin: 0;
    padding: 0;
}

.materi-fe-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: 420px) {
    * {
        overflow-x: hidden;
    }
    nav {
        width: 390px;
    }
    .box-fe {
        display: block;
        min-height: max-content;
        padding-bottom: 2rem;
        overflow-y: hidden;
    }
    .box-fe h3 {
        font-size: 1.8rem;
        padding-top: 2rem;
        padding-left: 0;
        text-align: center;
    }
    .box-fe p {
        max-width: 100%;
        padding-right: 20px;
    }
    .kontak-fe {
        width: 80%;
        height: 80%;
    }
    .content-fe {
        display: block;
        min-height: max-content;
        padding-bottom: 2rem;
    }
    .content-fe p {
        padding-bottom: 1rem;
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
        font-size: 0.6rem;
    }
    .content-fe ol li {
        font-size: 0.6rem;
    }
    .content-fe ol {
        padding-right: 0;
        padding-left: 0;
        padding-bottom: 3rem;
    }
    h4 {
        font-size: 0.8rem;
    }
}