:root {
  --light-bg: #f0f0f0;
  --light-bg-alt: #fcfcfc;
  --light-txt: #fafafa;
  --dark: #2e2e2e;
  --accent: #30a2ff;
  --light-gray: #bebebe;
  --lighter-gray: #d3d3d3;
  --error: #ff5166;
  --placeholder: #a3a3a3;
  --accent-dark: #2F5574;
}

* {
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100vh;
  width: 100%;
  overflow-y: hidden;
  background: var(--light-bg)
}


#title {
  font-weight: normal;
  color: var(--dark);
  font-size: 3em;
  text-align: center;
}

#loading-bar-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  z-index: 99;
}

#loading-bar {
  background-color: var(--accent);
  height: 100%;
  width: 0%;
  transition: 0.3s all;
}

#view-class-sec {
  padding: 0;
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: calc(50% - 15px) calc(50% - 15px);
  margin: 30px;
  grid-gap: 30px;
}

#information-panel {
  grid-area: 1/1/2/2;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

#groups-panel {
  grid-area: 2/1/3/2;
  display: grid;
  grid-template-rows: 100px auto;
}

#create-group {
  padding: 10px 40px;
  background-color: var(--accent);
  color: var(--light-bg-alt);
}

#create-group-container {
  grid-area: 1/1/2/2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#preferences-panel {
  grid-area: 1/2/3/3;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 5em 1fr 3em 3em;
  grid-gap: 12px;
  align-content: center;
}

#preferences-title {
  text-align: center;
}

#preferences-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow-y: auto;
}

#app {
  width: 100%;
  opacity: 0;
  height: 100vh;
  transition: 0.3s all;
  visibility: hidden;
  display: grid;
  grid-template-columns: 300px auto;
  grid-template-rows: 75px 50px auto;
}

#app.visible {
  visibility: unset;
  opacity: 1;
  transition: visibility 0s 0s, opacity 0.3s 0s;
  background-color: var(--light-bg);
}

#login-container {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  width: 80%;
  height: 100vh;
  opacity: 0;
  transition: 0.3s all;
}

#login-container.visible {
  visibility: unset;
  opacity: 1;
  transition: visibility 0s 0s, opacity 0.3s 0s;
  background-color: var(--light-bg);
}

#spinner {
  height: 300px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

#logo {
  height: 125px;
}

#app-spinner {
  height: 250px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#profile-detail {
  background: var(--accent);
  grid-area: 1 / 1 / 3 /  2;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: 64px auto;
}

#username {
  justify-self: center;
  align-self: center;
  margin: 0;
  color: var(--light-bg-alt);
  font-weight: 500;
  grid-area: 1 / 1 / 2 / 1;
}

#signout {
  justify-self : center;
  align-self: flex-start;
  grid-area: 2 / 1 / 3 /1;
  width: 50%;
}

#header {
  background-color: var(--dark);
  grid-area: 1 / 2 / 2 / 4;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
}

#sidebar {
  grid-area: 3 / 1 / 4 / 2;
  background-color: var(--light-bg-alt);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow-y: auto;
}

.button {
  background-color: transparent;
  border: var(--accent) 3px solid;
  color: var(--dark);
  cursor: pointer;
  text-align: center;
  border-radius: 8px;
  font-size: 1.3em;
  padding: 5px 0px;
  outline: none;
}

.button.dark {
  border: var(--light-bg-alt) 3px solid;
  color: var(--light-bg-alt);
}

#class-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 12px 0;
}


#add-class {
  width: 70%;
  justify-self: center;
  margin-bottom: 20px;
}

.class {
  width: 90%;
  justify-self: center;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 6px 10px 6px 18px;
  cursor: pointer;
  background-color: var(--light-bg);
  transition: 0.3s;
  user-select: none;
  transform-origin: top;
  overflow-y: hidden;
}

.class.selected {
  background-color: var(--accent)
}

#dashboard {
  grid-area: 2 / 2 / 4 / 4;
  position: relative;
}

