body {
    margin: 0;
    font-family: Arial, sans-serif;
}
.background-image {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}
.container {
    
    background-color: black;
    position: fixed; 
    right: 32px;
    left: 32px;
    top: 16px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000; 
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
}
.menu-link {
    color: white;
    text-decoration: none;
    margin-left: 16px;
    border: none; 
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.menu-link:hover {
    text-decoration: underline;
    font-size: 25px;
    transition: all 0.3s ease;
}
.logo {
    height: 50px; 
    border: none; 
}
.button {
    background-color: yellow;
    padding: 8px 16px;
    border-radius: 5px;
    color:black;
    border: none; 
    font-weight: bold;
}
.yellow{
    
    color:rgb(238, 241, 4);
}
.headline{

    position: absolute;
    left:50px;
    top:180px;
    color:white;
    font-size: 90px;
    width: 500px;
    text-shadow:5px 5px 5px rgba(0,0,0, 0.8);
    }
    .description-section{
        height: 300px;
        padding: 30px 100px;
        display: flex;
        gap:50px;
        }
.half-width{
width:50%;
font-size: 35px;

}
h2{
text-align: center;
font-size:45px;

}
.youtube{
width:calc(100vw *0.4);
height:calc(56.25vw * 0.4);
}
.Suchfeld {
    border: 1px solid;
    height: 500px;
    width: 1000px;
    background-color: white;
    position: absolute;
    top: 50px;
    left: 750px;
    border-radius: 50px;
    padding-top: 20px;
    text-align: center;
}
  


.Wunschauto {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: black;
}

.row {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

select {
    padding: 10px 20px;
    font-size: 16px;
    width: 200px;
    height: 50px;
    margin: 0 10px;
}

#jahrgang, #preis {
    margin-top: 20px;
}

#marke, #jahrgang {
    margin-top: 20px;
    margin-left: 10;
}

#modell, #preis {
    margin-left: 20px;
    margin-top: 20px;
}
#kilometerstand{
    margin-top: 20px;
}





button{
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    height:70px;
    width:150px;
    cursor: pointer;
    font-size: 20px;;
    transition: background-color 0.3s;
}
button:hover{
    background-color: #0056b3;
    
    transition: 0.3s ease;

}
.bruggmatte{
    text-align: center;
    margin-top: 45px;
}
.strasse{
    width:50%;
}
.autoankauf-text{
    cursor: pointer;
}
.liste-autoankauf{
   
    background-color: black;
    height: 100px;
    text-align: center;
    margin-top: 100px;
}
.liste-autoankauf h1{
    color:white;
    padding-top: 30px;
}
.car-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.car-item {
    margin-bottom: 10px;
    font-size: 20px;
    color:black;
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-shadow: none;
}

.car-image {
    flex: 0 0 200px;
    text-align: center;
}
.car-result{
    list-style-type: none;
            padding: 0;
}
.car-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.car-info {
    flex: 2;
    padding-left: 20px;
}

.car-info h2 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

.car-info ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.car-info li {
    background-color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 3px;
}
.car-info h2 {
    margin-right:450px;
  
}
.car-price del {
    color:black;
 
}

.car-price {
    flex: 0 0 150px;
    text-align: right;
}

.price {
    font-size: 1.5em;
    color: #e60000;
    margin: 0 0 10px 0;
}
.details-link {
    text-decoration: none;
    color: blue;
    font-size: 20px; 
    text-shadow: none;}
.car-item button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left:600px;
}

.car-item button:hover {
    background-color: #0056b3;
}
footer{
    height:auto;
    width:auto;
    background-color: gray;
}
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

.footer-section h3 {
    margin-bottom: 10px;
}

.footer-section p, .footer-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

.footer-section a img {
    width: 24px;
    vertical-align: middle;
    margin-right: 5px;
}

.footer-section a:hover {
    text-decoration: underline;
}

