body {
    background-color: green;
}

#game-board {
    display: flex;
    flex-direction: row;
    gap: 5px;
    padding-left: 2px;
}

@media (max-width: 900px){
    #game-board{
        flex-direction:column;
        
    }
}

@media(max-width: 600px){
    #game-board{
        flex-direction:column;
        
    }
}

#actualgame-board{
  display:flex; 
  flex-direction:column;
  gap:5px;
  padding-right : 20px;
  height: 605px;
}
#Leaderboard {
  display: flex;
  flex-direction: column; 
  gap:5px;
  width: 400px;
  height: 550px;
  margin: auto;
  min-width: 200px;
  background-color: #006600;
  border-radius: 10px;
  border: 2px solid black;
  padding-bottom: 1px;
}

#lbcontent{
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin-left: 50px;
  color: white;
}

.lbstanding{
  margin-left: 20%;
}

#timerbesttimecontainer{
    margin-left: auto;
    display: flex;
    flex-direction: row;
}


#timerandmoves {
  width: 100px;
  height: 50px;
  background-color: white;
  align-items: center;
  justify-content: center;
  display: flex;
  margin-right: 0px;
  margin-left: auto;
  flex-direction: column;
  border: 2px solid black;
  border-radius: 5px;
}
#topbuttons {
  display: flex;
  flex-direction: row;
  max-width: 734px;
  gap: 2px;

}

#moveslabel{
  display:none;
}
#moves{
  display:none;
}
#besttimecontainer {
  width: 100px;
  height: 50px;
  background-color: white;
  align-items: center;
  justify-content: center;
  display: flex;
  margin-left: auto;
  flex-direction: column;
  border: 2px solid black;
  border-radius: 5px;
}
.toprow {
  display: flex;
  flex-direction: column;
}
.bottomrow {
  display: flex;
  flex-direction: column;
}
#moves{
  text-align: center;
}
#win {
  height: 400px;
  width: 400px;
  align-items: center;
  background-color: white;
  display: none;
  flex-direction: column;
  position: absolute;
  top: 250px;
  left: 200px;
  justify-content: center;
  border: 20px solid purple;
  border-radius: 5px;
  font-size: 40px;
  z-index: 5000;
}
#newhs {
    margin-bottom: auto;
    margin-top: 5px;
    font-size: 25px;
    color: white;
}

#winbuttons {
    display: flex; 
    flex-direction: row;
    margin-top: auto;
    margin-bottom: 5px;
    width: 400px;
}
.line {
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.topbutton {
  width: 100px;
  height: 50px;
  align-items: center;
  justify-content: center;
  display: flex;
  border: 3px solid black;
  border-radius: 10px;
  background-color: yellow;
  position: relative;
  margin-left: 3px;
}

#justbuttons {
    display: flex;
    flex-direction: row;
    
}

#restartcg {
    background-color: yellow;
}

#undo {
    background-color: orange;
}

#restart {
  
  background-color: teal;
  
}

h1 {
  text-align: center;
}
h2{
  text-align: center;
}

.card {
    width: 100px;
    height: 140px;
    background-color: white;
    border-radius: 8px;
    text-align: center;
    position: absolute;
    border: 2px solid black;
    background-image: url("Images/back.png");
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: left 0.01s ease, top 0.01s ease;
}

.deck-pile{
  width: 100px;
  height: 140px;
  background-color: yellow;
  border-radius: 8px;
  position: relative;
  left: 0px;
  top: 0px;
}
.discard{
  width: 100px;
  height: 140px;
  background-color: grey;
  border-radius: 8px;
  border: 2px solid black;
  display: flex;
  position: relative;
}
.emptyspace{
  width: 98px;
  height: 140px;
  position: relative;
}

.defaultpiles{
  gap: 5px;
  display: flex;
  position: relative;
  
}

.acespotc{
  gap: 5px;
  display: flex;
  flex-direction: row;
  position: relative;
  
}

.acespot{
  width: 100px;
  height: 140px;
  background-color: #006600;
  border-radius: 8px;
  display: flex;
  position: relative;

  
}

.pile{
  width: 100px;
  height: 140px;
  background-color: #006600;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  position: relative;
  

}
#winnameboxcontainer {
    width: 400px;
    height: 200px;
    background-color: lightgray;
    display: none;
    flex-direction: column;
    position: absolute;
    border: 2px solid black;
    border-radius: 5px;
    top: 150px;
    left: 150px;
    z-index: 5001;
}
#nametextandsubmit {
    display: flex;
    flex-direction: row;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1px;
    padding-right: 1px;
}
#winnametop {
    margin-top : auto;
    margin-bottom: auto;
    text-align: center;
    
}