main {
    width: 1110px;
    display: grid;
    column-gap: 30px;
    grid-template-columns: repeat(12, 65px);
    margin: 0 auto;
}

.projects {
    grid-column: span 12;
    gap: 12px;
    display: flex;
    flex-wrap: wrap;
    margin: 24px 0px
}

.page-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 120px;
    
    .hero-heading {
        font-size: 3rem;
    }

    .background {
        position: absolute;
        z-index: -1;
        background: var(--sub-banner-background);
        height: 168px;
        width: 100vw;
    }
}

.card.projects {
    display: flex;
    flex-direction: column;
    width: 350px;

    .card-text {
        display: flex;
        flex-direction: column;
        flex: 1;

        .links-info {
            display: flex;
            height: 100%;
            align-items: end;
        }
    }
}

@media (max-width: 1110px) and (min-width: 730px ){
    main {
        width: 730px;
        display: grid;
        column-gap: 30px;
        grid-template-columns: repeat(8, 65px);
        margin: 0 auto;
    }

    section {
        grid-column: 1/span 8;
        margin: 36px 0px;
    }

    .projects {
        grid-column: 1/span 8;
    }
}

@media (width <= 730px ){
    main {
        width: 350px;
        display: grid;
        column-gap: 30px;
        grid-template-columns: repeat(4, 65px);
        margin: 0 auto;
    }

    .hero-sub-hedding {
        width: 95%;
        text-align: center;
    }
    section {
        grid-column: 1/span 4;
        margin: 36px 0px;
    }

    .projects {
        grid-column: 1/span 4;
    }

}