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

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

@media screen and (min-width: 678px) {
  .options {
    gap: 3rem;
  }
}

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

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

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

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

@media screen and (min-width: 500px) and (max-width: 700px) {
  .options .box {
    width: 90px;
    font-size: 3rem;
  }
}
@media screen and (max-width: 678px) {
  .carousel-inner {
    height: 85%;
  }

  .controls {
    gap: 10px;
  }

  .options {
    gap: 10px;
  }

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

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

  .controls div img {
    width: 60px;
  }

  .questions .ques {
    padding-top: 6px;
    cursor: pointer;
    padding: 0 14px;
    padding-top: 5px;
    padding-left: 16px;
  }
}

@media screen and (max-height: 1024px) {
  .carousel-inner {
    height: 99%;
  }
}

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

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

  .options {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    width: 70%;
    flex-direction: column;
  }

  .options .box {
    width: 200px;
    gap: 0;
    display: flex;
    flex-direction: column;
  }

  .questions {
    display: flex;
    background: #80808021;
    width: 400px;
    justify-content: space-around;
    align-items: center;
    margin: 2rem auto;
    font-size: 1.8rem;
    border-radius: 28px;
    padding: 5px 10px;
    border: 3px solid gray;
  }

  .title {
    background: var(--header-footer-bgcolor);
    margin: 0;
    font-size: 1.4rem;
  }
}

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

  main {
    margin: 0;
  }

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

  .carousel-inner {
    height: 18rem;
  }

  .questions {
    width: 85%;
    margin: -0.1rem auto;
    font-size: 1.6rem;
  }

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

  .options .box {
    /* margin: 0.7rem 3px; */
    width: 55px;
    font-size: 1.8rem;
  }

  .options {
    bottom: -3px;
  }

  .carousel-inner {
    height: 90%;
    background: white;
    padding: 10px 15px;
    /* border-radius: 10px; */
    /* border: 4px solid green; */
  }

  .options .box .answer_box {
    font-size: 1.6rem;
  }

  .controls img {
    width: 60px;
  }

  .controls div img {
    width: 40px;
  }

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

  .title {
    padding: 9px;
  }

  .controls {
    padding: 5px;
  }
}

@media screen and (max-width: 825px) {
  .options.diff .method,
  .options.diff .method .box {
    width: 150px;
  }
}
@media screen and (max-width: 668px) {
  .options.diff .method,
  .options.diff .method .box {
    width: 150px;
  }
}
@media screen and (max-width: 580px) {
  .options.diff .method,
  .options.diff .method .box {
    width: 130px;
  }
}
@media screen and (max-width: 495px) {
  .options .box .answer_box {
    font-size: 1.5rem;
  }

  main {
    margin: 0;
  }

  .title {
    font-size: 1.4rem;
  }

  .carousel-inner {
    height: 25rem;
  }

  .questions {
    width: 92%;
    margin-top: 1rem;
  }

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

  .options {
    margin-top: 30%;
    /* bottom: 0; */
    width: 100%;
  }

  .options .box {
    /* margin: 1rem 3px; */
  }
  .options .box {
    width: 55px;
    gap: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.5rem;
    border: 3px solid;
    border-right: none;
  }
  .controls img {
    width: 60px;
  }

  .controls div img {
    width: 40px;
  }

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

  main {
    padding: 2rem 10px;
  }

  .questions .ques {
    padding: 0px 15px;
  }

  .questions {
    font-size: 1.5rem;
  }

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

  .options.diff .method,
  .options.diff .method .box {
    width: 90px;
  }
}

@media screen and (max-height: 522px) {
  .box-ques img {
    display: none;
  }
}
