@media screen and (max-width: 980px) {
    #cards {
        grid-template-columns: repeat(2, 1fr);
    }

    #cards .material-symbols-outlined {
        font-size: 7rem;
    }

    #cards .text {
        font-size: 2rem;
    }
}

@media screen and (max-width: 760px) {
    .navbar .menu {
        display: block;
    }

    .nav-links {
        position: fixed;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        height: 100vh;
        width: 100%;
        max-width: 100vw;
        top: 0px;
        left: 0px;
        background-color: #fff;
        clip-path: circle(0px at 100% 0px);
        transition: all 1s;
    }

    .nav-links.visible {
        clip-path: circle(max(100vw, 100vh) at 50% 50%);
    }

    #cards .flip-card-back p {
        font-size: .9rem;
    }
}

@media screen and (max-width: 500px) {
    #cards {
        grid-template-columns: 1fr;

    }

    #cards .material-symbols-outlined {
        font-size: 7rem;
    }

    #cards .text {
        font-size: 2rem;
    }

    .navbar .brand {
        font-size: 1rem;
    }
}