@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed');

  
body {
  font-family: 'Roboto Condensed', sans-serif;
  box-shadow: 30px 0px 40px rgba(0, 0, 0, 0.2),
  -30px 0px 40px rgba(0, 0, 0, 0.2);
}


.wrapper {

    display: flex;
    flex-direction: column;  
    font-weight: bold;
    text-align: center;
  }
  
  .wrapper-second {
    
      display: flex;
      flex-direction: row;
      justify-content: center;
  }

  .wrapper-left {
    flex-direction: column;
    width: 33%;
  }

  .wrapper-middle {
    flex-direction: column;
    width: 33%;
    justify-content: center;
    align-items: center;

  }

  .wrapper-right {
    flex-direction: column;
    width: 33%;

  }

  .wrapper-super {
    background-color: #0e6dcc;
    text-align: center;
    align-self: center;
    justify-content: center;
    justify-items: center;
    justify-self: center;
  }

  table.center {
    width:80%; 
    margin-left:10%; 
    margin-right:10%;
    border-spacing:0; /* Removes the cell spacing via CSS */
    border-collapse: collapse;  /* Optional - if you don't want to have double border where cells touch */
  }

  table {
    /*background-color: #a8a8a8;*/
    margin: 10px;
    padding: 200px;
  }

  table td {
    padding:0; 
    margin:0;
  }

  #row-1 {
    text-align: center;
  }
  
  .header {
    background: #0e78d2;
    font-size: 2.5em;
    padding: 0.5em;
    color: white;
    letter-spacing: 1px;
    font-weight: normal;

  }
  
  #myFooter {
    background: #0e6dcc;
    font-size: 2em;
    padding: 0.35em;
    color: white;
    letter-spacing: 1px;
    font-weight: normal;
  }
  
  .main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: #414a54;
  }

  .cont {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
  }


h3 {
    /*background-color: burlywood;*/
    padding: 0px;
    margin: 0px;
    margin-top: 10px;
    margin-bottom: 20px;
    color: white;
    font-weight: normal;
    letter-spacing: 1px;
    /*color: blueviolet;*/
}

#imgEqual {
  padding: 10px;
}

#myTableWrapper {
  padding: 10px;
}

.wrap-btn {
    background-color: #414a54;
    padding: 20px;
    width: 126px;
}

  button {
    

    background-repeat: no-repeat;  /* make the background image appear only once */
    border: none;           /* assuming we don't want any borders */
    cursor: pointer;        /* make the cursor like hovering over an <a> element */
    height: 110px;           /* make this the size of your image */
    width: 126px;           /* make this the size of your image */
    border-radius: 20px;
    background-position: center;  /* equivalent to 'top left' */
    margin: 0px;
    margin-top: 12px;
    transition: all .3s ease-in-out;
  }
  
  button:hover {
    transform: scale(1.15);
    cursor: pointer;
  }

  .btn-1 {
    background-color: #dddd1a;
    background-image: url(../images/Converter_Icon_Area.png);
    background-size: 45%;
  }
  
  .btn-2 {
    background-color: #32ce3c;
    background-image: url(../images/Converter_Icon_Currency.png);
    background-size: 25%;
  }
  
  .btn-3 {
    background-color: #2f2f2f;
    background-image: url(../images/Converter_Icon_Binary.png);
    background-size: 50%;
  }

  .btn-4 {
    background-color: #ff6b6b;
    background-image: url(../images/Converter_Icon_Fuel.png);
    background-size: 37%;
  }

  .btn-5 {
    background-color: #329afe;
    background-image: url(../images/Converter_Icon_Length.png);
    background-size: 55%;
  }
  
  .btn-6 {
    background-color: #b731de;
    background-image: url(../images/Converter_Icon_Power.png);
    background-size: 25%;
  }
  
  .btn-7 {
    background-color: #3d57ff;
    background-image: url(../images/Converter_Icon_Pressure.png);
    background-size: 30%;
  }

  .btn-8 {
    background-color: #0fd2b9;
    background-image: url(../images/Converter_Icon_Speed.png);
    background-size: 50%;
  }

  .btn-9 {
    background-color: #f11b1c;
    background-image: url(../images/Converter_Icon_Temperature.png);
    background-size: 22%;
  }
  
  .btn-10 {
    background-color: #129a09;
    background-image: url(../images/Converter_Icon_Time.png);
    background-size: 47%;
  }
  
  .btn-11 {
    background-color: #efa23e;
    background-image: url(../images/Converter_Icon_Volume.png);
    background-size: 35%;
  }

  .btn-12 {
    background-color: #f47f27;
    background-image: url(../images/Converter_Icon_Weight.png);
    background-size: 55%;
  }
  
  .input {
    background: white;
    text-align: center;
    font-size: x-large;
    align-self: center;
    width: calc(100% - 10px);
    padding-top: 6px;
    padding-bottom: 6px;
  }
 
  /*
  .empty {
    background: turquoise;
  }

  .choice-1 {
    background: red;
    width: calc(100% - 6px);
    border: 0;
    outline: 1px inset black;
    outline-offset: -1px;

  }
  */
  
  .choice {
    background: #dddddd;
    width: calc(100% - 2px);
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    background-image: url("https://image.flaticon.com/icons/svg/60/60781.svg");
    background-position: 98% 50%;
    background-repeat: no-repeat;
    background-size: 16px;
    font-size: 1.5em;
    padding: 6px;
    padding-left: 8px;

  }

  .aside {
      font-size: 1.5em;
      padding: 6px;
  }


  /* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.active {
  background-color: #0e78d2;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}


  @media screen and (max-width: 600px) {

    body {
      padding: 0.2em; 
    }

    .wrap-btn {
      padding: 16px;
      width: 104px;
    }
  
    button {
      height: 91px;           /* make this the size of your image */
      width: 104px;           /* make this the size of your image */
      border-radius: 12px;
    }
    

    .input {
      font-size: large;
    }

    .choice {

      background-image: url("https://image.flaticon.com/icons/svg/60/60781.svg");
      background-position: 98% 50%;
      background-repeat: no-repeat;

      background-size: 8px;
      font-size: 1em;
      padding: 6px;
      padding-left: 8px;
  
    }

    table.center {
      width:98%; 
      margin-left:1%; 
      margin-right:1%;
      
    }

  }
  

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }


}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

@supports (-webkit-overflow-scrolling: touch) {
  /* CSS specific to iOS devices */ 
.choice {
    width: calc(100% - 0px);
}

.input {

    width: calc(100% - 26px);

  }


}


