* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  
}


@font-face {
  font-family: 'giz';
  src: url(/src/font/Chalkiez-Regular.ttf);
}

:root {
  --winning-blocks: #fdfbfd42;
}

body {
  
  font-family: 'giz', Helvetica, sans-serif;
}

h1 {
  
  font-size: 3rem;
  text-transform: uppercase;
  color: #fff;
}

.cabecalho {
  margin-top: 10px;
}



.container {
  
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-image: url(/src/image/quadro-negro.png);
  background-size: cover;
 
}

#gameboard {
  width: min(95%, 300px);
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 10px;
  color: #fff;
  
}


#scoreboard {
  margin-top: 10px;
  display: flex;
  width: 50%;
  justify-content: space-between;
  font-size: 2.2rem;
  color: #fff;
  width: min(95%, 200px);
  max-width: 100%;
}

#difficulty-board {
  
 
  display: flex;
  align-items: center;
  margin-top: 20px;
  color: #ffffff;
  font-size: 1.5rem;
  
}

#difficulty-board select {
  padding: 5px 20px;
  font-size: 2rem;
  color: #fff;
  margin-left: 10px;
  font-family: 'giz';
  background-color: rgba(0, 0, 0, 0.459);
}


.box {

  height: 70px;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.box:nth-child(3n) {
  border-right: none;
}

.box:nth-child(6) ~ .box {
  border-bottom: none;
}

button {
  padding: 10px 20px;
  border-radius: 10px;
  background-color: rgba(255, 222, 173, 0);
  color: #fff;
  border-color: white;
  font-size: 2.2rem;
  transition: 200ms transform;
  font-weight: 600;
  margin-top: 20px;
  font-family: 'giz';
  box-shadow: 0 4px 15px rgba(44, 44, 44, 0.966);
  
}

.mode-btn {
  color: #b1abab;
  margin-left: 40px;
  padding: 10px 20px;
  font-size: 1.2rem;
  transition: 200ms transform;
  font-weight: 600;
  margin-top: 10px;
  text-decoration: none;
}

.mode-btn::after {
  content: "";
  display: block;
  height: 2px;
  width: 150px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
  transform: skewX(-10deg);
  margin-top: 5px;
}

button:hover {
  cursor: pointer;
  transform: translateY(-2px);
}

select {


  border-radius: 50px;
}

footer {
    margin-top: 35px;
	  background-color: #0b0b0b3b;
	  color: #ffffff;
    text-align: center;
    font-size: 1.1em;
    padding: 5px;
    border-radius: 40px;
    box-shadow: 0 2px 5px rgb(56, 55, 55),
              0 5px 10px rgba(0, 0, 0, 0.1);
}

footer a {

    color: white;
    font-weight: bolder;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;

}


@media (min-width: 800px) and (max-width: 2024px) {
  .container {
    display: grid;
    flex-direction: row;
  }

  .cabecalho {
    margin-top: 30px;
  }
  

  h1 {
  
    margin-top: 10px;
    text-align: center;
  }

  .mode-btn {
  width: 160px;
  margin-left: 60px;
    
    
  }

  button {
    font-size: 20px;
    width: 100px;
    margin-top: -300px;
    margin-left: 70px;
  }

  #gameboard {
    display: grid;
    justify-content: end;
    margin-left: 400px;
    margin-top: -90px;
    

  }

  .box {

    height: 80px;
    width: 100px;
    
  }

  #scoreboard {
    
    margin-top: -200px;
    margin-left: 70px;
  }
  #difficulty-board {
    
    width: 210px;
    margin-top: -120px;
    margin-left: 70px;
  }

 

  footer {
    margin-top: -45px;
  }
  
   
   
}

  
