.container{
    border: 4px rgba(0, 0, 0);
    width: 100vw;
    height: 100vh;
    
} 
.head{
  font-size: calc(1vh + 0.7rem);
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.4s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}


.calculationbox {
    position: absolute;
    display: flex;
    width: 50vw;
  
    height: 175px;
    transform: translate(-50%, -75%);
   
    left: 50%;
    top: 50%;
  
    /* background-color: rgba(216, 238, 255, 0.5); 
      border: 1px solid #000000; */
  
  
  }
  .options {
    position: absolute;
    display: flex;
    width: 50vw;
    height: 150px;
    transform: translate(-50%, -75%);
    top: 52.5%;
    left: 50%;
    margin:1px;
  }
  
  .optionsa {
    font-size: 1rem;
    position: absolute;
    display: block;
    width: 50vw;
    height: 150px;
  }
   /* #results {
      position: absolute;
      display: auto;
      width: 600px;
    
      height: 175px;
      transform: translate(-50%, 100%);
      top: 65%;
      left: 50%;
    
      background-color: rgba(200, 200, 200, 0.3);
    
      margin: 0;
      top: 50%;
  } */
  .container {  /* position:sticky; */
    /* /* display:block; */
    width:100%;
    height:100%;
    margin: auto;
    /* transform: translate(-50%, 100%);} */
  }
                                     
    
    
  
  #resultaresultb {  
      position:relative;
      display:block;
      margin:auto;
      font-size: calc(1vw + 1em);
      /* text-wrap:pretty; */
      
      /* text-align: center; */
  }
    /* #head{
    position: absolute;
   
    left:0;
    right:0;

} */
fieldset{
  background-color: rgba(216, 238, 255, 0.5); 
  border: 1px solid #000000;
 
}
@media (prefers-color-scheme: dark) {
  fieldset{background-color: rgba(0, 145, 255, 0.5); 
    border: 1px solid #ffffff;}
}
.footer {
  position: fixed;
  left: 10;
  bottom: 0;
  width: 100%;
  font-size: calc(1vh + 0.5rem);

  /* background-color: red; */
  /* color: white; */
  /* text-align: center; */
}


@media all and (orientation:portrait) {
  .portrait{    
    display:auto;
  }
  .landscape{    
    display:none;
  }
  #convert-form select{
    margin: 1px 0;
  }
  
  #convert-form {
    flex-direction: column;
    align-items: stretch;
  }
  .calculationbox{
    flex-direction: column;
    align-items: stretch;
  
  }

  /* body{
   background-color: rgb(86, 193, 229);
  } */
}
  
@media all and (orientation:landscape) {
  .portrait{    
    display:none;
  }
  .landscape{
    display:auto;
  }
  /* #convert-form select {
    margin: 10px 0;
  } */
  
  /* #convert-form {
    flex-direction: column;
    align-items: stretch;
  } */
  /* body{
    background-color: rgb(202, 67, 67);
   } */
}




#convert-form {  
  display: flex;
  flex-flow: row wrap;
  align-items: center;

 
  /* background-color:rgba(216, 238, 255, 0.5) ; */
}

#convert-form label {
  margin: 5px 10px 5px 0;
}

#convert-form select {
  vertical-align: middle;
  /* margin: 5px 10px 5px 0;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ddd; */
  cursor: pointer;
}

#convert-form button {
  padding: 1vh 1vw;
  background-color: rgb(217, 219, 223);
  border: 1px solid #ddd;
  color: rgb(0, 0, 0);
  cursor: pointer;
}

#convert-form button:hover {
  background-color: royalblue;
}

/* @media (max-width: 800px) {
  #convert-form select {
    margin: 10px 0;
  } */
  


