body {
    margin: 0;
    padding: 0;
    height: 100%;
    line-height: 1.8em;
}

* {
    box-sizing: border-box;
}

nav {
    background: #999;
    padding: 5px;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav li {
    display: inline;
    text-align: center;
}

a {
    text-decoration: none;
    padding: 10px 20px;
    color: #000;
    background: #ddd;
    display: inline-block;
    width: 200px;
    transition: all 0.7s;
}

a:hover {
    color: #fff;
    background: #333;
}

.featured {
    width: 100vw;
    height: 80vh;
    background: url('../img/backround_pokemon.jpg') center center fixed;
    background-size: cover;
    display: grid;
}

.featuredText {
    width: 40%;
    color: white;
    padding: 20px;
    text-align: center;
    /*justify-self: end;*/
    align-self: end;
    margin: 0 auto;
    /*margin: auto auto;*/
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px;
}


.grid img {
    max-width: 100%;
    height: auto;
}

.play img {
    max-width: 100%;
    height: 50;
    width: auto;
}

.play {
    max-width: 100%;
    text-align: center;
    overflow: hidden;
}

.play a {
    display: inline-block;

    max-width: 100%;

    width: 100%;

    height: 50%;

    padding: 5px;

}

.col3 img {
    border-radius: 50%;
}

.welcome {
    padding-top: 80px 30% 0;
    text-align: center;
}

.rules {
    padding-top: 80px 30% 0;
    text-align: center;
}

.cell {
    /*    background-color: rgb(220, 220, 220);*/
    min-height: 100px;
    padding: 20px;
    text-align: center;
}

/* default small devices */

[class*="col"] {
    grid-column-end: span 12;
}


/* Below 600px Tablets */

@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 Tablets */

@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 Desktops */

@media only screen and (min-width: 1025px) {

    .grid {
        margin: 0 auto;
        max-width: 1400px;
    }

    .welcome {
        padding: 0 30%;
    }

    .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;
    }
}
