html,
body {
    height: 100%;
    margin: 0;
    background-image: url(images/80833b86875e45153f14c86f85f68ed7.jpg);
    background-size: cover
    
}

/*Beginindex gedeelte*/
.index-body main {
  display: flex;
  align-items: center;
  height: 100%;
}

.index-body {
  display: flex;
  flex-direction: column;
}

*{
    text-decoration: none;
}

@font-face {
    font-family:'Retro Gaming';
    src: url(fonts/Retro\ Gaming.ttf);
    font-style: normal;
    font-weight: normal;
}

.skip-link {
  position: absolute;
  top: -2.5em;
  left: 0;
  background-color: #ffffff;
  color: #000000;
  padding: 0.5em;
  z-index: 100; /* High z-index to ensure it's above other items */
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0.6em; 
}

.h1-games {
  font-weight: 100; 
    font-family: 'Retro Gaming', sans-serif; 
    font-size: 6.8em; 
    text-align: center;
    margin-top: 0.16em;
    color: white;
}

.h1-highscores {
  font-weight: 100; 
  font-family: 'Retro Gaming', sans-serif; 
  font-size: 6.8em; 
  text-align: center;
  margin-top: 0.16em;
  color: white;
  margin-bottom: 0.4em;
}


header {
  width: 100%;
}

.navbar {
    background-color: rgba(103, 0, 144, 0.753); 
    font-family: 'Retro Gaming', sans-serif;
    padding-right: 1.25em;
    padding-left: 1.25em;
    height: 9vh;

    
    
    
}

.navdiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    
}

.logo a {
    font-size: 2.1em; 
    font-weight: 500; 
    color: white;
    position: relative;
    top: 0.17em;
}
li {
    list-style: none; 
    display: inline-block;
    position: relative;
    top: 0.5em;
}

li a {
    color: white; 
    font-size: 1.1em; 
    font-weight: 500; 
    margin-right: 2.5em;
}


li a:focus {
  outline: 2px solid rgb(255, 255, 255);
  background-color: rgba(255, 255, 255, 0.2); 
}
  
  
button {
    background-color: blue; 
    margin-left: 0.94em; 
    border-radius: 0.5em; 
    padding: 0.6em; 
    width: 7.8em; 
    position: relative;
    top: 0.1em;
    font-weight: 500; 
    color: white; 
    font-size: 0.9em; 
    font-family: 'Retro Gaming', sans-serif;
    
}


button:hover {
    background-color: rgb(52, 52, 233)
}

button:focus {
  outline: 2px solid rgb(255, 255, 255); /* Makes the focus state more visible */
  background-color: rgb(52, 52, 233); /* Optional: change the background color on focus */
}

li:hover {
    text-decoration: underline; 
    color: white;
}



.roze-square {
  width: 50%; 
  height: 60%; 
  background-color: rgba(167, 91, 167, 0.904);
  display: flex;
  align-items: center;
  padding: 10px; 
  margin-left: 4%;
  border-radius: 3%;
  margin-top: 2%;
  
}

img {
  max-width: 70%;
  max-height: 90%;
}


.text-container {
  display: flex;
  flex-direction: column;
  margin-right: 2%;
  
  
  
}

h2, p {
  color: white;
  font-family: 'Retro Gaming', sans-serif;
  font-weight: 100;

}


.ready-to-game {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 46%;
  height: 70%;


}

h1 {
  margin: 0 auto;
  color: white;
  font-family: 'Retro Gaming', sans-serif;
  font-weight: 500;
  font-size: 5.5em;
  text-align: center;
 
  
}

.gamespan {
  display: block;
  font-size: 1.6em;
  animation: letterspace 1s infinite;
 
}

@keyframes letterspace {
  0% {
    letter-spacing: 0;
  }
  50% {
    letter-spacing: 0.05em; 
  }
  100% {
    letter-spacing: 0;
  }
}
/*Einde index gedeelte*/


/*Begin games gedeelte*/
.container-games {
  display: flex;
  justify-content: space-around;
  margin-top: 2.5%;
}


.blok {
  width: 24%; 
  height: 25em; 
  text-align: center;
  background-color: rgba(167, 91, 167, 0.85);
  border-radius: 2em;
  margin-bottom: 3.1%;
  border: 0.17em solid rgb(136, 136, 136);
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(167, 91, 167, 0.85) 2px, rgba(167, 91, 167, 0.85) 4px);
}


