html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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 {
    padding-top: 5%;
    padding-bottom: 25%;
    background-color: rgb(250, 243, 222)
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background-color: rgb(201, 192, 163)
}

.title {
    font-size: 42px;
    text-align: center;
    font-weight: bold;

    margin-bottom: 4%;
}

.top {
    display: grid;
    grid-template-columns: 1fr 1fr;

    margin-bottom: 3%;
}

.top-text {
    margin-top: 5%;
    color: white;

    font-size: 20px;

    text-shadow: 2px 0 black, 
        -2px 0 black, 
        0 2px black, 
        0 -2px black, 
        1px 1px black, 
        -1px 1px black, 
        -1px -1px black, 
        1px -1px black;
}

.pfp {
    width: 150px;
    height: 150px;
    object-fit: cover;

    border-radius: 50%;
    border: 5px black solid;

    margin-left: 70%;
}

.home-container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 25% 1fr 25%;
    text-align: center;

    height: 20vh;
}

.cars-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 1%;
    column-gap: 2%;

    margin-top: 2%;
}

.car {
    flex-direction: column;
    box-shadow: 10px 10px 8px rgba(0,0,0,0.4);
    border: 2px black solid;
}

.car-img-container {
    height: 50%;
}

.car-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.car-info {
    height: 50%;

    
    background-color: rgb(237, 235, 230);
    padding: 10px;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}

.all-cars-button, .my-cars-button {
    background-color: rgb(201, 192, 163);
    grid-row: 2;
    border-radius: 20px;
    border: black 2px solid;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.5);

    text-decoration: none;
    font-size: 32px;
    color: white;

    transition: background-color 0.25s, color 0.25s;

    display: flex;
    justify-content: center;
    align-items: center;
}

.all-cars-button {
    grid-column: 2 / 3;
}

.my-cars-button {
    grid-column: 4 / 5;
}

.all-cars-button:hover, .my-cars-button:hover {
    color: rgb(213, 213, 213);
    background-color: rgb(176, 168, 141);
}

.all-cars-button:active, .my-cars-button:active {
    box-shadow: 0 0;
}

.config-button {
    background-color: cornflowerblue;
    border: 2px blue solid;

    color: blue;
    text-decoration: none;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: 0.25s;
}

.config-button:hover {
    background-color: rgb(72, 111, 184);
    color: blue;
}

.info {
    display: flex;
    flex-direction: column;

    padding: 7%;
}

.info-title, .info-desc {
    flex: 1;
    
    text-align: center;

    margin: 0;
}

.info-title {
    font-size: 20px;
    font-weight: bold;
}

.info-desc {
    font-size: 16px;
}

.color-box {
    margin-top: 3px;
    height: 17px;
    aspect-ratio: 1;
    border: black 2px solid;
}