#dictionary .modal-content {
  width: 80%;
  height: 80%;
  display: flex;
  overflow-y: initial;
}

.sidebar {
  width: 20%;
  display: flex;
  flex-direction: column;
}

.dictionary-content {
  width: 80%;
  padding-left: 2rem;
  padding-right: 2rem;
  height: 100%;
  overflow-y: auto;
}

.sidebar div {
  margin-top: auto;
}

.sidebar button {
  width: 100%;
}

.sidebar input[type="radio"] {
  position: absolute !important;
  visibility: hidden;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.sidebar input[type="radio"]:checked + label {
  background-color: var(--white);

  color: var(--bg);

  font-weight: 500;
}

.sidebar label {
  border-radius: 0;

  padding-left: 0.5em;

  padding-right: 0.5em;
  text-align: center;
  line-height: 4rem;
  font-size: 2rem;
}

.sidebar label:hover {
  cursor: pointer;

  background-color: #ffffff85;

  color: var(--bg);
}

.language {
  width: 100%;
  display: flex;
  margin-bottom: 1rem;
}

.language label {
  width: 50%;
}

.tab {
  display: none;
  font-size: 2.15rem;
  margin-top: 2rem;
  overflow-y: auto;
}

.header {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.header-2 {
  display: none;
}

.header-3 {
  display: none;
}

.header-1 input[type="radio"],
.header-2 input[type="radio"],
.header-3 input[type="radio"] {
  position: absolute !important;
  visibility: hidden;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.header-1 input[type="radio"]:checked + label,
.header-2 input[type="radio"]:checked + label,
.header-3 input[type="radio"]:checked + label {
  background-color: var(--white);

  color: var(--bg);

  font-weight: 500;
}

.header-1 label,
.header-2 label,
.header-3 label {
  border-radius: 1em;

  padding-left: 1em;

  padding-right: 1em;
}

.header-1 label {
  font-size: 2rem;
}
.header-2 label {
  font-size: 1.25rem;
}
.header-3 label {
  font-size: 1rem;
}

.header-1 label:hover,
.header-2 label:hover,
.header-3 label:hover {
  cursor: pointer;

  background-color: #ffffff85;

  color: var(--bg);
}

.goal table {
  font-size: 2rem;
}

.goal table td {
  border-top: 1px solid #ffffff85;
  padding-left: 3rem;
}

.goal table th {
  text-align: left;
}

.dictionary-content td {
  border-top: 1px solid #ffffff85;
  border-right: 1px solid #ffffff85;
  padding: 1rem;
}

.dictionary-content table tr:first-child td {
  border-top: none;
}

.dictionary-content table tr td:last-child {
  border-right: none;
}

.penalty table {
  width: 100%;
}

.video thead {
  background-color: var(--white);
  color: var(--bg);
}
