html, body {
    height: 100%;
	user-select: none;
}
body {
	background-color: #222;
	margin: 0;
	font-family: arcade, monospace ;
	color: #f2f2f2;
}

a {
	font-family: arcade, monospace ;
	color: #f2f2f2;
	text-decoration: none;
}


#navContainer {
	display: flex;
	align-content: stretch;
	align-self: flex-start;
	border-bottom: solid 1px #ddd;
	width: 100%;
}
nav {
    background: #222;
    box-sizing: border-box;
    margin: 0;
    padding: 0 15px;
}
nav a {
    color: white;
	font-size: 17px;
    text-decoration: none;
}
.menu,
.submenu {   
    list-style-type: none;
	margin: 0;
}
.submenu {   
    padding: 1px 2px;
}
.item {
    padding: 0;
}
.item.button {
    padding: 9px 5px;
}
.item:not(.button) a:hover,
.item a:hover::after {
    color: #333;
}

/* Mobile menu */
.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.menu li.item a, .menuclosed {
    display: block;
    padding: 14px 16px;
}
.menu li.subitem a {
    padding: 15px;
}
.toggle {
    order: 1;
    font-size: 20px;
}
.item.button {
    order: 2;
}
.item {
    order: 3;
    width: 100%;
    text-align: center;
    display: none;
}
.active .item {
    display: block;
}
.button.secondary { /* divider between buttons and menu links */
    border-bottom: 1px #444 solid;
}

/* Submenu up from mobile screens */
.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 {
    padding: 0.5px;
}
.subitem a {
    padding: 10px 15px;
}
.submenu-active {
    background-color: #1a1a1a;
    border-radius: 3px;
}
/* Desktop menu */
@media all and (min-width: 960px) {
    .menu {
        align-items: flex-start;     
        flex-wrap: nowrap;
        background: none;
    }
    .logo {
        order: 0;
    }
    .item {
        order: 1;
        position: relative;
        display: block; 
        width: auto;
    }
    .button {
        order: 2;
    }
    .submenu-active .submenu {
        display: block;
        position: absolute;
        left: 0;
        top: 48px;
        background: #1a1a1a;
    }
	ul.submenu {
		border-bottom-left-radius: 4px;
		border-bottom-right-radius: 4px;
		padding-bottom: 2px;
	}
    .toggle {
        display: none;
    }
    .submenu-active {
        border-radius: 0;
    }
	/* When you move the mouse over the subnav container, open the subnav content */
	.has-submenu:hover .submenu {
	  display: block;
        position: absolute;
        left: 0;
        top: 48px;
        background: #1a1a1a;
	}
}
#logo{
	display: flex;
	justify-content: left;
	align-items: center;
	background-color: #222 ;
	height: 47px;
	font-weight: bold ;
	text-align:left ;
	width: 100%;
	padding-left: 20px;
}
#logo img {
	width: 20px;
	height: 20px;
}
#logo p {
	display: inline;
	text-align: left;
	padding-left: 20px;
}

#logo a {
	font-weight: bold ;
	font-size: 15px ;
}

.topnav {
  overflow: hidden;
  background-color: #222;
  width: 100%;
  border-left: solid 1px #ddd;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Add a background color to navigation links on hover */
nav a:hover {
  background-color: #ddd;
  color: black;
}

nav li.selected > a {
  background-color: #AF504C;
}

.topnav .icon {
  display: none;
}

@keyframes fader {
	0% { background: rgba(50,50,50,0.8); border-color: #333; color: #fff;} 
	50% { background: #222; border-color: #222; color: #222;} 
	100% { background: rgba(50,50,50,0.8); border-color: #333; color: #fff;} 
	}
@keyframes textchanger {
  0% {
    content: "Consulting";
  }
  25% {
    content: "Software Development";
  }
  50% {
    content: "DevOps";
  }
  75% {
    content: "Analytics";
  }
  100% {
    content: "Business Intelligence";
  }
}
#container {
	display: flex;
	flex-flow: column;
	height: 100vh;
}
#main {
	display: flex;
	flex: 1;
	justify-content: center;
	background-image: url("https://www.rysuk.com/amiga/images/imag0022.jpg");
	background-position: center; 
	background-repeat: no-repeat; 
}
#centerBand {
	display: flex;
	flex-grow: 1;
	justify-content: center;
	background: rgba(50,50,50,0.5);
}
#content {
	align-self: center; 
	color: #f2f2f2;
	background: rgba(50,50,50,0.8);
	border: 2px solid #222 ;
	border-radius: 8px;
	padding: 10px 10px 10px 20px;
	width: 90%;
}
.contentTitle {
	font-size: large;
	font-weight: bold;
}
#footer {
	min-height: 40px;
	border-top: 1px solid #000;
	background: #333;
	font-size: 12px ;
	font-weight: bold ;
	text-align:center ;
	width: 100%;
}
#medbox {
	background: #222;
	border: 2px solid #222 ;
	border-radius: 4px;
	cursor: pointer;
	padding: 20px;
	display: flex;
	align-items: center; 
	align-self: center;
	justify-content: center;
	width: 30em;
	animation: fader 4s infinite alternate ease-in-out; 
	}
.guru {
	color: #ff0000 ;
	font-size: 25px ;
	font-weight: bold ;
	text-align: center;
	animation: fader 4s infinite alternate ease-in-out;
	}
.guru:before {
  content: "Guru Meditating";
  animation: textchanger 16s infinite alternate ease-in-out; 
}
.aboutContent li {
	line-height:30px;
}
@media screen and (max-width: 830px) {
  .topnav a:not(:first-child), .topnav button {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 830px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a, .topnav.responsive button, .topnav.responsive .subnav {
    float: none;
    display: block;
    text-align: left;
  }
  .subnav-content {
	    display: block;  
  }
  .subnav-items {
	  flex-wrap: wrap;
  }
}
@media screen and (max-width: 560px) {
	#medbox {
		width: 70%;
	}
}
@media screen and (max-width: 450px) {
	.guru {
		font-size: 20px ;
	}
}
@media screen and (max-width: 410px) {
	#logo p {
		font-size: 12px ;
	}
}