:root {
    --navbarbgcolor: #1A1C20;
    --textcolor: #F0A500;
    --pagebgcolor: #282b30;
    --bordercolor: #3f3f42;
    --filterbgcolor: #1b1a1a;
}

* {
    font-family: "Monocraft", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--textcolor);
}

body {
   background-color: var(--pagebgcolor);
   font-size: 0.85vw;
   transition: background-color 0.3s ease, color 0.3s ease;
}

.logo {
    height: 50px;
    width: 50px;
    margin: 0 10px;
    filter: drop-shadow(2px 3px 16px orange);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.bg-light {
    background-color: var(--navbarbgcolor) !important;
}

.carRow {
    transition: transform 0.3s ease-in-out;
    background-color: var(--navbarbgcolor);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    min-height: 100px;
    line-height: 15px;
    border-radius: 20px;
    width: 80% !important;
    margin: 30px auto 0;
    border: 1.5px solid var(--bordercolor);
    background: #0F2027;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, var(--navbarbgcolor), var(--pagebgcolor));  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, var(--navbarbgcolor), var(--pagebgcolor)); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.car-img {
    border-radius: 20px 0 0 20px;
    width: 100%;
    height: 100%;
    filter: brightness(95%);
    filter: saturate(110%);
}

.col-lg-3, .col-12, .col-3 {
    padding: 0;
}

.col-lg-3:not(:first-child) {
    padding: 0;
    border-left: 1px solid var(--bordercolor);
}

.carRow:last-child{
    margin-bottom: 15px;
}

.row .col-12:nth-child(2) p:first-child, .text-glow {
    color: gold;
    text-shadow: 0 0 8px orange;
    font-weight: bold;
    text-align: center;
}

.filterMenu {
    display: none;
    width: 100%;
    background-color: var(--filterbgcolor);
    border-top: 1px solid var(--bordercolor);
    border-bottom: 1px solid var(--bordercolor);
    padding: 15px;
}

option {
    color: black;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
}

#filterButton, #resetFilters, #sortPriceButton {
    margin: 0 15px;
    background-color: #f0a400d9;
    color: black;
    font-weight: bold;
}

#resetFilters:hover, #sortPriceButton:hover {
    color: gold;
    transition: 0.3s ease-in-out;
    text-shadow: 0 0 10px #f0a400d9;
}

.mb-3 {
    max-width: 450px;
}

.text-glow {
    color: gold;
    text-shadow: 0 0 10px #f0a400d9;
}

.btn-glow {
    color: orange;
    text-shadow: 0 0 10px #f0a400d9;
}

.pagination-container {
    margin-top: 0;
}

.pagination-container ul.pagination {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.pagination-container ul.pagination li.page-item a.page-link {
    color: black;
    border-radius: 5px;
    background-color: #f0a400d9; 
    border-color: #f0a400d9; 
    transition: color 0.3s, background-color 0.3s, border-color 0.3s; 
    margin: 5px; 
    padding: 5px 10px; 
    font-weight: bolder;
}

.pagination-container ul.pagination li.page-item a.page-link:hover {
    color: black; 
    background-color: transparent; 
    border-color: #f0a400d9; 
    color: #f0a400d9;
    font-style: italic;
}

.pagination .page-item.active .page-link {
    background-color: #ffc107; 
    border-color: #ffc107; 
    color: #000; 
}

label {
    margin: 3px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    color: orange;
    text-shadow: 0 0 10px #f0a400d9;
}

label.form-label {
    margin: 3px;
    color: orange;
    text-shadow: 0 0 10px #f0a400d9;
}

.form-select {
    background-color: #ffffffb4;
    width: 300px;
}

.form-control {
    background-color: #ffffffb4;
    width: 300px;
}

.form-control:focus {
    background-color: #ffffffb4;
}

#apply:hover {
    background-color: #F0A500;
    color: black;
    transition: ease-in-out 0.4s;
    font-weight: bold;
}

#apply {
    width: 150px;
}

  @keyframes wave-46 {
    50% {
      transform: scale(0.9);
    }
  }  

.inputs input{
    width: 48%;
    float: left;
    justify-content: space-between;
}

.inputs {
    display: flex;
    justify-content: space-between;
}

.filterMenu.active {
    display: block;
    animation-duration: 0.45s;
}

.inputs2 {
    display: flex;
}

.inputs2 input{
    width: 140px;
    margin: 0 10px 0;
    float: left;
}

#hpLabel{
    width: 140px;
}

#hpLabel:first-child{
    padding-left: 10px;
}

#hpLabel:nth-child(2){
    text-align: right;
    padding-right: 10px;
}

.active .page-link {
    background-color: transparent !important;
    color: var(--textcolor) !important;
    font-style: italic;
}  

input:focus, input.form-control:focus, select:focus, a:focus:not(.noborder) {
    outline: var(--textcolor) !important;
    outline-width: 50 !important;
    box-shadow: 1px 1px 6px var(--textcolor), -1px -1px 6px var(--textcolor),
    inset 0px 0px 2px var(--textcolor), inset 0px 0px 2px var(--textcolor) !important;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-in-out;
}

.animate-slideIn {
    animation: slideIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.float-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--textcolor);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
    transition: background-color 0.3s ease;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: 0.4s ease-in-out;
}

.float-button:hover {
    background-color: var(--pagebgcolor);
    transition: 0.2s ease-in-out;
    box-shadow: 0px 0px 5px var(--textcolor);
}

.float-button.show {
    opacity: 1;
}

.title {
    padding: 0 10px;
}

.hover-effect {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    animation: particleMove 1.5s linear infinite;
}

@keyframes particleMove {
    0% {
        transform: translateY(0) translateX(0);
    }
    100% {
        transform: translateY(-1000px) translateX(1000px);
    }
}

@keyframes scaleUp {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(1.05);
    }
  }
  
  .carRow:hover {
    transform: scale(1.05); 
  }

@media (max-width: 764px) {
    body {
        font-size: 12px;
    }

    .car-img {
        width: 100%;
        border-radius: 20px 20px 0 0;
        border-bottom: 1px solid var(--bordercolor);
    }

    .title {
        width: 100%;
        font-size: 16px;
        font-weight: 600;
        padding: 20px 0;
        border-bottom: 1px solid var(--bordercolor);
        text-align: center;
    }
    
    float-button {
        width: 11px;
        height: 11px; 
        line-height: 40px;
        font-size: 8px;
        padding: 0;
    }

    .inputs input,
    .inputs2 input {
        width: 145px;
        margin: 0 5px;
        float: left;
        justify-content: space-between;
    }

    .inputs,
    .inputs2 {
        display: flex;
        justify-content: space-between;
    }

    .carRow {
        width: 95% !important;
    }
    .car-img {
        border-radius: 20px 20px 0 0;
        width: 100%;
        height: auto;
    }
    .col-lg-3, .col-12, .col-3 {
        width: 100%;
        padding: 0;
    }
    .col-lg-3:not(:first-child) {
        border-left: none;
    }
}

.logo-animation {
    animation: spin 10s linear infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.filter-animation {
    animation: bounce 1s ease infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-3px);
    }
}

.highlight {
    font-style: italic;
    font-weight: bolder
}   