:root {
  --s-space: 10px;
  --n-space: 25px;
  --l-space: 50px;
  --xl-space: 75px;
  --xxl-space: 100px;

  --n-radius: 10px;
  --l-radius: 20px;

  --btn-space: 8px 16px;

  --gold-bg: radial-gradient(
      ellipse farthest-corner at right bottom,
      #fedb37 0%,
      #fdb931 8%,
      #9f7928 30%,
      #8a6e2f 40%,
      transparent 80%
    ),
    radial-gradient(
      ellipse farthest-corner at left top,
      #ffffff 0%,
      #ffffac 8%,
      #d1b464 25%,
      #5d4a1f 62.5%,
      #5d4a1f 100%
    );

  --c1-color: #ffae00;
  --c2-color: #8b4513;
  --c3-color: #fafad2;

  --white-color: #dadada;
  --black-color: #0d0d0d;
}

:focus {
  outline: 0 !important;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
}

a,
a:link {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
  text-decoration: none;
}

a:active {
  color: inherit;
  text-decoration: none;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: silver;
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: silver;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: silver;
}

img {
  pointer-events: none;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

.full-height {
  height: 100svh;
}

body {
  background-color: #eeeeee;
  color: rgb(100, 100, 100);
}

.navbar {
  margin-bottom: var(--n-space);
  background-color: #d1d1d1 !important;
}

.nav-logo {
  height: 60px;
}

.nav-link {
  /* color: var(--c2-color); */
}

.nav-link:hover {
  color: var(--c2-color);
}

.hero-index {
  height: 100svh;
  /* background-image: url("../media/bg.jpg"); */
  background-image: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.5) 100%
    ),
    url("../media/bg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: white;
}

.hero {
  height: 100svh;
  /* background-image: url("../media/bg.jpg"); */
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.877) 0%, rgba(0, 0, 0, 0) 100%),
    url("../media/bg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: white;
}

.login-box {
  text-align: left;
  color: rgb(100, 100, 100);
  background: rgb(255, 255, 255);
  border-radius: 16px;
  /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 50px;
}

.hero-button {
  padding: var(--btn-space);
  /* font-weight: 600; */
  display: flex;
  transition: all 0.3s ease;
  width: max-content;
  margin-top: 5px;
}

.hero-button:hover {
  background: var(--c3-color);
  color: var(--c2-color) !important;
  margin-left: 10px;
}

.hero-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.section {
  padding: var(--n-space) 0px;
}

.section-grid {
  /* gap: 20px; */
}

.album-btns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-top: 1px solid rgb(110, 110, 110);
  padding-top: 1rem;
}

.card {
  border: 0px;
  background-color: rgb(219, 219, 219);
  color: #595959;
  height: 100%;
  /* min-height: 400px; */
}

