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

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

@media screen and (max-height: 300px) {
  .number {
    width: 60px;
    display: inline-block;
  }
}

@media screen and (max-width: 1880px) {
  .box {
    width: 145px;
    height: 145px;
  }

  [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: 768px) {
  .dropdown {
    min-height: 63px;
  }
}

@media screen and (max-width: 1024px) {
  .number {
    width: 100px;
    display: inline-block;
  }

  .options.show {
    top: 110px;
  }

  .option {
    width: 100px;
  }
}

@media screen and (max-width: 720px) {
  .option {
    width: 75px;
  }

  .options.show {
    top: 100px;
  }
}

@media screen and (max-width: 760px) {
  .chooises {
    flex-direction: column;
  }

  .rows {
    flex-direction: row;
  }

  .box {
    width: 110px;
    height: 110px;
    margin: 0 0.4rem;
  }

  .chooises {
    gap: 0;
    margin-top: -1rem;
  }

  .answer_box {
    font-size: 2rem;
    bottom: -17px;
    right: -15px;
    width: 40px;
    height: 40px;
  }
}

@media screen and (max-width: 668px) {
  .box {
    width: 80px;
    height: 80px;
    margin: 0 0.4rem;
  }

  .chooises {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
  }

  section {
    gap: 0;
    justify-content: space-around;
  }

  .answer_box {
    font-size: 3rem;
    bottom: -8px;
    right: -28px;
  }

  .chooises img {
    width: 200px;
  }

  .chooises img {
    width: 175px;
  }

  section .main_word {
    font-size: 4rem;
  }

  .item {
    opacity: 0;
    transition: 0.2s;
  }

  .item.active {
    opacity: 1;
  }
}

@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-height: 668px) {
  .chooises img {
    width: 270px;
  }

  .box {
    width: 120px;
    height: 100px;
  }
  .controls div img {
    cursor: pointer;
    width: 59px;
  }
  [type="button"] img {
    width: 75px;
  }
  .chooises {
    display: flex;
    gap: 0;
    flex-direction: column;
  }
}

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

  .title {
    font-size: 1.5rem;
  }

  .carousel-inner {
    height: 92%;
  }

  .controls {
    position: relative;
    display: flex;
    justify-content: center;
    /* margin-top: 15px; */
    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;
  }

  /* ---------------------------------------------------- */

  img.wrong {
    height: 100%;
  }

  .carousel-inner {
    padding: 10px 30px;
  }

  .chooises img {
    width: 155px;
  }

  .word_img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
  }

  section .main_word {
    font-size: 3rem;
  }

  .chooises {
    display: flex;
    gap: 0;
    flex-direction: row;
  }

  .rows {
    flex-direction: column;
  }

  .answer_box {
    font-size: 2rem;
    bottom: -25px;
    right: -20px;
  }

  .chooises {
    gap: 0;
    margin-top: 0;
  }

  .box {
    width: 100px;
    height: 100px;
  }

  .miss_letter {
    display: inline-block;
    min-width: 30px;
    background: #d0d0d0;
    height: 58px;
    /* border-bottom: 4px dotted; */
    padding: 18px 0;
    line-height: 0.8;
    font-size: 3rem;
  }
}

@media screen and (max-height: 376px) {
  .chooises img {
    width: 160px;
  }
  .carousel-inner {
    height: 78.1%;
  }
  section .main_word {
    font-size: 3rem;
    margin-top: -2rem;
    margin-bottom: 2rem;
    font-weight: bold;
    text-align: center;
  }
  .miss_letter {
    display: inline-block;
    min-width: 60px;
    background: #d0d0d0;
    height: 54px;
    /* border-bottom: 4px dotted; */
    /* padding: 53px 0; */
    line-height: 0.8;
    color: gray;
  }
  .box {
    width: 85px;
    height: 70px;
    font-size: 2rem;
  }
  .answer_box {
    font-size: 2rem;
    bottom: 9px;
    right: -28px;
  }
  .miss_letter {
    display: inline-block;
    min-width: 60px;
    background: #d0d0d0;
    height: 54px;
    /* border-bottom: 4px dotted; */
    padding: 0;
    padding-bottom: 3rem;
    line-height: 0.8;
    color: gray;
    display: inline-flex; 
    justify-content: center;
  }
}



@media  (min-width: 376px) and (max-width: 668px) {
  .miss_letter { 
    line-height: 1.3 !important; 
  }
}