.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 20px;
}

html {
    background-color: #66A573;
}

@media only screen and (min-width: 1025px) {

    table,
    th,
    td {
        border: 1px solid black;
        border-collapse: collapse;
        padding: 5px;
        background-color: white;
    }

    h2 {
        grid-column: 6 / 9;
        text-align: center;
        background-color: white;
        border-radius: 50%;
        height: 40px;
        margin-top: 25px;
        font-family: "Roboto Slab", serif;
        font-style: normal;
    }

    h3 {
        text-align: center;
    }

    table {
        grid-row: 4;
        width: 100%;
        margin-bottom: 20px;
        grid-column: 2 / 12;
        font-family: "Roboto Slab", serif;
        font-style: normal;
    }

    tfoot td {
        font-weight: bold;
    }

    #date {
        height: 60%;
    }


    #amount {
        height: 60%;
    }


    #b {
        grid-row: 3;
        grid-column: 4;
        border: none;
        padding: 15px 32px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        font-family: "Roboto Slab", serif;
        font-style: normal;
    }

    button:hover {
        color: #fff;
        background: #333;
    }

    #d {
        grid-row: 3;
        grid-column: 5;
        border: none;
        padding: 15px 32px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        font-family: "Roboto Slab", serif;
        font-style: normal;
    }

    #enter {
        padding-top: 45px;
        padding-left: 30px;
        grid-row: 3;
        grid-column: 2 / 5;
        font-family: "Roboto Slab", serif;
        font-style: normal;
    }

    #info {
        padding-top: 45px;
        grid-row: 3;
        grid-column: 6 / 9;
        font-size: 1.5em;
        font-family: "Roboto Slab", serif;
        font-style: normal;
    }

    #cat {
        padding-top: 45px;
        grid-row: 3;
        grid-column: 10;
    }

    #white {
        grid-row: 3;
        grid-column: 2 / 12;
        z-index: -1;
        width: 100%;
        height: 100%;
    }
}


@media only screen and (max-width: 601px) {

    table,
    th,
    td {
        border: 1px solid black;
        border-collapse: collapse;
        padding: 5px;
        background-color: white;
    }

    h2 {
        grid-column: 2 / 12;
        background-color: white;
        border-radius: 50%;
        text-align: center;
        height: 30px;
        margin-top: 25px;
        font-family: "Roboto Slab", serif;
        font-style: normal;
        font-size: 16px;
        display: inline-block;
    }

    h3 {
        display: inline-block;
        grid-column: 2 / 7;
    }

    table {
        grid-row: 4;
        width: 100%;
        margin-bottom: 20px;
        grid-column: 2 / 12;
        font-family: "Roboto Slab", serif;
        font-style: normal;
    }

    tfoot td {
        font-weight: bold;
    }

    #date {
        height: 60%;
    }


    #amount {
        height: 60%;
    }


    #b {
        grid-row: 3;
        grid-column: 4;
        border: none;
        padding: 15px 10px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        font-family: "Roboto Slab", serif;
        font-style: normal;
    }

    button:hover {
        color: #fff;
        background: #333;
    }

    #d {
        grid-row: 3;
        grid-column: 5;
        border: none;
        padding: 15px 10px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        font-family: "Roboto Slab", serif;
        font-style: normal;
    }

    #enter {

        padding-left: 30px;
        grid-row: 3;
        grid-column: 2 / 9;
        font-family: "Roboto Slab", serif;
        font-style: normal;
    }

    #info {
        padding-top: 45px;
        grid-row: 3;
        grid-column: 9 / 12;
        font-size: 1em;
        font-family: "Roboto Slab", serif;
        font-style: normal;
    }

    #cat {
        padding-top: 200px;
        grid-row: 3;
        grid-column: 11;
    }

    #white {
        grid-row: 3;
        grid-column: 2 / 12;
        z-index: -1;
        width: 100%;
        height: 100%;
    }
}
