@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Nunito Sans", sans-serif;
}
.main {
    width: 100%;
    height: auto;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}
.ui-container {
    width: 90%;
    margin: auto;
    padding: 20px;
    border-radius: 10px;

}
.ui-chooser {
  width: 100%;
  height: auto;
  margin-top: 50px;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}
.chooser-buttons {
  width: auto;
}
.app-ui-btn {
  padding: 10px 30px;
  margin: 10px;
  background-color: #ffa500;
}
.app-ui-btn a {
  text-decoration: none;
  color: #ffffff;
}
.app-ui-btn a:hover {
  color: white;
}
.app-ui-btn:hover {
  background-color: #17181b;
  color: black;
}
.website-ui-btn {
  padding: 10px 30px;
  margin: 10px;
  background-color: #ffffff;
}
.website-ui-btn a {
  text-decoration: none;
  color: #000000;
}
.website-ui-btn a:hover {
  color: white;
}
.website-ui-btn:hover {
  background-color: #ffa500;
  color: black;
}
.ui-container h1 {
    font-size: 30px;
    font-weight: 700;
    color: rgb(255, 255, 255);
    text-align: center;
}
.ui-container p {
    font-size: 18px;
    margin-top: 15px;
    color: rgb(255, 255, 255);
    text-align: center;
    font-weight: 400;
}
span {
    color:#ffa500;
}
.app-ui {
    width: auto;
    height: auto;
    flex-wrap: wrap;
}
:root {
    --primary: #4a6fa5;
    --secondary: #166088;
    --accent: #4fc1e9;
    --text: #333333;
    --background: #f5f7fa;
    --card: #ffffff;
  }
  
  h1 {
    margin-bottom: 20px;
    color: #333;
  }
  .app-controls {
    width: 70%;
    justify-content: center;
    display: block;
    padding-left: 30px;
    padding-right: 30px;
  }
  .controls {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 30px;
  }
  .controls-button{
    width: 100%;
  }
  button {
    background-color: #ffa500;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    flex: 1;
  }
  
  button:hover {
    background-color: #ffa500;
    color: rgb(255, 255, 255);
  }
  
  #saveBtn {
    background-color: #ffffff;
    color: black;
  }
  
  #saveBtn:hover {
    background-color: #218838;
    color: white;
  }
  
  .palette {
    display: flex;
    width: 100%;
    padding: 30px;
    gap: 30px;
    justify-content: center;
    margin-bottom: 70px;
    flex-wrap: wrap;
  }
  
  .color-item {
    width: 130px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
  }
  
  .color-label {
    position: absolute;
    bottom: -25px;
    font-size: 14px;
    color: #ffffff;
    white-space: nowrap;
    text-align: center;
    width: 100%;
  }
  
  .color-code {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    color: #333;
  }
  .saved-palette-container {
    width: 100%;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
  }
  .saved-palettes {
    width: 100%;
    max-width: 600px;
    margin-top: 10px;
    padding: 30px;
    display: none;
    color: white;
  }
  
  .saved-palette-item {
    display: flex;
    margin-top: 20px;
    margin-bottom: 10px;
    background-color: #17181b;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .saved-color {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 15px;
  }
  .mobile {
    width: 100%;
    justify-content: center;
    display: flex;
    margin-bottom: 10px;
    background-color: #17181b;
    margin-top: 30px;
    border-radius: 50px;
  }
  .mobile-mockup {
    width: 300px;
    height: 600px;
    background-color: var(--background);
    border-radius: 35px;
    border: 10px solid #ffffff;
    position: relative;
    overflow-y: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
  }
  
  .status-bar {
    height: 25px;
    background-color: var(--background);
    display: flex;
    justify-content: space-between;
    padding: 5px 15px;
    font-size: 12px;
    background-color: rgb(0, 0, 0);
    color: var(--text);
  }
  
  .navigation {
    height: 60px;
    background-color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    color: white;
  }
  
  .nav-title {
    font-weight: bold;
    font-size: 18px;
  }
  
  .content {
    padding: 15px;
  }
  
  .hero-image {
    width: 100%;
    height: 150px;
    background-color: var(--secondary);
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
  }
  
  .section-title {
    margin: 15px 0 10px;
    color: var(--text);
  }
  
  .text-content {
    color: var(--text);
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .product-card {
    background-color: var(--card);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  
  .product-image {
    width: 100%;
    height: 100px;
    background-color: var(--secondary);
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }
  
  .product-title {
    font-weight: bold;
    color: var(--text);
    margin-bottom: 5px;
  }
  
  .product-price {
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .product-description {
    font-size: 12px;
    color: var(--text);
    margin-bottom: 10px;
  }
  
  .button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }
  
  .menu {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: var(--card);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.1);
  }
  
  .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .menu-icon {
    width: 24px;
    height: 24px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-bottom: 5px;
  }
  
  .menu-label {
    font-size: 10px;
    color: var(--text);
  }
  
  .toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(40, 167, 69, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: none;
  }



  @media (max-width: 1280px) {
    .app-controls {
      width: 70%;
      justify-content: center;
      display: block;
      padding-left: 30px;
      padding-right: 30px;
    }
  }
  @media (max-width: 1024px) {
    .ui-container h1 {
      font-size: 23px;
      font-weight: 700;
      text-align: center;
  }
  .ui-container p {
      font-size: 14px;
      margin-top: 5px;
      text-align: center;
      font-weight: 400;
  }
  .app-controls {
    width: 80%;
    justify-content: center;
    display: block;
    padding-left: 30px;
    padding-right: 30px;
  }
  }
  @media (max-width: 768px) {
    .app-controls {
      width: 90%;
      justify-content: center;
      display: block;
      padding-left: 30px;
      padding-right: 30px;
    }
  }
  @media (max-width: 480px) {
    .app-ui-btn {
      padding: 8px 25px;
      margin: 5px;
      font-size: 12px;
      background-color: #ffa500;
    }
    .website-ui-btn {
      padding: 8px 25px;
      margin: 5px;
      font-size: 12px;
      background-color: #ffffff;
    }
    .app-controls {
      width: 100%;
      justify-content: center;
      display: block;
      padding-left: 0px;
      padding-right: 0px;
    }
    .saved-palettes {
      width: 100%;
      max-width: 600px;
      margin-top: 20px;
      padding: 10px;
      display: none;
      color: white;
    }
    button {
      background-color: #ffa500;
      color: white;
      border: none;
      padding: 15px 20px;
      border-radius: 25px;
      font-size: 12px;
      cursor: pointer;
      transition: background-color 0.3s;
      flex: 1;
    }
    .saved-palettes {
      width: 100%;
      max-width: 600px;
      margin-top: 10px;
      padding: 15px;
      display: none;
      color: white;
      font-size: 15px;
    }
  }