bor {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

:focus {
  outline: none;
}

body {
  position: relative;
  font-family: sans-serif;
  background: linear-gradient(-45deg, rgb(77, 20, 140) 25%, rgb(255, 102, 0) 100%);
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  margin: 0px !important;
  display: -webkit-flex;
  /* NEW */
  display: flex;
  -webkit-flex-wrap: wrap;
  /* NEW */
}
.tagremove a{
  color: inherit !important;
  cursor: default !important;
  text-decoration: none !important;
}
main {
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  display: block;
  display: flex;
}
h2 {
  position: absolute;
  right: -35%;
  top: 50%;
  transform: translate(70%, calc(-0% - 170px));
  text-align: left;
  font-size: 14px;
  line-height: 24px;
  padding: 5px;
  background: white;
  border-radius: 5px;
  border: 3px solid rgb(240, 95, 12);
  text-align: center;
  width: 190px;
}

h4 {
  position: absolute;
  left: -60%;
  top: -18%;
  text-align: left;
  font-size: 10px;
  line-height: 12px;
  padding: 10px 15px;
  background: white;
  color: rgb(77, 20, 140);
  border-radius: 5px;
  border: 3px solid rgb(77, 20, 140);
  text-align: center;
}


.seeexample{
  position: absolute;
  left: 20px;
  top: 12px;
  cursor: pointer; 
  color: blue;
}
.example{
  width: 87%;
  position: absolute;
  background: #f1f1f1;
  border: 3px solid rgb(20, 20, 204);
  top: 30%;
  left: 50%;
  transform: translate(-50%, -30%);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 8px;
  z-index: 323;
  padding: 16px;
  display: none;
  overflow: hidden !important;
  height: 300px !important;
  display: none;
}
.example ul{
  padding: 0;
  list-style: none;
}
.example ul li .count{
  min-width: 32px;
  display: block;
}
.example ul li p{
  margin: 0;
}
.example ul li:last-child p{
  display: flex;
  align-items: center;
}
.example ul li{
  display: flex;
    align-items: baseline;
    margin: 8px 0;
    font-size: 13px;
    gap: 20px;
}
.seeFormula{
  position: absolute;
  right: -35%;
  transform: translate(70%, calc(-0% + 20px));
  top: 30%;
}
.seeFormula span{
  color: #fff;
  font-size: 16px;
  text-transform: capitalize;
  text-decoration: underline;
  cursor: pointer;
}

.formula-ul{
  padding: 0;
  list-style: none;
}
.formula-ul li{
  border-bottom: 1px solid #cac5c56b;
  margin-bottom: 27px;
  display: flex;
  align-items: center;
}
.formula-ul li:last-child{
  border-bottom: 0;
}




/* The actual popup */
.popuptext {
  visibility: hidden;
  min-width: 160px;
  background-color: rgb(255, 255, 255);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 4px 0;
  position: absolute;
  z-index: 1;
  bottom: -151%;
  left: -37%;
  text-decoration: none;
  border: 1px solid rgb(253, 101, 2);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.popuptext a {
  text-decoration: none;
  color: blue;
  line-height: 20px;
  /* font-weight: 600; */
  /* text-align: center; */
  /* font-size: 18px; */
}

/* Popup arrow */
.popuptext::after {
  content: "";
  position: absolute;
  top: -19%;
  transform: rotate(180deg);
  left: 46%;
  margin-left: -5px;
  border-width: 12px;
  border-style: solid;
  border-color: rgb(253, 101, 2) transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}





.bg-grey {
  background: #f7f7f7;
}

.formula-ul p{
  display: flex;
  align-items: center;
  margin: 0;
}
.popup {
  max-width:fit-content;
  width: 100%;
  background: #ffffff;
  box-shadow: 0px 18px 36px rgba(166, 100, 0, 0.3);
  border-radius: 6px;
  margin: auto;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 90vh;
  position: relative;
  padding: 24px;
  border: 3px solid blue;
 }
#close , #close2 , #close3{
  position: absolute;
  right: 15px;
  top: 15px;
  cursor: pointer;
}

.popupbox {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
}
.refrence{
  left: -60%;
  top: 43%;
  position: absolute;
}
.refrence span{
  color: #fff;
  font-size: 18px;
  text-transform: capitalize;
}
 .switchbtn {
  display: flex;
  position: absolute;
  text-align: center;

  left: -60%;
  top: 17%;
  height: 3em;
  text-decoration: none;
  padding: 10px 12px;
  min-width: 100px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 3px;
  letter-spacing: 0.4px;
  transition: all 0.2s linear;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid #2c34d9;
  background: #2c34d9;
  font-size: 14px;
line-height: 18px;
 }



section {
  width: fit-content;
  height: fit-content;
  padding: 80px 280px 10px 227px !important;
  margin: auto;
}
.switcher{
  position: absolute;
  top: -17%;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  background: #fff;
  width: fit-content;
  border-radius: 4px;
  width: 265px;
}
.switcher a{
  font-size: 18px;
  color: rgba(77,20,140,1);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}
.tire {
  margin: auto;
  display: block;
  position: relative;
  width: fit-content;
  /* transform: translateY(-10px); */
}

.landscapeScreen #engine-img {height: 350px;border-radius: 10px;}

.portraitScreen #engine-img {
  height: 339px;
  border-radius: 10px;
}

