.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px;
}

.footer {
    margin-top: 50px;
    background-color: rgb(220, 220, 220);
    height: 100px;
    padding: 10px;
}

.q {
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 10px;
}

.event {
    text-align: center;
}

.cell {
    background-color: rgb(220, 220, 220);
    min-height: 100px;
    padding: 10px;
}

nav {
    background: #999;
    padding: 5px;
    text-align: center;
    margin-bottom: 50px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav li {
    text-align: center;
    display: inline;
}

a {
    text-decoration: none;
    padding: 10px 20px;
    color: #000;
    background: #ddd;
    display: inline-block;
    min-width: 100px;
    transition: all 0.5s;
}

a:hover {
    color: #fff;
    background: #333;
}





/* default - small devices */

[class*="col"] {
    grid-column-end: span 12;
}

/* below 600px typically tablet*/

@media only screen and (max-width: 600px) {
    .sm1 {
        grid-column-end: span 12;
    }

    .sm2 {
        grid-column-end: span 6;
    }

    .sm3 {
        grid-column-end: span 4;
    }

    .sm4 {
        grid-column-end: span 3;
    }

    .sm6 {
        grid-column-end: span 2;
    }

    .sm12 {
        grid-column-end: span 1;
    }
}

/* above 601px typically tablet*/

@media only screen and (min-width: 601px) {
    .md1 {
        grid-column-end: span 12;
    }

    .md2 {
        grid-column-end: span 6;
    }

    .md3 {
        grid-column-end: span 4;
    }

    .md4 {
        grid-column-end: span 3;
    }

    .md6 {
        grid-column-end: span 2;
    }

    .md12 {
        grid-column-end: span 1;
    }
}

/* above 1025px typically desktop*/

@media only screen and (min-width: 1025px) {
    .grid {
        max-width: 1400px;
        margin: 0 auto;
    }

    .col1 {
        grid-column-end: span 12;
    }

    .col2 {
        grid-column-end: span 6;
    }

    .col3 {
        grid-column-end: span 4;
    }

    .col4 {
        grid-column-end: span 3;
    }

    .col6 {
        grid-column-end: span 2;
    }

    .col12 {
        grid-column-end: span 1;
    }
}
