.input-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
  }

  ul li {
    list-style: none;
    font-weight: 400;
    color: #8d8d8d;
    font-size: 16px;
  }
  
  #idForm {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content:  center;
    padding: 20px;
    /* background: #ffffff; */
  }
  
  #idForm label {
    padding: 10px 20px;
    font-size: 25px;
    color: #1a1a1a;
    border-radius: 5px;
    margin: 0;
    margin-right: 15px;
  }
  
  #idInput {
    padding: 10px;
    border: none;
    border-radius: 5px;
    /* box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1); */
    font-size: 50px;
    color: var(--primary-color);
    text-align: center;
    border: 1px solid var(--primary-color)
  }

  #idFormBtn {
    margin-top: 25px;
    font-size: 26px;
  }

  #enterCode {
    padding-top: 50px;
  }
  
  #recipeImage {
    max-width: 100%;
  }
  
  .logo.load {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .allergen-container {
    width: 90%;
    max-width: 100vw;
    margin: 50px auto;
    padding: 25px;
    /* min-height: 100vh; */
    background: white;
    position: relative;
    display: flex;
    flex-direction: column;
    /* box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1); */
    /* align-items: flex-start; */
    /* min-height: 100vh; */
  }

  #allergenList p{
    color: var(--dark-color);

  }

  .container-container {
    min-height: 751px;
  }
  
  #loading {
    position: fixed;
    background: white;
    z-index: 4;
    min-height: 100vh;
    /* border: 1px solid pink; */
    width: 100%;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .rotating-img {
    display: block;
    animation: rotate 2s linear infinite;
    width: 200px;
  }
  
  @keyframes rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  #thumbnailsContainer {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  
  #dataDisplay {
    overflow-x: hidden;
    width: 100%;
  }
  
  #allergenList {
    margin-top: 40px;
  }

  .ingredientBtn {
    text-decoration: none;
    color: var(--dark-color)
  }

  .ingredientBtn:hover {
    cursor: pointer;
    text-decoration: none;
  }

  .arrow {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
  }
  
  .arrow.closed {
    transform: rotate(0deg); /* Arrow points right when closed */
  }
  
  .arrow.open {
    transform: rotate(90deg); /* Arrow points down when open */
  }

  /* hamburger & chevrons */
  .see-more {
    padding: 2px 4px;
    border: 2px solid #f1f1f1;
    font-size: 12px;
    border-radius: 8px;
    transition: 200ms;

  }

  .see-more:hover {
    border: 2px solid  var(--secondary-color);
    transition: 200ms;
  }
  
  .nested {
    margin-left: 10px;
    margin-top: 10px;
  }
 
  .ingredientList {
    margin-bottom: 25px;
  }

  .ingredientBtn:hover .see-more {
    border: 2px solid  var(--secondary-color);
    transition: 200ms;
  }
  
  
 

  
    .traffic-light-label {
      display: flex;
      margin-top: 20px;
      max-width: 350px;
      align-items: center; /* Align items vertically */

    }
  
    .label-item {
      flex-grow: 1;
      text-align: center;
      max-width: 60px;
      height: 100px;
      margin-right:3px;
    }
  
    .type {
      height:50px;
      overflow: none;
      border: 2px solid #f1f1f1;
      border-radius: 100% 100% 0 0; 
      font-size: 8px;
      display: flex;
      align-items: center; /* Align items vertically */
      justify-content: center;
      border-bottom: 0;
      min-width: 60px;
    }

    .grams {
      border: 2px solid #f1f1f1;
      border-top: none;
      border-bottom: none;
      padding: 5px 0;
      font-weight: 600;

    }
    .color {
      border-radius: 0 0 100% 100%; 
      font-size: 12px;
      border: 2px solid #f1f1f1;

    }

    .percentage {
      font-size: 18px;
      font-weight: 600;

    }
  
    .thumbnail {
      width: 75px;
      height: 75px;
      margin-right: 5px;
      margin-bottom: 5px;
      cursor: pointer;
    }
  
    .figure {
      position: relative;
      margin: 0;
      /* border: 1px solid rgb(106, 106, 106) */
    }
  
    #leadImageCaption {
      font-style: italic;
      /* margin-top: -20px; */
      position: abosolute;
      /* bottom: 95px; */
      /* left: 20px; */
      z-index: 2;
      font-size: 12px;
      background: white;
    }
  
    .red { 
      background: red; 
      display: flex;
      height: 50px; 
      border: 1px solid black;
      border-radius: 0 0 100% 100%; 
      font-weight: 800;
      align-items: center; /* Align items vertically */
      justify-content: center;
    }
  
    .amber { 
      background: orange; 
      display: flex;
      height: 50px; 
      border: 1px solid black;
      border-radius: 0 0 100% 100%; 
      font-weight: 800;
      align-items: center; /* Align items vertically */
      justify-content: center;
    }
    .green { 
      background: green; 
      display: flex;
      height: 50px; 
      border: 1px solid black;
      border-radius: 0 0 100% 100%; 
      font-weight: 800;
      align-items: center; /* Align items vertically */
      justify-content: center;
    }

    #servingInfo {
      padding-top: 30px;
      margin-bottom: 0;
    }
    
    @media (min-width: 800px) {
      .allergen-container {
        width: 100%;
        max-width: 1200px;
        flex-direction: row;
      }
  
      .content {
        width: 100%;
        max-width: 600px;
        padding: 40px;
        padding-top: 0;
      }
  
      #recipeImage {
        max-width: 100%;
        max-width: 500px;
      }

      #servingInfo {
        padding-top: 20px;
        margin-bottom: 0;
      }

      #servingTotal {
        margin-top: 0px;
      }
      

      .input-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 50px;
      }
  
      #idForm {
        flex-direction: row;
        border-radius: 22px;
      }


      #idFormBtn {
        border-radius: 22px;
      }
  
      #idInput {
        width: 200px;
        padding: 5px;
        border: none;
        border-radius: 22px;
        border: 2px solid var(--primary-color);
        font-size:24px;

  /* Other styles to apply on focus */
}

     

      #idInput:focus {
        outline: 2px solid var(--primary-color); 
        /* box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1); */
      }
  
  #idForm button {
    margin-left: 15px;
    margin-top: 0;
  }
  
  #idForm label {
    padding: 20px;
    font-size: 18px;
    line-height: 1;
  }
  
  
  
    }

    @media (max-width: 800px) {
      .allergen-container {
        margin-top: 20px;
      }

      .thumbnail {
        margin-bottom: 5px;
      }
  }

  @media (max-width: 1200px) {
    .figure {
      width: 100%;
    }
}

@media (min-width: 1201px) {
  .figure {
    min-width: 500px;
    min-height: 500px;

  }
}