@import url('https://fonts.googleapis.com/css2?family=Concert+One&family=Permanent+Marker&family=Poetsen+One&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rock+Salt&display=swap');
@import url('about.css');
*,*::after,*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} 

:root {
    --blue-100: #90e0ef;
    --blue-200: #48cae4;
    --blue-300: #00b4d8;
    --blue-400: #0096c7;
    --blue-500: #0077b6;
    --blue-600: #023e8a;
    --blue-700: rgb(3, 4, 90);
    --bg-color: #222;
    --bg2-color: #121233;
    --bg2-color-2: #121244;

    --new-color: #538392;
    --facebook: #1877F2;
    --twitter: #1DA1F2;
    --instagram: #E1306C;
    --linkedin: #0077B5;
    --pinterest: #CB2027;
    --whatsapp: #25D366;

}

html, body {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    background-color: var(--bg-color);
    overflow-y: hidden;
}


body.overflow-hidden {
    overflow-y: hidden;
}

::-webkit-scrollbar {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: rgba(2, 62, 138 , 0.5);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--blue-600);
}

/* LOADING SCREEN */

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
    z-index: 9999;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-style: solid solid outset;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 2s linear infinite;
  }
  
  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  } 




/* SCROLL TOP BTN */
#btnUp{

    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    text-align: center;
    display: none;
    z-index: 99999999999999;
    background: var(--blue-500);
    border: none;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}
/* NAVBAR */

header {
    background-color: none;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 4;
    transition: 0.3s;
}

header nav {
    width: 90%;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    box-shadow: none;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav .logo {
    color: #fff;
    font-family: 'Permanent Marker', 'Poppins', sans-serif;
    font-weight: 800;
    text-decoration: none;
    font-size: 20px;
    padding: 0;
    letter-spacing: 1.5px;
}

header nav .logo img {
    width: 60px;
}

header nav ul li {
    padding: 15px;
}

header nav ul li:hover {
    background: none;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Concert One' , 'Poppins', 'sans-serif';
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

header nav ul li a:hover  {
    color: var(--blue-500);
    background: none;
}

/* header nav ul li a.active  {
    color: var(--blue-500);
    background: none;
} */



header nav .burger {
    display: none;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
    position: relative;
    padding: 0 5px;
}

header nav .burger .line1,
header nav .burger .line2,
header nav .burger .line3 {
    background: #fff;
    width: 80%;
    height: 4px;
    transition: 0.3s;
    border-radius: 2px;
}

header nav .burger .line1 {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
}


header nav .burger .line3 {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
}


header nav .burger .line1.close-animation {
    transform: translateX(-50%) rotate(45deg);
    top: 22px;
}

header nav .burger .line2.close-animation {
    opacity: 0;
}


header nav .burger .line3.close-animation {
    transform: translateX(-50%) rotate(-45deg);
    bottom: 24px;
}

.show{
    animation: show 0.5s 1;
}

@keyframes show {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    70% {
        opacity: 0;
    }

    90% {
        opacity: 0;
    }

    95% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
 
}

/* HOME */




#home {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    height: 100vh;
    background-image: url(../images/bmw4.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    box-shadow: inset 0px 0px 70px #000;
    background-attachment: fixed;
}


#home .hero {
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    height: 100%;
    
}

#home .hero .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    backdrop-filter: blur(40px);
    padding: 20px;
    border-radius: 10px;
    animation: show 1ms  1;
    width: 40%;
    z-index: 10;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}


#home .hero .content * {
    transition: 0.2s;
    z-index: 1;
}


/* #home .hero .content:hover {
    transform: rotateY(20deg) rotateX(-10deg) rotateZ(1deg);
    border: var(--blue-100) solid 1px;
    background: var(--blue-400);
    box-shadow: 15px 20px 20px rgba(33, 211, 117, 0.5);

} */



#home .hero .content .greeting {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--blue-400);
    margin-bottom: 5px;
}

#home .hero .content p {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 24px;
    color: var(--blue-400);
    text-align: center;
}

#home .hero .content h1 {
    font-family: 'permanent marker', sans-serif;
    font-weight: 800;
    font-size: 30px;
    line-height: 40px;
    color: #fff;
    margin-bottom: 10px;
    margin-top: 0;
}

#home .hero .content h1 span {
    color: var(--blue-100);
    font-family: 'Poppins' , sans-serif;
}

