/*Achtergrond en main style van de header*/ 
header{
  background: steelblue;
  font-size: 300%;
  text-align: center;
  padding: 2%;
  display: flex;
  justify-content: center;
}

/*Logoafbeelding in de header*/ 
.headerItem img{
  width: 75%;
  height: auto;
}

/*Tekst in de header (Tietel website)*/ 
.headerItem p{
  font-size: 300%;
  text-align: center;
}

/*Navigatiebalk*/ 
.nav{
  margin-top: 1%;
  background: lightblue;
  font-size: 300%;
  text-align: center; 
  display: flex;
  justify-content: space-between;
}

/*Zoekbalk in de nvaigatiebalk*/ 
.nav input{ 
  border-radius: 20%;
  text-align: center;
  height: 100%;
  width: 342px; 
  border: none;
  background-color: white;
}

/*Verwijder leijke randje om zoekbalk als je aan het typen bent*/ 
.nav input:focus input:hover{
  border-radius: 20%;
  text-align: center;
  height: 100%;
  border: none;
  background-color: skyblue; 
}

/*Linkjes in navigatiebalk*/ 
.nav a{
  color: white;
  text-decoration: none;
}

/*Footer van de website*/ 
footer{
  margin-top: 1%;
  background: steelblue;
  font-size: 300%;
  text-align: center; 
  padding: 2%;
}

/*Middenpagina van de website*/ 
.main {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1%;
  align-items: flex-start; 
}

/*Parent van de preview-games*/ 
.games {
  flex: 3 1 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 40%), 1fr)); /* 40% ipv 30% */
  min-width: 0;
  width: 100%;
}

/*Zijbalk met nieuws (vast formaat + scrollen)*/ 
.side {
  flex: 1 1 0;
  background: skyblue;
  max-width: 25%;
  min-width: 20%;
  margin-top: 0.25%;
  margin-left: 0.5%;
  
  padding: 0px;
  font-size: 300%;
  text-align: center;
  color: white;

  font-family: 
}

.newsItemHolder{
  height: 71vh;        /* vaste hoogte */
  overflow-y: auto;     /* scrollbar wanneer nodig */
  
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsItem{
  background-color: white;
  border-radius: 15%;
  width: 90%;
  margin-bottom: 10%;
}

.newsItem h1{
  font-size: 60%;
  color: black;
}

.newsItem p{
  font-size: 40%;
  color: black;
}

.gamePreview {
  background: lightgrey;
  font-size: 200%;
  text-align: center;
  aspect-ratio: 16 / 9;
  margin: 1%;
  text-align: center; 

  display: flex;
  align-items: center;
  flex-direction: column;
}

body{
  margin: 0px;
  font-family: comfortaa;
}

@font-face {
  font-family: comfortaa;
  src: url('font.ttf');
}