.class-name {
  margin: 0 0 0 16px;
  font-size: 1.3em;
  color: var(--dark);
}

.class-arrow {
  display: inline-block;
  padding: 6px;
  border-width: 0 3px 3px 0;
  border-style: solid;
  transform: rotate(-45deg) translate(-3px, -3px);
  -webkit-transform: rotate(-45deg) translate(-3px, -3px);
  background-color: var(--light-bg);
  border-color: var(--accent);
  transition: 0.3s all;
}

.class.selected > .class-name {
  color: var(--light-bg-alt)
}

.class.selected > .class-arrow {
  transform: rotate(-45deg) translate(0px, 0px);
  background-color: var(--accent);
  border-color: var(--light-bg-alt);
} 

.error {
  background-color: var(--error);
  position: absolute;
  top: 0px;
  left: 50%;
  border-radius: 8px;
  color: white;
  margin: 0;
  font-size: 1.4em;
  padding: 6px 12px;
  text-align: center;
  transition: 0.6s cubic-bezier(.76,-0.47,.24,1.47);
  z-index: 100;
  transform: translate(calc(-50% + 175px), -100%);
  box-shadow: 0 0 10px var(--dark);
  max-width: 100%;
}

.abcRioButtonIcon {
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
}

.abcRioButton.abcRioButtonBlue {
  border-radius: 8px;
}

.hidden {
  height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  opacity: 0 !important;
  border-width: 0 !important;
}

.hidden > * {
  transition: 0.3s all;
  opacity: 0 !important;
}

.section {
  height: 100%;
  width: 100%;
  background-color: var(--light-bg);
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s all;
  padding: 50px 25px;
}

.section.visible {
  visibility: unset;
  opacity: 1;
  transition: visibility 0s 0s, opacity 0.3s 0s;
}

#welcome {
  font-weight: normal;
  font-size: 4em;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--dark);
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
  background-color: var(--light-bg-alt);
  border-radius: 16px;
  padding: 40px;
  transition: 0.3s all;
  opacity: 0;
  visibility: hidden;
}

.modal.visible {
  visibility: unset;
  opacity: 1;
  transition: visibility 0s 0s, opacity 0.3s 0s;
}

.modal-blind {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;;
  width: 100%;
  background-color: black;
  z-index: 98;
  cursor: pointer;
  transition: 0.3s all;
  opacity: 0;
  visibility: hidden;
}

.modal-blind.visible {
  visibility: unset;
  opacity: 0.7;
  transition: visibility 0s 0s, opacity 0.3s 0s;
}

.modal-close {
  font-size: 1.5em;
  color: var(--dark);
  cursor: pointer;
  position: absolute;
  transform: translate(50%, -50%);
  top: 25px;
  right: 25px;
}

.fa-times {
  padding: 0 10px;
}

.modal.large {
  width: 800px;
  height: 500px;
}

.modal.medium {
  width: 600px;
  height: 375px;
}

.modal.small {
  width: 400px;
  height: 250px;
}

.select-term-modal {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}


.select-term-modal > button {
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 45%;
  height: 100%;
  padding: 16px;
  font-size: 2em;
  font-weight: 500;
}

.add-class-modal > button {
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 45%;
  height: 100%;
  padding: 16px;
}

.add-class-modal > button > i {
  color: var(--light-gray);
  transition: 0.3s all;
}

.add-class-modal > button:hover > i {
  color: var(--accent);
}

.add-class-modal {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

#welcome-sec > h1 {
  color: var(--dark);
  
}

.input {
  background-color: var(--light-bg-alt);
  border: var(--dark) 2px solid;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
  border-radius: 8px;
  font-size: 1.5em;
  padding: 8px 12px;
  transition: 0.3s all;
  outline: none;
}

.input:focus {
  border: var(--accent) 2px solid;
}

label {
  position: relative
}

label > span {
  position: absolute;
  padding: 0 5px;
  left: 12px;
  background-color: var(--light-bg-alt);
  top: -8px;
  border-radius: 20px;
  font-size: 1.5em;
  transition: 0.2s all;
  pointer-events: none;
  color: var(--placeholder);
}

