.features .box-container {
    @include grid(32rem);
    gap: 0;

    .box {
        background: $light-bg;

        &.second {
            display: flex;
            flex-flow: column-reverse;
        }

        &:hover .image img {
            transform: scale(1.1);
        }

        .image {
            height: 30rem;
            width: 100%;
            overflow: hidden;

            img {
                height: 100%;
                width: 100%;
                object-fit: cover;
            }
        }

        .content {
            padding: 2rem;
            text-align: center;

            img {
                height: 9rem;
                margin-bottom: 1rem;
                // filter: invert(1);
            }

            h3 {
                font-size: 2rem;
                color: $red;
            }

            p {
                line-height: 2;
                font-size: 1.5rem;
                color: $light-white;
                padding: 1rem 0;
            }
        }
    }
}

@media (max-width:991px) {

    html {
        font-size: 55%;
        scroll-padding: 7rem;
    }

    .header {
        padding: 0 2rem;
    }

    section {
        padding: 3rem 2rem;
    }

    .home .slide {
        padding: 2rem 5%;

        .content {
            width: 50rem;

            h3 {
                font-size: 4rem;
            }
        }
    }

}

@media (max-width:768px) {

    #menu-btn {
        display: inline-block;

        &.fa-times {
            transform: rotate(180deg);
        }
    }

    .header {
        padding: 2rem;

        .navbar {
            position: absolute;
            top: 99%;
            left: 0;
            right: 0;
            background: $black;
            clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);

            &.active {
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            }

            a {
                display: block;
                font-size: 2rem;
            }
        }
    }

    .about {
        gap: 3rem;

        .image {
            margin-top: 5rem;
        }

        .content .title {
            font-size: 3rem;
        }
    }

    .features .box-container .box.second {
        flex-flow: column;
    }

}

@media (max-width:450px) {

    html {
        font-size: 50%;
    }

}