@media (min-width:1250px) and (max-width:1850px){
    .Suchfeld{
        top:-100px;
        width:500px;
        left:500px;
        height:400px;
    }
    .headline{
        font-size:65px;
        
    }
    select{
        width:150px;
        font-size:12px;
    }
    button{
        width:100px;
        font-size:15px;
    }
    .Suchfeld h2{
        font-size:30px;
    }
    .menu-link{
        font-size:20px;
    }
   
    .car-price button{
        height:50px;
        width:100px;
        margin-right:50px;
    }
    .price{
        font-size:20px;
        margin-right:50px;
    }
    .car-info h2{
        font-size:20px;
    }
    .car-info li{
font-size:15px;
    }
    .menu-link:hover{
        font-size: 22px;
    }
}



@media (min-width: 1050px) and (max-width: 1250px){
    .Suchfeld{
        top:-100px;
        width:500px;
        left:500px;
        height:450px;
    }
    .price{
        font-size:20px;
        margin-right:50px;
    }
    .Suchfeld h2{
        font-size:30px;
        margin-bottom: 10px;
    }
    .headline{
        font-size:60px;
        
    }
    .container{
         width:80%;
    }
    .menu-link{
        font-size:13px;
    }
    select{
    
        width:120px;
    }
    .car-info li{
        font-size:15px;
            }
            .car-price button{
                height:50px;
                width:100px;
                font-size:10px;
                margin-right:50px;
            }
            
}


@media(max-width: 1050px) {
    .description-section{
    flex-direction: column;
    align-items: center;
    height: unset;
    }
    .headline {
        font-size: 60px;
        width: 300px;
        left: 25px;
        top: 100px;
    }

    .Suchfeld {
        top:-90px;
        width:400px;
        left:400px;
        height:450px;
    }
    .price{
        font-size:20px;
        margin-right:50px;
    }
    .car-info li{
        font-size:10px;
            }

    select {
        margin-bottom: 10px;
        width: 120px;;
        max-width: 300px;
    }

    .suchen-button {
        margin-top: 20px;
        width:100px;
        margin-left:150px;
    }
    .half-width{
        width:unset;
    }
    .navigation{
    font-size: 20px;
    }
    .headline{
        font-size: 60px;
        top: 150px;
       
    }
  
    .Suchfeld h2{
        font-size: 40px;
    }
    button{
        height:50px;
        width:100px;
        font-size:15px;
        margin-right:50px;
    }
    .menu-link:hover {
        text-decoration: underline;
        font-size: 22px;
        transition: all 0.3s ease;
}
center{
    margin-left:400px;
    
}
.liste-autoankauf h1{
    cursor:pointer;
}
.suchen-button button{
    width:130px;
    height:50px;
    
}
.car-info li{
    margin-right:0px;
}
.car-info ul{
    width:500px;
    display:flex;
    flex-direction: column;
}
.container {
    right: 16px;
    left: 16px;
    padding: 8px 16px;
    font-size: 20px;
    width:750px;;
}
.button{
    background-color: black;
    color:white;
    font-size:10px;
}



.menu-link {
    margin-left: 12px;
    padding: 6px 12px;
    font-size: 10px;
    

}
h1{
    width:500px;
}
.menu-link:hover {
    font-size: 19px;
}

.car-price button {
    padding: 6px 12px;
    font-size: 10px;
    margin-left:-50px;
}
.price{
    font-size:15px;
    margin-right:50px;
}
}
@media(max-width: 850px){
    .car-info li{
        width:100px;
    }
    .price{
        margin-right:300px;
    }
    .car-info button{
        margin-right:300px;
    }
    .Suchfeld{
        left:300px;
        margin-right:auto;
        width:90%
    }
    select{
        width:70%;
    }
    .container{
        width:70%;
        
    }
    .headline{
        font-size:30px;
    }
    .menu-link{
        font-size: 5px;
        
}
mark{
    font-size:20px;
}
option{
    font-size:10px;
}
}
