:root {
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --accent-color: #3b82f6;
  --accent-hover: #2563eb;
  --border-color: #334155;
  --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.4);
}

/******* Change Box Model ***************/
*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

a {
  color: #60a5fa;
  /* Contrast ratio pass para fondos oscuros */
}

body ul {
  list-style: none;
}

#wrapper {
  background-color: transparent;
}

#top-header {
  display: flex;
  width: 75%;
  height: 5.5em;
  flex-direction: column;
  align-items: center;
  padding: 5px;

}

#top-header a {
  text-decoration: none;
  text-decoration-skip-ink: auto;
  background: black;
  color: white;
}

.index-page {
  background-color: var(--bg-dark);
}

.siteName a {
  text-decoration: none;
  text-decoration-skip-ink: auto;
  background: black;
  color: white;
  font-size: xx-large;
}

#tools {
  font-size: large;
}

#tools a {
  text-decoration: none;
  text-decoration-skip-ink: auto;
  background: black;
  color: white;
}

.navbar {
  display: flex;
  position: relative;
  z-index: 2;
  background-color: #000000;
  align-items: center;
}

.menu-btn {
  display: flex;
  position: fixed;
  width: -webkit-fill-available;
  background: white;
  z-index: 50;
  margin-top: -5.5em;
  padding-bottom: 8px;
}

/* .menu-btn:hover {
  opacity: 0.5;
} */

.navbar ul.nav-menu {
  position: absolute;
  top: 0%;
  right: 49%;
  bottom: -50em;
  background: black;
  left: 0%;
  border: 5px solid red;
  opacity: 0.97;
  transform: translateX(-500px);
  transition: transform 0.5s ease-in-out;
}

.navbar ul.nav-menu li {
  padding: 20px;
  border-bottom: #ccc solid 1px;
  font-size: x-large;
  width: -webkit-fill-available;
  background: black;
  text-align: center;
}

.navbar ul.nav-menu li a {
  text-decoration: none;
  color: white;
}

.navbar ul.nav-menu li:last-child {
  border-bottom: 0;
}

.navbar ul.nav-menu.show {
  transform: translateX(-20px);
}

.navbar ul.nav-menu-right {
  margin-right: 50px;
}

.andale {
  background-color: #000000;
}

.andale span {
  display: block;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: -80px;
  transform: translate(-100px);
  transition: transform 0.5s cubic-bezier(0.6, -0.28, 0.74, 0.05);
  z-index: 2;
  background: white;
}

.andale span:nth-child(2) {
  z-index: 1;
  transform: translatex(-98px);
  top: 18px;
  right: -70px;
  display: none;
}

.andale span:nth-child(2).blck {
  display: block;
}

.andale span.show {
  transform: translate(100px)rotate(167deg);
}

.fa-xmark-large:before {
  content: "\2716";
  color: black;
  font-size: x-large;
  font-weight: bolder;
  text-shadow: 3px 2px 8px #181010;
}

#messages {
  color: #f87171;
  font-size: x-large;
}

/* .boudy{
  margin:5px;
} */
.btn {
  display: flex;
  justify-content: flex-end;
  position: absolute;
  right: 5rem;
  top: 40rem;
}

.btn button {
  display: flex;
  border-radius: 5px;
  padding: 1rem;
  width: 59%;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  font-weight: bolder;
  font-size: 2.5rem;
  cursor: pointer;
  align-items: center;
  margin: 2rem;
}

.btn button:hover {
  height: 9rem;
  font-size: xxx-large;
}

.banner-one {
  height: 50rem;
}

/* .hero {
  position: relative;
  height: 21vmax;
  margin-right: 21px;
  margin-left: 20px;
  overflow: hidden; /* Asegura que la imagen recortada no sobresalga 
} 
*/

.hero::before {
  content: "";
  /* Necesario para crear el pseudo-elemento */
  position: absolute;
  max-width: 45%;
  top: 0;
  left: 50%;
  right: 0;
  bottom: 0;
  background-image: url(../images/vehicles/delorean.jpg);
  background-size: cover;
  /* O 'contain' dependiendo de cómo quieres ajustar la imagen */
  z-index: 0;
  /* Asegura que la imagen quede detrás del contenido */
}

.action {
  color: var(--text-primary);
  display: flex;
  gap: 5px;
  padding: 5px;
  align-items: center;
  position: relative;
  justify-content: center;
  border-radius: 5px;
  flex-direction: column;
  flex-wrap: wrap;
}

.action ul {
  list-style: disc;
  margin-left: 49px;
}

