@charset "UTF-8";
/* CSS Document */
/* COULEURS :  */
/*######################################################"*/
/*    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #f5f5f5;
    }
*/
    h3 {
      margin: 0;
      text-align: center;
      color: #bababa;
      font-family:  fantasy, Arial;
    }

    h5.popup {
      width: 100px;
      margin-bottom: 0;
      margin-top: 0;
      margin-left: 480px;
      text-align: center;
      color: #bababa;
      font-family: cursive;
      border: 1px solid #ccc;
      border-radius: 5px;
      background-color: #fff;
      padding: 5px;
      box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
    }

    .calculator {
      margin: 10px auto;
      width: 600px;
      border: 1px solid #ccc;
      border-radius: 5px;
      background-color: #fff;
      padding: 10px;
      box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
    }

    .display {
      height: 60px;
      font-size: 24px;
      text-align: right;
      padding: 5px;
      background-color: #f9f9f9;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 10px;
      overflow: auto; 
    }

    .result {
      height: 40px;
      font-size: 24px;
      text-align: right;
      padding: 5px;
      background-color: #f9f9f9;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 10px;
      overflow: auto; 
    }

    .buttons {
      display: grid;
      grid-template-columns: repeat(4, 3fr);
      gap: 5px;
    }

    button {
      height: 35px;
      width: 145px;
      font-size: 25px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      background-color: #f1f1f1;
    }

    button.memory {
      font-size: 15px;
    }

    button:hover {
      background-color: #e1e1e1;
    }

    .popup {
      position: relative;
      display: inline-block;
      cursor: pointer;
    }

    /* The actual popup */
    .popup .popuptext {
      visibility: hidden;
      width: 600px;
      background-color: #555;
      font-family: sans-serif;
      font-size: 1em;
      color: #fff;
      text-align: left;
      border-radius: 6px;
      padding: 8px 10px;
      position: absolute;
      z-index: 1;
      bottom: -2200%;
      left: -350%;
      margin-left: -80px;
    }

    /* Toggle this class when clicking on the popup container (hide and show the popup) */
    .popup .show {
      visibility: visible;
      -webkit-animation: fadeIn 1s;
      animation: fadeIn 1s
    }

    /* Add animation (fade in the popup) */
    @-webkit-keyframes fadeIn {
      from {opacity: 0;}
      to {opacity: 1;}
    }

    @keyframes fadeIn {
      from {opacity: 0;}
      to {opacity:1 ;}
    }