*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  width: 100%;
  background-color: rgb(95, 95, 95);
  overflow-x: hidden;
}


.mainVisStil {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  text-transform: uppercase;
  color: rgb(31, 31, 31);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3vmin;

  width: min(100vmin, 100%);
  margin: 2vmin auto;
  padding: 0 2%;
  position: relative;
}


:root {
  --radius: 20%;
  --border: solid 5px rgb(0, 0, 0);
  --bg: #dadadacc;
  --color: rgb(31, 31, 31);
  --font: Arial, Helvetica, sans-serif;
  --fs-xl: clamp(1rem,   6vmin, 3.3rem);
  --fs-lg: clamp(0.85rem, 4.5vmin, 2.5rem);
  --fs-md: clamp(0.75rem, 4vmin,  2rem);
  --fs-sm: clamp(0.65rem, 3.5vmin, 1.8rem);
}


h1 {
  width: 100%;
  padding: 1%;
  border: var(--border);
  background-color: var(--bg);
  border-radius: var(--radius);
  font-size: var(--fs-xl);
  line-height: 1.05;
  align-items: center;
}

#PirmNosauk{
   height: auto;
      padding: 2.8% 2%;
      border-radius: 35%;
  }


#CepParveidNosak{
  width: 63%;
  font-size: var(--fs-lg);
border-radius: 28%;
padding: 2% 0%;
}

#FizikMervParNosauk{
  width: 59%;
  font-size: var(--fs-lg);
border-radius: 28%;
padding: 2% 0%;
}

.btn {
  display: block;
  width: 80%;
  padding: 2% 5%;
  font-size: var(--fs-lg);
  font-family: var(--font);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color);
  background-color: var(--bg);
  border: var(--border);
  border-radius: 32%;
  margin-top: -2.7vmin;
}


.input-row {
  height: 4vmax;
  display: flex;
  flex-direction: row;
  width:80%;
  gap: 0.5%;

}


input {
  min-width: 0;
  font-size: var(--fs-md);
  font-family: var(--font);
  font-weight: 700;
  color: var(--color);
  border: var(--border);
  background-color: var(--bg);
  padding: 1%;
}

select {
  flex: 1;
  min-width: 0;
  font-size: var(--fs-sm);
  font-family: var(--font);
  font-weight: 700;
  color: var(--color);
  border: var(--border);
  background-color: var(--bg);
}

p {

  border: var(--border);
  background-color: var(--bg);
  color: var(--color);
  font-size: var(--fs-md);
  text-transform: none;
  text-align: left;
  padding: 2% 1.3%;
  font-family: var(--font);
  font-weight: 700;
}


#Ievade    { flex: 1.565; }
#gml       { flex: 0.5; }
#TejEdGlaze1 { flex: 1.2; text-transform: uppercase;}
#izvade    { flex:1; }
#TejEdGlaze  { flex: 1.2; text-transform: uppercase;}

#SImervAtkViz { flex:1.8;}
#Prie23       { flex: 0.81; }
#SImerv      { flex: 0.87;}
#PrieIzvad    { flex: 0.7; }

#SImervAtkViz{
   white-space: nowrap;      
    overflow-x: auto;        
    overflow-y: hidden;  

}
#VienadMerv {
  flex: 0.94;
  font-size: var(--fs-sm);
  font-family: var(--font);
  font-weight: 700;
  color: var(--color);
  border: var(--border);
  background-color: var(--bg);
  text-transform: none;
  display: flex;
  align-items: center;
  padding-left: 0.7%;
  
}


.btn-rinda{
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 2vmin;


}

#ParveidotPog {
  width: 60%;
  padding: 2%;
  font-size: var(--fs-lg);
  font-family: var(--font);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color);
  background-color: var(--bg);
  border: var(--border);
  border-radius: 25%;
  margin-right: 40%;
}



#AtpakalIvelEkr {
  width: 60%;
  padding: 2% ;
  font-size: var(--fs-lg);
  font-family: var(--font);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color);
  background-color: var(--bg);
  border: var(--border);
  border-radius: 25%;
  margin: 0 auto;

 
}

#SIstime,
#PieTabizv,
#CepTabIzvop {
  border-radius: 10%;
  padding: 2% 5%;
  width: 100%;
}

#SITabNos{
  padding: 2% 2.4%;
  border-radius: 28%;
}
#PriedTabNos{
  width: 85%;
  padding: 2% 2.4%;
  border-radius: 28%;
  align-items: center;
}

#CepTabNos{
  padding: 2% 2.4%;
  border-radius: 28%;
   width: 110%;
   align-items: center;
}

#TabOpcijaNosaukums{
  width: 90%;
   border-radius: 35%;
   padding: 2% 3%;
    font-size: var(--fs-xl);
 
}



#atpakalTabIzvEkr {
  font-size: var(--fs-md);
  text-transform: uppercase;
  color: var(--color);
  font-weight: 700;
  background: none;
  border: none;
  margin: 1vmin auto;
  display: block;
  align-items: center;

}


#PirmTab {
  display: flex;
  flex-direction: row;
  width: 120%;
  gap: 0%;
  align-items: flex-start;
   margin-top: -2.5%;
}

#OtrTab{
  margin-top: -2.5%;
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 0%;
  align-items: flex-start;
  margin-right: 1%;

}

#TreTab{
  margin-top: -2.5%;
  display: flex;
  flex-direction: row;
  width: 150%;
    gap: 0%;
  align-items: flex-start;

}

.Tab2Diz {
  text-transform: none;
  border: solid 4px rgb(0, 0, 0);
  padding: 0.1% 0.6%;
  font-weight: 700;
  text-align: left;
  font-size: var(--fs-sm);
    line-height: 1.301;
  width: auto;
  height: 20%;
  


}

#tab2tresdal{
     line-height: 1.3;
   border-left: none;
   text-align: center;
   padding-left: 20vmin;

}

.Tab1Diz {
  text-transform: none;
  border: solid 4px rgb(0, 0, 0);
  padding: 0.1% 0.6%;
  font-weight: 700;
  text-align: left;
  font-size: var(--fs-sm);
  line-height: 1.5;
  width: auto;
}

#Tab1Pirmdal           { flex: 2.9; }
#tab1otradal           { flex: 1.2; border-left: none; text-align: center;}
#Tab2Pirmdal           { flex: 2.5; border-right: none;}
#tab2otradal           { flex: 1; border-left: none; border-right: none;  text-align: center;}
#CepTab1           { flex: 0.7; border-right: none; }
#CepTab2           { flex: 0.6; border-right: none; text-align: center;border-left: none; }
#CepTab3           { flex: 1; border-right: none; text-align: center; border-left: none;}
#CepTab4           { flex: 0.5; border-left: none; text-align: center; padding-right: 2vmin ; } 

#PirmTab > p:last-child { flex: 1; border-left: none;text-align: center;}

#OtrTab > p:last-child { flex: 1; }


sup {
    vertical-align: super;
    font-size: 60%;
}




