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

 body {
     font-family: Arial, sans-serif;
     display: flex;
     justify-content: center;
     align-items: center;
     height: 100vh;
     background: url("../IMAGES/spacebackground.jpg");
     background-size: cover;
 }

 .calculator {
     background: #ffffff3a;
     padding: 20px;
     border-radius: 15px;
     box-shadow: 0px 0px 2px 2px black;
     width: 700px;
     backdrop-filter: blur(10px);
 }


 .title {
     text-align: center;
     margin-bottom: 15px;
     font-size: 2rem;
     color: #ffffff;
 }

 .display input {
     width: 100%;
     height: 70px;
     font-size: 1.8rem;
     padding: 10px;
     margin-bottom: 20px;
     border: none;
     background: #ffffff;
     border-radius: 10px;
     text-align: right;
     border: solid 2px rgb(0, 0, 0);
     box-shadow: inset 2px 2px 0px 4px rgb(0, 0, 0);
     color: rgb(0, 0, 0);
 }

 .buttons {
     display: grid;
     grid-template-columns: repeat(8, 1fr);
     gap: 10px;
 }

 .btn {
     padding: 15px;
     font-size: 1.1rem;
     border: none;
     background: #e8e8e8;
     box-shadow: 1px 2px 2px 2px black;
     border-radius: 8px;
     cursor: pointer;
     transition: 0.2s ease-in-out;
 }

 .btn:hover {
     background: #ff00f7;
     color: white;
     scale: 1.08;
 }

 .equal {
     background: #00c6ff;
     color: white;
     font-weight: bold;
 }

 .equal:hover {
     background: #00c6ff;
     color: white;
 }

 .clear,
 .clear:hover {
     background: #ff5252;
     color: white;
 }

 .delete,
 .delete:hover {
     background: #ff9800;
     color: white;
 }

 .Arethmatic,
 .Arethmatic:hover {
     background-color: greenyellow;
     color: #000000;
 }

 @media (max-width : 600px) {
     .btn {
         padding: 10px;
         font-size: 1rem;
         box-shadow: 1px 1px 1px 1px black;
     }

     .btn:hover {
         background-color: #e8e8e8;
         color: black;
         scale: 1;
     }

     .equal:hover {
         background: #00c6ff;
         color: white;
     }

     .clear,
     .clear:hover {
         background: #ff5252;
         color: white;
     }

     .delete,
     .delete:hover {
         background: #ff9800;
         color: white;
     }

     .Arethmatic,
     .Arethmatic:hover {
         background-color: greenyellow;
         color: #000000;
     }
 }

 @media (max-width : 500px) {
     .calculator {
         padding: 10px;
     }

     .buttons {
         gap: 5px;
         row-gap: 10px;
     }

     .btn {
         border-radius: 5px;
         padding: 8px;
         font-size: 0.9rem;
         box-shadow: 1px 1px 1px 1px black;
     }

     .title {
         font-size: 1.5rem;
     }

 }