/* Styling untuk box nya */
*{
    box-sizing: border-box;
  }
  body{
    font-family: 'poppins';
    display: flex;
    justify-content: center;
    align-items: top;
    height: 100vh; /*membuat posisi pas di tengah dengan ukuran*/
    background-image:url('fatih.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
  }
  /* Styling untuk container */
  .container-calculator{
    width: 900px;
    background-color: #ffffff00;
    border-radius: 12px;
    box-shadow: 0 10 20 rgba(0,0,0,0.1);
    padding: 30px;
  }
  
  .calculator-keys{
    display: grid;/*membuat tombol jd rata ke bawah semua dengaan grid*/
    grid-template-columns: repeat(3,1fr);/*membuat grid percolom dengan pengulangan 4*/
    grid-gap:10px;
  }
  /* Styling Untuk Tombol */
   .button1{
    background-image: linear-gradient(to right, #FF512F 0%, #DD2476  51%, #FF512F  100%)
  }
   .button2{
    background-image: linear-gradient(to right, #DA22FF 0%, #9733EE  51%, #DA22FF  100%)
  }
   .button3{
    background-image: linear-gradient(to right, #02AAB0 0%, #00CDAC  51%, #02AAB0  100%)
  }
   .button4{
    background-image: linear-gradient(to right, #DC2424 0%, #4A569D  51%, #DC2424  100%)
  }
   .button5{
    background-image: linear-gradient(to right, #000000 0%, #0f9b0f  51%, #000000  100%)
  }
   .button6{
    background-image: linear-gradient(to right, #fc00ff 0%, #00dbde  51%, #fc00ff  100%)
  }

  .button1{
    margin-bottom: 20px;
    font-size: 1.2em;
    padding: 10px 10px;
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    cursor: pointer;
  }
  .button1:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
  }
  a{
    text-decoration: none;
    color: white;
  }
  .button2{
    margin-bottom: 20px;
    font-size: 1.2em;
    padding: 10px 10px;
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    cursor: pointer;
  }
  .button2:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
  }
  .button3{
    margin-bottom: 20px;
    font-size: 1.2em;
    padding: 10px 10px;
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    cursor: pointer;
  }
  .button3:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
  }
  .button4{
    font-size: 1.2em;
    padding: 10px 10px;
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    cursor: pointer;
  }
  .button4:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
  }
  .button5{
    font-size: 1.2em;
    padding: 10px 10px;
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    cursor: pointer;
  }
  .button5:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
  }
  .button6{
    font-size: 1.2em;
    padding: 10px 10px;
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    cursor: pointer;
  }
  .button6:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
  }
    
  h1{
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
  }
  @media (min-width: 768px) {
    .button1 {
      font-size: 1.5rem;
    }
    .button2 {
      font-size: 1.5rem;
    }
    .button3 {
      font-size: 1.5rem;
    }
    .button4 {
      font-size: 1.5rem;
    }
    .button5 {
      font-size: 1.5rem;
    }
    .button6 {
      font-size: 1.5rem;
    }
  }
  
  @media (max-width: 600px) {
    .button1 {
      font-size: 1rem;
    }
    .button2 {
      font-size: 1rem;
    }
    .button3 {
      font-size: 1rem;
    }
    .button4 {
      font-size: 1rem;
    }
    .button5 {
      font-size: 1rem;
    }
    .button6 {
      font-size: 1rem;
    }
    
  }
  
  