/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #121212;
  color: #E0E0E0;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  font-size: 16px;
  padding: 20px;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: #BB86FC;
  font-weight: bold;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

/* Paragraphs */
p {
  margin-bottom: 20px;
}

/* Links */
a {
  color: #03DAC6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Basic layout */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #1E1E1E;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Buttons */
input[type="submit"],
button {
  background-color: #BB86FC;
  color: #121212;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 20px;
}

input[type="submit"]:hover,
button:hover {
  background-color: #3700B3;
}

/* Code blocks */
code {
  background-color: #272727;
  color: #E0E0E0;
  padding: 2px 4px;
  border-radius: 4px;
}

/* Lists */
ul, ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

/* Forms */
input, textarea {
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #333;
  border-radius: 4px;
  background-color: #1E1E1E;
  color: #E0E0E0;
}

input::placeholder, textarea::placeholder {
  color: #888;
}

textarea {
  resize: vertical;
}

label {
  margin-bottom: 10px;
  font-weight: bold;
  color: #BB86FC;
}

/* Footer */
footer {
  margin-top: 40px;
  text-align: center;
  color: #888;

  font-size: smaller;

  form {
    display: inline-block;
  }

  button {
    background-color: #705B8A;

    font-size: smaller;

    margin: 1px;
    padding: 1px 4px;
  }
}

.new_response {
  .responses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));;
    gap: 10px;
  }

  .Response {
    input[type=radio] {
      display: none;
    }

    input[type=radio]:checked + label {
      background-color: #553b76;
      color: black;
    }

    label {
      display: inline-block;
      padding: 10px;
      border: 1px solid #bb86fc;
      border-radius: 5px;
      cursor: pointer;

      width: 100%;
      height: 100%;
      line-height: 18px;
      text-align: center;
    }

    width: 40px;
    height: 40px;
  }
}

.responses table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;

  margin-top: 30px;

  td {
    width: 20%;
    padding: 10px;
    border-bottom: 1px solid #333;
  }
}

.whats-this {
  font-size: smaller;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

