*{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
  
body {
    background-color: #111;
    overflow-x: hidden; /* Disable horizontal scroll */
}
  
#back {
    position: absolute;
    left: 0%;
    bottom: 1%;
    width: max-content;
    height: max-content;
    text-align: center;
    padding: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    border-radius: 0rem 1rem 1rem 0rem;
    background-color: #eee;
}

#container {
    overflow-y: scroll;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 80vw;
    height: 80vh;
    background-color: #444;
    border-radius: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(49%, 1fr));
    gap: 1px;
}

#container::-webkit-scrollbar {
    display: none;
}

#search {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -70%);
    width: 60vw;
    height: 10vh;
    background-color: #666;
    border-radius: 1rem;
}

#text {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 1rem;
    border-color: rgba(0, 0, 0, 0);
    border-width: 1px;
    border-style: solid;
    text-align: center;
    font-size:xx-large;
    resize: none;
    outline: none;
    margin-top: 1.7%;
}

.car {
    height: 200px;
    background-color: #666;
    border-radius: 1rem;
    border-color: #111;
    border-width: 5px;
    border-style: solid;
}

.spawnName {
    position: relative;
    transform: translate(1%,750%);
    font-size: large;
}

.carName {
    position: relative;
    transform: translate(1%,-270%);
}

.img {
    position: relative;
    right: 0%;
    transform: translate(97%, -45%);
    width: 50%;
    height: 90%;
}