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

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

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

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

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

  .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: 60%;
    margin: -0.1rem auto;
    font-size: 1.6rem;
    height: 40px;
  }

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

  .options .box {
    /* margin: 0.7rem 3px; */
    width: auto;
  }

  .options {
    bottom: -14px;
  }

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

  .options .box .answer_box,
  .static {
    font-size: 1.6rem;
  }
  .static {
    padding-top: 9px;
  }
  .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: 668px) {
  .questions {
    padding: 0;
  }
  .table .row_table .cell {
    width: 65px;
    height: 35px;
    margin-left: -2px;
  }
  .item {
    gap: 1.3rem;
  }
  .bottom_arrow:after {
    bottom: -11px;
    right: -9px;
    border-width: 10px;
  }
  .top_arrow::after {
    top: -19px;
    left: -11px;
    border-width: 10px;
  }
  .top_arrow_tnalzy::after {
    top: -10px;
    left: -12px;
    border-width: 10px;
  }
  .bottom_arrow_tnalzy:after { 
    bottom: -11px;
    right: -20px;
    border-width: 10px ; 
}
 
  .questions .ques {
    cursor: pointer;
    padding: 0 8px;
    padding-top: 6px;
  }

  .questions {
    height: 60px;
  }
}
@media screen and (max-width: 495px) {
  .options .box .answer_box,
  .static {
    font-size: 1.5rem;
  }

  main {
    margin: 0;
  }

  .title {
    font-size: 1.2rem;
  }

  .carousel-inner {
    height: 25rem;
  }

  .questions {
    width: 92%;
    margin-top: 1rem;
    padding-top: 6px;
    padding-bottom: 5px;
  }

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

  .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;
    padding-top: 5px;

  }

  .questions {
    font-size: 1.5rem;
  }

  [type="button"]:not(:disabled) {
    margin: 0;
    top: 20px;
  }
  .table .row_table .cell {
    width: 100px;
    height: 50px;
    margin-left: 0px;
    cursor: pointer;
  }
  .static {
    padding-top: 0;
  }
  .bottom_arrow:after {
    content: "";
    position: absolute;
    bottom: -12px;
    right: -9px;
    border: 20px soliid;
    border: 11px solid #444;
    border-top-left-radius: transparent;
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom-color: transparent;
  }
  .top_arrow::after {
    content: "";
    position: absolute;
    top: -20px;
    left: -13px;
    border: 20px soliid;
    border: 11px solid #444;
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
  }
  .item {
    gap: 0.8rem;
  }
  .top_arrow_tnalzy::after {
    top: -11px;
    left: -13px;
    border: 11px solid gray;
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
  }
  .bottom_arrow_tnalzy:after {
    bottom: -12px;
    right: -21px;
    border: 11px solid gray;
    border-top-left-radius: transparent;
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom-color: transparent;
  }
}

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