.baitap_home {
  padding-left: 10%;
  padding-right: 10%;
  color: white;
}

.baitap_content_in {
  border: 1px solid grey;
  width: 50%;
  margin: 0 auto;
  margin-bottom: 2rem;
  min-width: 620px;
}

.cent {
  width: 100%;
  cursor: pointer;
  font-size: 25px;
  color: #198754;
}

.fule_up {
  width: 40%;
  height: 30px;
  margin: 20px;
  margin-top: -20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 25px;
  color: darkblue;
  background: orange;
}
.playable-word {
  color: white;
  background-color: blue;
  padding: 0.25rem;
  border-radius: 0.25rem;
}
.baitap_head {
  background: green;
  text-align: center;
  padding: 0.25rem 0;
}

.cent_round {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(2, calc(50% - 0.5rem));
  column-gap: 1rem;
  row-gap: 2rem;
  padding: 0 1rem 1rem 1rem;
}

.video_form {
  text-align: center;
  margin-bottom: 30px;
}

.phien_am {
  color: darkblue;
  font-size: 18px;
}

.video_name {
  color: darkblue;
  font-size: 25px;
}

.nghia {
  color: #264de1;
  font-size: 18px;
}
.btn-fixed {
  position: fixed;
  bottom: 1rem;
  width: 100%;
}
.group-btn-navigation {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.cent {
  border: 2px solid #198754;
  background-color: transparent;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}

.cent:hover {
  background-color: #198754;
  color: yellow;
  border-color: #198754;
  .phien_am {
    color: white;
  }
  .nghia {
    color: #b0ffff;
  }
}

.cent:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

.cent:active {
  background-color: #198754;
  color: #fff;
  border-color: #1e7e34;
}

/* New style */
.vocabularies-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.sticky-title {
  position: sticky;
  top: 66px;
  z-index: 1;
}
.video-wrapper {
  width: 50%;
  margin: 0 auto;
  position: sticky;
  top: 160px;
  z-index: 1;
}
.sticky-tab {
  position: sticky;
  top: 118px;
  z-index: 1;
}
.video-descriptions-wrapper {
  width: 50%;
  margin: 0 auto;
}
.btn-group-word {
  min-width: 300px;
  height: 100%;
  min-height: 100px;
  background-color: #d0ffe8;
}
.audio-player {
  display: none;
}
.word-style {
  font-size: 28px;
  font-weight: 500;
}
.phonetic-style {
  font-size: 18px;
  color: darkblue;
}
.tran-style {
  font-size: 18px;
  color: blue;
}
.btn-outline-success:hover p:nth-of-type(1) {
  color: yellow; /* Thẻ đầu tiên đổi màu trắng */
}

.btn-outline-success:hover p:nth-of-type(2) {
  color: white; /* Thẻ thứ hai đổi màu vàng */
}

.btn-outline-success:hover p:nth-of-type(3) {
  color: #b0ffff; /* Thẻ thứ ba đổi màu đen */
}
p {
  margin-bottom: 0.5rem;
}
#video-tabs .nav-item {
  height: 40px;
  max-width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#video-tabs .nav-link {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media screen and (max-width: 1240px) {
  .video-descriptions-wrapper,
  .video-wrapper {
    width: 640px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 768px) {
  .baitap_content_in {
    width: 100%;
    min-width: 375px;
  }
  .video-descriptions-wrapper,
  .video-wrapper {
    width: 95%;
    margin: 0 auto;
  }
  .btn-group-word {
    min-width: 240px;
    width: 90%;
    min-height: 90px;
  }
  .word-style {
    font-size: 24px;
  }
  .phonetic-style,
  .tran-style {
    font-size: 16px;
  }
}
@media screen and (max-width: 640px) {
  .sticky-title {
    position: sticky;
    top: 53px;
    z-index: 50;
  }
  .video-wrapper {
    position: sticky;
    top: 135px;
  }
  .sticky-tab {
    position: sticky;
    top: 92px;
  }
}
@media (max-width: 576px) {
  #video-tabs .py-2 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  #video-tabs.nav-underline {
    --bs-nav-underline-gap: 0.25rem;
  }
  #video-tabs .nav-link {
    padding: 0.25rem 0.25rem !important;
    font-size: 14px;
  }
  .container,
  .baitap_home {
    padding-left: 0;
    padding-right: 0;
    --bs-gutter-x: 0rem !important;
  }
  .baitap_head h1 {
    font-size: 20px;
  }
  h3 {
    font-size: 18px;
  }
}
@media screen and (max-width: 480px) {
  .vocabularies-wrapper {
    grid-template-columns: 1fr;
  }
}
