#panel{
  z-index: 100;
  display: grid;
  grid-template-rows: max-content 1fr;
  position: fixed;
  top: 10vh;
  left: 10vw;
  right: 10vw;
  height: 80vh;
  width: 80vw;
  min-width: 900px;
  max-width: 1280px;
  border-radius: 16px 16px 0px 0px;
  background-color: #0052888f;
  border: 2px inset #005288;
  user-select: none;
}
#panel #header {
  width: 100%;
  grid-area: 1;
  height: fit-content;
  margin-top: 0px;
  grid-row-gap: 1vh;
  padding: 1vw 5vw 1vw 5vw;
  display: inline-grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-rows: minmax(0, 1fr);
  border-radius: 16px 16px 0px 0px;
  background-image: url('https://servicos.decea.mil.br/portal/barra/bg.cfm');
  background-position: right;
  border-bottom: 2px double aliceblue;
}
#panel #header h3{
  grid-area: 2;
}
#panel #header input{
  width: 40%;
  grid-area: 1;
  text-transform: uppercase;
  color: black;
  text-align: center;
  font-size: xx-large;
  font-family: monospace;
}
#panel #header input#airline{
  width: 30%;
}
#panel #header input.button{
  width: 90%;
  font-size: x-large;
}

#flights {
  grid-area: 2;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
}
#flights h1{
  margin-left: 5vw;
  margin-top: 5vh;
}
#flights .flight {
  display: grid;
  height: fit-content;
  grid-auto-columns: minmax(0, 1fr);
  row-gap: 10px;
  padding-top: 10px;
  border-bottom: 1px solid aliceblue;
}
#flights .flight:hover{
  background-color: #005288;
}
#flights .flight div{
  grid-area: 1;
}
#flights .flight button{
  color:#005288;
  cursor: pointer;
}
#flights .flight div.aircraft{
  grid-area: 2;
  padding-bottom: 10px;
}
#flights .flight div.route{
  grid-area: 2;
  grid-column-start: 2;
  grid-column-end: 6;
  background-color: aliceblue;
  border-radius: 16px 0px 0px 0px;
  text-align: center;
  padding: 2px 0px 2px 0px;
  width: 100%;
  height: 100%;
  line-height: 100%;
}
#flights .flight div.route h5{
  color: black;
  font-weight: normal;
}
#flights .flight div.route div{
  color: olivedrab;
  user-select: all;
  font-weight: lighter;
  margin-top: 4px;
  font-size: larger;
  cursor: copy;
  font-family: monospace;
}
#flights .flight div.route:hover{
  background-color: wheat;
  color:olive
}