.input:focus + span, .input:valid + span {
  transform: scale(0.75) translate(-9px, -32px);
  color: var(--dark);
}

#class-info-inputs > label > input {
  margin: 0 5px 12px 5px;
}

#class-name-input {
  width: 350px;
}

#period-input {
  width: 150px;
}

h1.large {
  font-size: 3em;
}

h1.medium {
  font-size: 2em;
  padding: 10px 0px 0px 18px;
}

h1 {
  color: var(--dark);
}

#status-title {
  margin: 0;
  padding: 4px 0px 0px 18px;
  color:white;
}

#edit-class-sec {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: auto;
}

#add-student {
  padding: 5px 20px;
}

.student-info-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--light-gray);
  flex-wrap: wrap;
  transition: 0.3s all;
}

.student-info-container > * {
  padding-left: 10px;
  padding-bottom: 12px;
}

.first-name-input, .last-name-input {
  width: 250px;
}

.middle-initial-input {
  width: 200px;
}

.student-id-input {
  width: 175px;
}

.email-input {
  width: 325px;
}

.remove-student {
  cursor: pointer
}

.student-info-container > label > span {
  top: 10px;
  left: 18px;
}

.sizeholder {
  height: 0;
  overflow-y: hidden;
  margin: 0;
  border: 0;
}

.invalid {
  border-color: var(--error) !important;
}

#edit-actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
}

#edit-actions button {
  font-size: 1.5em;
  padding: 5px 30px;
  margin: 0 10px;
}

.panel {
  border: 1px solid var(--lighter-gray);
  padding: 40px;
  background-color: var(--light-bg-alt);
  border-radius: 20px;
}

#information-panel > p {
  font-size: 1.7em;
  margin: 0;
  text-align: center;
}

#class-actions > button {
  width: auto;
  color: var(--light-bg-alt);
  padding: 12px 16px;
  background-color: var(--accent);
  margin: 0 12px;
  font-size: 2em;
}

#class-actions {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#info-panel-class {
  margin: 0;
  text-align: center;
}

#edit-group-sec {
  padding: 0;
  display: grid;
  grid-template-columns: auto 300px;
}

#group-scatter {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  grid-area: 1 / 1 / 2 / 2;
  padding: 20px;
  flex-wrap: wrap;
  height: calc(100vh - 75px);
  overflow-y: auto;
}

#fullscreen-group-scatter {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  grid-area: 1 / 1 / 2 / 2;
  padding: 0px;
  flex-wrap: wrap;
  height: calc(100vh - 75px);
  overflow-y: auto;
}

.fullscreen {
  opacity: 1;
  position: absolute;
  visibility: visible !important;
  top: 48px !important;
  right: -300px !important;
  height: 100vh !important;
  width: 100vw !important;
}


#group-actions-div {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  border: 2px solid var(--light-gray);
  border-radius: 0 0 0 16px;
  grid-area: 1 / 1 / 2 / 2;
}

#arrange-students, #save-group {
  width: 90%;
}

#ungrouped-students-list {
  border-left: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  grid-area: 2 / 1 / 3 / 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px;
  overflow-y: auto;
  border-radius: 8px 0 0 8px;
  height: calc(100vh - 450px);
  transition: 0.3s all;
}

#excluded-students-list {
  border-left: 1px solid var(--error);
  border-top: 1px solid var(--error);
  grid-area: 3 / 1 / 4 / 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px;
  overflow-y: auto;
  border-top-left-radius: 8px;
  transition: 0.3s all;
}

#group-sidebar {
  display: grid;
  grid-template-rows: 175px auto 200px;
  grid-area: 1 / 2 / 2 / 3;
}

#seating-chart-sec{
  display: grid;
  padding: 0;
}

.modal.tall {
  width: 350px;
  min-height: 600px;
}

.modal.wide {
  width: 600px;
  height: 250px;
}

