.alarm-container {
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: auto;
    margin-top: 50px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  }

  .alarm-title {
    color: #495057;
    font-weight: bold;
    margin-top: 10px;
  }

  .alarm-clock {
    font-size: 8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #29AB87;
  }

  .alarm-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  }

  .alarm-form label,
  .alarm-form select,
  .alarm-form button {
    margin: 0 10px;
  }

  .alarm-form input[type="number"],
  .alarm-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  .alarm-form button {
    display: block;
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #29AB87;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
  }

  .alarm-form button:hover {
    background-color: #1D7E63;
  }

  .alarms-list {
    list-style: none;
    margin-top: 20px;
    padding: 0;
  }

  .alarm-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
    background-color: #fff;
    font-weight:bold;
  }

  .alarm-item::before {
    content: "🔔";
    font-size: 1.5rem;
    margin-right: 10px;
    color: #29AB87;
  }

  /* Improved visibility for alarm times */
  .alarm-time {
    font-weight: bold;
    font-size: 1.2rem;
  }

  /* Stylish delete button */
  .delete-button {
    background-color: #dc3545;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease-in-out;
  }

  .delete-button:hover {
    background-color: #ff5b5b;
  }




  @media (min-width: 577px) and (max-width: 997px) {
    .alarm-clock {
      font-size: 7rem;
    }
  }

  @media (max-width: 767px){
          .alarm-clock {
      font-size:4rem;
    }
  }

  @media (max-width: 573px){
          .alarm-clock {
      font-size:3rem;
    }
  }

  

  /* Responsive styles for small devices (up to 576px) */
  @media (max-width: 576px) {
    .alarm-form label,
    .alarm-form select,
    .alarm-form button {
      margin: 5px 0;
    }

    .alarm-form input[type="number"],
    .alarm-form select {
      width: 100%;
      padding: 8px;
    }

    .alarm-form button {
      margin-top: 10px;
    }

    .alarm-clock {
      font-size: 3.5rem;
    }
  }

  /* Responsive styles for devices between 271px and 270px */
  @media (min-width: 271px) and (max-width: 270px) {
    .alarm-form label,
    .alarm-form select,
    .alarm-form button {
      margin: 5px 0;
    }

    .alarm-form input[type="number"],
    .alarm-form select {
      width: 100%;
      padding: 8px;
    }

    .alarm-form button {
      margin-top: 10px;
    }

    .alarm-clock {
      font-size: 3rem;
    }
  }

  /* Responsive styles for large devices (min width: 998px) */
  @media (min-width: 998px) {
    .alarm-container {
      max-width: 100%;
    }
  }