*{
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}

.container{
    margin: 0 auto;
    width: 100%;
    height: 100vh;
}

body{
    background-color: rgba(0, 0, 0, 0.89);
    margin:0;
    padding: 0;
}
h1 span{
    color: rgb(204, 101, 29);
}
h1 {
    color: white;
    font-size: 2.5vw;
    margin-left: 1rem;
}
h2{
    color: white;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}

.header{
    font-size: 10px;
    font-family: 'Arial', sans-serif;
    margin-right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
}

ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 5px;
    
}

ul li {
    position: relative;
}

ul li a {
    text-decoration: none;
    color: white;
}

ul li::after {
    content: '';
    height: 1px;
    width: 0;
    background: rgb(204, 101, 29);
    position: absolute;
    left: 0;
    bottom: -2px;
    transition: all 0.5s ease-in-out;
}

.dostawca_napis{
    color: white;
}

ul li:hover::after {
    width: 100%;
    cursor: alias;
}
.dropdown_menu{
    display: none;
}
ul li:hover .dropdown_menu{
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
}

ul li:hover .dropdown_menu ul li{
    background: none;
}

.dropdown_menu ul{
    padding: 15px 0 0 0;
    font-size: 10px;
    display: block;
}

.dropdown_menu ul li{
    padding: 3px 0 0 0 ;
}

.dropdown_menu ul li a{
    color: white;
}

.banner{
    width: 100%;
}

.banner img{
    width: 100%;
    height: auto;
    border-top: 4px solid black;
    border-bottom: 4px solid black;
}

.car {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    height: max-content;
}

.auto-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    gap: 10px;
}

.auto {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.auto img:hover{
    transform: scale(1.06);
    
}

.auto img {
    width: 150px;
    height: auto;
    transition: 0.5s;
    border: 2px solid black;
    border-radius: 10px;
}

.napis {
    color: #fff;
    font-size: 50px;
    border-radius: 10px;
    padding: 10px;
}

.napis p{
    font-size: 30px;
}

.opis-auta {
    width: 80%;
    overflow: hidden;
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dostawca-span{
    color:rgb(204, 101, 29);
    font-weight: bold;
}

.zdjecia-aut{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 5px;
}


.zdjecia-aut img{
    width: 100%;
    border: 1px black solid;
    border-radius: 10px;
}

.zdjecie-auta{
    width: 120px;
    display: flex;
    justify-content: center;
    position: relative;
}

.content{
    width:100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.6s;
    border-radius: 10px;
}

.dostawca_napis{
    font-size: 20px;
}

p {
    align-items: center;
    text-align: justify; 
    justify-content: center;
    font-size: 15px;
    font-family: 'Arial', sans-serif;
    color: white;
    line-height: 1.6;
    
}

.content:hover{
    opacity: 1;
}

.gap{
    width:90%;
    border: 1px solid rgb(117, 49, 12);
    border-radius: 100%;
    margin-top: 10px;
    box-shadow: 0 0 0 1px rgb(117, 49, 12);
    margin: 0 auto 0 auto;
}
footer{
    height: 3%;
    color: #fff;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: space-around;
    padding: 35px 0;
}

footer p{
    margin-left: 0;
    font-size:12px;
}


.social-media{
    color: white;
    
}
.social-media a{
    color: #fff;
    font-size: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 5px;
}

.social-media a.facebook:hover {
    color: #3b5998;
}

.social-media a.twitter:hover {
    color: #00aced;
}

.social-media a.instagram:hover {
    color: #e4405f;
}

.social-media a.linkedin:hover {
    color: #0077b5;
}





@media only screen and (min-width:650px){
    .auto img{
        width: 200px;
    }

    .opis-auta p{
        font-size: large;
    }

    .dostawca_napis{
        font-size: 24px;
    }
    .zdjecia-aut img{
        width: 180px;
    }
    .zdjecia-aut{
        justify-content: space-evenly;
    }
    .content{
        width: 180px;
    }
    nav{
        font-size: 13px;
    }
    .dropdown_menu ul{
        font-size: 14px;
    }
    .header{
        padding: 20px 0;
    }
}

@media only screen and (min-width:768px){
    .auto img{
        width: 250px;
    }

    .opis-auta p {
        font-size: 16px;
    }
    .zdjecia-aut img{
        width: 220px;
    }
    .zdjecia-aut{
        
        justify-content: space-evenly;
    }
    .content{
        width: 220px;
    }
    nav{
        font-size: 16px;
    }
    .dropdown_menu ul{
        font-size: 16px;
    }
   
}

@media only screen and (min-width:1000px){
    .header{
        padding: 20px 10px;
        font-size: 18px;
    }

    h1{
        font-size: 34px;
    }
    .auto img{
        width: 300px;
    }

    .opis-auta p{
        font-size: 18px;
    }
    .zdjecia-aut img{
        width: 280px;
    }
    .zdjecia-aut{
        justify-content: space-evenly;
        
    }
    .content{
        width: 280px;
    }
    h2{
        font-size: 20px;
    }
    footer p{
        font-size: 17px;
    }

    footer .social-media i{
        font-size: 20px;
    }
    .dropdown_menu ul{
        padding: 34px 0 0 0;
    }
    .auto-container{
        justify-content: center;
        gap: 20px;
    }
    
}

@media only screen and (min-width:1300px){
    .header{
        padding: 20px 10px;
        
    }

    h1{
        font-size: 34px;
    }
    .dostawca_napis{
        font-size: 40px;
    }
    .auto img{
        width: 350px;
    }

    .opis-auta{
        width: 75%;
    }
    .opis-auta p{
        font-size: 20px;
    }
    .zdjecia-aut img{
        width: 300px;
    }
    .zdjecia-aut{
        justify-content: space-evenly;
        
    }
    .content{
        width: 300px;
    }
    h2{
        font-size: 24px;
    }
    footer p{
        font-size: 19px;
    }

    footer .social-media i{
        font-size: 24px;
    }
    .dropdown_menu ul{
        padding: 34px 0 0 0;
    }
    .auto-container{
        justify-content: center;
        gap: 30px;
    }

}

@media only screen and (min-width:1500px){

    h1{
        font-size: 36px;
    }
    ul{
        font-size: 20px;
    }
    .opis-auta p{
        font-size: 24px;
    }
    .dropdown_menu ul{
        padding: 30px 0 0 0;
        font-size: 24px;
        display: block;
    }

    .auto-container{
        justify-content: center;
        gap: 40px;
    }

    .opis-auta{
        width: 70%;
    }
    
    footer p {
        font-size: 20px;
    }

}

/*4k*/


@media only screen and (min-width:2560px){

    h1{
        font-size: 42px;
    }
    ul{
        font-size: 28px;
    }
    
    .dropdown_menu ul{
        padding: 35px 0 0 0;
        font-size: 28px;
        display: block;
    }

    .auto-container{
        justify-content: center;
        gap: 40px;
    }

    .opis-auta{
        width: 70%;
    }
    

    .auto img{
        width: 450px;
    }

    .opis-auta{
        width: 75%;
    }
    .opis-auta p{
        font-size: 30px;
    }
    
    .zdjecia-aut{
        justify-content: space-evenly;
        
    }

    .zdjecie-auta img{
        width: 450px;
    }
    .content{
        width: 450px;
    }

    h2{
        font-size: 40px;
    }

    .dostawca_napis{
        font-size: 60px;
    }
    footer p{
        font-size: 28px;
    }

    footer .social-media i{
        font-size: 32px;
    }

}