.arrange-options-modal {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.arrange-options-modal > div {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 20px;
  width: 100%;
}

.arrange-options-modal > h1 {
  margin: 0;
  text-align: center;
}

.arrange-options-modal > div > button {
  width: 100%;
  margin-bottom: 12px;
}

.random-options-modal {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.random-options-modal > form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.3s all;
  opacity: 0.4
}

.random-options-modal > form > p {
  font-size: 1.4em;
  margin: 10px 0;
  text-align: center;
}

.random-options-modal > form > input {
  text-align: center;
  width: 100px;
  border: none;
  font-size: 1.3em;
  border-bottom: 2px solid var(--dark);
  border-radius: 8px;
  outline: none;
  transition: 0.3s all
}

.random-options-modal > form > input:focus {
  border-color: var(--accent);
}

.random-options-modal > h1 {
  margin: 0;
  translate: -9px;
}

.random-options-modal > button {
  width: 80%;
}

.random-options-modal > form:valid:has(:checked), .random-options-modal > form:not(:has(input[type=checkbox])):valid, .random-options-modal > form:hover, .random-options-modal > form:focus {
  opacity: 1;
}



#repeat-groups-check {
  transform: scale(1.5);
  cursor: pointer;
  margin: 10px 0px 20px 0px;
}

.random-options-modal > .seperator {
  width: 100%;
  border: solid 2px var(--accent);
  margin-bottom: 20px;
}

.student-name-container {
  font-size: 1.8em;
  background-color: var(--light-bg-alt);
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 6px 10px 6px 18px;
  width: 100%;
  transition: 0.3s all;
  cursor: pointer;
}

.group-container {
  width: 400px;
  background-color: var(--light-bg-alt);
  border-radius: 16px;
  padding: 10px;
  margin: 10px;
  position: relative;
}

.group-container > h1 {
  margin: 0 0 10px 0;
}

.group-student-list > .student-name-container {
    background-color: var(--light-bg);
}

#add-group {
  height: 400px;
  display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  cursor: pointer;
}

#add-group > i {
  color: var(--light-gray);
}

#open-display {
  font-size: 3em;
  display: block;
  cursor: pointer;
  position: absolute;
  right: 327.5px;
  top: 17.5px;
  color: var(--dark);
  border: none;
}

#close-display {
  font-size: 3em;
  display: block;
  cursor: pointer;
  position: absolute;
  right: 10px;
  color: var(--dark);
  border: none;
}


.close-group {
  font-size: 1.7em;
  color: var(--dark);
  cursor: pointer;
  position: absolute;
  transform: translate(50%, -50%);
  top: 35px;
  right: 35px;
}

.student-name-container.selected {
  color: white;
  background-color: var(--accent) !important;
}

.group-student-list.accepting {
  border-color: var(--accent);
  cursor: pointer;
}

.group-student-list {
  border: 5px solid transparent;
  border-radius: 8px;
  padding: 10px 10px 0 10px;
  transition: 0.3s all;
}

#ungrouped-students-list.accepting {
  cursor: pointer;
  border-color: var(--accent);
  border-width: 4px;
}

#excluded-students-list.accepting {
  cursor: pointer;
  border-width: 4px;
}

.group-student-list:empty {
  height: 75px;
}

#group-name-input {
  font-size: 1.3em;
  width: 100%;
  background-color: var(--light-bg);
}

#group-actions-div > label {
  width: 90%;
}

#group-actions-div span {
  top: 10px;
  font-size: 1.4em;
  background-color: var(--light-bg);
}

.grouping-container {
  display: flex;
  width: 75%;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: var(--light-bg-alt);
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  border: 2px solid var(--accent);
  margin-bottom: 16px;
}


#menu-icon {
  font-size: 30px;
}

.preference-container {
  display: flex;
  width: 75%;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: var(--light-bg-alt);
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  border: 2px solid var(--accent);
  margin-bottom: 16px;
}

.preference-container > p {
  color: var(--dark);
  font-size: 1.4em;
  margin: 0;
}

.grouping-container > p {
  color: var(--dark);
  font-size: 1.4em;
  margin: 0;
}

