@media screen and (min-width: 1200px) {
  main {
    width: 80%;
  }
}

@media screen and (min-width: 1500px) {
  main {
    width: 60%;
  }
}

@media screen and (max-width: 1880px) {
  [type="button"]:not(:disabled) {
    top: 8px;
  }

  [type="button"] img {
    width: 100px;
  }

  .controls {
    padding: 4.4px 0px;
  }
}

@media screen and (max-width: 825px) {
  .carousel-inner {
    height: 92.8%;
  }
}

@media screen and (max-width: 678px) {
  .carousel-inner {
    height: 85%;
  }

  .controls {
    gap: 10px;
  }

  .h1,
  h1 {
    font-size: 1.8rem;
  }

  [type="button"] img {
    width: 80px;
  }

  .controls div img {
    width: 60px;
  }
}

@media screen and (max-width: 855px) {
  .words {
    font-size: 1.5rem;
  }
  .word {
    border-radius: 10px;
    background-color: #f3e58e;
    padding: 0.5rem 1rem;
    width: 100px;
  }
  .correct.corr::before {
    content: "👌";
    position: absolute;
    top: -31px;
    right: -16px;
  }
  .incorr::before {
    top: -31px;
    right: -16px;
  }
  .words_row {
    display: flex;
    gap: 0.8rem;
    margin: 2.5rem 0;
  }
}

@media screen and (max-width: 634px) {
  .words {
    font-size: 1.5rem;
  }
  .word {
    border-radius: 10px;
    background-color: #f3e58e;
    padding: 0.5rem 0.3rem;
    width: 90px;
  }
  .correct.corr::before {
    content: "👌";
    position: absolute;
    top: -31px;
    right: -16px;
  }
  .incorr::before {
    top: -31px;
    right: -16px;
  }
  .words_row {
    display: flex;
    gap: 0.6rem;
    margin: 1.5rem 0;
  }
}
@media screen and (max-width: 555px) {
  .words {
    font-size: 1.3rem;
  }
  .word {
    width: 75px;
  }
}
@media screen and (max-height: 1024px) {
  .carousel-inner {
    height: 95%;
  }
}

@media screen and (max-height: 646px) {
  .controls div img {
    cursor: pointer;
    width: 40px;
  }

  [type="button"] img {
    width: 51px;
  }

  .title {
    padding: 19px;
    background: var(--header-footer-bgcolor);
    margin: 0;
    font-size: 2rem;
  }

  /* ------------------------------------------------------------ */
}

@media screen and (max-width: 676px) and (max-height: 480px) {
  #carouselExampleIndicators {
    top: 7px;
  }

  main {
    margin: 0;
  }

  .title {
    font-size: 1.5rem;
    margin: 0;
    padding: 16px;
  }

  .carousel-inner {
    height: 18rem;
  }

  .controls {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 0;
    gap: 10px;
    font-size: 20px;
  }

  .carousel-inner {
    height: 90%;
    background: white;
    padding: 10px 15px;
  }

  .controls img {
    width: 60px;
  }

  .controls div img {
    width: 40px;
  }

  [type="button"]:not(:disabled) {
    padding: 0 5px;
    top: 7px;
  }

  .controls {
    padding: 5px;
  }

  /* ---------------------------------------------------- */
}

@media screen and (max-width: 668px) {
  .table {
    font-size: 1.7rem;
  }
  .table input {
    width: 30px;
    height: 30px;
    top: 3px;
    position: relative;
  }
  .table td,
  .table th {
    padding: 0 !important;
  }
  .last_row {
    /* display: none; */
  }

  .incorrIcon::before,
  .corrIcon::before {
    top: auto;
    bottom: 26px;
    right: 13px;
    font-size: 1.3rem;
    width: 0;
    height: 0;
  }
}
@media screen and (max-height: 668px) {
  .controls div img {
    cursor: pointer;
    width: 59px;
  }
  [type="button"] img {
    width: 75px;
  }
  .number {
    width: 90px;
    height: 90px;
    font-size: 4rem;
    padding-top: 7px;
  }

  .box_shape div {
    width: 50px;
    height: 50px;
  }
  .box_shape {
    display: flex;
    gap: 10px;
    font-size: 3rem;
    flex-wrap: wrap;
    width: 360px;
  }
}

@media screen and (max-width: 495px) {
  main {
    margin: 0;
    padding: 2rem 10px;
  }

  .title {
    font-size: 1.4rem;
  }

  .carousel-inner {
    height: 92%;
  }

  .controls {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 20px;
  }

  .controls img {
    width: 60px;
  }

  .controls div img {
    width: 40px;
  }

  [type="button"]:not(:disabled) {
    padding: 0 5px;
    margin: 0;
    top: 4px;
  }

  /* ---------------------------------------------------- */
  .box_shape div {
    width: 70px;
    height: 70px;
  }
  .box_shape {
    display: flex;
    gap: 10px;
    font-size: 3rem;
    flex-wrap: wrap;
    width: 360px;
  }
  .item {
    display: none;
    transition: 0.3s;
  }
}

@media screen and (max-height: 376px) {
  .carousel-inner {
    height: 78.1%;
  }
  .words_row {
    display: flex;
    gap: 0.6rem;
    margin: 1.2rem 0;
  }
  .words {
    font-size: 1.3rem;
  }
  .word {
    border-radius: 10px;
    background-color: #f3e58e;
    padding: 0.5rem 0.5rem;
    width: 90px;
  }
  .words {
    font-size: 1.1rem;
  }
  .correct.corr::before,
  .incorr::before {
    top: -18px;
    right: -13px;
  }
}
.carousel-control-prev {
  position: absolute !important;
  left: 0 !important ;
}
