html {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto Mono', 'Inconsolata', monospace;
    background: black; /*linear-gradient(to left top, #0c0c0c, #0f971c);*/
    text-align: center;
}

button {
    box-sizing: border-box;
    padding: 10px 20px; /* Add padding to the button */
    font-size: 16px; /* Adjust font size */
    cursor: pointer; /* Change cursor on hover */
    background-color: rgba(20, 49, 23, 0.5); /* Button background color */
    color: white; /* Button text color */
    border: none; /* Remove default border */
    border-radius: 8px; /* Rounded corners */
    transition: background 0.3s; /* Add a transition for hover effect */
    font-family: 'Roboto Mono', 'Inconsolata', monospace;
}

button:hover {
    background-color: #00ff00; /* Darker green on hover */
    color: #00000f;
}

code {
    background-color: #00000f;
    color: #00ff00;
    border-radius: 4px;
    padding-left: 1px;
    padding-right: 1px;
    font-family: 'Roboto Mono', 'Inconsolata', monospace;
}

body {
    font-family: 'Roboto', 'Helvetica', 'Arial'; /* Set font to Inconsolata */
    color: black;
}

ul {
    padding-left: 0;
    list-style-position: inside;
    list-style-type:square;
    width: 600px;
    margin: auto;
}

ul li {
    text-align: left;
}

nav a {
    color: #00ff00;
    text-decoration: none;
    padding: 10px 15px;
    margin-right: 4px;
    background-color: #00000f;
    border-radius: 25px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #00ff00;
    color: #00000f
}

.scrollable-content {
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scrollable-content::-webkit-scrollbar {
    display: none;
}

.first-element {
    padding-top: 1000px;
}

.tall-padding-top {
    padding-top: 300px
}

.chat-container {
    margin: auto;
    padding: 15px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    width: 450px;
    background-color: #00000f77;
    outline-style: dotted;
    outline-width: 1px;
    outline-color: #7c7c7c7c;
}

.text-received {
    background-color: #08142e; /* Light green background */
    color: #ff5656;
    border-radius: 15px;       /* Rounded corners */
    padding: 10px 15px;        /* Spacing inside the bubble */
    align-self: flex-start;
    margin: 10px 0;            /* Space between messages */
    max-width: 90%;            /* Limit the width */
    min-width: 100px;
    position: relative;         /* For the arrow */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    text-align: center;
    outline-style: groove;
    outline-width: 1px;
    outline-color: #ff5656;
}

.text-received::after {
    content: "";                   /* Necessary for pseudo-element */
    position: absolute;            /* Position it relative to the message */
    top: 10px;                     /* Position vertically in line with the text */
    left: -19px;                   /* Move to left of the text bubble */
    border-width: 10px;           /* Arrow size */
    border-style: solid;          /* Solid arrow */
    border-color: transparent #08142e transparent transparent; /* Arrow color pointing right */
}

.author {
    font-size: 0.9em;              /* Smaller font size */
    color: #999;                   /* Darker gray color for text */
    text-align: left;             /* Right-aligned text */
    position: absolute;            /* Position it relative to parent */
    top: 10px;                     /* Distance from the top */
    left: 15px;                   /* Distance from the right */
}

.text-sent {
    background-color: #121227; /* Light green background */
    color: #00ff00;
    border-radius: 15px;       /* Rounded corners */
    padding: 10px 15px;        /* Spacing inside the bubble */
    align-self: flex-end;
    margin: 10px 0;            /* Space between messages */
    max-width: 90%;            /* Limit the width */
    min-height: 1em;
    position: relative;         /* For the arrow */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    text-align: center;
    outline-style:groove;
    outline-width: 1px;
    outline-color: #00ff00;
}

.text-sent::after {
    content: "";                   /* Necessary for pseudo-element */
    position: absolute;            /* Position it relative to the message */
    top: 10px;                     /* Position vertically in line with the text */
    right: -19px;                   /* Move to left of the text bubble */
    border-width: 10px;           /* Arrow size */
    border-style: solid;          /* Solid arrow */
    border-color: transparent transparent transparent #121227; /* Arrow color pointing right */
}