html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    display: flex;
    align-items: top;
    justify-content: center;
}
.container {
    text-align: center;
    width: 90%;
    max-width: 400px;
}
textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
}
button {
    margin: 5px;
    padding: 10px 20px;
    cursor: pointer;
}
#savedSnippets {
    margin-top: 20px;
    text-align: left;
}
.snippet {
    padding: 8px;
    border: 1px solid #ccc;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-self: center;
    word-break: break-all;
}
.text-nowrap {
    white-space: nowrap;
}
.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 24px solid;
    border-color: rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: none;
    box-sizing: border-box;
    animation: animloader 1s linear infinite;
}
@keyframes animloader {
    0% {
        border-color: rgba(255, 223, 0, 0.75) rgba(219, 50, 54, 0.75) rgba(60, 186, 84, 0.75) rgba(72, 133, 237, 0.75); /* Yellow, Red, Green, Blue */
    }

    33% {
        border-color: rgba(219, 50, 54, 0.75) rgba(60, 186, 84, 0.75) rgba(72, 133, 237, 0.75) rgba(255, 223, 0, 0.75); /* Red, Green, Blue, Yellow */
    }

    66% {
        border-color: rgba(60, 186, 84, 0.75) rgba(72, 133, 237, 0.75) rgba(255, 223, 0, 0.75) rgba(219, 50, 54, 0.75); /* Green, Blue, Yellow, Red */
    }

    100% {
        border-color: rgba(72, 133, 237, 0.75) rgba(255, 223, 0, 0.75) rgba(219, 50, 54, 0.75) rgba(60, 186, 84, 0.75); /* Blue, Yellow, Red, Green */
    }
}
  
  
