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 {
    margin-bottom: 60px;
    font-family: "Inter", "Segoe UI", sans-serif;
    background-color: #f5f7fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.knappy {
    all: unset;
    cursor: pointer;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.carinfo2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 30px;
    margin: 0;
    justify-items: center;
    align-items: center; 
    text-align: center;
}



.carrow2{
    margin-bottom: 0;
    width: 100%;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 80px;
}



.pps {
    display: flex;
    align-items: center;
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 80px;
}

.titl{
    font-size: 120px;
    
}

.bilbild {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.pffp {
    border-radius: 50%;
    border: 5px solid #eee;
}

.car-item {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding:0;
    overflow: hidden;
}

.car-item:hover {
     transform: translateY(-6px);
     box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.titl {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 60px;
}

.namey b{
    display: block;
}

.bilbild2 {
    width: 100%;
    margin: 0;
    padding: 0;
}

.search {
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid #ccc;
    outline: none;
    width: 320px;
}


.midd {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 8px;
    margin: 40px auto; 
    width: 100%;
}

.footer{
    margin-bottom: 0;
    color: black;
}

.right{
    font-weight: bold;
}

.navy {
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
