@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');

body {
    /* background-color: rgba(90, 116, 144, .5); */
    opacity: 1;
    font-weight: bolder;
}

h2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header {
    columns: 10% 3;
    line-height: 25px;
    height: 80px;
    text-align: center;

}

table,
th,
td {
    border: 1px solid;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 150px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

th,
td {
    padding: 12px 15px;
}

.center tbody tr {
    border-bottom: 1px solid #dddddd;
}


.center tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.center tbody tr:last-of-type {
    border-bottom: 2px solid rgb(90, 116, 144);
}

table.center {
    margin-left: auto;
    margin-right: auto;
}


.head {
    background-color: rgb(90, 116, 144);
    color: #ffffff;
    text-align: left;
    font-weight: bolder;
    border: 1px solid;
    font-size: medium;
}

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

.wrapper {
    border: 1px solid #4b00ff;
    border-right: 1;

}

canvas#signature-pad {
    background: #fff;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    display: flex;
    justify-content: center;
    align-items: center;

}

button#clear {
    height: 90%;
    background: rgba(90, 116, 144, .9);
    border: 3px solid rgb(90, 116, 144);
    color: #fff;
    font-weight: 600;
    cursor: pointer;

}

button#clear span {
    transform: rotate(90deg);
    display: flex;
    height: 40px;
    width: 30px;

}

.clear-btn {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    background: rgba(90, 116, 144, .9);
    border: 1px solid transparent;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 20px;
    font-weight: 900;
    border: 3px solid rgb(90, 116, 144);
}

img {
    width: 150px;
    height: auto;
    text-align: center;
    padding: 0;
    margin: 0;
    margin-top: 0;
    padding-left: 50px;
}


.timeIn,
.timeOut,
.hours,
.employee,
.foreman,
.break {
    display: none;
}



@media (max-width: 780px) {
    thead {
        display: none;
    }

    .job {
        display: none;
    }

    #timeIn,
    #timeOut,
    #hours {
        max-width: 200px;
        text-align: left;
    }

    .days {
        background-color: #d8871d;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-weight: bolder;
        font-size: medium;
    }

    .btn {
        max-width: 150px;
        text-align: center;
        justify-content: center;
        padding-bottom: 50px;
        max-height: 30px;
        display: block;
        width: 100%;
        margin-bottom: 400px;
    }

    .break,
    .timeIn,
    .timeOut,
    .days,
    .hours,
    .employee,
    .foreman {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-weight: bolder;
        font-size: medium;
    }

    .flex-row {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .wrapper {
        border: 1px solid #4b00ff;
        border-right: 1;

    }

    canvas#signature-pad {
        background: #fff;
        width: 100%;
        height: 100%;
        cursor: crosshair;
        display: flex;
        justify-content: center;
        align-items: center;

    }

    button#clear {
        height: 90%;
        background: rgba(90, 116, 144, .9);
        border: 3px solid rgb(90, 116, 144);
        color: #fff;
        font-weight: 600;
        cursor: pointer;

    }

    button#clear span {
        transform: rotate(90deg);
        display: flex;
        height: 40px;
        width: 30px;

    }

    .clear-btn {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header {
        display: inline-block;
        max-width: 250px;
        padding-top: 0;
        padding-left: 30%;
        position: relative;
        margin-bottom: 20%;
        padding-bottom: 0;
        justify-content: space-evenly;
    }

    .center {
        max-width: 250px;
        padding-top: 0;
        padding-left: 30%;
        position: relative;
        margin-bottom: 15%;
        padding-bottom: 0;
    }

    /* #timeIn {
        max-width: 250px;
        position: relative;
    } */

    .table,
    tbody,
    tr,
    td,
    input,
    #timeIn,
    #timeOut,
    #hours {
        display: block;
        width: 100%;
    }

    tr {
        margin-bottom: 50px;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 30%;
        text-align: left;
        padding: 10px 0 10px 10px;
        font-weight: bold;
    }


    td {
        padding: 1%;
        padding-left: 0;
        position: relative;
        background: rgb(90, 116, 144);
        color: #ffffff;
    }

    td span {
        display: block;
        width: 100%;
        padding: 15px;
        background: #ffffff;
        color: #000000;
    }

    thead::before {
        display: block;
        position: absolute;
        left: 0;
        width: 30%;
        text-align: left;
        padding: 10px 0 10px 10px;
        font-weight: bold;
        content: hours;
    }

    #hours::after {
        content: hours;
        display: table;
    }

    .btn {
        display: block;
        margin-left: auto;
        margin-right: auto;
        height: 100%;
        background: rgba(90, 116, 144, .9);
        border: 1px solid transparent;
        color: #fff;
        font-weight: 600;
        cursor: pointer;
        font-size: 20px;
        font-weight: 900;
        border: 3px solid rgb(90, 116, 144);
    }

    .num,
    .emp,
    .fore {
        width: 96%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;

    }

    /* 
    #timeIn::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 30%;
        text-align: left;
        padding: 10px 0 10px 10px;
        font-weight: bold;
    } */

}