ulepsz mi css tych garazy  zeby byly nowoczesniejsze

@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --purple: #00e8f8cc; /* Domyślny kolor, będzie aktualizowany przez JS */
}

::-webkit-scrollbar {
  width: 7px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgba(10, 10, 10, 0.5);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background-image: repeating-linear-gradient(
    to top,
    var(--purple),
    rgb(37, 74, 27)
  );
  background-size: 200% 200%;
  background-position: 100% 100%;
  -webkit-animation: AnimationName 10s ease infinite;
  -moz-animation: AnimationName 10s ease infinite;
  animation: AnimationName 10s ease infinite;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background-image: repeating-linear-gradient(
    to top,
    var(--purple),
    rgb(37, 74, 27)
  );
  background-size: 200% 200%;
  background-position: 100% 100%;
  -webkit-animation: AnimationName 10s ease infinite;
  -moz-animation: AnimationName 10s ease infinite;
  animation: AnimationName 10s ease infinite;
}

@keyframes AnimationName {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@font-face {
  font-family: "Montserrat", sans-serif;
  src: url(play.ttf);
}

html {
  overflow: hidden;
  user-select: none;
}

.sans {
  font-family: "Montserrat", sans-serif;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  padding: 0;
}

.full-screen {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

#cursor {
  position: absolute;
  z-index: 99999999;
  ;
}

.list-container {
  width: 950px;
  height: 700px;
  background: linear-gradient(-45deg, black, black, black 45%, black);
  border-radius: 1vh;
  opacity: 0.865;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  ;
  z-index: 9999999;
}

.active {
  border: 2px solid var(--purple) !important;
  color: var(--purple) !important;
  transition: 0.2s;
}

.header {
  width: calc(100% - 4vh);
  padding: 2vh;
  height: 80px;
  display: flex;
  align-items: center;
  color: rgb(225, 225, 225);
  font-family: "Poppins", serif;
  font-weight: 600;
}

.header h1 {
  text-align: start;
  width: 70%;
  padding-left: 1.8vh;
}

.close-btn {
  display: flex;
  justify-content: end;
  width: 30%;
  padding-right: 1.8vh;
}

.header .close-btn a {
  color: #fff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 2vh;
  width: 3vh;
  height: 3vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #3e3e3e;
  border: 2px solid var(--purple);
  border-radius: 0.4vh;
}

.body {
  width: 100%;
  ;
}

.centered {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 20px;
  width: 91%;
  gap: 1vh;
  margin-left: auto;
  font-family: "Montserrat", sans-serif;
  margin-right: auto;
}

.centered-noheight {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex-direction: column;
  width: 91%;
  margin-left: auto;
  margin-right: auto;
}

.button2 {
  flex-grow: 0.8;
  align-items: center;
  text-align: center;
  margin-left: 15%;
  margin-right: 15%;
  margin-bottom: 10px;
  background: linear-gradient(to right, var(--purple), rgb(37, 74, 27));
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 1em;
  padding: 7px 5px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.button2:hover {
  transform: scale(102%);
}

.button2:focus,
.submit {
  outline: 0;
}

.button {
  flex-grow: 1;
  height: 150px;
  text-align: start;
  margin-left: 0px;
  margin-right: 0px;
  background-color: rgba(244, 244, 244, 0.082);
  border-radius: 5px;
  max-width: 21%;
  color: white;
  font-size: 15px;
  padding: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.button-titles {
  display: flex;
  justify-content: start;
  margin: 1vh 0 0 1vh;
  text-align: start;
  flex-direction: column;
  height: 70%;
  width: 100%;
}

.texts {
  width: 100%;
  height: 30%;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.texts-icon {
  width: 30px;
  height: 30px;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(244, 244, 244, 0.301);
  transition: all 0.2s;
  margin-right: 6px;
}

.texts-icon:hover {
  background-color: rgba(244, 244, 244, 0.486);
}

.texts p {
  color: white;
  margin-right: 5px;
}

.button:hover {
  background-color: rgba(244, 244, 244, 0.153);
}

.button:focus,
.submit {
  outline: 0;
}

#cars {
  overflow: auto;
  max-height: 50%;
  position: relative;
}

#footer {
  width: 100%;
  height: 50px;
  display: flex;
  margin: 2vh 0 0 0;
  justify-content: center;
  padding-top: 10px;
  color: #fff;
}

.ban-name {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Poppins", serif;
  color: #fff;
}

@keyframes morisek {
  0% {
    left: 0px;
  }
  50% {
    left: 71%;
  }
  100% {
    left: 0px;
  }
}

/* Categories */
.interactive {
  display: flex;
  justify-content: start;
  align-items: center;
}

.categories {
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
  height: 100%;
  gap: 1vh;
  margin-left: 4vh;
}

.categories a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 15px;
  padding-right: 15px;
  background-color: #3e3e3e;
  border: 2px solid var(--purple);
  border-radius: 0.4vh;
  font-size: 17px;
  height: 4vh;
  text-decoration: none;
  color: #fff;
  font-family: "Poppins", serif;
  transition: 0.2s;
}

#searchCar {
  outline: none;
  appearance: none;
  background-color: none;
  width: 30%;
  height: 4.2vh;
  line-height: 0;
  font-size: 17px;
  box-sizing: border-box;
  padding: 10px 15px;
  border-radius: 5px;
  border: none;
  background: #3e3e3e;
  border: 2px solid var(--purple);
  font-weight: 100;
  color: rgb(194, 194, 194);
  transition: all 0.2s;
}

#searchCar:hover {
  transform: scale(102%);
}