#home .hero .content a {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    background-color: var(--blue-500);
    padding: 10px 20px;
    border-radius: 5px;
    transition: 0.3s;
    margin-top: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#home .hero .content a:hover {
    background-color: var(--blue-300);
}

#home .hero img {
    width: 40%;
    animation: show 4s  1, upDown 10s infinite ;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    transition: 0.5s;
}

.social {
    display: flex;
    gap: 10px;
}

.social a{
   max-width: 50px;
   text-align: center;
   display: flex;
   justify-content: center;
   align-items: center;
   text-decoration: none;
   color: #fff;
   background: var(--blue-500);
   border-radius: 5px;
   transition: 0.3s;
}

.social a:hover{
    background: var(--blue-300);
}

.hero .content .buttons {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    margin-top: 10px;
    gap: 5px;
}

@keyframes upDown {
    0%{
        transform: translateY(-50%);
    }
    50%{
        transform: translateY(-60%);
    }
    100%{
        transform: translateY(-50%);
    }
}


.shape-1-container {
    width: 100%;
    height: 25%;
    position: absolute;
    bottom: -0%;
    right: -0%;
    z-index: 3;
}

.shape-1-container .layer-1,
.shape-1-container .layer-2,
.shape-1-container .layer-3{
    width: 120%;
    height: 100%;
    background: var(--bg2-color);
    position: absolute;
    bottom: -50%;
    left: 50%;
    z-index: 1;
    transform: rotate(-3deg) translateX(-50%);
    animation: showByPosition1 4s 1 cubic-bezier(.72,.08,.02,.88);
    overflow: hidden;
}

.shape-1-container .layer-2 {
    opacity: 0.7;
    bottom: -16.8%;
    transform: rotate(-5deg) translateX(-50%);
    animation: showByPosition2 5s 1 cubic-bezier(.72,.08,.02,.88);

}

.shape-1-container .layer-3 {
    bottom: 25%;
    opacity: 0.4;
    transform: rotate(-7.5deg) translateX(-50%);
    animation: showByPosition3 6s 1 cubic-bezier(.72,.08,.02,.88);

}

@keyframes showByPosition1 {
    from {
        bottom: -100%;
    }
    to {
        bottom: -50%;
    }
}

@keyframes showByPosition2 {
    from {
        bottom: -100%;
    }
    to {
        bottom: -16.8%;
    }
}


@keyframes showByPosition3 {
    from {
        bottom: -100%;
    }
    to {
        bottom: 25%;
    }
}


/* @keyframes left-right1 {
    0% {
        right: -60%;
    }

    70% {
        right: -57%;
    }

    100% {
        right: -60%;
    }

}

@keyframes left-right2 {
    0% {
        right: -50%;
    }

    70% {
        right: -47%;
    }

    100% {
        right: -50%;
    }
} */


.brands-slider {
    width: 90%;
    height: var(--height);
    position: absolute;
    bottom: 28.4%;
    left: 50%;
    transform: rotate(-7.5deg) translateX(-50%);
    display: flex;
    align-items: stretch;
    justify-content: center;
    mask-image: 
    linear-gradient(
        to right,
        transparent,
        #000 10% 90%,
        transparent

    )   
    ;
    z-index: 1;
}

.brands-slider .brands-slider-list {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    height: 100%;
    position: relative;
}

.brands-slider .brands-slider-list span {
    width: var(--width);
    height: var(--height);
    animation: autoRun 9s linear infinite;
    animation-delay: calc(( 9s / var(--quantity) ) * (var(--position) - 1));
    text-align: center;
    position:absolute;
    left: 100%;
    background: var(--bg2-color);
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
}

@keyframes autoRun {
    from {
        left: 100%;
    }
    to {
        left: calc(var(--width) * -1);
    }
}

.brands-slider:hover span {
    animation-play-state: paused;
}

/* SUPER CARS */

#carsBrands {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--bg2-color);
    padding: 50px 70px;
    gap: 40px;
    position: relative;
    padding-bottom: 170px;
    z-index: 3;
}



.section-title {
    color: var(--blue-500);
    font-family: 'concert one', sans-serif;
    font-size: 30px;
    font-weight: 800;
    padding-bottom: 20px;
    position: relative;
    text-align: start;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background-color: var(--blue-300);
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;

}