.inputs {
  background-color: white;
  padding: 5px 0;
  width: 85px;
  position: absolute;
  z-index: 1;
  transform-origin: center center;
  border-radius: 5px;
  border: 3px solid black;
  display: block;

}
.inputs::after{
  content: "mm";
  display: block;
  width: 25px;
  position: absolute;
  right: 6px;
  bottom: 7px;
  font-size: 13px;
}
.inputs label {
  width: auto;
  display: block;
  text-align: center;
  font-size: 14px;
}

.inputs input {
  font-size: 16px;
  text-align: center;
  border-top: none;
  border-right: none;
  border-left: none;
  border-image: initial;
  border-bottom: 1px solid black;
  border-radius: 0px;
  width: 40px;
  margin: auto;
  display: block;
  padding: 0;
  padding-right: 30px;
}
.inputs input::-webkit-outer-spin-button,
.inputs input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0px;
}

.inputs input[type="number"] {}

.reset {
  border: 0px;
  background: transparent;
  /* position: absolute; */
  /* right: -130px; */
  /* top: 70px; */
  width: 33px;
  height: 33px;
  padding: 0px;
}

.reset img {
  width: 100%;
}

#p1 {
  left: 0%;
  top: 28.5%;
  transform: translate(-50%, -50%);
  border-color: rgb(77, 20, 140);
}

#p2 {
  left: 0%;
  top: 70%;
  transform: translate(-50%, -50%);
  border-color:rgb(114 25 213);
}

#p3 {
  left: 20.5%;
  top:9%;
  transform: translate(-50%, -50%);
  border-color: rgb(108, 34, 115);
}

#p4 {
  right: 20.5%;
  top: 9%;
  transform: translate(50%, -50%);
  border-color: rgb(229 98 47);
}

#p5 {
  right: -28%;
  top: 70%;
  transform: translate(-50%, -50%);
  border-color: rgb(182, 68, 57);
}

#p6 {
  right: -28%;
  top: 28.5%;
  transform: translate(-50%, -50%);
  border-color: rgb(216, 84, 31);
}

.lines {
  width: 2px;
  background: red;
  position: absolute;
  z-index: 0;
  height: 130px;
  transform-origin: center center;
}

.lines::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  background: red;
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}

#line1 {
  left: 14%;
  top: 38%;
  transform: translate(-50%, -50%) rotate(-39deg);
  background: rgb(77, 20, 140);
  height: 100px
}

#line1::after {
  background: rgb(77, 20, 140);
}

#line2 {
  left: 22%;
  top: 57.8%;
  transform: translate(-50%, -50%) rotate(-122deg);
  /* height: 109px; */
  background: rgb(114 25 213);
}

#line2::after {
  background: rgb(114 25 213);
}

#line3 {
  left: 39.7%;
  top: 32.5%;
  transform: translate(-50%, -50%) rotate(-22deg);
  /* height: 131px; */
  background: rgb(108, 34, 115);
}

#line3::after {
  background: rgb(108, 34, 115);
}

#line4 {
  left: 62.0%;
  bottom: 69.5%;
  transform: translate(-50%, 50%) rotate(21deg);
  height: 148px;
  background: rgb(229 98 47);
}

#line4::after {
  background: rgb(229 98 47);
}

#line5 {
  left: 78.5%;
  bottom: 42.5%;
  transform: translate(-50%, 50%) rotate(479deg);
  background: rgb(182, 68, 57);
}

#line5::after {
  background: rgb(182, 68, 57);
}

#line6 {
  right: 10.5%;
  bottom: 62.4%;
  transform: translate(50%, 50%) rotate(45deg);
  background: rgb(216, 84, 31);
}

#line6::after {
  background: rgb(216, 84, 31);
}

#line7 {
right: 32.5%;
  top: 32%;
  transform: translate(50%, -50%) rotate(5deg);
  background: rgb(246, 98, 7);
}

#line7::after {
  background: rgb(246, 98, 7);
}

#line8 {
  right: 19.2%;
  top: 57.2%;
  transform: translate(50%, -50%) rotate(134deg);
  background: rgb(213 65 65);
}

#line8::after {
  background: rgb(213 65 65);
}

#line9{
right: 12.6%;
  top: 36.2%;
  transform: translate(50%, -50%) rotate(31deg);
  height: 90px;
  background: rgb(215 136 85)
}

#line9::after {
  background: rgb(215 136 85);
}

