.article6 {
    position: relative;
}

.a6-bg {
    position: absolute;
    top: -10%;
    width: 100%;
    mix-blend-mode: exclusion;
    z-index: 1;
}

.a6-mockup {
    width: 800px;
    margin-bottom: 10rem;
    animation: upDown2 3s ease-in-out infinite;
}

.a6-box-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.a6-box {
    position: relative;
    width: 170px;
    height: 170px;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, .05);
}

.a6-box:nth-child(1) {
    border-bottom: 1px solid #ffffff50;
}
.a6-box:nth-child(2) {
    border-bottom: 1px solid #f3ba2f50;
}
.a6-box:nth-child(3) {
    border-bottom: 1px solid #28a0f050;
}
.a6-box:nth-child(4) {
    border-bottom: 1px solid #8247e550;
}
.a6-box:nth-child(5) {
    border-bottom: 1px solid #ff042050;
}

.a6-box::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: 1;
}

.a6-box:nth-child(1):after {
    background-image: linear-gradient(to bottom, transparent 0%, #ffffff20 100%);
}
.a6-box:nth-child(2):after {
    background-image: linear-gradient(to bottom, transparent 0%, #f3ba2f20 100%);
}
.a6-box:nth-child(3):after {
    background-image: linear-gradient(to bottom, transparent 0%, #28a0f020 100%);
}
.a6-box:nth-child(4):after {
    background-image: linear-gradient(to bottom, transparent 0%, #8247e520 100%);
}
.a6-box:nth-child(5):after {
    background-image: linear-gradient(to bottom, transparent 0%, #ff042020 100%);
}

.a6-box h5 {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
    z-index: 10;
}

.a6-box h5 span {
    display: block;
    color: rgba(255, 255, 255, .3);
    font-size: 12px;
    font-weight: 300;
    margin-top: 2px;
}

.a6-box-icon {
    height: 76px;
    transition: all .2s;
}

.a6-box:hover .a6-box-icon {
    transform: scale(1.1);
}


/*==================================================*/
@media (max-width: 1550px) {
    .a6-bg {
        height: 80%;
    }
}


@media (max-width: 950px) {
    .a6-box-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .a6-box {
        width: 100%;
    }
}


@media (max-width: 550px) {
    .a6-box-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 450px) {
    .a6-box {
        height: 150px;
    }
    
    .a6-box-icon {
        height: 60px;
    }

    .a6-box h5 {
        font-size: 16px;
        margin-top: 10px;
    }
}