/* swiper-container {
    width: 100%;
    height: 100%;
  }
  swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  } */
.container > * {
    width: calc(33.3333333% - 30px * 2 );
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    color: #fff;
    transition: transform 0.5s , color 0.5s;
}

.container > * h4 {
    font-family: 'permanent marker', sans-serif;
    font-weight: 700;
    font-size: 25px;
    margin-top: 10px;
    letter-spacing: 2px;
}

.container > *:hover {
    transform: scale(1.1);
    color: var(--blue-500);
}
.container > *.expand {
    width: 100vw;
    position: fixed;
    bottom: 0;
    left: 0;
    top: 0;
    right: 0;
    height: 100vh;
    z-index: 11;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0;
    padding: 50px;
    display: flex;
    flex-direction: row;
    gap: 50px;
    cursor: auto;
    z-index: 100;
}

/* .container > *.expand swiper-container {
    display: block;
} */



.container > *.expand:hover {
    color: #fff;
    transform: scale(1);
}

.container > *.expand img {
    width: 600px;
    border-radius: 15px;
    height: 400px;
}

.container > * img {
    width: 100%;
    height: 200px;
}

.container > * .desc {
    position: absolute;
    bottom: 10px;
    left: 10px;
}


.container > * .more-info {
    display: none;
}

.container > *.expand .more-info {
    display: block;
}


.container > *.expand .desc {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 30px;

}

.container > *.expand .desc h4{
    font-size: 50px;
}


.custom-shape-divider-bottom-1717687305 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1717687305 svg {
    position: relative;
    display: block;
    width: calc(198% + 1.3px);
    height: 150px;
}

.custom-shape-divider-bottom-1717687305 .shape-fill {
    fill: #222222;
}

/** For tablet devices **/
@media (min-width: 768px) and (max-width: 1023px) {
    .custom-shape-divider-bottom-1717687305 svg {
        width: calc(214% + 1.3px);
        height: 96px;
    }
}

/** For mobile devices **/
@media (max-width: 767px) {
    .custom-shape-divider-bottom-1717687305 svg {
        width: calc(200% + 1.3px);
        height: 72px;
    }
}

/* CARS GALLERY */

#carsGallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--bg-color);
    padding: 50px 70px;
    gap: 40px;
    position: relative;
    padding-bottom: 90px;
}



.gallery-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;
    position: relative;
    padding-bottom: 50px;
    gap: 20px;
}

.row::after {
    content: '';
    height: 3px;
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    background: var(--blue-300);
}

.row:nth-child(2) {
    height: 0;
    overflow: hidden;
    opacity: 1;
    padding: 0;
}

