* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: 600;
}
  
  

  
html {
    font-size: clamp(16px, 1.2vw, 22px);
}

input,
textarea,
select,
button,
label {
    font-size: inherit;
    padding: 0.5rem;
 
}





/*https://www.mamgg.com*/

body {

    background-color: #f4f4f4;
    margin: 0;
    font-family: "Ubuntu", sans-serif;
    background-image: url('/assets/thumb.jpg');

    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
    color: #fff; 
    
}


.container {
    background-color: #fff;
    padding: 2vw;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 70vw;
    width: 100%;
    margin: 0 auto;
    margin-top: 5vw;
    color: black;
}






.container .Note {
    color: rgba(0, 0, 0, 0.5);
 
}



.container select {
    height: 2em;
    width: 9em;
}



.container h1{

    text-align: center;
    margin-bottom: 5vw;
}


.container h4{
    text-align: center;
    margin-bottom: 3em;
    color: rgba(0, 0, 0, 0.5);

}




.container h2 {
    color: black;
}

.container label {
    color: #000000;
    margin-bottom: 5px;
    display: block;
    font-weight: 700;
}

.container input[type="text"], input[type="number"], textarea, input[type="file"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.container input[type="submit"] {
    background-color: #000000;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
}

.container input[type="submit"]:hover {
    background-color: #313131;
}

.form-group {
    margin-bottom: 1.7vw;
}

.car-listing {
    margin-top: 3vw;
}


#image-preview img {
    max-width: 20vw;
}







.listing {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #fff;
    color: black;
    margin-top: 5vw;
}

.listing img {
    width: 100%;
    height: auto;             
    max-width: 25em;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 1.3em;
    margin-bottom: 1em;
}





.listing p{
    line-height: 1.6em;
}


.listing .sold{
    margin-top: 0.5em;
}




.Nla {
    color: black;
    margin-top: 3vw;
    text-align: center;
}




.listing .PostedOn{
    float: right;
    color: #474747;
}



.listing .milage{
    margin-top: 0.2em;
    color: #3e3e3e;
}



.container .model {
    margin-bottom: 1vw;
}




.amg-info {
    background-color: rgba(255, 255, 255, 0.90); 
    color: #000; 
    padding: 5vw;
    border-radius: 10px;
    margin-top: 5vw;
    font-weight: 600;
}

.amg-info h2, .amg-info h3 {
    color: #000000;
    margin-bottom: 1em;
    font-weight: 700;
    text-align: center;
    margin-top: 2em;
}

.amg-info p {
    line-height: 1.6em;
    color: rgb(0, 0, 0);
    
}


.audio{
    text-align: center;
    margin-top: 4em;
    background-color: black;
    padding: 2vw;
    border-radius: 10px;
}


#playPauseBtn, #playPauseBtn2{
    width: 8vw;
    height: 8vw;
    min-width: 5em;
    min-height: 5em;
    margin-top: 1em;
    border-radius: 50%;
    border-color: white;
    background-color: black;
    color: white;
}


#audioText{
    margin-top: 2em;
    color: white;
}



.amg-model {
   margin-top: 6em;
    text-align: center;
}

.amg-model h4 {
    margin-bottom: 1vw;
    color: #333;
    margin-top: 8vw;
}


.amg-model h1{
    line-height: 2em;
}

.amg-model ul {
    list-style-type: none;
    padding-left: 0;
}

.amg-model ul li {
    padding: 5px 0;
    line-height: 1.5em;
}



.amg-model ul li img {
    width: 100%;
    max-width: 75%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}




        .new-amg h3 {
            margin-top: 10px;
        }

        .content {
            color: #777;
        }

 
        .ads-container {
            width: 100%;
            margin: 20px auto;
            text-align: center;
            box-sizing: border-box;
            display: block;
 z-index: 0;
 position: relative;
        }

        .ads-container ins.adsbygoogle {
            display: block;
            width: 100%;
            max-width: 728px;
            min-width: 250px;
            height: auto;
            margin: 0 auto;
        }

    
        @media (max-width: 460px) {
            .ads-container {
                max-width: 280px;
                padding: 0 10px;
            }
        }

        @media (max-width: 350px) {
            .ads-container {
                max-width: 250px;
                padding: 0 5px;
            }
        }
        
        
        .ads-container{
            margin: 2em 0 2em;
        }
        
        
        
        
        
        
        
        .navbar {
display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 1em;
    z-index: 100;
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.logo p {
    color: white;

}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links li a {
    color: white;
    text-decoration: none;

}

.burger {
    display: none;
    color: white;
    cursor: pointer;
}

    .burger span{
    background-color: white;
    height: 0.2em;
    width: 1.5em;
    margin: 5px;
    display: block;
}


@media screen and (max-width: 738px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
    }

    .nav-links li {
        text-align: center;
        padding: 15px 0;
        margin: 0;
    }


    .burger {
        display: block;
    }
    

    .nav-links.active {
        display: flex;
    }

}


