@import url("https://fonts.googleapis.com/css?family=Roboto:300,400");
html {
  background-color: #020202;
  font-family: "Roboto", sans-serif;
  --bg-opacity: 0.8;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: var(--bg-opacity);
  z-index: -1;
}

body {
  padding: 0;
  margin: 0;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body.view-page {
  overflow: hidden;
}

.color-box {
  width: 100vw;
  height: 100vh;
  background-color: red;
}

#container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#footer {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#footer div {
  color: #aaa;
  padding: 20px;
  font-size: 15px;
  box-sizing: border-box;
  font-weight: 300;
  text-align: center;
  width: 360px;
}

@media only screen and (min-width: 1080px) and (min-height: 500px) {
  #footer {
    position: fixed;
    bottom: 50px;
    left: 10%;
    right: 10%;
    flex-direction: row;
  }
  #footer div {
    width: auto;
  }
}
svg {
  fill: none;
  stroke-width: 20px;
}

.marker {
  stroke-width: 40px;
}

text {
  font-size: 90px;
  stroke-width: 5px;
  user-select: none;
}

.label {
  font-size: 25px;
  stroke-width: 0;
}

.header {
  display: flex;
  justify-content: left;
  align-items: start;
  padding: 20px;
  background-color: #D9D4C9;
  border-bottom: 1px solid #ddd;
  position: relative;
}

.view-page .header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-sizing: border-box;
}

.logo {
  max-height: 60px;
  display: block;
}

.hamburger-menu {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 100;
  width: 30px;
  height: 22px;
}

.hamburger-menu span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.hamburger-menu span:nth-child(1) {
  top: 0px;
}

.hamburger-menu span:nth-child(2) {
  top: 9px;
}

.hamburger-menu span:nth-child(3) {
  top: 18px;
}

.menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  padding: 10px 0;
  min-width: 150px;
  display: none;
  z-index: 101;
}

.menu-dropdown.show {
  display: block;
}

.menu-dropdown a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s;
}

.menu-dropdown a:hover {
  background-color: #f5f5f5;
}

.back-button, .edit-button, .mix-button {
  display: block;
  margin: 10px 0 10px 20px;
  padding: 10px 15px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFF;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 18px;
  width: fit-content;
}

.view-page .back-button,
.view-page .edit-button,
.view-page .mix-button {
  position: absolute;
  top: 100px;
  z-index: 20;
}

.view-page .edit-button {
  right: 20px;
  left: auto;
}

.view-page .mix-button {
  right: 90px;
  left: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.palette-page .container {
  padding: 0;
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.palette-card {
  border: 1px solid #333;
  background-color: #000;
  opacity: 0.9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.palette-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.user-image-container {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 15px;
  border: 3px solid #f8f9fa;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.user-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.default-user-image {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e9ecef;
  color: #6c757d;
  font-size: 48px;
}

.palette-title {
  margin: 0;
  font-size: 18px;
  color: #FFF;
}

.palette-description {
  margin: 5px 0 0;
  color: #666;
  font-size: 14px;
}

.add-palette {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: #f8f9fa;
  border: 2px dashed #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.add-palette:hover {
  background-color: #e9ecef;
}

.add-icon {
  font-size: 48px;
  color: #6c757d;
}

.palette-actions {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.add-color-btn, .view-palette-btn, .share-palette-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  color: white;
  border: none;
  border-radius: 50%;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.add-color-btn {
  background-color: #4CAF50;
}

.add-color-btn:hover {
  background-color: #45a049;
  transform: scale(1.1);
}

.view-palette-btn {
  background-color: #2196F3;
}

.view-palette-btn:hover {
  background-color: #0b7dda;
  transform: scale(1.1);
}

.share-palette-btn {
  background-color: #9C27B0;
}

.share-palette-btn:hover {
  background-color: #7B1FA2;
  transform: scale(1.1);
}

.shared-label {
  display: inline-block;
  padding: 6px 6px;
  background-color: #121212;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  margin-left: 5px;
  vertical-align: middle;
  position: absolute;
  top: 15px;
  right: 15px;
}

.palette-info {
  margin-bottom: 20px;
}

.palette-page .palette-title {
  margin: 0 0 10px 0;
  font-size: 24px;
  text-align: center;
}

.palette-page .palette-description {
  color: #666;
  margin-bottom: 20px;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.color-swatch {
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 10px;
  text-align: center;
}

.color-swatch:hover {
  transform: scale(1.05);
}

.color-name {
  margin-bottom: 5px;
  font-size: 16px;
}

.color-value {
  font-size: 12px;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .color-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 992px) {
  .color-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.no-colors {
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 5px;
  text-align: center;
}

.add-color-link {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  text-decoration: none;
}

.swiper {
  width: 100%;
  height: calc(100% - 71px);
  margin-top: 71px;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.swiper-slide-active {
  transform: scale(1);
  opacity: 1;
}

.swiper-slide-prev, .swiper-slide-next {
  transform: scale(0.95);
  opacity: 0.9;
}

.color-fullscreen {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: inherit;
}

.color-info {
  padding: 20px;
  text-align: center;
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 10;
}

.view-page .color-name {
  font-size: 24px;
  margin-bottom: 10px;
}

.view-page .color-value, .image-info {
  font-size: 18px;
}

.image-info {
  opacity: 0.8;
}

.swiper-slide-active .color-info {
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 5px;
  width: 80%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.modal-title {
  margin: 0;
  font-size: 20px;
}

.close-modal {
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
}

.close-modal:hover {
  color: #333;
}

.modal-body {
  margin-bottom: 20px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
}

.modal-btn {
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 10px;
}

.modal-btn.primary {
  background-color: #4CAF50;
  color: white;
}

.modal-btn.secondary {
  background-color: #f8f9fa;
  color: #333;
  border: 1px solid #ddd;
}

.error-message {
  color: #f44336;
  margin-top: 10px;
  display: none;
}

/*# sourceMappingURL=style.css.map */
