/* Default styles for all pages */

html {
  font-size: 16px;
}

/* Set default font family and size */
body {
  font-family: Arial, sans-serif;
  font-size: 1rem;

  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* Break long words. Especially relevant for properly rendering long links or
   * filenames on mobile.
   */
  word-break: break-word;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin-top: 40px;
}

.main-content {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  min-width: 50%;
  max-width: 900px;
}

/* Set default margin and padding for all elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #011C27;
}

/* Set styles for headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin: 1rem 0;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.6rem;
}

h4 {
  font-size: 1.4rem;
}

h5 {
  font-size: 1.2rem;
}

h6 {
  font-size: 1rem;
}

/* Set styles for paragraphs */
p {
  margin: 1rem 0;
  line-height: 1.5;
}

/* Set styles for links */
a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

li {
  line-height: 1.5rem;
  margin-left: 2.5rem;
}

li + li {
  margin-top: 0rem;
}

code {
  display: inline-block;
  font-family: "Courier New", Courier, monospace;
  font-size: 1em;
  background-color: #f2f2f2;
  padding: 0em 0.2em;
  margin: 0.1em;
  border-radius: 5px;
}

input[type="radio"] {
  display: inline-block;
  margin-right: 8px;
}

.radio-button-label {
  display: block;
}

.pop-out {
  margin: 20px 0px 20px;
  min-width: 300px;
}

.pop-out {
  padding: 20px;
  padding-top: 0px;
  border-radius: 15px;
  margin: 20px 0px 20px;
  min-width: 300px;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1), -10px 10px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease-in-out;
}

.pop-out:hover {
  box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.1), -20px 20px 20px rgba(0, 0, 0, 0.1);
}

.trash-icon a {
    color: #AAA;
    height: 16px;
    text-decoration: none;

    margin-left: 16px;
    padding-bottom:2px;
    background-image: linear-gradient(red 0 0);
    background-position: 0 100%; /*OR bottom left*/
    background-size: 0% 2px;
    background-repeat: no-repeat;
    transition:
        background-size 0.3s,
        background-position 0s 0.3s; /*change after the size immediately*/
}

.trash-icon a:hover {
    color: red;

    background-position: 100% 100%; /*OR bottom right*/
    background-size: 100% 2px;
}

/* Set styles for buttons */
button, input[type="submit"] {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 1rem;

  background-size: 200% 100%;
  background-image: linear-gradient(to right, #011C27 50%, white 50%),
                    linear-gradient(to right, #FFC100 50%, #FFC100 50%);
  transition: background-position 0.3s ease-in-out;
  -webkit-background-clip: text, border-box;
  background-clip: text, border-box;
  color: transparent;
}

button:hover, input[type="submit"]:hover {
  background-position: -100% 0;
  transform: scale(1.03);
}

button:active, input[type="submit"]:active {
  transform: scale(1.1);
}

.shipping-cost-info {
  font-size: 0.75rem;
  color: gray;
}

.customer-info-container {
  display: inline-block;
}

.customer-info-group {
  display: inline-block;
}

@media screen and (min-width: 768px) {
  .customer-info-container {
    display: flex;
    gap: 40px;
  }

  .customer-info-group {
    display: inherit;
  }
}