<style>





a {
  color:white;
  text-decoration:none;
}

nav a{
  color:white;
}


  body{
background-color:black;
	font-family:Roboto,"Times New Roman", serif;
	color:white;
}




.contact form div{
display: flex;
  width:100%;
  text-align:left;
  padding:5px;
}

.contact form div label{
flex:1;
justify-content:left;
  }

.contact form div input{
border-radius: 2px;
flex:1;

  }

  .contact form div select{
   
    flex:1;
      }

.scroller {
	background-color:grey;
	flex:0 0 100%;
	overflow:hidden;
	display:flex;
	justify-content:center;
}

.scroller img {
	width: calc(100% / 4);
	display:inline-flex;
	justify-content:center;
}

ul{
	list-style-type:none;
	
}

li {
	padding:10px;
}


footer{
	display:flex;

	flex:0 0 100%;
	justify-content:center;
}




/*


Added infinite CSS scroller


*/

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 60px 0;
  background: black;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), black);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), black);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 35s slide infinite linear;
}

.logos-slide a{
  text-decoration:none;
}

.logos-slide img {
  height: 100px;
  margin: 0 80px;
}

#lang, #education{
	display:block;
	
}

#lang ul li{
	background-color:#385134;
	border-radius:10px;
	margin:1em;
	display:inline-flex;
	padding:.75em;
}

#lang ul{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
}

#education ul li{
	background-color:#385134;
	border-radius:10px;
	margin:1em;
	display:inline-flex;
	padding:.75em;
}

#education ul{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
}



/* End infinte scrollbar CSS */



/* Beginning of mobile styling */
@media screen and (max-width:768px) { 

/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */   
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(0,0,0); /* Black fallback color */
  background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 25%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

	
  .contact form{
    display:block;
	margin:1em;
  }
  
 .contact{
	  margin:1em !important;
  }
  
  .faviconHeader{
	 display:none;
  }
  
  nav{
	  display:block !important;
	  text-align:center;
  }
  
  .name{
	  display:inline-block !important;
  }
  
  .gridLink{
	  display:none !important;
  }
  
  .contact{
	  display:block;
  }

  
}

/* End of mobile styling */


/* Beginning of desktop styling */

@media screen and (min-width:769px){ 

.desktophide{
display:none;
}

.overlay{
display:none;
}

	section {
	min-height: 100px; 
	max-height:500px;
	margin:2em;
	flex:0 0 100%;
	flex-wrap:wrap;
}

	nav {
	display:grid;
	border-color:white;
	border:1px solid grey;
	align-items:center;
	z-index:999;
	padding:1em;
	background-color:black;
}	
	
	.faviconHeader{
display:inline-grid;
grid-column: 1 / span 1;
	}
	
.name{
	display:inline-grid;
	grid-column: 2 / span 1;
}


.gridLink{
	display:flex;
	grid-column:4/span 1;
}

.gridLink div{
	display:inline-flex;
	margin-left:3em;
}

  .contact form{
    display:block;
    width:60%;
    margin-left:20%;
    margin-right:20%;
  }
  
  .p-centre{
	text-align:center;

	padding-left:10%;
	padding-right:10%;

}

.contact{
  display:flex;
  justify-content: center;
  align-items: center;
  margin:1em;
}


nav ul li {
  display:inline-flex;
}

nav ul {
	display:flex;
  justify-content: space-evenly;
      flex-wrap: wrap;
    flex: 0 0 100%;
    margin-left: 0em !important;
    padding-left: 0px;
}

  body{
background-color:black;
	font-family:Roboto,"Times New Roman", serif;
	margin:0px !important;
	color:white;
}
}
/* End of desktop styling */



</style>