.blok img {
  max-width: 90%;
  max-height: 80%;
  margin-top: 5%;
  border: 0.17em solid white;
}

.textgames {
  width: 100%; 
  height: 12em; 
  text-align: center;
  background-color: rgba(128, 124, 128, 0.781);
  border-radius: 1em;
  font-size: 1em;
  margin-top: 13%;
  
}


.hrgames {
  height: 0.9em;
  border-radius: 2em;
  width: 80%;
  background-color: rgb(255, 255, 255);
  border: none;
  margin-bottom: 6em;
}

.press-start {
  text-align: center;
  margin-top: 14.5em;
  white-space: nowrap; 
  word-spacing: 0.45em; 
  overflow: hidden; 
}

/*Einde games gedeelte*/


/*Begin highscore gedeelte*/
.highscoreblok {
  width: 30%; 
  height: 20%; 
  text-align: center;
  border-radius: 2em;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.1) 2px, rgba(255, 255, 255, 0.1) 4px);
  border: 0.3em solid yellow;
  margin-right: 10em;
  margin-left: 7.5em;
  
}

.h2pacman {
  margin-top: 3%;
  font-size: 5em;
  margin-bottom: 0%;

}

.spanpacman {
  color: yellow;

}

.pacmanimg {
  height: 6em;
  
}

.sectionhighscores {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5%;
  
}

.textpacman {
  width: 100%; 
  height: 12em; 
  text-align: center;
  background-color: rgba(128, 124, 128, 0.781);
  border-radius: 1.6em;
  font-size: 1em;
}

.spanspace {
  color: rgb(240, 44, 12)
}

.highscoreblokspace {
  width: 30%; 
  height: 20%; 
  text-align: center;
  border-radius: 2em;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.1) 2px, rgba(255, 255, 255, 0.1) 4px);
  border: 0.3em solid rgb(240, 44, 12);
  margin-right: 10em;
  margin-left: 7.5em;
  
  
}

.h2space {
  margin-top: 7%;
  font-size: 3.2em;
  margin-bottom: 0%;
  color: rgb(254, 254, 15);
  

}

.textspace {
  width: 100%; 
  height: 12em; 
  text-align: center;
  background-color: rgba(128, 124, 128, 0.781);
  border-radius: 1.6em;
  font-size: 1em;
  margin-top: 5%;
  
}

.hrhighscore {
  height: 0.6em;
  border-radius: 2em;
  width: 100%;
  background-color: rgb(150, 142, 142);
  border: none;
}

.new-highscore {
  text-align: center;
  white-space: nowrap; 
  word-spacing: 0.5em; 
  overflow: hidden; 
}
/*Einde highscors gedeelte*/


/*Begin over mij gedeelte*/
.hrcontact {
  width: 10%;
  height: 0.5em;
  background-color: rgb(167, 91, 167);
  border-radius: 1em;
  border: none;
}

.h2contact {
  text-align: center;
  margin-top: 1%;
}

.overons {
  width: 70%;
  height: 32em;
  background-color: rgba(167, 91, 167, 0.822); 
  padding: 0.1%; 
  border-radius: 1em; 
  margin: 0 auto;
  margin-top: 3%;
  border: white dotted 0.25em;
}

.h2overons {
  text-align: center;
  font-size: 2.2em;
  
  
}

.divoverons {
  justify-content: space-around;
  display: flex;
}

.textoverons {
  margin-left: 5%;
  
}

.camielkors {
  border-radius: 1em;
  margin-top: 3%;

}

.ptext {
  width: 65%;
}
/*Einde over mij gedeelte*/









.table-container {
  display: flex; 
  justify-content: space-around; 
  width: 100%; 
}

.highscore-table {
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  
}

.highscore-table caption {
  font-size: 1.5em;
  margin-bottom: 1em;
  color: #ffffff; 
  font-family: 'Retro Gaming', sans-serif;
}

.highscore-table th, .highscore-table td {
  padding: 0.1em 2em;
  text-align: left;
  font-family: 'Retro Gaming', sans-serif;
  color: white;
}