@media screen and (min-width: 769px) {
    .nav-links {
        display: flex;
    }
}




.Wsite {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5vw;

    margin: 5em auto;
    text-align: center;
    color: black;
    font-weight: 700;
}



.Wsite img {
width: 85%;
margin-top: 5vw;
}


.Wsite h1{
    margin-top: 2em;
}



.Wsite h2::not(.Wsite .news-section) {
    text-align: center;
    margin-top: 4em;
}


.Wsite h3 {
    line-height: 1.8em;
}






.Wsite label{
    display: block;
    margin-bottom: 2em;
}





.contact-container {
    max-width: 60vw;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    color: black;
}




.contact-container label {
    display: block;
    margin-bottom: 1em;
    margin-top: 2em;
}

.contact-container input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-container button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

.contact-container button:hover {
    background-color: #0056b3;
}

.contact-container .message {
    margin-top: 20px;
    color: green;
}

.contact-container .error {
    color: red;
}




.about{

        background-color: rgba(255, 255, 255, 0.90);
        padding: 1vw;
        border-radius: 10px;
        margin-top: 7vw;
        padding: 2vw;
        text-align: center;
        color: black;
    
}

.about h1{
    margin-top: 5vw;
}


.about h2{
    margin-top: 5vw;
}


.about p{
    margin-top: 2vw;
}



.maintenance{

    background-color: rgba(255, 255, 255, 0.9);
    padding: 2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 90vw;
    width: 100%;
    margin: 0 auto;
    margin-top: 5vw;
    color: black;
}


.maintenance h1{
    margin-top: 1em;
    text-align: center;
    margin-bottom: 1em;
}


.maintenance h2{
    margin-top: 1em;
    text-align: center;
    margin-bottom: 1em;
}


.maintenance li{
    line-height: 1.8em;
    text-align: center;
}

.maintenance li p{
    line-height: 1.7em;
}

.maintenance p{
    line-height: 1.5em;
    margin-top: 2em;
}

.photoSite{
    background-color: black;
    padding: 2em;
    border-radius: 8px;
    width: 100%;
    margin: 0 auto;
    margin-top: 5vw;
    color: white;
    text-align: center;
}


.photoSite h1{
    margin-top: 1em;
}


.photoSite form {
margin-top: 5em;
}

.photoSite input[type="file"] {
    margin: 10px 0;
}

.photoSite button {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.photoSite button:hover {
    background-color: #444;
}



#previewContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 5em;
}

#imagePreview {
    max-width: 100%;
    max-height: 400px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}





#gallery {
    margin-top: 4em;
}


#gallery p{
    margin-top: 2em;
}







.report-form {
    background-color: #fff;
    padding: 2vw;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 70vw;
    width: 100%;
    margin: 0 auto;
    margin-top: 8em;
    color: black;
}

.report-form button{
    background-color: rgb(0, 0, 0);
    border-style: none;
    color: rgb(255, 255, 255);
    padding: 0.5em;
    border-radius: 4px;
}


.report-form button:hover{
    background-color: rgb(81, 81, 81);
}


.new-amg{
    display: block;
    margin: 2.5em 0 1.5em;
    background-color: rgb(40, 38, 38);
    border-radius: 1rem;
    padding: 1rem;
}

.new-amg img{
    width: 80%;
}









.store-site .product-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px;
    color: black;
}



@media (max-width: 1300px) {
    .store-site .product-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .store-site .product-container {
        grid-template-columns: 1fr;
    }
}

.store-site .product-item {
    text-align: center;
    border: 0.1em solid rgba(0, 0, 0, 0.3);
    padding: 10px;
    background-color: #ffffff;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);

    align-self: start;

    min-height: 250px;
}

.store-site .product-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}


.store-site .product-item p {
    margin: 0.5em 0 0.5em;
}

.store-site .product-item h3 {
    color: rgb(0, 185, 0);
}

.store-site .product-item h2 {
margin: 0.5em 0 0.5em;
}


.Wsite .news-section{
    border: solid 0.15em white;
    background-color: black;
    color: white;
    box-shadow: 0px 0px 2px black;
}


.Wsite .news-section h1{
    margin: 0.5em 0 0.5em 0;
}

.Wsite .news-section .single-post{
    padding: 1em;
}

  .single-post h2{
    margin: 1.5em 0 0.5em;
  }