@font-face {
    font-family: 'Varela Round';
    src: url('../lib/VarelaRound-Regular.ttf');
  }

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
  }

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  #loading-page {
    font-family: 'Varela Round';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:#d97c2b;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    color: #ffffff;
  }
  
  .spinner {
    border: 8px dotted #f2f2f2;
    border-top: 8px dotted #f2f2f2;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
  }
  
  #resize-pane {
    margin: 10px;
    margin-bottom: 90px;
  }
  
  #main-content {
    display: none; /* Ensure main content is hidden initially */
    max-width: 400px;
    margin: auto;
  }
  
  body {
    background-color: #f2f2f2;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight:bold;
    margin: 0px;
    transition: 500ms;
    text-rendering: optimizeLegibility;
  }
  
  
  .container {
    display: block;
    text-align: center;
    align-content: center;
    padding: 0px;
    margin: 10px;
    width: 150px;
    margin-left: auto;
    margin-right: auto;
  }
  
  #img_moon {
    position: absolute;
    margin-right: 58px;
    width: 20px;
    height: 20px;
    z-index: 3;
    margin-top: 24px;
  }
  
  #img_sun {
    position: absolute;
    margin-right: 55px;
    width: 25px;
    height: 25px;
    z-index: 3;
    margin-top: 23px;
  }
  
  ::placeholder {
      color: #ffffff;
      opacity: 0.75;
  }  
  
  .view_button:hover {
    background-color: #f2c879;
    border-radius: 10px;
  }
  
  .delete_button:hover {
    background-color: #ff6767;
  }
 
  .delete_button {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #ff5050;      
    color: white;
    font-weight: 700;
    border-style: none;
    border-radius: 10px;
    padding: 0rem;
    margin-left: 0.5rem;
    transition-duration: 250ms;
  }
  
  .delete_button > img {
    height: 75%;
    width: 75%;
    margin-top: 12.5%;
  }
  
  a {
    text-decoration: none;
    color: #ffffff; 
  }
  
  .popClass {
    visibility: hidden;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    text-align: center;
    border-radius: 20px;
    position:absolute;
    max-width: 100%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%,-50%);
    z-index: 5;
    padding: 3rem;
    box-shadow: 0px 0px 1rem 0.5rem rgba(0, 0, 0, 0.2);
    font-family: 'Varela Round';
    font-size: larger;
    
  }
  
  .show {
      visibility: visible;
      animation: fadeInAnimation ease 500ms !important;
  }
  
  .visible {
    display: block !important;
  }
  
  .hidden {
    display: none !important;
  }
  
  #overlay_saves {
    position: fixed;
    display: none; 
    width: 100%; 
    height: 100%; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); 
    z-index: 4; 
    cursor: pointer; 
    }
  
    #dark_mode {
      color:#2b2b2b solid;
      background-color: #2b2b2b;
      text-decoration: none;
      height: 1.75rem;
      width: 1.75rem;
      border-radius: 50%;
      border: 0px;
      position: absolute 2px;
      transition: 500ms;
      transform: translateX(2px);
    }
  
    #dark_mode_container {
      border-radius: 2rem;
      border:#2b2b2b 2px solid;
      width: 3rem;
      padding-top: 3px; /*fix spacing -temp fix(?)*/
      transition: 500ms;
      margin-left: auto;
    }
  
    #table_container_saves {
      background-color: #00000017;
      width: 100%;
      border-radius: 30px;
      padding-bottom: 600px;
      display: flex;
      flex-flow: column-reverse;
    }
  
    .saves_table_sub_container {
      display: flex;
      height: 2.5rem;
      margin-right: 0rem;
      padding: 0.75rem;
      padding-bottom: 0rem !important;
  }
  
    .view_button {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
      font-weight: 700;
      border-style: none;
      padding: 0.5rem;
      color: white;
      border-radius: 10px;
      border-color: #d97c2b;
      background-color: #d97c2b;
      transition-duration: 250ms;
      height: 100%;
    }
  
    #delete_saves:hover {
      color:#ff1313
    }
  
    .saves_recipe_name {
      width: 100%;
      background-color: #d97c2b;
      color: white;
      border-radius: 30px;
      padding: 0.5rem;
      padding-left: 1rem;
  
    }
  
    .saves_delete_button {
  
    }
  
    .saves_view_button {
      margin-left: 0.5rem;
      
    }
  
    .saves_view_button:hover {
      background-color: #f2c879;
      border-radius: 10px;
    }
  
    #top_container_saves {
      display: flex;
      flex-flow: row-reverse;
      margin-bottom: 1rem;
    }
  
    .saves_popup_ingredients{
      flex: auto;
      padding-bottom: 0.3rem;
    }
  
    .saves_popup_amts {
      flex: auto;
      padding-bottom: 0.3rem;
    }
  
    #open_button_popup {
      background-color:#d97c2b;
      border: none;
      border-radius: 50px;
      padding: 1rem;
      font-size:large;
      font-weight: bolder;
      font-family: 'Varela Round';
      letter-spacing: 1px;
      color: #ffffff;
    }
  
    #open_button_popup:hover {
      cursor: pointer;
    }
  
    #save_edit_button {
      margin-top: 1rem;
      background-color:#d97c2b;
      border: none;
      border-radius: 30px;
      padding: 0.75rem;
      font-size: 10pt;
      font-weight: bolder;
      font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
      color:#ffffff;
      letter-spacing: 0.1rem;
  
    }
  
    #open_button_popup_parent {
      margin-top: 2rem;
    }
  
    #recipe_save_popup {
      width: 50%;
      padding: 2rem !important;
      background-color: #b56421;
      max-width: 25rem;
      ;
    }
  
    #recipe_save_popup > * {
      font-family: 'Varela Round';
      color:#ffffff;
      letter-spacing: 1px;
    }
  
    .saves_ingredients_subcontainer_class {
      display: flex;
      padding: 0.5rem;
      margin: 0.5rem;
      background-color:#d97c2b;
      border-radius: 50px;
    }
  
    #recipe_delete_confirmation > *{ 
      font-family: 'Varela Round';
      color: #ffffff;
    }
  
    #recipe_delete_confirmation {
      background-color: #b56421;
      width: 70%;
      padding: 5%;
      max-width: 600px;
    }

    #recipe_name_container {
      padding: 1rem;
      font-size: 20pt;
    }
  
    #delete_confirm_button_no, #delete_confirm_button {
      border-radius: 30px;
      margin: 10px;
      padding: 12px;
      background-color: #d97c2b;
      border-style: none;
      color:#ffffff;
      font-size: large;
      font-weight: 700;
      
    }
  
  #navigation_bar {
    display: flex;
    justify-content: center; 
    align-items: center;     
    position: fixed;
    bottom: 0;
    width: 100%;
    border-radius: 20px 20px 0 0;
    background-color: #d97c2b;
    padding-bottom: 1rem;
    letter-spacing: 1.5px;
  }
  
  .nav_buttons {
    flex: 1;
    text-align: center;
    font-family: inherit;
    font-weight: inherit;
    font-size: 16px;
    position: relative;
    font-family: 'Varela Round';
  }
  
  .nav_buttons a {
    text-decoration: none;
    color: #fff;
    font-size: inherit;
    display: inline-block;
    position: relative;
    padding: 1rem; 
  }
  
  .nav_buttons a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 4px;
    border-radius: 10px;
    bottom: 8px;
    left: 0;
    background-color: #ffffff;
    transform-origin: bottom right;
    transition: transform 0.3s ease;
  }
  
  .nav_buttons a:hover::after,
  .nav_buttons a:focus::after,
  .nav_buttons a.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
  
  #no_recipes_found {
    text-align: center;
    color: #2b2b2b86;
    font-family: 'Varela Round';
    font-size: large;
    padding: 0rem;
    opacity: 0;
  }
  
  #create_recipes_button {
    border-radius: 50px;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #d97c2b;
    color: #ffffff;
    font-family: 'Varela Round';
    font-size: 26pt;
    text-align: center;
    margin: auto;
  
  }
  
  #create_recipes_button:hover {
    cursor: pointer;
  }
  
  #my_recipes_text {
    font-size: 28pt;
    margin-top: 10px;
    padding: 5px;
    font-family: 'Varela Round';
    color: #d97c2b;
    margin-right: auto;
    letter-spacing: 2px;
  }
  
  #dark_mode_container_parent {
    margin-top: 17px;
  }