@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-SemiBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    height: 100%;
    background-color: #f8f9fd;
}

h1 {
    color: rgb(50, 50, 50);
    font-size: 2rem;
    display: inline-block;
    padding-top: 0.25rem;
}

header {
    display: flex;
}

header img {
    width: 2.5rem;
    margin-right: 0.5rem;
    /* fill: aqua; */
}

span.numero {
    font-weight: bold;
    margin-right: 1.125rem;
    font-size: 1.125rem;
}

main {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: auto;
}

.task-add {
    height: 3rem;
    display: flex;
    margin-bottom: 1rem;
}

.task-add input[type="text"] {
    flex-grow: 1;
    padding-left: 1rem;
    font-size: 0.9rem;
    border: 1px solid rgb(123 123 123);
    border-radius: 8px;
}

.task-add input:focus {
    outline: 0;
}

button.add {
    margin-left: 1rem;
    margin-right: 0.25rem;
    padding: 0rem 1.5rem;
    background-color: rgb(123 123 123);
    border: 0;
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

button.add {
    transition: filter 0.3s;
}

button.add:hover {
    filter: opacity(0.5);
}

.delete img {
    transition: filter 0.3s;
}

button.delete {
    border: 0;
    background: transparent;
}

button.delete:hover {
    cursor: pointer;
}

button.delete:hover img {
    filter: opacity(0.5);
}

.styled-table {
    border-spacing: 0;
    box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.15);
    border-collapse: collapse; 
    border-radius: 8px;
}

.styled-table thead th {
    text-align: left;
}

.styled-table tbody td:last-child {
    text-align: right;
}

.styled-table tbody td:last-child {
    text-align: right;
}

.styled-table tbody tr:last-child {
    border: 0;
}

/* https://preview.colorlib.com/theme/bootstrap/table-01/ */
.styled-table {
  width: 100%;
  background: #fff;
  row-gap: 1rem;
  }
  .styled-table thead{
    background: rgb(123 123 123);
    }
  .styled-table thead th {
    border: none;
    padding: 20px 30px;
    font-size: 14px;
    color: #fff; }
  .styled-table tbody tr {
    margin-bottom: 10px;
    border: none;
    border-bottom: 3px solid #f8f9fd;
}
  .styled-table tbody th, .styled-table tbody td {
    padding: 20px 30px;
    font-size: 14px; }
