* {
    box-sizing: border-box;
}

html.open,
body.open {
    height: 100%;
    overflow: hidden;
}

html {
    padding: 40px;
    font-size: 62.5%;
}

body {
    padding: 20px;
    background-color: #000000;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    color: #fff;
    font-size: 1.6rem;
    font-family: "Lato", sans-serif;
}

p {
    text-align: center;
    margin: 20px 0 60px;
}

main {
    background-color: #2c3845;
    border-radius: 40px;
}

h1 {
    text-align: center;
    font-weight: 300;
    text-decoration: underline;
}

table {
    display: block;
}

tr,
td,
tbody,
tfoot {
    display: block;
}

thead {
    display: none;
}

tr {
    padding-bottom: 10px;
}

td {
    padding: 10px 10px 0;
    text-align: center;
}

td:before {
    content: attr(data-title);
    color: #7a91aa;
    text-transform: uppercase;
    font-size: 1.4rem;
    padding-right: 10px;
    display: block;
}

table {
    width: 100%;
}

th {
    text-align: left;
    font-weight: 700;
}

th i {
    margin-left: 10px;
    font-size: 1.5rem;
    color: #7a91aa;
}

thead th {
    background-color: #202932;
    color: #fff;
    border: 1px solid #202932;
    border-radius: 15px;
}

tfoot th {
    display: block;
    padding: 10px;
    text-align: center;
    color: #b8c4d2;
}

.back_to_console {
    display: block;
    text-align: center;
    margin: 10px 0;
    color: #127a94;
}

.back_to_console i {
    transition: 0.5s ease-in-out;
    font-size: 2rem;
}

.back_to_console:hover i {
    color: #15a5b8;
    transform: translateX(-10px);
}

.no_suggestion {
    text-align: center;
    font-size: 3.5rem;
    color: rgb(177, 45, 45);
}

.button {
    line-height: 1;
    display: inline-block;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    color: #fff;
    padding: 8px;
    transition: all 0.5s ease-in-out;
}

.button:hover {
    transform: scale(2.1);
}

.input {
    border: 1px solid #28333f;
    border-radius: 5px;
    padding: 8px;
    background-color: #28333f;
    color: #fff;
    font-size: 1.2rem;
    width: 80%;
}

.input:focus {
    outline: none;
    border: 1px solid #128594;
    box-shadow: 0 0 0 2px #128594;
}

.input_submit {
    background-color: #128594;
    border: 1px solid #127a94;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 8px;
    color: #fff;
    border-radius: 5px;
    margin: 0 0 0 10px;
}

.input_submit:hover {
    box-shadow: 0 0 0 2px #15a5b8
}

.archived {
    background-color: #1d9412;
}

.archived_all {
    background-color: #212325;
}

.archived_all:hover {
    box-shadow: 0 0 0 2px #1d9412;
}

.unread {
    background-color: #1851b9;
}

.delete {
    background-color: #ce2222;
}

.delete_all {
    background-color: #16171a;
}

.delete_all:hover {
    box-shadow: 0 0 0 2px #ce2222;
}

.select {
    padding-bottom: 20px;
    border-bottom: 1px solid #28333f;
}

.fa-trash-can {
    color: rgb(0, 0, 0);
}

.fa-trash-arrow-up {
    color: rgb(255, 0, 0);
}

.fa-circle-check {
    color: rgb(153, 255, 133);
}

.fa-check-double {
    color: rgb(0, 255, 0);
}

.fa-circle-xmark {
    color: rgb(7, 137, 224);
}

.select:before {
    display: none;
}

.actions_all {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 20px;
}

@media (min-width: 460px) {

    tr {
        margin-bottom: 40px;
    }

    td {
        text-align: left;
    }

    td:before {
        display: inline-block;
        text-align: right;
        width: 140px;
    }

    tbody {
        margin-left: -100px;
    }

    tfoot th {
        margin-bottom: -50px;
    }

    .select {
        padding-left: 160px;
        padding-bottom: 0px;
    }

    .input {
        width: 50%;
    }
}

@media (min-width: 720px) {
    table {
        display: table;
    }

    tr {
        display: table-row;
    }

    td,
    th {
        display: table-cell;
    }

    tbody {
        display: table-row-group;
    }

    thead {
        display: table-header-group;
    }

    tfoot {
        display: table-footer-group;
    }

    td {
        border: 1px solid #28333f;
    }

    td:before {
        display: none;
    }

    td,
    th {
        padding: 10px;
    }

    tr:nth-child(2n + 2) td {
        background-color: #242e39;
    }

    tfoot th {
        display: table-cell;
    }

    .select {
        padding: 10px;
    }

    .input {
        width: 80%;
    }
}