.output {
  display: block;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  width: 185px;
  padding:8px;
  position: absolute;
  right: -35%;
  top: 40%;
  transform: translate(70%, calc(-0% + 45px));
  background: white;
  border-radius: 5px;
  border: 3px solid rgb(251, 100, 2);
}

.output>div {
  width: 100%;
}
.output span{
  margin: 10px 0;
  font-weight: 600;
  text-align: center;
}
.area{
  display: block;
  margin: auto;
}
.groups {
  display: block;
  font-size: 17px;
  line-height: 30px;
  text-align: center;
  margin: 0px;
  font-weight: 500;
}

.info-btn {
  /* position: absolute; */
  /* right: -75px; */
  /* top: 70px; */
  width: 27px;
  height: 27px;
  border-radius: 50%;
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-btn img {
  width: 20px;
}

.logo {
  /* position: absolute; */
  /* left: -17%; */
  /* top: 23%; */
  width: 122px;
  background: white;
}

.btns-logo {

  position: absolute;

  width: 220px;

  height: 79px;

  /* background: red; */



  top: 18px;

  right: -32%;

  top: 50%;

  transform: translate(70%, calc(-0% - 244px));

  display: flex;

  align-items: center;

  justify-content: space-between;
  z-index: 3;
}

@media (max-width: 1200px) {
  section {
    /* position: relative; */
    /* transform: translateY(-5%); */
    /* padding: 75px 120px 0px 120px; */
  }
}
 /* @media (max-width: 892px) {
     .btns-logo{
         width: 191px;

  right: -25% ;
     }
     .logo{
         width:100px;
     }
     h4{

  left: -56% ;
  top: -28% ;
      font-size: 9px ;
     }
     h2 {

  right: -31%  ;
  top: 50%  ;

  font-size: 12px  ;
  line-height: 20px  ;
     }
     .output {
  width: 145px  ;
  position: absolute  ;
  right: -31%  ;
  top: 24%  ;
     }
     .groups{
      font-size:16px ;
     }
     section {
      padding-right: 235px !important;
  }
     .output span {
  margin: 3px 0;
     }
 } */

/* @media(max-width:798px){
  .portraitScreen #engine-img {
    height: 310px;
  }
  h4 {
    left: -48%;
    top: -28%;
    font-size: 9px;
    max-width: 110px;
}
h2 {
  right: -28%;
  top: 50%;
  font-size: 11px;
  line-height: 17px;
  max-width: 115px;
}
.output {
  width: 115px;
  position: absolute;
  right: -28%;
  top: 24%;
  padding: 4px;
}
.logo {
  width: 85px;
}
.btns-logo {
  width: 170px;
  right: -19%;
}
section {
  padding: 0 100px 0 64px !important;
}
} */
/* --- popup-- */
.info-btn {
  cursor: pointer;
}

/* The actual popup */
.popuptext {
  visibility: hidden;
  min-width: 160px;
  background-color: rgb(255, 255, 255);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 4px 0;
  position: absolute;
  z-index: 1;
  bottom: -118%;
  left: -37%;
  text-decoration: none;
  border: 1px solid rgb(253, 101, 2);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.popuptext a {
  text-decoration: none;
  color: blue;
  line-height: 20px;
  /* font-weight: 600; */
  /* text-align: center; */
  /* font-size: 18px; */
}

/* Popup arrow */
.popuptext::after {
  content: "";
  position: absolute;
  top: -25%;
  transform: rotate(180deg);
  left: 46.5%;
  margin-left: -5px;
  border-width: 12px;
  border-style: solid;
  border-color: rgb(253, 101, 2) transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}





@media (min-width: 925px) {
  section{
    transform: scale(1.05) translateY(-7%);
  }
}

@media (min-width: 1000px) {
  section{
    transform: scale(1.15) translateY(-7%);
  }
}
@media (min-width: 1050px) {
  section{
    transform: scale(1.20) translateY(-7%);
  }
}
@media (min-width: 1100px) {
  section{
    transform: scale(1.25) translateY(-7%);
  }
}
@media (min-width: 1150px) {
  section{
    transform: scale(1.3) translateY(-7%);
  }
}
@media (min-width: 1180px) {
  section{
    transform: scale(1.33) translateY(-7%);
  }
}
@media (min-width: 1200px) {
  section{
    transform: scale(1.38);
  }
}
@media (min-width: 1250px) {
  section{
    transform: scale(1.45
      );
  }
}
@media (min-width: 1280px) {
  section{
    transform: scale(1.5);
  }
}
@media (min-width: 1300px) {
  section{
    transform: scale(1.52);
  }
}
@media (min-width: 1400px) {
  section{
    transform: scale(1.6);
  }
}
@media (min-width: 1600px) {
  section{
    transform: scale(1.8);
  }
}
@media (min-width: 1800px) {
  section{
    transform: scale(2);
  }
}
