body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    margin: 0;
    color: #fff;
   /* background-color: #f4f4f4;*/
}

h1 {
    color: #fff;
    margin-top: 20px;
}

h3 {
  padding: 0px;
  margin: 5px 0;
}

h3res {
  display: block;
  font-size: 1.17em;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
  padding: 0px;
  margin: 0px 0;
}

#container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
   /* background-color: #fff;*/
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#peptide-container {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.peptide {
    max-width: 370px;
    max-height: 362.63px;
    flex: 0 0 calc(50% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    margin: 10px;
}

.input-container {
    text-align: left;
    max-width: 285px;
    margin: 5px 0; /* Minimize vertical margin */
    flex-direction: column;
}

label {
    text-align: left;
    margin-bottom: 2px; /* Minimize vertical margin */
}

input[type="text"],
input[type="number"] {
    width: 95%;
    padding: 3px; /* Minimize padding */
    border: 1px solid #ccc;
    border-radius: 3px;
}

/* Style for the "Add Peptide" button */
button#add-button {
   /* position: absolute;*/
    top: 20px;
    right: 20px;
    font-size: 55px;
    line-height: 1;
    z-index: 1;
    background-color: transparent; /* Transparent background */
    color: #0074d9; /* Text color */
    border: none;
    cursor: pointer;
    padding: 5px 5px; /* Adjust padding for icon alignment */
}

/* Style for the "fa-plus-square" icon inside the button */
button#add-button i.fas.fa-plus-square {
    font-size: inherit; /* Inherit the font size from the button */
    margin-right: 5px; /* Add some spacing between the icon and text (adjust as needed) */
}

/* Media query for screens with a minimum width of 768px (typical tablet/desktop size) */
@media (min-width: 768px) {
    button#add-button {
        top: 10px; /* Adjust the top position for desktop */
        right: 200px; /* Adjust the right position for desktop */
    }
}

button {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 20px;
    background-color: #0074d9;
    /*color: #fff;*/
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

button:hover {
  margin-top: 10px;
  background-color: #0056b3;
}

#calculation-result {
    margin-top: 30px;
    padding: 0px;
    line-height: 150%;
    /*background-color: #f0f0f0;*/
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center; /* Center-align text */
    white-space: pre-wrap;
    max-width: 800px;
    margin: 0px auto;
}

/* Additional styles to add bullet points */
#calculation-result ul {
    margin-top: 0px;
    margin-left: 20px;
    margin-bottom: 0px;
    color: #fff; /*green;*/
    font-weight: bold;
    padding: 0px;
    list-style-type: disc; /* Use bullets */
    text-align: left; /* Align bullet points to the left */
    padding-left: 20px; /* Add some padding to separate text from bullets */
}

/* Additional styles to center text within the container */
#calculation-result h3 {
    text-align: center; /* Center-align headings */
}

.converter {
  max-width: 780px;
  margin-top: 35px;
  margin: 0 auto;
  padding: 10px;
  /*background-color: #ffffff;*/
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.remove-container {
    padding-right: 10px;
    float: right;
    text-align: right;
    max-width: 285px;
    margin: 5px 0; /* Minimize vertical margin */
    display: flex; /* Use flexbox to position elements horizontally */
    justify-content: space-between; /* Add space between title and button */
    align-items: center; /* Vertically center-align items */
}

/* Add this CSS for the round minus sign button */
.remove-button {
/*    float: right;*/
    background-color: transparent;
    opacity: 0.7;
    border: none;
    color: red;
    line-height: 0;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
}

/* Add this CSS to style the collapsible section */
.collapsible {
    justify-content: center;
    text-align: left;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
    /*background-color: #fff;*/
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.collapsible-button {
    background-color: #57B362;
    /*color: #fff;*/
    border: none;
    border-radius: 5px;
    padding: 10px 10px;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.collapsible-content {
    display: none;
    padding: 10px;
}