.action button {
  background-color: var(--accent-color);
  color: white;
  font-size: larger;
  font-weight: bolder;
  border-radius: 8px;
  padding: 10px;
  width: 80%;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.action button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.login-page,
.register-page,
.user-page {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  align-items: center;
  margin-top: 5.5em;
  padding: 2rem;
  box-shadow: var(--card-shadow);
}

.regtitle {
  margin: 1em;
}

.managetitle {
  font-size: 2em;
}

.linksmanagement {
  display: grid;
  grid-template-columns: 1fr;
  font-size: 1.5em;
}

.linksmanagementuserportal {
  display: grid;
  grid-template-columns: 1fr;
  font-size: 1.5em;
}

#top-header #logout {
  padding: 3px;
  border-radius: 3px;
  margin: 5px;
}

#top-header #logout:hover {
  margin: 7px;
}

.linksclassification {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 15px;
}

.userinventoryaccess,
.userinventoryaccess h3 {
  margin: 15px;
  text-align: center;
}

#inventorydisplay {
  margin: 10px;
}

.anchorsmanagement {
  margin: 15px;
  cursor: pointer;
  text-decoration: none;
  background-color: black;
  color: white;
  border-radius: 5px;
  padding: 5px;
}

.anchorsmanagement:hover {
  --p: 100%;
  color: #000000;
  font-weight: bold;
}

.buttonclassification {
  margin: 15px;
  cursor: pointer;
  text-decoration: none;
  background-color: black;
  color: white;
  border-radius: 5px;
  padding: 5px;
  width: -webkit-fill-available;
}

#addclassificationform {
  width: -webkit-fill-available;
  margin: 1em;
}

form {
  display: flex;
  flex-direction: column;
  font-size: larger;
  font-weight: bolder;
  margin: 15px;
  width: -webkit-fill-available;
}

form p {
  font-size: small;
  font-style: italic;
  margin-bottom: 10px;
  margin: 10px;
}

form input,
form select {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  padding: 10px;
}

form input:focus,
form select:focus {
  outline: 2px solid var(--accent-color);
}

#classificationcars option {
  background-color: black;
  color: white;
}

#nonedisplay {
  display: none;
}

/* Hide the default checkbox */
.custom-checkbox {
  margin-left: auto;
  margin-top: -30px;
  margin-right: 38px;
  opacity: 0.4;
}

/* Create your custom checkbox */
.custom-checkbox::before {
  content: "";
  display: flex;
  width: 23px;
  height: 16px;
  margin: -1px;
  background-size: 74%;
  background-color: white;
  background-repeat: no-repeat;
  background-image: url(../images/site/eye-open.svg);
}

/* Add a checkmark to the checkbox */
.custom-checkbox:checked::after {
  content: "";
  display: flex;
  width: 21px;
  height: 16px;
  margin-top: -16px;
  margin-left: 0px;
  background-size: 80%;
  background-repeat: no-repeat;
  background-image: url(../images/site/eye-closed.svg);
  background-color: white;
}

.showp {
  background-color: black;
  color: white;
}

form button {
  border-radius: 8px;
  min-width: 8em;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  transition: all 0.3s ease;
}

form button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.inviciblelabel {
  display: none;
}

input:not(:focus):not(:placeholder-shown):invalid {
  background-image: url(../images/site/invalid.gif);
  background-size: 2em;
  background-repeat: no-repeat;
  background-position: right;
}

input:not(:focus):invalid {
  background-image: url(../images/site/user.gif);
  background-size: 1.2em;
  background-repeat: no-repeat;
  background-position: right;
}

input:not(:focus):not(:placeholder-shown):valid {
  background-image: url(../images/site/greencheck.gif);
  background-size: 2em;
  background-repeat: no-repeat;
  background-position: right;
}

.signup {
  font-size: larger;
  margin-left: auto;
  margin-right: auto;
}

.borderdetails {
  border: 1px solid var(--border-color);
  max-width: -webkit-fill-available;
  margin-top: 5.5em;
}

.details {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  color: white;
  padding: 3rem;
  flex-direction: column;
  background: none;
}

.detailsd {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 79%;
  flex-direction: column;
}

.price {
  display: flex;
  border: 1px solid gray;
  padding: 3rem;
  margin: 3rem;
  align-items: center;
}

.price1 {
  margin-right: 15rem;
}

.price1 p {
  font-size: x-large;
  font-weight: bold;
}

.price2 button {
  font-size: x-large;
  font-weight: bold;
  border-radius: 5px;
  padding: 1rem;
}

.detailsd {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 79%;
  flex-direction: column;
}

.details ul {
  margin-left: 20px;
}

.details ul li {
  padding: 5px;
}

.reviews {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 79%;
}