.gallery-container .gallery-column {
    width: calc(33.3333333% - 20px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.gallery-container .gallery-column img {
    width: 100%;
    border-radius: 7px;
    transition: 0.4s ease-out;
}

.gallery-container .gallery-column img:hover {
    transform: scale(1.03);
}

.show-more-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.row.show {
    height: auto;
    opacity: 1;
}


.custom-shape-divider-bottom-1717687303 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1717687303 svg {
    position: relative;
    display: block;
    width: calc(198% + 1.3px);
    height: 150px;
}

.custom-shape-divider-bottom-1717687303 .shape-fill {
    fill: var(--bg2-color);
}

/** For tablet devices **/
@media (min-width: 768px) and (max-width: 1023px) {
    .custom-shape-divider-bottom-1717687303 svg {
        width: calc(214% + 1.3px);
        height: 96px;
    }
}

/** For mobile devices **/
@media (max-width: 767px) {
    .custom-shape-divider-bottom-1717687303 svg {
        width: calc(200% + 1.3px);
        height: 72px;
    }
}


/* NEWS SECTION */

#carsNews {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--bg2-color);
    padding: 50px 70px;
    gap: 40px;
}


.wrapper-container {
    display: flex;
    align-items: start;
    justify-content: space-between;
    width: 100%;
    gap: 50px;
}

.wrapper-container .posts-container {
   display: flex;
   justify-content: center;
   align-items: stretch;
   flex-wrap: wrap;
   gap: 20px;
   width: 100%;
}

.wrapper-container .posts-container .post {
   width: calc(33.3333333% - 20px);
   display: flex;
   flex-direction: column;
   gap: 15px;
   justify-content: start;
   align-items: center;
   background: var(--bg2-color-2);
   padding: 15px;
   border-radius: 7px;
   color: #fff;
   position: relative;
   padding-bottom: 100px;
   transition: 0.3s;
   
}

.wrapper-container .posts-container .post 
.wrapper-container .posts-container .post:hover {
   transform: scale(1.03);
   box-shadow: 0px 0px 50px rgba(0, 180, 216, 0.5);
}

.wrapper-container .posts-container .post .info {
   display: flex;
   width: 90%;
   justify-content: space-between;
   align-items: center;
   margin-top: 50px;
   position: absolute;
   bottom: 20px;
   
}

.wrapper-container .posts-container .post .info .post-info {
   display: flex;
   
}

.wrapper-container .posts-container .post .info .post-info img {
   width: 50px;
   border-radius: 50%;
   margin-right: 10px;
}

.wrapper-container .posts-container .post .info .post-info .info-txt{
   display: flex;
   flex-direction: column;
   font-size: 13px;
   padding-top: 5px;
}

.wrapper-container .posts-container .post p {
   font-size: 15px;
   color: var(--blue-500);
   font-weight: 700;
   margin-top: 5px;
}

.wrapper-container .posts-container .post h4 {
   font-size: 18px;
}

.wrapper-container .posts-container .post > img {
   width: 100%;
   border-radius: 7px;
   max-height: 200px;
   min-height: 200px;
}

/*    <<<<<<===---------- POSTS SECTION  -----------===>>>>>>    */



.show-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
}


 .posts-container .post a,
 .show-more-container .show-more-btn {
    padding: 10px 20px;
    border: 2px solid var(--blue-500);
    font-family: 'concert one';
    color: var(--blue-500);
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 7px;
    position: relative;
    transition: 0.3s;
    z-index: 1;
    background: transparent;

}

#carsGallery .show-more-container .show-more-btn {
    font-size: 18px;
}

#carsGallery .show-more-container .show-more-btn::after,
.posts-container .post a::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--blue-500);
    transition: 0.3s;
    z-index: -1;
}

#carsGallery .show-more-container .show-more-btn:hover,
.posts-container .post a:hover {
    color: #fff;
}

#carsGallery .show-more-container .show-more-btn:hover::after,
.posts-container .post a:hover::after {
    width: 100%;
    box-shadow: 0px 0px 30px rgba(0, 150, 199, 0.7);
}



/* FOOTER */

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 50px;
    width: 100%;
    padding-bottom: 20px;
    position: relative;
    background: var(--blue-600);
    z-index: 3;
}

footer p {
    color: #fff;
    margin-top: 20px;
}

footer .logo-container {
    width: 100%;
    padding-left: 20px;
}

footer .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-top: 50px;
    width: 90%;
}


