html, body
{
  overscroll-behavior: none;
}

/*  BUTTONS  */
button
{
  outline: 0;
  font-family: 'Arial';
  font-size: 25px;
  font-weight: bold;
  padding: 0.1em 0.5em;
  border: none;
  border-radius: 10px;
  background-color: #555;
  color: white;
  box-shadow: inset 0.05em 0.05em 0.05em 0 rgba(255,255,255,0.5), inset -0.05em -0.05em 0.05em 0 rgba(0,0,0,0.5);
  z-index: 1;
}

button:active
{
  padding: 0.2em 0.4em 0.01em 0.6em;
  background-color: #414141;
  box-shadow: inset 0.05em 0.05em 0.05em 0 rgba(0,0,0,0.5), inset -0.05em -0.05em 0.05em 0 rgba(255,255,255,0.5);
}

.icon
{
  display: block;
  width: 120px;
}

/*  BODY  */
body
{
  --section-height: 180px;
  --border-margin: 50px;

  background-image: url('/images/bkgTexture_carbonFiber.jpg');
}

.page-container
{
  max-width: 800px;
  margin: auto;
}

.location
{
  position: relative;
  background-image: url('/images/callMap-hondaJet.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 100px;
  margin: 20px var(--border-margin) 40px var(--border-margin);
}

.indicator
{
  position: absolute;
  width: 30px;
  top: 8px;
  left: 310px;
}

/*.cabin-header
{
  border-radius: 15px;
  background-image: linear-gradient(rgb(185, 214, 255), rgb(53, 118, 191));
  box-shadow: inset 1px 2px 15px rgba(0, 0, 0, 0.5);
  padding: 0.2em 0;
  font-family: 'Arial';
  font-size: 42px;
  font-weight: bold;
  color: white;
  text-align: center;
  text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4);
  margin: 50px var(--border-margin);
}*/

.section
{
  position: relative;
  border: 4px solid rgb(185, 214, 255);
  border-radius: 15px;
  height: var(--section-height);
  margin: 0px var(--border-margin) 80px var(--border-margin);
}

.header
{
  position: absolute;
  font-family: 'Arial';
  font-size: 32px;
  font-weight: bold;
  top: -52px;
  left: 30px;
  padding: 0px 10px;
  color: white;
  /* Text outline using text-shadow */
  text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black,
               -2px 0px 0 black, 2px 0px 0 black, 0px 2px 0 black, 0px -2px 0 black,
               -3px 0px 0 black, 3px 0px 0 black, 0px 3px 0 black, 0px -3px 0 black,
               -4px 0px 0 black, 4px 0px 0 black, 0px 4px 0 black, 0px -4px 0 black,
               -5px 0px 0 black, 5px 0px 0 black, 0px 5px 0 black, 0px -5px 0 black;
               /*-6px 0px 0 black, 6px 0px 0 black, 0px 6px 0 black, 0px -6px 0 black,
               -7px 0px 0 black, 7px 0px 0 black, 0px 7px 0 black, 0px -7px 0 black,
               -8px 0px 0 black, 8px 0px 0 black, 0px 8px 0 black, 0px -8px 0 black,
               -9px 0px 0 black, 9px 0px 0 black, 0px 9px 0 black, 0px -9px 0 black,
               -10px 0px 0 black, 10px 0px 0 black, 0px 10px 0 black, 0px -10px 0 black;*/
}

.button-grid
{
  display: flex;
  height: var(--section-height);
  justify-content: space-evenly;
  align-items: center;
}

.pwm-btn-down
{
  background-image: url('/static/assets/images/down-arrow.png');
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: center;
  padding: 50px;
  border-radius: 50px;
}

.pwm-btn-up
{
  background-image: url('/static/assets/images/up-arrow.png');
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: center;
  padding: 50px;
  border-radius: 50px;
}

.pwm-btn-down:active,
.pwm-btn-up:active
{
  padding: 50px;
  background-position: 28px 31px;
}

/*  REACTIVE SETTINGS  */
@media screen and (max-width: 799px)
{
  body
  {
    --section-height: 130px;
    --border-margin: 20px;

  }

  button
  {
    font-size: 18px;
  }

  .page-container
  {
    max-width: 600px;
  }

  .location
  {
    height: 67px;
  }

  .indicator
  {
    width: 25px;
    top: 3px;
    left: 228px;
  }

  .icon
  {
    width: 50px;
    margin-bottom: 3px;
  }

  .cabin-header
  {
    font-size: 32px;
  }

  .section
  {
    margin-bottom: 40px;
  }

  .header
  {
    font-size: 26px;
    top: -43px;
  }
}

@media screen and (max-width: 599px)
{
  .page-container
  {
    max-width: 380px;
  }

  .location
  {
    margin-bottom: 10px;
  }

  .indicator
  {
    width: 20px;
    top: 0;
    left: 139px;
  }
}