.card-img-top {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-description {
  display: -webkit-box; /* Use a flex-like layout for text */
  -webkit-box-orient: vertical; /* Specify the box orientation */
  overflow: hidden; /* Hide overflowed text */
  text-overflow: ellipsis; /* Add ellipsis when text overflows */
  -webkit-line-clamp: 3; /* Limit to 3 lines */
  max-height: calc(1.2em * 3); /* Adjust based on line height */
  line-height: 1.2em; /* Set the line height */
  height: auto; /* Optional: keep the div height flexible */
}

.album-btns .btn {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-direction: column;
  color: #595959;
}

.album-btns .btn:hover {
  color: var(--c2-color);
}

.new-album {
  background-color: rgb(219, 219, 219);
  color: #595959;
  transition: all 0.3s ease;
}
.error-album {
  background-color: rgb(139, 0, 0);
  color: #ffffff;
  transition: all 0.3s ease;
}

.new-album:hover {
  background-color: #fdb931;
}

.new-album-card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.new-album-icon {
  font-size: 60px;
}

.from-section {
  padding: var(--n-space);
  border: 2px dotted rgb(196, 196, 196);
  margin-bottom: var(--n-space);
  border-radius: var(--n-radius);
}

.from-border-bottom {
  border-bottom: 2px dotted rgb(196, 196, 196);
}

.photo-set {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
  padding: 0px;
  margin: 0px;
}

.photo-set-photo {
  aspect-ratio: 1/1;
  /* padding: 5px; */
  background: rgb(223, 223, 223);
  position: relative;
}

.photo-set-photo-remove {
  position: absolute;
  left: 0;
  bottom: 0;
  border: 0px;
  background-color: rgb(190, 190, 190);
  color: rgb(131, 0, 0);
  padding: 10px 20px;
}

.photo-set-photo-remove:hover {
  background-color: rgb(255, 133, 133);
}

.photo-set-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

ul {
  list-style-type: none;
}

.form-control,
.form-control:focus {
  background-color: unset;
  color: var(--c2-color);
  border-color: #d1d1d1;
}

.form-submit {
  background-color: var(--c1-color);
  color: var(--c2-color);
  padding: var(--btn-space);
  font-size: larger;
  border: 0px;
}

.form-submit:hover {
  background-color: var(--c2-color);
  color: var(--c1-color);
}

.delete-album-form {
  display: flex !important;
  justify-content: center;
}

.edit-thumb {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}
.edit-thumb-img {
  width: 38px;
  aspect-ratio: 1/1;
  object-fit: cover;
  /* border-radius: 5px; */
}

.access-bg {
  background-image: url("../media/blur.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: white;
}

.access-box {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  /* border: 1px solid rgba(255, 255, 255, 0.3); */
  padding: var(--btn-space);
  color: white;
  display: flex;
  align-items: center;
}

.access-pw,
.access-pw:focus {
  background-color: unset;
  border: none;
  color: white;
}

.access-btn {
  background-color: unset;
  border: none;
  color: white;
  padding: 10px 20px;
  font-size: 150%;
  border-left: 1px solid #fff3;
  /* display: none; */
}

.flipbook-bg-dark {
  background: none;
}
.flipbook-color-dark {
  color: rgba(49, 53, 56, 0.95);
}
.flipbook-menuWrapper {
  box-shadow: none !important;
  background: none !important;
}
.flipbook-menu {
  box-shadow: none !important;
  background: none !important;
}
.flipbook-right-arrow {
  border-radius: 0 !important;
  margin-right: 0 !important;
  padding: 10px !important;
}
.flipbook-left-arrow {
  border-radius: 0 !important;
  margin-left: 0 !important;
  padding: 10px !important;
}

.lity-content > img {
  min-height: 500px;
}

.backbtn {
  z-index: 99;
  position: fixed;
  right: 0;
  width: 70px;
  padding: 20px;
  cursor: pointer;
}

.clear-btn {
  cursor: pointer;
  color: rgb(184, 0, 0);
  /* display: flex; */
  gap: 5px;
  align-items: center;
  justify-content: flex-end;
  display: none;
  position: absolute;
  right: 20px;
  bottom: 26px;
}

.form-label {
  margin: 0px;
}

.label-with-clear {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.add-pages-btn {
  background-color: var(--c1-color);
  color: var(--c2-color);
  padding: var(--btn-space);
  border: 0px;
  width: 200px;
}

.add-pages-btn:hover {
  background-color: var(--c2-color);
  color: var(--c1-color);
}

.edit-clear-btn {
  cursor: pointer;
  color: rgb(184, 0, 0);
  /* display: flex; */
  gap: 5px;
  align-items: center;
  justify-content: flex-end;
  display: none;
  position: absolute;
  right: 55px;
  bottom: 12px;
}

.edit-remove-btn {
  margin-left: -31px;
  margin-top: 0px;
  background-color: rgb(190, 190, 190);
  color: rgb(131, 0, 0);
  padding: 0px 5px;
  border: 0px;
}

.edit-remove-btn:hover {
  background-color: rgb(255, 133, 133);
}

.pending-delete {
  margin-top: 8px;
  padding: 4px 8px;
  background-color: #fff3f3;
  border-radius: 4px;
}
.pending-delete button {
  padding: 0 4px;
  color: #0d6efd;
  text-decoration: underline;
}