.reviews h2 {
  margin-right: 2rem;
}

/* .parts {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
} */
.upgradestitle {
  color: white;
  display: flex;
  justify-content: center;
  font-size: 3rem;
  margin: 3rem;
}

.upgrades {
  display: flex;
  height: 20rem;
  justify-content: space-around;
}

.imgupgrade {
  position: relative;
  background-color: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 30rem;
}

.imgupgrade img {
  width: 10em;
}

.imgname {
  width: 100%;
  background-color: rgba(30, 41, 59, 0.9);
  padding: 10px;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.imgname a {
  display: block;
  text-align: center;
  color: var(--text-primary);
  text-decoration: none;
  font-size: large;
  font-weight: 700;
}

.imgname a:hover {
  color: var(--accent-color);
}

#inv-display {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  list-style: none;
  padding: 20px;
}

.inv-displayli {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  margin-top: 10px;
}

.inv-displayli:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.inv-displayli a {
  color: var(--text-primary);
  text-decoration: none;
  width: 100%;
}

.inv-displayli img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.title {
  position: relative;
  color: var(--text-primary);
  background-color: var(--bg-card);
  margin: 0px;
  padding: 15px;
  font-size: 1.2rem;
  font-weight: bold;
}

.namePrice a {
  color: var(--text-primary);
}

.image-display {
  display: flex;
  margin: 10px;
}

.image-display img {
  width: 42vmax;
  border-radius: 12px;
}

.namePrice {
  background: var(--bg-card);
  color: var(--text-muted);
  text-align: center;
  place-self: stretch;
  padding: 15px;
  border-top: 1px solid var(--border-color);
}

.details-display {
  margin: 5px;
  display: grid;
  row-gap: 10px;
  font-size: large;
  background-color: black;
  padding: 5px;
  color: white;
}

.error-page {
  background-image: linear-gradient(rgba(0, 0, 255, 0.4), rgba(255, 255, 0, 0.4)), url(../images/site/Parkingbg.jpg);
  display: flex;
  flex-direction: column;
  background-size: 100% 100%;
  justify-content: center;
  align-items: center;
  background-repeat: no-repeat;
}

.error-page h1 {
  font-size: 100px;
  text-shadow: 4px 2px 6px white;
}

.error-page h2 {
  text-align: -webkit-center;
  margin: 14px;
  text-shadow: 4px 2px 6px white;
  font-size: 5em;
}

.notice ul {
  font-size: 100px;
  text-shadow: 4px 2px 6px white;
}

.notice li {
  text-align: -webkit-center;
  margin: 14px;
  text-shadow: 4px 2px 6px white;
  font-size: 1.5em;
  list-style: inside;
  color: red;
  font-weight: bolder;
}

