body {
    margin: 0;
    padding: 0;
    position: relative;
    background-color: #dee2e6;
    color: #343a40;
    font-family: Arial, sans-serif;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #343a40;
    color: #cec4da;
    z-index: 1000;
    padding: 10px;
    width: 100%;
    display: flex;
    align-items: center;
}

.logo {
    width: 200px;
}

nav {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.headerUl {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    justify-content: left;
    margin-left: 50px; 
}

.headerli {
    margin: 0 10px;
    transition: all .40s ease;
}

.headera {
    color: #cec4da;
    text-decoration: none;
}
.headerli:hover {
    transform: translateY(-3px) translateX(-5px);
    color: gray;
}


.headera:hover {
    color: gray;
}
main {
    padding-top: 70px;
    padding-bottom: 50px;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 100px;
}


.footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    gap: 3.5rem;
    background: #343a40;
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    color: #cec4da;
}

.footer-content li {
    margin-bottom: 16px;
    list-style: none;
}

.footer-content li a {
    display: block;
    
    color: #cec4da;
    font-size: 15px;
    font-weight: 400;
    transition: all .40s ease;
}

.footer-content li a:hover {
    transform: translateY(-3px) translateX(-5px);
    color: gray;
}

.footer .logo {
    width: 150px;
}

.icons a {
    display: inline-block;
    font-size: 22px;
    color: #d6d6d6;
    margin-right: 17px;
    transition: all .40s ease;
}

.icons a:hover {
    color: #fff;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .footer {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, auto));
        gap: 2rem;
    }
}

.jumbotron {
    margin-top: 0px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.jumbotron .carousel-slider {
    display: flex;
    transition: transform 0.5s;
    padding: 0;
    margin: 0;
    list-style: none;
}

.jumbotron .carousel-slider li {
    flex: 0 0 100%;
}

.jumbotron .carousel-slider img {
    width: 100%;
    height: auto;
}

.tagline {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    color: #343a40;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.tagline :hover{
    transform: scale(1.05);
}
.main-list {
    list-style: none;
    padding: 0;
}

.main-list li {
    padding: 20px;
    position: relative;
}

main img {
    width: 500px;
}

.gallery {
    position: absolute;
    margin-top: 0px;
}

main button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: gray;
    color: #cec4da;
    border: none;
    padding: 15px 20px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
}

main button:hover {
    background-color: #212529;
}

button#prev {
    left: 10px;
}

button#next {
    right: 10px;
}


.top-tier-gallery h1 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 0px;
    margin-left: 0;
    margin-right: 0; 
}

.top-tier-gallery {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    margin-top: 0px;
    margin-left: 0;
    margin-right: 0;
}

.top-tier-gallery .carousel-container {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin-right: 0;
    margin-left: 0;
}

.top-tier-gallery .carousel-slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
    margin: 0;
}

.top-tier-gallery .carousel-slider li {
    flex: 0 0 100%;
}

.top-tier-gallery .carousel-slider img {
    width: 100%;
    height: auto;   
}

.top-tier-gallery .prev,
.top-tier-gallery .next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background-color: gray;
    color: #cec4da;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 100;
    visibility: hidden;    
}


.top-tier-gallery .prev {
    left: 10px;
}

.top-tier-gallery .next {
    right: 10px;
}

.top-tier-gallery button{
    display: none;
}

body {
    margin-top: 0px;
}

nav :hover {
    color: gray;
}
.featured-cars {
    position: relative;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 50px;
}

.featured-cars .carousel-container {
    position: relative;
    margin-bottom: 100px;
    width: 500px;
    overflow: hidden;
    
    padding: 2px;
}

.featured-cars .carousel-slider {
    display: flex;
    transition: transform 0.5s;
    position: relative;
    
}

.featured-cars img {
    min-width: 500px;
}
.featured-cars button:hover {
    background-color: #cec4da;
    color: #212529;
}

