body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #000;
    color: #ffffff;
    font-family: Arial, sans-serif;
  }
  
  #container {
    text-align: center;
    position: relative;
  }
  
  #time-date {
    font-size: 2em;
  }
  
  #time {
    font-size: 3em;
    font-weight: bold;
  }
  
  #controls {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
  }
  
  #popup {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }
  
  #popup-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #000000;
    z-index: -1;
  }
  
  @keyframes slideIn {
    from {
      transform: translateY(100vh);
    }
    to {
      transform: translateY(0);
    }
  }
  
  @keyframes slideOut {
    from {
      transform: translateY(0);
    }
    to {
      transform: translateY(100vh);
    }
  }
  
  /* Fade-in for background */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 0.7;
    }
  }
  
  /* Fade-out for background */
  @keyframes fadeOut {
    from {
      opacity: 0.7;
    }
    to {
      opacity: 0;
    }
  }
  
  .popup-boxes {
    background: #ffffff;
    padding: 20px;
    border-radius: 5px;
    color: #000000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px;
    box-sizing: border-box;
    min-width: 200px;
  }
  
  .popup-boxes label {
    font-weight: bold;
    margin-bottom: 1px;
  }
  
  .popup-boxes h1 {
    margin-bottom: 0;
    margin-top: 0;
  }
  
  .popup-boxes input,
  .popup-boxes .popup-input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
  }
  
  .popup-boxes span {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
  }
  

  
/* Style for each shortcut container in the popup */
.shortcut {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 4px 0;
    background-color: #f9f9f9;
  }
  
  /* Styling for the editable key input */
  .shortcut input.shortcut-key {
    width: 25px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  /* Styling for the editable URL input */
  .shortcut input.shortcut-url {
    flex-grow: 1;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-width: max-content;
  }
  

  /* Reorder and delete buttons styling */
  .reorder-btn,
  .delete-btn {
    font-size: 18px;
    margin: 0 2px;
    cursor: pointer;
    user-select: none;
  }
  
  
  #key {
    width: 60px;
  }
  
  #url {
    width: 100%;
  }
  
  #font {
    width: 100%;
  }
  
  #close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
  }
  
  .popup-boxes button {
    padding: 10px;
    background: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .popup-boxes button:hover {
    background: #0056b3;
  }
  
  #add-shortcut {
    gap: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
  }
  
  .popup-boxes hr {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: auto;
  }
  
  .popup-boxes ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: smaller;
    font-weight: lighter;
  }
  
  #favicons {
    display: inline;
    font-size: 32px;
    line-height: 1.5;
  }
  
  #favicons .favicon {
    vertical-align: baseline;
    height: 16px;
    width: 16px;
    margin: 0 4px;
  }
  
  #colour-settings span {
    position: absolute;
    top: 10px;
    right: 10px;
  }
  
  #text-settings #reset_settings_text {
    position: absolute;
    top: 10px;
    right: 10px;
  }
  
  #popup-boxes-container {
    max-width: 90%;
    overflow-y: auto;
  }
  
  .popup-boxes .note {
    font-size: smaller;
    font-weight: lighter;
    color: #666;
  }
  
  .popup-boxes .note strong {
    font-weight: bold;
    color: #333;
  }
  
  #text-settings input[type="number"] {
    width: 60px;
    margin-right: 10px;
  }
  
  #text-settings input[type="range"] {
    width: calc(100% - 70px);
  }
  
  .font-picker,
  .size-picker,
  .height-picker {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 5px;
  }
  
  #text-settings {
    position: relative;
  }

.settings-row{
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;

}

#settings-icon{
    font-size: 40px;
}