@charset "utf-8";
/* CSS Document */
* {padding:0; margin: 0; box-sizing: border-box;}

   html,
      body {
        height: 100%;
        margin: 0;
		background-color: black;
		
      }
      .box {
        display: flex;
        flex-flow: column;
        height: 100%;
      }

      .box .row.header {
        flex: 0 1 auto; 
      }

		.row.header {
		display: flex;
		flex-flow: row;	
		justify-content: space-between;
		font-family: 'Reenie Beanie', cursive;
		font-size: 60px;
		font-weight: bolder;	
		color: white;
		padding-left: 10px;	
		padding-right: 10px;	
}

.row.header a {
	color: white;
	text-decoration: none;	
}

      .box .row.content {
        flex: 1 1 auto;
		background-image: url("pics/space_travel.jpg");
		background-size: cover;
		background-position: top 40px left -300px;  
      }

nav {
	text-align: center;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	background-color: black;
}

nav a {
	color: white;
	text-decoration: none;
}

.menu, .submenu {
	list-style-type: none;
}

.logo {
  font-size: 20px;
  padding: 7.5px 10px 7.5px 0;
}

.item {
  padding: 10px;
}
.item.button {
  padding: 9px 7px;
}
.item:not(.button) a:hover,
.item a:hover::after {
  color: #ccc;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.menu li a {
  display: block;
  padding: 15px 5px;
}

.menu li.subitem a {
  padding: 10px;
}

.toggle {
	order: 1;
  font-size: 20px;
}


.item {
	order: 2;
  width: 100%;
  text-align: center;
  display: none;
}

.active .item {
  display: block;
}


.submenu {
  display: none;
}

.submenu-active .submenu {
  display: block;
}

.has-submenu i {
  font-size: 12px;
}

.has-submenu > a::after {
  font-family: "Font Awesome 5 Free";
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  content: "\f078";
  color: white;
  padding-left: 5px;
}

.subitem a {
  padding: 10px 15px;
}

.submenu-active {
  background-color: #111;
  border-radius: 3px;
}

      .box .row.footer {
        flex: 0 1 40px;
      }

.row.footer {
		display: flex;
		flex-flow: row;	
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
		font-family: 'Reenie Beanie', cursive;
		font-size: 30px;
		color: white;
}

/* Tablet menu */
@media all and (min-width: 700px) {
	.box .row.content {
		background-image: url("pics/space_travel.jpg");
		background-size: 100%;
		background-repeat: no-repeat;
		background-position: top 40px left 0;
	}
	
	.menu {
    justify-content: center;
  }
  .logo {
    flex: 1;
  }

  .toggle {
    flex: 1;
    text-align: right;
    order: 1;
  }

}
/* Desktop menu */
@media all and (min-width: 960px) {
  .menu {
    align-items: flex-start;
    flex-wrap: nowrap;
    background: none;
  }

  .item {
    order: 1;
    position: relative;
    display: block;
    width: auto;
  }

  .submenu-active .submenu {
    display: block;
    position: absolute;
    left: 0;
    top: 68px;
    background: #111;
  }
  .toggle {
    display: none;
  }
  .submenu-active {
    border-radius: 0;
  }
}

