* {
  margin: 0;
  padding: 0;
}

body {
  background-image: url(./img/imagem-mario-fundo.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

header {
  background-image: url('https://tiagogoncalves4tic1n.files.wordpress.com/2012/01/mario-bros-wallpaper.jpg');
  /* background-size: cover; */
  border: solid 5px rgb(0, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  height: 100px;
}

header h1 {
  color: rgb(255, 255, 255);
  font-family: 'Pixel';
  font-weight: normal;
  font-size: 50px;
  font-variant: small-caps;
  font-style: italic;
  font-synthesis: style;
}

#subTitle {
  color: rgb(0, 0, 0);
  font-family: 'Pixel';
  font-style: italic;
  font-size: 30px;
  margin: 50px;
}


.color {
  display: inline-block;
  height: 38px;
  width: 38px;
  border: 1px solid black;
  margin: 5px;
}

.color:hover {
  box-shadow: black 5px 5px 5px;
  height: 40px;
  width: 40px;
  transition: 0.2s;
}

#pixel-board {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid black;
  background-color: aqua;
  height: 480px;
  width: 480px;
}

.pixel {
  width: 30px;
  height: 30px;
  border: 1px solid black;
  background-color: white;
}

#clear-board {
  margin: 10px;
  position:relative;
  padding: 10px 20px;  
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'Pixel';
  font-weight: 900;
  text-transform: uppercase;
  font-size: 20px;  
  color: black;
  background-color: rgb(214, 11, 11);
  border-radius: 4px; 
  z-index: 0;  
  overflow: hidden;
}

#clear-board:hover {
  font-size: 21px; 
  box-shadow: black 5px 5px 5px;
  transition: 0.5s;
}

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

footer section {
  font-size: 20px;
  font-family: monospace;
  margin-top: 50px;
  text-align: center;
  margin-top: 50px;
}

.links {
  color: black;
  text-decoration: black;
  font-family: 'Pixel';
}

.footer-class {
  margin-bottom: 20px;
}

footer div {
  background-color: rgb(214, 11, 11);
  border-radius: 4px; 
  padding: 15px;
  font-size: 20px;
}

footer div:hover {
  cursor: pointer;
  font-size: 21px; 
  box-shadow: black 5px 5px 5px;
  transition: 0.5s;
}

@font-face {
  font-family: 'Pixel';
  src: url('04B_30__.TTF') format('truetype');
}

@media screen and (max-width: 912px) {
  *{
    padding: 0;
    margin: 0;
    /* background-color: aqua; */
  }

  body {
    background-color: rgba(255, 0, 0, 0.411);
    background-image: url();
  }

  footer div a {
    background-color: rgb(214, 11, 11);
  }

  header {
    background-color: rgb(0, 0, 0);
    border: solid 5px rgb(0, 0, 0);
  }

  header h1 {
    color:rgb(255, 255, 255);
    text-align: center;
    font-family: 'Pixel';
    font-weight: normal;
    font-size: 200%;
    font-variant: small-caps;
    font-style: italic;
    font-synthesis: style;
  }

  #subTitle {
    text-align: center;
    margin-top: 200px;
  }

  footer {
    margin-top: 200px;
  }
}