
body{
    background-image: linear-gradient(120deg, #f6d365 0%, #F29F52 100%);
    background-size: cover;
}

.navbar, .container{
    background-color: rgb(28, 28, 29);
    width: 50vw;
    border-radius: 3px;
}
.navbar{
    padding: 1em;
    margin-bottom: 1em;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}


.btn, input, a{
    height:48px;
    width: 150px;
    padding: 0em 1em;
}

input[type="color"] {
  height: 48px !important;
  width: 60px !important;
  font-size: 24px !important;
  padding: 0 .25em;
  margin: 0 1em;
}


a.save-btn {
    margin: 0 1em;
    height: 48px; 
    line-height: 48px; 
}

.erase-btn {
    margin: 0 1em;
    height: 48px; 
    padding: 0 .25em;
    line-height: 48px; 
  }
  
  .erase-btn.active {
    margin: 0 1em;
    height: 48px; 
    line-height: 48px; 
    color: #F29F52;
  }

.container{
    height: 800px;
    display: grid;
    grid-template-columns: repeat(var(--size), 1fr);
    grid-template-rows: repeat(var(--size), 1fr);
    gap: 3px;
    padding: 3px;
}
.pixel{
    background-color: rgb(61, 61, 61);
    border-radius: 2px;
}

.wrapper{

  width: 100%;
}

button.erase {
  height: 50px;
  width: 50px;
  margin-left: 1em;
  border-radius: 5px;
  border-color:rgb(69, 69, 70);
}

img{
  width: 100%;
  height: 100%;
}

/* Small screens (600px and below) */
@media (max-width: 600px) {
    .wrapper {
      width: 100%;
      height: 100%;
    }
    .btn, input, button.erase{
      margin-bottom: 5px !important;
      width: 100px;
    }
    .container{
      width: 100%;
      height: 70vw !important;
    }
  }
  
  /* Medium screens (600px to 992px) */
  @media (min-width: 600px) and (max-width: 992px) {
    .wrapper {
      width: 100%;
    }
    .btn, input, button.erase{
      margin-bottom: 5px !important;
      width: 100px;
    }
    .container{
      width: 100%;
      height: 70vw;
    }
  }
  

  