@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 h1 {
    font-size: 30px;
    font-weight: 700;
    color: rgb(255, 255, 255);
    text-align: center;
}
.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;
  }
.ui-container p {
    font-size: 18px;
    margin-top: 15px;
    color: rgb(255, 255, 255);
    text-align: center;
    font-weight: 400;
}
.app-ui-btn {
    padding: 10px 30px;
    margin: 10px;
    background-color: #ffffff;
    border-radius: 25px;
    font-size: 16px;
    border-width: 0px;
  }
  .app-ui-btn a {
    text-decoration: none;
    color: #000000;
  }
  .app-ui-btn a:hover {
    color: white;
  }
  .app-ui-btn:hover {
    background-color: #ffa500;
    color: black;
  }
  .website-ui-btn {
    padding: 10px 30px;
    margin: 10px;
    background-color: #ffa500;
    border-radius: 25px;
    font-size: 16px;
    border-width: 0px;
  }
  .website-ui-btn a {
    text-decoration: none;
    color: #ffffff;
  }
  .website-ui-btn a:hover {
    color: white;
  }
  .website-ui-btn:hover {
    background-color: #ffa500;
    color: black;
  }
span{
    color: #ffa500;
}
.web-ui-frame {
    width: 70%;
}
.container {
  width: 100%;
  background-color: black;
  display: flex;
  margin-top: 30px;
  flex-direction: column;
  align-items: center;
}

h1 {
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.controls {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

button {
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  background-color: #ffa500;
  color: white;
  transition: all 0.2s ease;
}

button:hover {
  background-color: #3b5bb8;
  transform: translateY(-2px);
}
#save-palette-btn {
  background-color: white;
  color: black;
}

.tablet-container {
  position: relative;
  width: 800px;
  max-width: 90vw;
  height: 600px;
  background-color: #ffffff;
  border-radius: 35px;
  padding: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.tablet-frame {
  width: 100%;
  height: auto;
  align-items: center;
  justify-content: center;
  display: flex;
  padding: 50px;
  background-color: #17181b;
  border-radius: 50px;
}
.tablet-screen {
  width: 100%;
  height: 100%;
  background-color: var(--bg-color, #fff);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.tablet-header {
  background-color: var(--primary-color, #4a6fd8);
  color: var(--text-contrast, white);
  padding: 15px 20px;
  display: flex;
  border-radius: 0px 0px 30px 30px;
  justify-content: space-between;
  align-items: center;
}

.tablet-header h2 {
  font-size: 20px;
  font-weight: 600;
}

.tablet-content {
  padding: 20px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  overflow: hidden;
}

.sidebar {
  background-color: var(--secondary-color, #e8eaf6);
  border-radius: 20px;
  padding: 15px;
  height: 100%;
}

.menu-item {
  padding: 12px;
  margin-bottom: 10px;
  background-color: var(--accent-color, #c5cae9);
  border-radius: 15px;
  color: var(--text-primary, #333);
  cursor: pointer;
  font-weight: 500;
}

.menu-item:hover {
  background-color: var(--primary-color, #4a6fd8);
  color: var(--text-contrast, white);
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  overflow-y: auto;
}

.card {
  background-color: var(--card-color, white);
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary, #333);
}

.card-content {
  color: var(--text-secondary, #666);
  line-height: 1.6;
}

.image-placeholder {
  width: 100%;
  height: 120px;
  background-color: var(--accent-color, #c5cae9);
  border-radius: 6px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary, #666);
}

.button {
  padding: 10px 15px;
  background-color: var(--primary-color, #4a6fd8);
  color: var(--text-contrast, white);
  border: none;
  border-radius: 15px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 10px;
  display: inline-block;
}

.color-palette {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.palette-title {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.colors-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.color-box {
  width: 130px;
  height: 80px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.color-value {
  font-weight: bold;
  margin-top: 5px;
}

.saved-palettes {
  margin-top: 40px;
  width: 100%;
  max-width: 800px;
}

.saved-palette-item {
  background-color: #17181b;
  border-radius: 25px;
  padding: 20px;
  color: white;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.saved-colors {
  display: flex;
  margin-top: 10px;
  gap: 5px;
}

.saved-color {
  height: 40px;
  flex: 1;
  border-radius: 4px;
}

.no-palettes {
  text-align: center;
  color: #ffffff;
  padding: 20px;
}

@media (max-width: 768px) {
  .tablet-content {
      grid-template-columns: 1fr;
  }
  
  .tablet-container {
      height: 700px;
  }
}

@media (max-width: 1280px) {
  .tablet-container {
    position: relative;
    width: 800px;
    max-width: 90vw;
    height: 500px;
    background-color: #ffffff;
    border-radius: 35px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
  }
  .tablet-frame {
    width: 100%;
    height: 570px;
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 30px;
    background-color: #17181b;
    border-radius: 50px;
  }
}
@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;
}
}
@media (max-width: 480px) {
  .app-ui-btn {
    padding: 8px 25px;
    margin: 5px;
    font-size: 12px;
  }
  .website-ui-btn {
    padding: 8px 25px;
    margin: 5px;
    font-size: 12px;
  }
  .tablet-container {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #ffffff;
    border-radius: 25px;
    padding: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
  }
  .tablet-frame {
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 20px;
    background-color: #17181b;
    border-radius: 30px;
  }
  .web-ui-frame {
    width: 95%;
}
button {
  padding: 12px 24px;
  font-size: 12px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  background-color: #ffa500;
  color: white;
  transition: all 0.2s ease;
}
}