body {
    font-family: Ysabeau, sans-serif;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    background-color: #f0f0f0;
    padding-left: 15px;
    padding-right: 15px;
}
.title {
    margin: 0 auto;
    font-size: 48px;
    font-weight: 400;
    padding-bottom: 10px;
}
.header {
    padding:10px;
    border: 1px solid lightgrey;
    margin-bottom: 10px;
}
h1 { 
    text-align: center;
    margin-block-start: 0.1em;
    margin-block-end: 0.1em;
    margin: 0 auto;
}
p {
    font-size: 20px;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 0;
}
.gameDetails {
    margin: 0 auto;
    text-align: center;
}
.gamePlayTable {
    width: 100%;
    text-align: center;
    table-layout: fixed;
}
.gamePlayTable td {
    word-wrap: break-word;
    padding: 5px;
}
.formStyle { 
    text-align: center;
    display: inline-block;
    width: 100%;
    margin: 0;
    justify-content: center;
    
}
/*
.formStyle > button {
    height: 30px;
    width: 75%;
    margin-bottom: 10px;
    text-align: center;
    font-size: 20px;
    font-family: Ysabeau, sans-serif;
    border: 1px solid black;
}*/
.multiSingle {
    padding-bottom: 10px;
}
.startButtonContainer {
    display: inline-block;
    margin: 0 auto;
    width: 100%;
}
.playerNameInput, .startButton {
    height: 30px;
    width: 75%;
    margin-bottom: 10px;
    text-align: center;
    font-size: 20px;
    font-family: Ysabeau, sans-serif;
    border: 1px solid black; 
    display: inline-block;
}

.game-container {
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 660px;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.options {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
}

.score-board {
    display: flex;
    justify-content: space-around;
    background-color: rgb(5, 117, 170);
    color: white;
    font-weight: 400;
    border-bottom: 1px solid white;
}

.status-message {
    text-align: center;
    font: bold;
}

.game-board {
    margin-top: 10px;
    margin: 0 auto;
}

.card {
    width: 100px;
    height: 100px;
    background-color: #ccc;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
}

#game-over {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .hidden {
    display: none;
  }
  
  .toggle-settings {
    display: block;
    background-color: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    outline: none;
    margin: 0 auto;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48
}

#gameDetails {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  #gameDetails.open {
    max-height: 250px; /* Set this value to a height that can accommodate the game settings content */
  }

  @media screen and (max-width: 767px) {
    .mobile-optimized {
        /* width: 100%; Remove this line */
        max-width: 100%; /* Add this line */
    }
}
  
  @media screen and (max-width: 767px) {
    .mobile-optimized {
      display: block;
    }
    body
    {
        padding: 0;
        margin: 0;
    }
    .game-board {
        margin: 0 auto;
        display: block;
    }
    .formStyle > input, button {
        height: 30px;
        width: 90%;
        margin-bottom: 10px;
        text-align: center;
        font-size: 20px;
    }

  }
