body{
    text-align: center;
    line-height: 1.5;
    font-family: 'Press Start 2P', cursive;
    background: #0F2027;  /* fallback for old browsers */
    background: linear-gradient(to right, #2C5364, #203A43, #0F2027); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

h1{
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    color: chartreuse;
}

.game-over{
    color: red;
}

#main{
    border: 5px solid black;
    padding: 0;
    border-radius: 30px;
    max-width: 400px;
    max-height: 680px;
    margin-bottom: 30px;
}
.btn{
  font-family: 'Press Start 2P', cursive;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    color: white;
    font-weight: 400;
    background-color:rgb(221, 10, 52);
    border: 2px solid black;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    
    border-radius: 0.25rem;
    min-width: 150px;
    margin: 5px 5px 5px auto;
}

.btn:hover{
    cursor:pointer;
  }

.pressed{
    background-color: lightcoral;;
}

.controls{
    display: inline-block;
    min-width: 70%;
    margin-bottom: 30px;
}

#img{
  border: 0px !important;
  margin-top: 5px;
  margin-bottom: 5px;
}

.icon{
  font-size: 0.7rem;
  margin-top: 5px;
  margin-bottom: 5px;
}

@media (max-width : 650px) {
    #b,#f{
        min-width: 95%;
    }
    #d,#e,#c{
       min-width: 26%; 
    }
}

@media (max-width : 450px) {
    h1{
        font-size: 1.6rem;
    }
    #main{
        max-width: 90%;
    }
}

/* slider css */
/* The switch - the box around the slider */
.switch {
    position: relative;
    margin: auto;
    display: block;
    width: 60px;
    height: 34px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0F2027;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: chartreuse;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #0F2027;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

