/*General Styling*/

* {
  padding:0;
  margin:0;
  font-size: 15px;
}

body {
  background: #092f00;
  margin: 0;
  font-family: Arial,sans-serif;
}

h1, h2, h3{
  font-weight: bold;
  font-variant: small-caps;
}
h1{
  font-size: 2rem;
}
h2{
  font-size: 1.5rem;
}
h3{
  font-size: 1rem;
}

p{
font-size: 0.9rem;
}

a{
  color: #03045e;
}

a:hover{
  color: blue;
}

a:visited{
  color: red;
}

img{
  height: auto;
  max-width: 400px;
}

.wrapper {
  background: white;
  margin: 0 auto;
  padding: 1rem;
  max-width:1440px;
}

.wrapper * {
  padding: 1rem;
}

header {
  background-image: url(header.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #171325;
  background-position: center;
  height: 200px;
}

header h1{
  text-align: center;
  color: #909090;
}

nav{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #171325;
}

nav li{
  width: auto;
  float: left;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

nav ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav a{
  font-size: 1.5rem;
  font-weight: bold;
  font-variant: small-caps;
  text-decoration: none;
  background-color: #171325;
  color: white;
}

nav a:hover{
  background-color: pink;
  border-color: black;
  border-bottom: 5px;
  border-bottom-style: solid;
  color: black;
}

nav a:visited{
  color: red;
}

.content {
  padding: 0;
}

.flight p{
  font-size: 1.2rem;
}

footer {
  background: #171325;
}

footer a{
  color: white;
}


@media screen and (min-width: 800px) {

  .content{
    /*Content Divs in Collums*/
    display: flex;
    flex-direction: column;

  }

  /*Flight Ordering*/

  .flight{
    display: flex;
    flex-direction: row;
  }

  #block_on_phone h3{
    /*Change fontsize for this element*/
    font-size: 1.5rem;
  }

  /*Divs inside each flight START: */

  .pic{
    flex: 1;
    background-repeat: no-repeat;
    background-image: url(landing.png);
    width: 100px;
    height:100px;
    margin-bottom: 10px

    }

  .f_id{
    flex: 1;
  }

  .from{
    flex: 1;
  }

  .t_plan{
    flex: 1;
  }

  .delay{
    flex: 1;
  }

  .indicator{
    display: flex;
    flex: 1;
  }

  .spacer{
    flex: 1;
  }

}


@media screen and (max-width: 800px) {

  #block_on_phone{
    /*Block Headers for Flights on smaller Screens*/
    display: none;
  }

}

/*blinking*/

.blinkingred {
  animation: 1s blink ease infinite;
  animation-delay: 0.5s;
  padding: 0;
  margin: 0;

}

.blinkinggreen{
  animation: 1s blink ease infinite;
  padding: 0;
  margin: 0;
}

@keyframes blink {
  from, to {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