#groupings-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow-y: auto;
}

#add-preference {
  padding: 0 40px;
  justify-self: center;
}

#copy-form-link {
  padding: 0 40px;
  background-color: var(--accent);
  color: var(--light-bg-alt);
  justify-self: center;
  transition: 0.3s all;
}

#view-responses {
  padding: 0 40px;
  background-color: var(--accent);
  color: var(--light-bg-alt);
  justify-self: center;
  transition: 0.3s all;
}

.add-preference-modal > select {
  font-size: 1.3em;
  padding: 4px 8px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  width: 100%;
  font-weight: 500;
  margin-bottom: 32px;
}

.add-preference-modal > select:valid {
  font-weight: normal !important;
}

.add-preference-modal > h1 {
  margin: 0 0 16px;
}

.add-preference-modal > div > label > input {
  width: 100%;
  margin-bottom: 16px;
}

.add-preference-modal > div > textarea {
  width: 100%;
  border: 2px solid var(--dark);
  border-radius: 8px;
  height: 150px;
  font-size: 1.4em;
  padding: 12px;
  margin-bottom: 16px;
}

.add-preference-modal > button {
  width: 100%;
}

.confirm-deletion-modal {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.confirm-deletion-modal > div{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 10px;
  width: 100%;
}

.confirm-deletion-modal > div > button{
  background-color: transparent;
  border: var(--accent) 3px solid;
  color: var(--dark);
  cursor: pointer;
  text-align: center;
  border-radius: 16px;
  font-size: 1.3em;
  padding: 8px 2px;
  outline: none;
  width: 90%;
  margin: 8px;
  margin-top:20px;
}

#confirm-deletion-modal-title{
  text-align:center;
}

.show-actions-modal {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.show-actions-modal > div{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 20px;
  width: 100%;
}

#show-actions-modal-title{
  text-align:center;
}

.show-actions-modal > div > button{
  background-color: transparent;
  border: var(--accent) 3px solid;
  color: var(--dark);
  cursor: pointer;
  text-align: center;
  border-radius: 8px;
  font-size: 1.3em;
  padding: 8px 2px;
  outline: none;
  width: 90%;
  margin-top:20px;
}

#delete-group-button{
  border: #f25252 3px solid;
}




.view-groups-modal {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

#display-mode {
  display: grid;
  height: 100vh;
  width: 100vw;
  top: -75px;
  left: -300px;
  opacity: 0;
  padding: 0px 0px 0px 0px;
  visibility: hidden;
}

#display-mode.visible {
  opacity: 1;
  visibility: visible;
}




#open-tutorial {
  color: white;
  font-size: 2em;
  font-weight: bold;
}

#reload-responses {
  color: black;
  font-size: 3em;
  font-weight: bold;
  position:absolute;
  top:15;
  right:15;
}

#tutorial-sec {
  padding: 25px;
}

#tutorial-panel {
  overflow: auto;
  height:100%
}

@keyframes blink {
  from {
    background-color: var(--accent);
    color: var(--light-bg-alt);
  }
  to {
    background-color: var(--light-bg-alt);
    color: var(--accent);
  }
}

#open-tutorial {
  cursor: pointer;
}

#reload-responses {
  cursor: pointer;
}

.accordion-item{
  background-color: var(--accent);
  border-radius:.4rem;
  margin-bottom: 1rem;
  padding: 1rem;
  box-shadow: .5rem 2px .5rem rgba(0,0,0,0.1);
  cursor: pointer;
  transition: 500ms;
}

.accordion-item:hover{
  filter: brightness(90%);
  transition: filter 0ms;
  transition: background-color 500ms;
}

.accordion-link{
  font-size: 1.6rem;
  color: var(--light-bg-alt);
  text-decoration: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 1rem;
}

.accordion-link i{
  padding: .5 rem;
}

.answer{
  max-height: 0;
  overflow: hidden;
  position: relative;
  transition: 500ms;
  font-size: 1.4rem;
  color: #FFFFFF;
}