@media (min-width: 1601px) {

  .boudy {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .index-page {
    display: flex;
    flex-direction: column;
    width: -webkit-fill-available;
    background-color: var(--bg-dark);
  }

  .siteName a {
    font-size: 3.5em;
    text-decoration: none;
    text-decoration-skip-ink: auto;
    background: black;
    color: white;
  }

  #tools {
    position: absolute;
    right: 20px;
    z-index: 5000;
  }

  #tools a {
    font-size: large;
  }

  #top-header {
    display: flex;
    position: absolute;
    border: none;
    right: 0;
    width: 10%;
    flex-direction: row;
    z-index: 3;
  }

  .menu-btn {
    display: contents;
  }

  .andale {
    display: none;
  }

  .navbar ul.nav-menu {
    display: flex;
    position: unset;
    border: unset;
    opacity: unset;
    transform: unset;
    transition: unset;
    justify-content: space-evenly;
    width: 45rem;
    overflow: hidden;
    margin: auto;
  }

  .navbar ul.nav-menu li {
    padding: 20px;
    font-size: x-large;
    background: black;
    list-style: none;
    border-bottom: unset;
    cursor: pointer;
  }

  .navbar ul.nav-menu.show {
    transform: none;
  }

  .navbar ul.nav-menu li:hover {
    background-color: var(--accent-color);
    padding: 15px;
    color: white;
    transform: translateY(-8px);
    border-radius: 8px;
  }

  .navbar ul.nav-menu li a {
    text-decoration: none;
    color: white;
    font-size: large;
  }

  .navbar ul.nav-menu li:last-child {
    border-bottom: none;
  }

  .navbar ul.nav-menu li:hover a {
    color: black;
    padding: 2em;
    font-size: x-large;
  }

  .hero {
    position: unset;
    height: 21vmax;
    margin-right: 21px;
    margin-left: 20px;
    overflow: hidden;
    /* Asegura que la imagen recortada no sobresalga */
  }

  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../images/vehicles/delorean.jpg);
    background-size: 100% 90%;
    background-repeat: no-repeat;
    z-index: 0;
    max-width: -webkit-fill-available;
  }

  .welcometitle {
    position: relative;
    margin-left: 15px;
  }

  .banner-one {
    height: 50rem;
  }

  .btn {
    display: flex;
    justify-content: flex-end;
    top: 40rem
  }

  .btn button {
    align-items: center;
    margin: 2rem;
    font-size: 2.5rem;
  }

  .btn button svg {
    width: 50%;
    background: white;
    border-radius: 5px 0px 0px 5px;
  }

  .details {
    padding: 3rem;
    flex-direction: column;
    background: none;
    color: var(--text-primary);
  }

  .reviews {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 79%;
  }

  .reviews h2 {
    margin-right: 2rem;
  }

  .dr {
    font-size: xx-large;
    font-weight: bolder;
  }

  .price {
    display: flex;
    border: 1px solid gray;
    padding: 3rem;
    margin: 3rem;
    align-items: center;
  }

  .price1 {
    margin-right: 15rem;
  }

  .price1 p {
    font-size: x-large;
    font-weight: bold;
  }

  .price2 button {
    font-size: x-large;
    font-weight: bold;
    border-radius: 5px;
    padding: 1rem;
  }

  .detailsd {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 79%;
    flex-direction: column;
  }

  .action button {
    cursor: pointer;
  }

  .action button:hover {
    font-size: xx-large;
    border: 5px solid red;
  }

  .action h2 {
    font-size: 5vmax;
    text-shadow: 2px 2px 4px rgb(254 250 250 / 50%);
  }

  .action ul li {
    font-size: 2vmax;
  }

  .bigscreen {
    display: flex;
    background: black;
    z-index: 0;
    flex-direction: column;
    width: 100%;
  }

  .details ul {
    font-size: larger;
  }

  .upgrades {
    margin-bottom: 20px;
  }

  .upgradestitle {
    color: white;
    display: flex;
    justify-content: center;
    font-size: 3rem;
    margin: 3rem;
  }

  #inv-display {
    display: grid;
    margin-top: 0.5em;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    grid-template-rows: repeat(auto-fill, minmax(200px, 1fr));
    margin-left: 0.5em;
    margin-right: 0.5em;
    align-items: center;
  }

  .inv-displayli img {
    width: 27vmax;
    height: 14vmax;
    margin-top: 15px;
  }

  .image-display {
    margin: 0px;
    display: block;
  }

  .details-display {
    margin-bottom: 2em;
    display: grid;
    row-gap: 10px;
    font-size: large;
    padding: 20px;
    color: var(--text-primary);
    background-color: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
  }

  .details-display h3 {
    color: white;
    background: linear-gradient(45deg, black, transparent);
  }

  .details-display * {
    font-weight: bolder;
  }

  .login-page,
  .register-page {
    margin: 3em auto;
    max-width: 39em;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
  }

  .managetitle {
    font-size: 3.5em;
  }

  .linksmanagement {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    font-size: 1.5em;
    text-transform: uppercase;
  }

  .linksmanagementuserportal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
    font-size: 1.5em;
    text-transform: uppercase;
  }

  .anchorsmanagement {
    transition: .4s, background-position 0s;
    background-color: black;
    color: white;
  }

  .anchorsmanagement:hover {
    --p: 100%;
    color: #000000;
    font-weight: bold;
    background-color: white;
  }

  form p {
    font-size: medium;
    margin: 20px 20px;
  }

  .buttonclassification {
    transition: .4s, background-position 0s;
    background-color: black;
    color: white;
  }

  .buttonclassification:hover {
    transition: .4s, background-position 0s;
    background-color: white;
    color: black;
  }

  .signup {
    margin-top: 1em;
  }

  .file-upload-button {
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
  }

  .file-upload-button:hover {
    background-color: #0056b3;
  }
}

