@media only screen and (max-width: 1280px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }

  header nav a::before {
    display: none;
    -webkit-transition: none;
    transition: none;
  }

  header nav a.current::before {
    display: none !important;
  }

  .borderbottom:hover {
    cursor: default;
  }

  .gallery {
    height: 42vw;
    background-attachment: scroll;
  }

  .gallery h1 {
    font-size: 2.5rem;
  }

  .GalleryWrap {
    padding: 3rem;
  }

  .GalleryWrap .zoom:hover {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: none;
    transition: none;
  }

  .FeaturesShowcase {
    height: 60vw;
    background-attachment: scroll;
  }

  .options {
    margin-top: 3rem;
    -webkit-box-shadow: 0px 0px 10rem 6rem rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 10rem 6rem rgba(0, 0, 0, 0.1);
  }

  .Features {
    margin-top: 0rem;
    padding: 4rem 2rem;
  }

  .Features-Grid {
    padding: 4rem 0rem;
  }

  .Specs {
    margin-top: 0rem;
    padding: 4rem 2rem;
  }

  .Specs .box1,
  .Specs .box2,
  .Specs .box3 {
    padding: 4rem 0rem;
  }

  .Specs .box3 {
    gap: 2rem;
    padding-bottom: 0rem;
  }

  .borderbottom .arrow,
  .borderbottom .arrowsecond,
  .borderbottom .arrowthird,
  .borderbottom .arrowfourth,
  .borderbottom .arrowfifth,
  .borderbottom .arrowsixth,
  .borderbottom .arrowseventh,
  .borderbottom .arroweight,
  .borderbottom .arrownine,
  .borderbottom .arrowten {
    top: 10px;
    right: 0px;
  }

  header .homepage {
    height: 60vw;
    background-attachment: scroll;
  }

  header .homepage .showcase-info {
    padding: 0rem 4rem;
  }

  header .homepage .showcase-info h1 {
    font-size: 3rem;
  }

  header .homepage .showcase-info .focus {
    font-size: 4rem;
    font-family: "Gilroy", sans-serif;
  }

  .nav2 a::before {
    display: none;
    -webkit-transition: none;
    transition: none;
  }

  .tableTH {
    padding-left: 1rem !important;
    padding-right: 2rem !important;
  }

  .gridlines>div>div:first-child>div:first-child:hover {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: none;
    transition: none;
  }

  .gridlines>div>div:nth-child(2) {
    padding-right: 2rem;
  }

  .models,
  .performance,
  .design {
    height: 50vw;
  }

  .MPower,
  .Transmission,
  .Suspension,
  .Brakes {
    min-height: 40vw;
  }

  .Designwrap p {
    width: 90%;
  }

  .Designwrap p br {
    display: none;
  }

  .Evolve,
  .Aero,
  .Style,
  .Seats {
    min-height: 50vw;
  }
}

