/* default css file */
* {
  box-sizing: border-box;
}  
  
body {
  margin: 0; /* Corrected 'margins' to 'margin' */
  padding: 0;
  background-color: green;
}

.wrapper {
  width: fit-content;
  /* Fallback for Firefox */
  @supports (-moz-appearance: none) {
    width: -moz-fit-content;
  }
  float: left;
  margin-left: 5px;
}
  
.grid-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
  grid-auto-rows: minmax(50px, auto);
  max-width: 940px;
  margin: 0 auto;
  margin-bottom: 1em;
}

.grid-container > div {
  /* Fallback for Firefox */
  @supports (-moz-appearance: none) {
    width: -moz-fit-content;
  }
  width: fit-content;
  border: 2px solid greenyellow;
  border-radius: 10px;
  background-color: yellow;
  padding: 1em;
  color: black;
}

.item1 {
  grid-column: 1;
  grid-row: 1;
}

.item2 {
  grid-column: 1;
  grid-row: 2 / 3;
}

.item3 {
  grid-column: 1;
  grid-row: 3;
}

/* STYLE THE BUTTONS FOR SOUNDS */
/* Ensure custom styling overrides native button styles */
.btn-group button {
  -webkit-appearance: none; /* Disable native styling on WebKit-based browsers */
  appearance: none;
  width: fit-content;
  background-color: #04AA6D; /* Green background */
  border: 1px solid green;
  border-radius: 10px;
  padding: 10px 24px;
  margin-bottom: 3px;
  cursor: pointer;
  display: block;
  color: #000; /* Force text color to black */
}

/* Maintain black text on interactive states */
.btn-group button:hover,
.btn-group button:active,
.btn-group button:focus {
  color: #000;
}


.btn-group button:last-child {
  border-bottom: none; /* Prevent double borders */
  margin-bottom: 0px;
   color: #000;
}

/* Add a background color on hover */
.btn-group button:hover {
  background-color: #3e8e41;
}

/* Uniform button font */
button, .text_box {
  font-family: Roboto, Arial, sans-serif; /* Ensure compatibility */
  font-size: 14px; /* Set desired font size */
  font-weight: normal; /* Set font weight if needed */
}

/* Flex container for button and selector */
.header-container {
  display: flex;
  align-items: center;
  padding: 10px;
}

select {
  width: 100%; /* Ensure select also takes up the full width of its parent */
}

/* Common styling for button and selector */
.styled-button {
  width: auto;
  background-color: greenyellow;
  border: 3px solid #000;
  border-radius: 10px;
  padding: 3px 5px;
  font-size: 1em;
  color: #000;
  cursor: pointer;
}

/* Space between button and selector */
#categoryDropdown {
  margin-left: 20px;
  padding: 3px 5px;
  font-size: 1em;
}