footer .logo-container  a {
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff ;
    font-family: 'permanent marker', serif;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

footer .logo-container  a img {
    width: 100px;
}

footer h3 {
    font-size: 18px;
    font-weight: 700;
    color: #eee;
    text-transform: uppercase;
}

footer .footer-container .other-links {
    gap: 50px;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}

footer .footer-container .other-links .other-links-list{
    list-style: none;
    margin-top: 5px;
    padding: 0;
}

footer .footer-container .other-links ul li a,
footer .footer-container .other-links .other-links-list a  {
    font-size: 15px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
}

footer .footer-container .other-links a:hover{
    color: var(--blue-100);
}

footer .footer-container .other-links .other-links-list {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    margin-top: 5px;
}

footer .footer-container .other-links .other-links-list a i{
    margin-right: 5px;
}

footer .footer-container .contact-email {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    width: 30%;
}


footer .footer-container .contact-email .inputs-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

footer .footer-container .contact-email .inputs-container input,
footer .footer-container .contact-email .inputs-container textarea {
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.5s;
    background: var(--bg-color);
    color: #fff;
}

footer .footer-container .contact-email .inputs-container input:hover,
footer .footer-container .contact-email .inputs-container textarea:hover,
footer .footer-container .contact-email .inputs-container input:focus,
footer .footer-container .contact-email .inputs-container textarea:focus {
    border: 1px solid var(--blue-100);
}

footer .footer-container .contact-email .inputs-container input::placeholder,
footer .footer-container .contact-email .inputs-container textarea::placeholder {
    color: var(--blue-100);
}

footer .footer-container .contact-email button {
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
    background: var(--blue-500);
    color: #fff;
    cursor: pointer;
}


footer .footer-container .contact-email button:hover {
    background: var(--blue-400);
    color: #fff;
}
/* MEDIA QUERIES */

@media (max-width: 1070px) {

    .wrapper-container .posts-container .post{
        width: calc(50% - 20px);
     }
}

@media (max-width: 952px) {
    header nav .burger {
        display: flex;
    }   
    
    .shape-1-container {
        display: none;
    }

    header nav ul {
        position: absolute;
        top: 84px;
        left: 100%;
        flex-direction: column;
        width: 100%;
        align-items: center;
        background: var(--bg2-color-2);
        transition: 0.3s;
    }
    header nav ul.slide {
        left: 0;
    }

    header.nav-header-animation {
        background: var(--blue-700);
        transition: 0.3s;
    }

    #home .hero {
        flex-direction: column-reverse;
        align-items: center;
        padding-bottom: 20px;
        gap: 50px;
    }

    #home .hero img {
        top: 35%;
        left: 17%;
        width: 70%;
    }


    #home .hero .content {
        width: 80%;
        text-align: center;
        justify-content: center;
        align-items: center;
        backdrop-filter: blur(300px);
    }


    .container > * {
        width: calc(50% - 30px );
    }

    .container {
        width: 100%;
    }

    #home::after {
        height: 95.01%;
    }

    .container > *.expand{ 
        flex-direction: column;
    }  

    .brands-slider {
        width: 150%;
        bottom: 5%;
        transform: rotate(0deg) translateX(-50%);
     }
}


@media (max-width: 915px) {
 

    .container > *.expand .desc h4 {
        font-size: 35px;
    }

    .container > *.expand .desc p {
        font-size: 13px;
        font-weight: 500;
    }

    .container > *.expand {
        justify-content: center;
    }

    .container > *.expand img {
        width: 80%;
        height: 350px;
    }

    .gallery-container .gallery-column {
        width: 100%;
  
    }

    .gallery-container .row {
        gap: 20px;

    }

    .wrapper-container {
        flex-direction: column;
    }

    .wrapper-container .posts-container {
        width: 100%;
    }

    .wrapper-container .old-posts {
        width: 100%;
    }


    .wrapper-container .posts-container .post{
        width: 100%;
     }

     .wrapper-container .posts-container .post > img {
       
        max-height: 300px;
        min-height: 300px;
     }

     

     
}


@media (max-width: 715px) {
  
    .container > *.expand img {
        width: 100%;
        height: 250px;
    }

    .container > *{
        width: 100%;
    }

    .brands-slider {
        width: 200%;
        bottom: 5%;
        transform: rotate(0deg) translateX(-50%);
     }


    .section-title {

        font-size: 25px;

        
    }
    

    .hero .content .buttons{
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
    }

    #home {
        background-attachment: scroll;
    }
    
}

@media (max-width: 414px) {
    #home .hero .content .buttons {
        flex-direction: column;
        gap: 5px;
    }

    .wrapper-container .posts-container .post > img {
       
        max-height: 200px;
        min-height: 200px;
     }

     .custom-shape-divider-bottom-1717687303,
     .custom-shape-divider-bottom-1717687305 {
        bottom: -1px;
     }

     .posts-container .post a,
     .show-more-container .show-more-btn {
        padding: 5px 10px;
        font-size: 13px;
        padding-bottom: 7px;
        border-radius: 4px;
    }
    
    #carsGallery .show-more-container .show-more-btn {
        font-size: 18px;
        padding: 10px 20px;
    }
    
    .brands-slider {
        width: 290%;
        bottom: 5%;
        transform: rotate(0deg) translateX(-50%);
     }


}

@media (max-width: 767px) {
    footer {
        width: 100%;
    }

    footer .footer-container {
        flex-direction: column;
        align-items: start;
        justify-content: stretch;
        width: 100%;
        gap: 50px;
        padding: 30px;
    }

    footer .footer-container .contact-email {
        width: 100%;
    }

    #carsNews {
        padding: 50px 20px;
    }

    footer .logo-container h2 {
        font-size: 17px;
    }

    footer .logo-container a img{ 
        width: 70px;
    }

}