@media (max-width: 1600px) {
  .boudy {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .index-page {
    display: flex;
    flex-direction: column;
    width: -webkit-fill-available;
    background-color: var(--bg-dark);
  }

  .siteName a {
    font-size: 3.5em;
    text-decoration: none;
    text-decoration-skip-ink: auto;
    background: black;
    color: white;
  }

  #tools {
    position: absolute;
    right: 20px;
    z-index: 5000;
  }

  #tools a {
    font-size: large;
  }

  #top-header {
    display: flex;
    position: absolute;
    border: none;
    flex-direction: row;
    width: -webkit-fill-available;
  }

  .dr {
    font-size: xx-large;
    font-weight: bolder;
  }

  .menu-btn {
    display: contents;
  }

  .andale {
    display: none;
  }

  .navbar ul.nav-menu {
    display: flex;
    position: unset;
    border: unset;
    opacity: unset;
    transform: unset;
    transition: unset;
    justify-content: space-evenly;
    width: 45rem;
    overflow: hidden;
    margin: auto;
  }

  .navbar ul.nav-menu li {
    padding: 20px;
    font-size: x-large;
    background: black;
    list-style: none;
    border-bottom: unset;
    cursor: pointer;
  }

  .navbar ul.nav-menu.show {
    transform: none;
  }

  .navbar ul.nav-menu li:hover {
    background-color: var(--accent-color);
    padding: 15px;
    color: white;
    transform: translateY(-8px);
    border-radius: 8px;
  }

  .navbar ul.nav-menu li a {
    text-decoration: none;
    color: white;
    font-size: large;
  }

  .navbar ul.nav-menu li:last-child {
    border-bottom: none;
  }

  .navbar ul.nav-menu li:hover a {
    color: black;
    padding: 2em;
    font-size: x-large;
  }

  .hero {
    position: unset;
    height: 21vmax;
    margin-right: 21px;
    margin-left: 20px;
    overflow: hidden;
    /* Asegura que la imagen recortada no sobresalga */
  }

  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../images/vehicles/delorean.jpg);
    background-size: 100% 90%;
    background-repeat: no-repeat;
    z-index: 0;
    max-width: -webkit-fill-available;
  }

  .welcometitle {
    position: relative;
    margin-left: 15px;
  }

  /* .banner-one {
    height: 37rem;
  } */
  /* #wrapper{
    border: 5px solid cornflowerblue;
    width: 90%;
    height: 90%;
    margin: 70px;
    border-radius: 10px;
  } */
  /* .action{
    width: 45%;
    top: auto;
    height: -webkit-fill-available;
    border-radius: 5px;
  } */
  .action button {
    cursor: pointer;
  }

  .action button:hover {
    font-size: xx-large;
    border: 5px solid red;
  }

  .action h2 {
    font-size: 5vmax;
    text-shadow: 2px 2px 4px rgb(254 250 250 / 50%);
  }

  .action ul li {
    font-size: 2vmax;
  }

  .bigscreen {
    display: flex;
    background: black;
    z-index: 0;
    flex-direction: column;
    width: 100%;
  }

  .details ul {
    font-size: larger;
  }

  .upgrades {
    margin-bottom: 20px;
  }

  .upgradestitle {
    color: white;
    display: flex;
    justify-content: center;
    font-size: 3rem;
    margin: 3rem;
  }

  .imgupgrade {
    position: relative;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 20rem;
    border: 1px solid black;
  }

  .imgupgrade img {
    width: 5em;
  }

  #inv-display {
    display: grid;
    margin-top: 0.5em;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    grid-template-rows: repeat(auto-fill, minmax(200px, 1fr));
    margin-left: 0.5em;
    margin-right: 0.5em;
    align-items: center;
  }

  .inv-displayli img {
    width: 27vmax;
    height: 14vmax;
    margin-top: 15px;
  }

  .image-display {
    margin: 0px;
    display: block;
  }

  .details-display {
    margin-bottom: 2em;
    display: grid;
    row-gap: 10px;
    font-size: large;
    padding: 20px;
    color: var(--text-primary);
    background-color: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
  }

  .details-display h3 {
    color: white;
    background: linear-gradient(45deg, black, transparent);
  }

  .details-display * {
    font-weight: bolder;
  }

  .login-page,
  .register-page {
    margin: 3em auto;
    max-width: 39em;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
  }

  .managetitle {
    font-size: 3.5em;
  }

  .linksmanagement {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    font-size: 1.5em;
    text-transform: uppercase;
  }

  .linksmanagementuserportal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
    font-size: 1.5em;
    text-transform: uppercase;
  }

  .anchorsmanagement {
    transition: .4s, background-position 0s;
    background-color: black;
    color: white;
  }

  .anchorsmanagement:hover {
    --p: 100%;
    color: #000000;
    font-weight: bold;
    background-color: white;
  }

  form p {
    font-size: medium;
    margin: 20px 20px;
  }

  .buttonclassification {
    transition: .4s, background-position 0s;
    background-color: black;
    color: white;
  }

  .buttonclassification:hover {
    transition: .4s, background-position 0s;
    background-color: white;
    color: black;
  }

  .signup {
    margin-top: 1em;
  }

  .file-upload-button {
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
  }

  .file-upload-button:hover {
    background-color: #0056b3;
  }
}

@media (max-width: 400px) {}