@media only screen and (max-width: 1030px) {
  span.mobiletextwrap {
    display: block;
  }

  .gridlines .container h2 {
    font-size: 2.25rem;
  }

  .gridlines .container p {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 800px) {
  .GalleryWrap {
    padding: 2rem;
  }

  .gallery h1 {
    font-size: 2rem;
    letter-spacing: normal;
  }

  .gallery h1 .spacing {
    margin-left: 1.8rem;
  }

  .gallery h1>br {
    display: none;
  }

  .options {
    width: 80%;
  }

  .Features {
    padding: 4rem 0rem;
  }

  .Features .details {
    gap: 3rem;
  }

  .Features-Grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 0rem;
    padding: 4rem 2rem;
  }

  .Specs {
    padding: 4rem 1rem;
  }

  .Specs .box2 {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .Specs .box2 .specsC,
  .Specs .box2 .specsD {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .Specs .box2 .specsC p:last-child,
  .Specs .box2 .specsD p:last-child {
    margin-bottom: 2rem;
  }

  .Specs .box2 .specsE p:last-child {
    margin-bottom: 2rem;
  }

  .Specs .box2 .specsE .Tire p {
    margin-bottom: 0rem;
  }

  .Specs .box3 {
    gap: 4rem 2rem;
  }

  .Specs .box3 .ExteriorShowcase {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    grid-template-areas: "ext1"
      "ext2"
      "ext3";
    gap: 1rem;
  }

  .Specs .box3 .ext1,
  .Specs .box3 .int {
    height: 17vw;
  }

  .Specs .box3 .ext2,
  .Specs .box3 .ext3 {
    background-size: contain;
    height: 24vw;
  }

  header .homepage .showcase-info {
    padding: 0rem 3rem;
  }

  header .homepage .showcase-info h1 {
    font-size: 2.5rem;
  }

  header .homepage .showcase-info .focus {
    font-size: 3rem;
    font-family: "Gilroy", sans-serif;
  }

  .modelinfo {
    padding: 2rem;
  }

  .modelinfo p {
    font-size: 1.25rem !important;
  }

  .modelinfo .infoB {
    padding: 1rem;
  }

  .modelinfo .infoB th,
  .modelinfo .infoB td {
    font-size: 1rem;
    padding: 0.5rem;
  }

  .modelinfo .infoB .nopadding {
    padding: 0rem 0rem 0rem 1.25rem;
  }

  .performanceinfo .l-heading,
  .designinfo .l-heading {
    letter-spacing: 0.1rem;
  }

  .performanceinfo {
    padding: 1rem 2rem;
  }

  .performanceinfo h2,
  .performanceinfo p {
    padding: 0.25rem 0rem;
  }

  .gridlines {
    padding: 2rem;
    margin-left: -0.25rem;
    padding-left: 2.25rem;
  }

  .gridlines>div>div:nth-child(2) {
    padding-right: 0rem;
  }

  .gridlines>div {
    margin-bottom: 2rem;
  }

  .gridlines>div:last-child {
    margin-bottom: 0rem;
  }

  .gridlines .Evolveinfo,
  .gridlines .Aeroinfo,
  .gridlines .Styleinfo,
  .gridlines .Seatsinfo {
    padding: 1.5rem !important;
  }

  .gridlines .l-heading {
    font-size: 1.5rem;
  }

  .Suspensioninfo .container br {
    display: none;
  }

  .models,
  .performance,
  .design {
    height: 66vw;
  }

  .MPowerwrap,
  .TransmissionWrap,
  .SuspensionWrap,
  .BrakesWrap {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .gridlines .container {
    width: 100%;
    padding: 1.5rem 1rem !important;
    text-align: center;
  }

  .gridlines .container br {
    display: none;
  }

  .MPower,
  .Transmission,
  .Suspension,
  .Brakes {
    min-height: 50vw;
  }

  .designinfo {
    padding: 1rem 2rem;
  }

  .designinfo h2,
  .designinfo p {
    padding: 0.25rem 0rem;
  }
}

@media only screen and (max-width: 650px) {
  header .logo {
    padding: 0.5rem 0rem;
    font-size: 1.15rem;
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 55px;
  }

  header .navwrap {
    z-index: 20;
  }

  header .navbar_active {
    background-color: black;
  }

  header nav {
    padding: 0rem;
    height: 55px;
    position: relative;
    display: block;
  }

  header nav ul {
    display: block;
    position: absolute;
    top: 55px;
    width: 100vw;
    z-index: 20;
    background-color: black;
    overflow: hidden;
  }

  header nav ul li {
    padding: 0rem;
  }

  header nav ul li .margin {
    margin-top: 2rem;
  }

  header nav ul.ExpandNav {
    height: 0;
    margin-right: -5.5%;
    -webkit-transition: height 0.4s cubic-bezier(0.65, 0.05, 0.36, 1);
    transition: height 0.4s cubic-bezier(0.65, 0.05, 0.36, 1);
  }

  header nav ul.ExpandNav_active {
    position: absolute;
    height: 375px;
    width: 100vw;
  }

  header nav ul a {
    width: 100%;
    padding: 2rem 0rem;
    font-size: 2rem;
    font-family: "Gilroy", sans-serif;
    font-weight: 600;
  }

  header nav ul li {
    display: block;
  }

  header nav .hamwrap {
    position: absolute;
    top: 0rem;
    right: 0px;
    padding: 1rem 0rem 1rem 1rem;
    height: 55px;
    width: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    cursor: pointer;
  }

  header nav .ham {
    height: 2.5px;
    width: 35px;
    background-color: white;
    border-radius: 10px;
    -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: -webkit-transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  header nav .hamwrap .first {
    width: 25px;
    -ms-flex-item-align: end;
    align-self: flex-end;
  }

  header nav .hamwrap .f {
    width: 17.5px;
    -ms-flex-item-align: start;
    align-self: flex-start;
    -webkit-transform: rotate(45deg) translate(4.5px, 1.75px);
    transform: rotate(45deg) translate(4.5px, 1.75px);
  }

  header nav .hamwrap .s {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
  }

  header nav .hamwrap .t {
    width: 17.5px;
    -webkit-transform: rotate(45deg) translate(-5px, -1.45px);
    transform: rotate(45deg) translate(-5px, -1.45px);
  }

  header .gallery {
    background-size: 210%;
    height: 70vw;
    background-position: right 25% top;
  }

  header .msports {
    display: none;
  }

  .gallery h1 {
    letter-spacing: 0.4rem;
  }

  .gallery h1>br:nth-child(2) {
    display: block;
  }

  .gallery h1 .spacing {
    margin-left: 0rem;
  }

  .GalleryWrap {
    padding: 1rem;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .GalleryWrap .box1,
  .GalleryWrap .box2,
  .GalleryWrap .box3,
  .GalleryWrap .box4,
  .GalleryWrap .box5,
  .GalleryWrap .box6,
  .GalleryWrap .box7,
  .GalleryWrap .box8,
  .GalleryWrap .box9,
  .GalleryWrap .box10,
  .GalleryWrap .box11,
  .GalleryWrap .box12,
  .GalleryWrap .box13,
  .GalleryWrap .box14,
  .GalleryWrap .box15,
  .GalleryWrap .box16 {
    height: 58vw;
  }

  .GalleryWrap .box17,
  .GalleryWrap .box18,
  .GalleryWrap .box19,
  .GalleryWrap .box20 {
    height: 46vw;
  }

  footer .buttons {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 2rem auto;
  }

  footer .buttons .btn:nth-child(1) {
    margin-bottom: 2rem;
  }

  footer .BMW {
    padding: 1.5rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  footer .BMW p {
    margin-bottom: 1.5rem;
  }

  .FeaturesShowcase {
    height: 70vw;
  }

  .options {
    margin-top: 2rem;
    width: 95%;
    height: 60px;
  }

  .Features {
    padding: 3rem 1rem;
  }

  .Features h1 {
    font-size: 2rem;
  }

  .Features-Grid {
    padding: 3rem 0rem;
  }

  .Features .details {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .borderbottom h2 {
    font-size: 1.8rem;
  }

  .borderbottom p {
    font-size: 1rem !important;
  }

  .borderbottom .arrow,
  .borderbottom .arrowsecond,
  .borderbottom .arrowthird,
  .borderbottom .arrowfourth,
  .borderbottom .arrowfifth,
  .borderbottom .arrowsixth,
  .borderbottom .arrowseventh,
  .borderbottom .arroweight,
  .borderbottom .arrownine,
  .borderbottom .arrowten {
    top: 0px;
    right: -15px;
  }

  .Specs {
    padding: 3rem 0rem;
  }

  .Specs h2 {
    font-size: 2rem;
  }

  .Specs .line-break {
    display: block;
  }

  .Specs .box1,
  .Specs .box2,
  .Specs .box3 {
    padding: 3rem 1rem;
  }

  .Specs .box1 {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .Specs .box1 .specsA {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }

  .Specs .box1 .MGRfinal p {
    margin-bottom: 1rem;
  }

  .Specs .box3 {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .Specs .box3 .ext1,
  .Specs .box3 .int {
    height: 36vw;
  }

  .Specs .box3 .ext2,
  .Specs .box3 .ext3 {
    background-size: contain;
    height: 45vw;
  }

  .Specs .box3 .GC p,
  .Specs .box3 .Shoulder p {
    margin-bottom: 0rem;
  }

  .Specs .box3 .ExteriorShowcase {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 2rem;
  }

  header .homepage {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  header .homepage .showcase-info {
    margin-top: 5.4rem;
    padding: 0rem 1rem;
    padding-left: 1.5rem;
  }

  header .homepage .showcase-info h1 {
    font-size: 1.8rem;
    letter-spacing: 0.35rem;
  }

  header .homepage .showcase-info h1 .mobile {
    display: block;
  }

  header .homepage .showcase-info h3 {
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    letter-spacing: 0.1rem;
  }

  header .homepage .showcase-info h3 br {
    display: none;
  }

  header .homepage .showcase-info .focus {
    font-size: 1rem;
    font-family: "Gilroy", sans-serif;
  }

  .nav2 {
    display: none;
  }

  .modelstitle {
    display: block !important;
    text-align: center;
    background-color: black;
    color: white;
    padding: 0.5rem 0rem;
  }

  .modelstitle .m-heading,
  .performanceinfo .m-heading,
  .designinfo .m-heading {
    font-size: 1.8rem;
    padding: 0rem 0rem 0.5rem 0rem;
  }

  .models,
  .performance,
  .design {
    height: 66vw;
  }

  .modelinfo {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .modelinfo .infoA {
    border-right: none;
    border-bottom: 1px solid black;
    padding: 0rem;
    padding-bottom: 2rem;
  }

  .modelinfo .infoB {
    padding: 0rem;
    padding-top: 2rem;
  }

  .modelinfo .tableTH {
    padding-left: 0rem !important;
    padding-right: 2rem !important;
  }

  .performanceinfo br,
  .designinfo br {
    display: none;
  }

  .performanceinfo p,
  .designinfo p {
    font-size: 0.8rem;
  }

  .performanceinfo .l-heading,
  .designinfo .l-heading {
    font-size: 1.55rem;
  }

  .MPowerwrap,
  .TransmissionWrap,
  .SuspensionWrap,
  .BrakesWrap {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .gridlines {
    padding: 1.25rem;
    margin-left: -0.25rem;
    padding-left: 1.5rem;
  }

  .gridlines>div {
    margin-bottom: 1.25rem;
  }

  .gridlines p {
    font-size: 1rem !important;
    line-height: 20px;
    width: 100%;
  }

  .gridlines .container {
    padding: 1.5rem !important;
  }

  .gridlines .container h2 {
    font-size: 1.5rem;
  }

  .MPower,
  .Transmission,
  .Suspension,
  .Brakes {
    min-height: 60vw;
  }
}

@media only screen and (min-width: 2000px) {
  .gridlines>div {
    max-width: 90rem;
    margin: 0rem auto 2rem auto;
  }

  .gridlines>div>div:first-child>div:first-child {
    max-width: 54.25rem;
    max-height: 28.625rem;
    min-height: 28.625rem;
    height: 28.625rem;
  }
}