
.header {
  background-color: #ae0000;
  color: white;
  font-size: 1.5em;
  padding: 1rem;
  text-align: center;
  text-transform: uppercase;
}

table img {
  border-radius: 50%;
  height: 60px;
  width: 60px;
}

.table-users {
  border: 1px solid #000;
  border-radius: 10px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
  max-width: calc(100% - 2em);
  margin: 1em auto;
  overflow: hidden;
  width: 960px;
 
}

table {
  width: 100%; 
    font-size: 13px; 
  

}
table td, table th {
  color: #000;
  padding: 6px;
     font-size: 13px; 
     
}



table td {
  text-align: center;
  vertical-align: middle;
   font-size: 13px; 
   
}


table tr th {
  text-align: center;
  vertical-align: middle;
   font-size: 13px; 
   font-weight: bold;  
}

table td a {
  color: #fff;
    margin-right: 77px;
   
}
table td a:hover {
  color: #fff;
   
}


table td:last-child {
  font-size: 0.95em;
  line-height: 1.4;

}
table th {
  background-color: #ffd1a9;
  font-weight: 300;
}
table tr:nth-child(2n) {
  background-color: white;
     
}
table tr:nth-child(2n+1) {
  background-color: #ffd1a9;
}

@media screen and (max-width:960px) {
  table, tr, td {
    display: block; box-sizing: border-box;
  }


  td:first-child {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 100px;
  }
  td:not(:first-child) {
    clear: both;
    margin-left: 100px;
    padding: 4px 20px 4px 90px;
    position: relative;
    text-align: left;
  }
  td:not(:first-child):before {
    color: #ae0000;
    content: '';
    display: block;
    left: 0;
    position: absolute;
  }
  td:nth-child(2):before {
    content: 'Nombre:';
  }
  td:nth-child(3):before {
    content: 'Email:';
  }
  td:nth-child(4):before {
    content: 'Cédula:';
  }
  td:nth-child(5):before {
    content: 'Cargo:';
  }

  tr {
    padding: 10px 0;
    position: relative;
  }
  tr:first-child {
    display: none;
  }
}
@media screen and (max-width: 500px) {
  .header {
    
    color: white;
    font-size: 2em;
    font-weight: 700;
    padding: 0;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
  }

 table img {
    border: 3px solid;
    border-color: rgb(130, 14, 7);
    height: 100px;
    margin: 0.5rem 0;
    width: 100px;
  }

  td:first-child {
    background-color: #ae0000;
    border-bottom: 1px solid #ae0000;
    border-radius: 10px 10px 0 0;
    position: relative;
    top: 0;
    -webkit-transform: translateY(0);
            transform: translateY(0);
    width: 100%;
  }
  td:not(:first-child) {
    margin: 0;
    padding: 5px 1em;
    width: 100%;
  }
  td:not(:first-child):before {
    font-size: .8em;
    padding-top: 0.3em;
    position: relative;
  }
  td:last-child {
    padding-bottom: 1rem !important;
  }

  tr {
    background-color: white !important;
    border: 1px solid #ae0000;
    border-radius: 10px;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
    padding: 0;
  }

  .table-users {
    border: none;
    box-shadow: none;
    overflow: visible;
  }
}
