p {
    margin: 0;
    
}

html {
    font-size: 14px;
    user-select: none;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.container {

}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;

}

/* Alternating background colors: index 0 -> light, 1 -> dark, 2 -> light, ... */
.container .car-info:nth-child(odd) {
    background-color: #f2f2f2; /* light gray */
}

.container .car-info:nth-child(even) {
    background-color: #cfcfcf; /* dark gray */
}


.list-container {
     width: 100%;
     height: 100%;
     display: flex;
     flex-direction: column;
     align-items: center;
}


.profile-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-bottom: 80px;
}

.profile-div {
    background-color: darkgray;
    width: 50%;

    display: flex;
    flex-direction: row;
   
    border: solid black 2px;
}

.user-info-div {
    margin-left: 30px;
    display: flex;
    flex-direction: row;
    font-size: 20px;
}

.personal-info-div {
    font-size: 16px;
}

.profile-img {
    margin-left: 20px;
    border-left: solid black 2px;
    border-right: solid black 2px;
}

.user-stats-div {
    margin-left: 20px;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}



:root {
    --drop-transform: translateY(0);
}

.car-info {
    display: flex;
    justify-content: space-between;

    padding: 40px 0 40px 25px;
    background-color: lightgray;
    border: solid 2px;
    margin-bottom: 3px;

    transition: transform 0.18s ease, box-shadow 0.18s ease;
    will-change: transform;
    opacity: 0;

    transform: var(--drop-transform) scale(1);
    animation: edgeDrop 0.25s cubic-bezier(0,0,0.2,1) forwards;
}

@keyframes edgeDrop {
    from {
        opacity: 0;
        --drop-transform: translateY(-20px);
    }

    to {
        opacity: 1;
        --drop-transform: translateY(0);
    }
}

.car-info:hover {
    transform: var(--drop-transform) scale(1.02);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}




.info1, .info2 {
    display: inline-block;
    font-size: 25px;
    margin: 0;
    text-align: center;
    align-self: center;
}

.div-info-desc {
    display: grid;
    grid-template-columns: 80px 100px 100px 100px 130px 100px;
}

.profil {
    text-align: center;
    align-self: center;
    font-size: 22px;
    text-decoration: none;
}




.car-headers {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 22px;
    padding-right: 0px;
    background-color: darkgray;
    border: solid 2px;
    margin-bottom: -2px;
}

.header1, .header2 {
    display: inline-block;
    font-size: 20px;
    margin: 0;
    text-align: center;
    align-self: center;
}

.div-header-name, .div-header-desc {
    display: grid;
    grid-template-columns: 80px 100px 100px 100px 130px 100px;
}

.sorting-container {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 10px;
    padding-top: 10px;
    display: inline-block;
    background-color: darkgray;
    border: solid 2px;
    margin-bottom: -2px;

    font-size: 17px
}

.sorting-title {
    text-align: center;
}

