@font-face {
    font-family:'Pixel';
    src: url(../fonts/Pixel.otf)
}  
.walker {
  justify-content: center;
  max-width:50vw;
}

body {
  margin: 0;
  min-height: 100vh;
  background-image: url('sevenback.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.nav {
  display: flex;
  flex-wrap: wrap;        /* wrap to a new row if they don't fit */
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.nav a {
  flex: 1 1 0;            /* share the row equally */
  min-width: 0;           /* allow shrinking below content size */
  max-width: 10vw;        /* cap how big each can get */
  position: relative;
}

.nav img {
  display: block;
  width: 100%;            /* fill its link, which is sized above */
  height: auto;
}

.nav .over {
  position: absolute;
  inset: 0;             /* cover the base image exactly */
  opacity: 0;
  transition: opacity 0.2s;
}

.nav a:hover .over {
  opacity: 1;
}


.title {
  font-family: 'Pixel';
  font-size: 5vw;
  margin: auto;
  color: black;
}

.ben {
  display: flex;
  justify-content: center;
}

.ben img{
  width: 20vw;
}

.bio {
  font-family: 'Pixel';
  font-size: 2vw;
  max-width: 50vw;
  margin: auto;
  color: black;
}

.title, .bio {
  text-align: center;
}

@media (max-width: 600px) {

  .nav {
    font-size: 3vw;
  }
 
  .title {
    font-size: 10vw;
  }

  .ben img {
    width: 44vw;
  }

  .bio {
    font-size: 4vw;
    max-width: 80vw;
  }
}

.container {
  max-width: 70vw;
  margin: 5vh auto;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}