.featured-cars button#prevShow {
    left: 10px; 
}

.featured-cars button#nextShow {
    right: 10px; 
}

.jumbotron h1{
    text-align: center;
}

.dots-container {
    text-align: center;
    margin-top: 10px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #bbb;
    margin: 0 5px;
    cursor: pointer;
}

.active-dot {
    background-color: #333;
}


.featured-cars .carousel-slider {
    display: flex;
    transition: transform 0.5s;
    width: 100%;
    height: auto;

}

.featured-cars .slide {
    display: flex;
    flex: 0 0 100%;
    width: 25%;
    height: auto;
    
}

.featured-cars .slide img {
    width: 33%; 
    min-width: 25%;
    height: auto;
    margin: 10px;
    border: 10px;
    border-radius: 5%;
    transition: transform 0.3s ease;
    cursor: pointer;
    
}
.featured-cars img:hover {
    transform: scale(1.05); 
}
.featured-cars .carousel-container {
    width: 90%;
    border-radius: 1%;
    height: auto;
    overflow: hidden;
    align-items: center;
    margin-right: 30px;
    margin-left: 30px   ;
    
}
.map{
    
    justify-content: right;
    text-align: center;
    margin-bottom: 100px;
}

.additional-info {
    text-align: center;
    margin-bottom: 100px;
}

.additional-info h2 {
    margin-bottom: 20px;
}

.article-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.article {
    flex: 0 0 calc(33.33% - 20px);
    margin-bottom: 30px;
    margin-right: 0;
}

.article p {
    text-align: left;
}
.article h3{
    text-align: center;
}
.article img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 5%;
    transition: transform 0.3s ease;
    
}


.article img:hover {
    transform: scale(1.1); /* Scale the image slightly upon hover */
}

@media screen and (max-width: 767px) {
    .featured-cars .carousel-container {
        width: 100%;
    }
    .featured-cars .slide img {
        width: 33.33%;
    }
}
@media screen and (max-width: 400px) {
    .headerli {
        margin: 10px 0; 
    }
    .tagline h1{
        font-size: 15px;
    }
    .headera {
        font-size: 12px; 
    }

    .logo {
        width: 100px; 
    }

    .headerUl {
        margin-left: 0; 
    }

    .headerli:not(:last-child) {
        margin-right: 10px; 
    }
}

@media screen and (max-width: 767px) {
    iframe {
        width: 75%;
        height: 300px;
    }
    .map{
        font-size: 10px;
    }
    main {
        margin-top: 20px;
    }
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        font-size: 10px;
    }
    
    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
    .divfooter h3{
        
        font-size: 10px;
    }
    .article{
        font-size: 10px;
    }
    .gallery,
    .featured-cars {
        width: 400px; 
        margin-right: 0px;
        margin-left: 0px;
    }

    .carousel-container {
        width: 400px; 
        overflow: hidden;
    }
    .jumbotron li{
        width: 100%;    
    }
    .carousel-slider {
        display: flex;
        flex-wrap: nowrap;
        transition: transform 0.5s;
        list-style: none;
    }

    .carousel-slider li {
        flex: 0 0 100%; 
    }

    .carousel-slider img {
        width: 400px;
        max-width: 400px;
        height: auto; 
    }

    button#prev,
    button#next {
        display: visible; 
    }
    .featured-cars{
        width: 100%;
    }
    .featured-cars .carousel-container {
        align-items: center;
        width: 350px;
        margin-bottom: 50px;
        
    }

    .featured-cars img {
        min-width: 350px;
    }

    .featured-cars  button {
        padding: 10px;
        font-size: 14px;
        
    }
    .jumbotron h1{
        font-size: 12px;
    }
    .featured-cars h2{
        font-size: 12px;
    }
    .logo{
        width: 100px;
    }
    .dot{
        height: 5px;
        width: 5px;
    }
}

.copyright{
    margin: 0px;
}