@import url(https://fonts.googleapis.com/css?family=Space+Mono:regular,italic,700,700italic);
@import url(https://fonts.googleapis.com/css?family=Bitcount+Single+Ink:100,200,300,regular,500,600,700,800,900);
@import url(https://fonts.googleapis.com/css?family=Press+Start+2P:regular);
@import url(https://fonts.googleapis.com/css?family=Ultra:regular);
@import url(https://fonts.googleapis.com/css?family=DM+Mono:300,300italic,regular,italic,500,500italic);
*{
    padding: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family:sans-serif;
    background-color: #cf8351;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin-top: -100px;
}

.container{
    text-align: center;
    width: 100%;
    padding: 0.9rem;
}
h1{
    font-family: 'Press Start 2P',Regular ;
    color: #2a0909;
    margin-bottom: 20px;
    font-size: 2rem;
}
.board{
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}
.card p{
    font-family: 'Space Mono', monospace;
    font-weight: bold;
    color:black;
}
.list{
    background-color: #96474d ;
    /*for fiting 2 cards in the category*/
    display: flex;
    flex-wrap: wrap;/*  cards  wrap onto a new line */
    align-content: flex-start;/* cards aligned at the top */
    gap: 15px;/*between diffrence card*/
    justify-content: center;/*to center the cards*/
    padding: 1rem;
    border-radius: 8px;
    width: 30%;
    min-height: 500px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.list h2{

  color:#2a0909;
  font-family: 'Space Mono', monospace;
  margin-bottom: 1rem;
  font-size:1.5rem;
  width: 100%;
}
#usersTable{
    margin-left: 150px;
}
.card{
    background-color: #d4ab5e;
    padding: 1rem;
    width: calc(50% - 7.5px);
    margin-bottom: 0px;
    border-radius: 8px;
    cursor:grab;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: transform 0.3s,box-shadow 0.2s;
}
.time{
    background-color: #7f3d43;
    border: #8d5028;
    border-radius: 12px;
    margin-top: 20px;
    margin-right: 100px;
    width: 200px;
    height: 120px;
}
.card:active{
    cursor:grabbing;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.list.over{
    background-color: #7a3b3f ;
}

#lastTime{
    font-family: 'Press Start 2P',Regular ;
    color: #2a0909;
    margin-bottom: 20px;
    font-size: 15px;
}
#timeDisplayed{
    font-family: 'Ultra',Regular ;
    color: #2a0909;
    margin-bottom: 20px;
    font-size: 18px;
}
table,th,td{
    border: 2px solid #651e23;
    background-color: #c4966d;
    border-collapse: collapse;
    font-family: 'DM Mono',normal   ;
    color:rgb(30, 28, 25);
}
th,td {
    padding: 5px;
    text-align: left;
}
/*drop down button*/
.dropbtn {
  background-color: #d16459;
  color: #37231a;
  padding: 16px;
  font-family: 'Press Start 2P',Regular ;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropbtn:hover, .dropbtn:focus {
  background-color: #9d4b42;
}

.dropdown { 
  position: relative;
  
  display: inline-block;
}
.tabelTitle{
    font-family:'DM Mono',normal;
    font-size: 30px;
    color: rgb(30, 28, 25);
}
.dropdown-content {

  margin-top: 15px;
  display: none;
  position: absolute;
  background-color: #d16459;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  font-family:'DM Mono',normal;
  font-size: 18px;
  color: rgb(30, 28, 25);
  padding: 6px 8px;
  text-decoration: none;
  display: block;
}

.container2 {
    display:flow-root;
    align-items: center;
    margin-top: 20px;
}
.dropdown a:hover {background-color: #9d4b42;}

.show {display: block;}


@media (max-width: 768px) {
    .board{
        flex-direction: column;
        align-items: center;
    }
    .list{
        width: 80%;
        margin-bottom: 20px;
    }
}