@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;
  }
  .table td,
  .table th {
    padding: 0.3rem;
  }
}

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

  .title {
    font-size: 1.5rem;
  }

  .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;
  }

  /* ---------------------------------------------------- */
  .table input {
    width: 35px;
    height: 35px;
    /* top: -10px; */
    font-size: 2rem;
  }

  .table table {
    width: 100%;
  }
 
  .incorrIcon::before,
  .corrIcon::before {
    top: auto;
    top: 9px;
    right: 10px;
    font-size: 1.3rem;
    width: 0;
    height: 0;
    z-index: 9999999999;
  }
  .table {
    font-size: 2.2rem;
  }
  input.big_one {
    width: 50px;
}
}

@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;
  }
}
