* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.title {
    display: flex;
    justify-content: center;
    padding: 15px;
    flex-direction: row;
    align-items: center;
}

body {
    background-color: black;
    color: white;
}

a:link {
    color: white;
    text-decoration: none;
}

a:visited {
    color: white;
}

a:hover {
     color: white;
     text-decoration: underline;
}

.menu nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 15px;
}

.body {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 50px 200px 50px 200px;
}

.er {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    justify-content: center;
}

.eri {
    display: grid;
    grid-row: 2;
    grid-column: 1;
    justify-content: center;
}

.er2 {
    display: grid;
    grid-row: 1;
    grid-column: 2;
    justify-content: center;
}

.er2i {
    display: grid;
    grid-row: 2;
    grid-column: 2;
    justify-content: center;
}

.cr {
    display: grid;
    grid-row: 1;
    grid-column: 3;
    justify-content: center;
}

.cri {
    display: grid;
    grid-row: 2;
    grid-column: 3;
    justify-content: center;
}

.db {
    display: grid;
    grid-row: 1;
    grid-column: 4;
    justify-content: center;
}

.dbi {
    display: grid;
    justify-content: center;
    grid-row: 2;
    grid-column: 4;
}

.erc {
    display: grid;
    grid-row: 1;
    grid-column: 5;
    justify-content: center;
}

.erci {
    display: grid;
    grid-row: 2;
    grid-column: 5;
    justify-content: center;
}

@media (max-width: 900px) {
    body{
        display: inline;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 50px 200px 50px 200px;
    }
    .body div {
        display: grid;
        grid-row: auto;
        grid-column: auto;
    }
}

@media (min-with: 901px) {
.title {
    display: flex;
    justify-content: center;
    padding: 15px;
    flex-direction: row;
    align-items: center;
}

body {
    background-color: black;
    color: white;
}

a:link {
    color: white;
    text-decoration: none;
}

a:visited {
    color: white;
}

a:hover {
     color: white;
     text-decoration: underline;
}

.menu nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 15px;
}

.body {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 50px 200px 50px 200px;
}

.er {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    justify-content: center;
}

.eri {
    display: grid;
    grid-row: 2;
    grid-column: 1;
    justify-content: center;
}

.er2 {
    display: grid;
    grid-row: 1;
    grid-column: 2;
    justify-content: center;
}

.er2i {
    display: grid;
    grid-row: 2;
    grid-column: 2;
    justify-content: center;
}

.cr {
    display: grid;
    grid-row: 1;
    grid-column: 3;
    justify-content: center;
}

.cri {
    display: grid;
    grid-row: 2;
    grid-column: 3;
    justify-content: center;
}
}