* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(247, 247, 247, 0.534);
}
.main_container {
  width: 1300px;
}
.container {
  background-color: #fff;
  padding: 20px;
  box-shadow: 1px 1px 10px 3px rgba(182, 182, 182, 0.281);
  border-radius: 2px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.song_video {
  margin-bottom: 20px;
  width: 100%;
  max-width: 500px;
  height: 300px;
}
.song_line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.song_line:hover {
  background-color: rgba(235, 235, 235, 0.219);
}
.song_line a {
  display: inline-block;
  text-decoration: none;
  color: black;
  padding: 3px;
  margin-bottom: 3px;
  border-bottom: 2px rgb(192, 192, 192) dashed;
}
.song_line a:hover {
  background-color: rgb(240, 240, 240);
}
.song_line div {
  margin-bottom: 3px;
}
.lesson_number {
  font-size: 40px;
  margin-bottom: 10px;
}
.lesson_grammar {
  font-size: 22px;
  margin-bottom: 20px;
}
.lesson_theme {
  margin-bottom: 18px;
}
.gramma_table {
  margin-bottom: 24px;
}
.annotation {
  margin-top: 10px;
}
.annotation div {
  margin-bottom: 12px;
}
.table_line {
  display: flex;
  flex-direction: row;
}
.table_cell {
  background-color: #fff;
  width: 100%;
  max-width: 280px;
  padding: 8px;
  border: 1px solid rgb(223, 223, 223);
  border-collapse: collapse;
  display: flex;
  align-items: center;
  justify-content: center;
}
.table_cell:first-child,
.table_cell:nth-child(2),
.table_cell:nth-child(4) {
  min-width: 158px;
  max-width: 145px;
}
.table_cell:nth-child(3),
.table_cell:nth-child(5) {
  min-width: 125px;
  max-width: 440px;
}
.quislet_link {
  margin-bottom: 20px;
  border-radius: 50px;
  line-height: 20px;
  background-color: rgba(241, 241, 241, 0.685);
  padding: 18px 15px;
}
.word {
  border: none;
  background-color: transparent;
  cursor: pointer;
  outline: none;
  border-bottom: 2px rgb(192, 192, 192) dashed;
}
audio {
  margin-bottom: 26px;
  width: 100%;
}
.words_with_song {
  display: flex;
}
.song_container {
  width: 50%;
}
.new_words__container {
  width: 50%;
  margin-right: 15px;
}
.new_words__line {
  display: flex;
  margin-bottom: 20px;
  padding: 2px;
}
.new_words__line:hover {
  background-color: rgb(235, 235, 235);
}
.new_words__word {
  margin-right: 8px;
  max-width: 350px;
}
.new_words__line:first-child .new_words__word {
  font-size: 20px;
  font-weight: bold;
}
.new_words__word:first-child,
.new_words__word:nth-child(2) {
  width: 120px;
}
.song_line > div:first-child {
  width: 48%;
}
.song_line > div:nth-child(2) {
  width: 52%;
}

.next_btn__container {
  margin-bottom: 20px;
  margin-top: 20px;
}
.next_btn__container button {
  cursor: pointer;
}

@media screen and (max-width: 1170px) {
  .main_container {
    min-width: 100%;
  }
  .words_with_song {
    flex-direction: column;
  }
  .new_words__container {
    margin-bottom: 20px;
    margin-right: 0px;
  }
  .new_words__container,
  .song_container {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .gramma_table {
    overflow: scroll;
  }
}
@media screen and (max-width: 581px) {
  .new_words__line,
  .song_line {
    flex-direction: column;
  }
  .song_line > div:first-child {
    width: 100%;
  }
  .song_line > div:nth-child(2) {
    width: 100%;
  }
}