.accordion-item.active{
  background-color:var(--dark);
  transition: 500ms;
}

.accordion-item.active .answer{
  max-height: 100rem;
}

.accordion-item .fa-angle-right{
  transition: 500ms;
}

.accordion-item.active .fa-angle-right{
  transform: rotate(90deg);
}

/* Seating Chart CSS */
#chart-sidebar{
  position: fixed;
  width: 240px;
  right: -240px;
  height: 100%;
  background: var(--dark);
  transition: all 0.6s ease;
  overflow-y:auto;
}
#chart-sidebar .buttons{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 10px;
  gap: 10px;
}
#chart-sidebar i{
  cursor: pointer;
  color: var(--light-bg-alt);
  border-radius: 8px;
  top: 30px;
  right: 30px;
  font-size: 30px;
  background: var(--accent);
  height: 45px;
  width: 105px;
  text-align: center;
  line-height: 45px;
}
#chart-button #angle{
  position: absolute;
  cursor: pointer;
  color: var(--light-bg-alt);
  border-radius: 8px;
  top: 10px;
  right: 10px;
  font-size: 45px;
  background: var(--accent);
  height: 45px;
  width: 45px;
  text-align: center;
  line-height: 45px;
  transition: all 0.6s ease;
}
#chart-sidebar.active{
  right: 0;
}
#chart-button.active #angle{
  right: 250px;
}
#chart-button i{
  transition: all 0.6s ease;
}
#chart-button.active i{
  transform: rotate(180deg);
}

.chart-sidebar-group-div{
  border: var(--dark) solid 3px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  width: auto;
  height: 17%;
  background: var(--light-bg-alt);
  margin: 10px;
  cursor: pointer;
  transition: 0.3s all;
}

.chart-sidebar-header{
  font-size: 1.2em;
  margin-bottom:2px;
  
  text-align:center;
}

.chart-student-count{
  font-size: .8em;
  color: var(--accent);
  text-align:center;
  margin-top:3px;
  margin-bottom:1px;
}

.chart-sidebar-text{
  font-size: .7em;
  text-align:center;
  color: #3d3d3d; 
  margin:3px;
  /*slight off gray to make less important*/
}

.chart-sidebar-ellipse{
  font-size: .8em;
  font-weight: bold;
  margin-top:3px;
  margin-bottom:1px;
  text-align:center;
}
.grid {
  --rowSize: 6;
  --colSize: 6;
  display: grid;
  grid-template-columns: repeat(var(--colSize), 1fr);
  grid-template-rows: repeat(var(--rowSize), 1fr);
  gap: 0rem;
}

.box {
  background-color: var(--light-bg);
  color: #fff;
  border-radius: 1px;
  font-size: 150%;
  padding-top:1px;
  padding-left: 1px;
  
  display: flex;
  justify-content: center;
  align-items: center;
}

.box:hover {
  border: 1px solid var(--accent);
  border-radius: 4px;
}

.grid-group-title{
  font-size: .7em;
  text-align: center;
}

.grid-names-list{
  /*columns:30px 2;*/
  padding-left: 15%;
}

.grid-name{
  font-size: .6em;
  color: var(--dark);
}

.grid-group-container{
  width: 100%;
  height: 100%;
  border-radius: 4px;
  border: 4px solid var(--dark);
  background-color: #FFFFFF;
  cursor: pointer;
}

.no-size{
  display: contents;
}

.responses-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 12px 0;
}

.selector {
  flex-grow: 4;
  min-width:10em;
  max-width:35em;
  border: 5px solid var(--accent);
  border-radius: 8px;
}

.selector:focus {
  outline: none;
}

#student-selection-panel {
  grid-area: 1/1/2/2;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

#response-panel { 
  float:right;
  text-align:center;
  position: fixed;
  width: 50em;
  height: 40em;
  top: 30%;
  left: 55%;
  margin-top: -100px;
  margin-left: -100px;
}

option {
  background-color: var(--light-bg-alt);
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 1.5em;
}