#title {
  text-align: center;
/*   color: #2800ff; */
  font-style: normal;
  font-weight: bold;
  font-size: 20px; /* Change this line */
  line-height: 105%;
  margin: 2rem 0 1rem;
}
#container {
  padding: 0px 20px 20px 20px;
}
#userInput {
  border: 1px solid #cccccc;
  padding: 20px;
  margin-bottom: 20px;
  background-color: #e6e6ff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.input-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}
.input-group label {
  flex: 0 0 300px;
  font-weight: bold;
  margin-top: 5px;
}

#saveButton {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

#saveButton:hover {
  background-color: var(--color-bg);
}

#saveButton:active {
  background-color: #ccc;
  transform: translateY(1px);
  box-shadow: none;
}


/* Dropdown styling */
.input-group select {
  margin-top: 5px;
  padding: 5px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
  color: #333;
  width: 30%;
  box-sizing: border-box;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.checkbox-group label {
  margin-right: 10px;
  margin-top: 5px;
}
.input-group select,
.input-group input[type="checkbox"] {
  margin-top: 5px;
}
.description {
  grid-column: 2 / 3;
  margin-top: 5px;
  max-width: 600px; /* limit width of text area */
  word-wrap: break-word; /* ensure text wraps */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  #userInput {
    grid-template-columns: 1fr;
  }
  .description {
    grid-column: 1 / 2;
    margin-top: 10px;
    max-width: 100%; /* make the text area take full width on small screens */
  }
  .input-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .input-group label {
    margin-top: 0;
  }
}

#debug {
  opacity: 0;
  transition: opacity 1s;
  animation: fadeIn 1s ease-in-out 3s forwards; /* Delay of 3 seconds */
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/******************************************************************************
START Glitch hello-app default styles

The styles in this section do some minimal CSS resets, set default fonts and 
colors, and handle the layout for our footer and "Remix on Glitch" button. If
you're new to CSS they may seem a little complicated, but you can scroll down
to this section's matching END comment to see page-specific styles.
******************************************************************************/
/* Our default values set as CSS variables */
:root {
  --color-bg: #bdc9ff;
  --color-text-main: #000000;
  --color-primary: #afece0;
  --wrapper-height: 87vh;
  --image-max-width: 300px;
  --image-margin: 3rem;
  --font-family: "HK Grotesk";
  --font-family-header: "HK Grotesk";
}

/* Basic page style resets */
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}

/* Import fonts */
@font-face {
  font-family: HK Grotesk;
  src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Regular.otf?v=1603136326027")
    format("opentype");
}
@font-face {
  font-family: HK Grotesk;
  font-weight: bold;
  src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Bold.otf?v=1603136323437")
    format("opentype");
}

/* Our remix on glitch button */
.btn--remix {
  font-family: HK Grotesk;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  line-height: 1rem;
  font-weight: 500;
  height: 2.75rem;
  align-items: center;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #000000;
  box-sizing: border-box;
  border-radius: 4px;
  text-decoration: none;
  color: #000;
  white-space: nowrap;
  margin-left: auto;
}
.btn--remix img {
  margin-right: 0.5rem;
}
.btn--remix:hover {
  background-color: #d0fff1;
}

/* Navigation grid */
.footer {
  display: flex;
  justify-content: space-between;
  margin: 1rem auto 0;
  padding: 1rem 0 0.75rem 0;
  width: 100%;
  flex-wrap: wrap;
  border-top: 4px solid #fff;
}

.footer a:not(.btn--remix):link,
a:not(.btn--remix):visited {
  font-family: HK Grotesk;
  font-style: normal;
  font-weight: normal;
  font-size: 1.1rem;
  color: #000;
  text-decoration: none;
  border-style: none;
}
.footer a:hover {
  background: var(--color-primary);
}

.footer .links {
  padding: 0.5rem 1rem 1.5rem;
  white-space: nowrap;
}

.divider {
  padding: 0 1rem;
}
/******************************************************************************
END Glitch hello-app default styles
******************************************************************************/

body {
  font-family: HK Grotesk;
  background-color: var(--color-bg);
  font-size: 90%;
}

/* Page structure */
.wrapper {
  min-height: var(--wrapper-height);
  display: grid;
  place-items: center;
  margin: 0 1rem;
}
.content {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: left;
}

p {
  font-size: 1.25rem;
}

/* Title h1 style */
.title {
  color: #2800ff;
  font-family: HK Grotesk;
  font-style: normal;
  font-weight: bold;
  font-size: 100px;
  line-height: 105%;
  margin: 2rem 0 0;
}

/* Very light scaling for our illustration */
.illo-container {
  display: flex;
  justify-content: flex-end;
}
.illustration {
  max-width: 100%;
  max-height: 150px;
  margin-top: 1rem;
}

/* Styles for our custom color form and its results */
.color-info {
  margin-left: 5px;
}
.color-search {
  margin-top: 3rem;
}
.color-form {
  width: 90%;
  max-width: 500px;
  margin-left: 5px;
}
.color-form a:not(.btn--remix) {
  font-weight: bold;
  color: var(--color-text-main);
  margin-top: 8px;
}
.color-form button {
  margin-top: 8px;
}
.color-form button:hover {
  cursor: pointer;
  box-shadow: -8px 4px 20px #9be7d8;
}
form {
  margin: 0.75rem 0;
}
button,
input {
  font-family: inherit;
  font-size: 100%;
  background: #ffffff;
  border: 1px solid #000000;
  box-sizing: border-box;
  border-radius: 4px;
  padding: 0.5rem 1rem;
}
label {
  color: #000000;
  font-weight: bold;
}

/* Instructions */
.instructions {
  margin: 1rem auto 0;
}
.instructions p {
  font-size: 1rem;
}
h2 {
  color: #2800ff;
}
