body{
    font-family: "Ubuntu", sans-serif;
}
h1{
    font-size: 50px;
    color: white;
}

header, footer{
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: green;
}

/* table */
main{
    display: flex;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

table{
    text-align: center;
    box-shadow: 5px 10px 8px #628ca6;
    margin-bottom: 15px;
    

}
table, th, td{
    border: 1px solid #c0c0c0 ;
    border-collapse: collapse;
}

th, td{
    padding: 7px;
}


tr:nth-child(odd){
    background: color #E7F0E7;
    
}
tr:nth-child(even){
    background-color: #E7FFED;
}
th{
    background-color: #628ca6;
    color:#ffffff;
}

thead tr td{
    background-color: #7fb9c2;
    font-size: 26px;
    font-weight: bold;
}

tfoot tr td{
    background-color: #7fb9c2;
    font-size: 12px;
}

.special{
    background-color:#628ca6 ;
}


@media screen and (max-width: 600px) {
    table thead {
        border: none;
    }
    table,
    tr,
    td,
    th,
    thead {
        display: grid;
    }
    table {
        box-shadow: none;
    }
    table tr {
        display: block;
        margin-bottom: 15px;
    }
    table td {
        border-bottom: none;
        display: block;
        font-size: 25px;
        text-align: right;
    }
    table td:last-child {
        border-bottom: 1px solid black;
    }
    tbody tr:nth-of-type(1) {
        display: none;
    }
    td:nth-of-type(1):before {
        content: 'Period';
    }
    td:nth-of-type(2):before {
        content: 'Sales';
    }
    td:nth-of-type(3):before {
        content: 'Global Sales';
    }
    table td::before {
        float: left;
    }
    tfoot {
        width: 100%;
    }
}