/* Common Styles */
* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
    font-family: "Special Elite", cursive;
    font-weight: 400;
  }
  
  .fa, .fas {
    color: #fff;
    position: fixed;
    top: 35px;
    left: 10px;
}
  html {
    font-size: 62.5%;
    scroll-behavior: smooth;
  }
  
  body {
    background-color: #ccc;
    padding-right: 0;
  }
  .logo {
    height: 80px;
    width: 80px;
    position: fixed;
    top: 15px;
    left: 50px;
}

.logo img {
    width: 100%;
}


  a {
    text-decoration: none;
    color: #000;
    font-size: 2.0rem;
    
}
  
  .center {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* End of Common Styles */
  /* Navbar */

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 10vh;
  background-color: #000;
  position: fixed;
  width: 100%;
  z-index: 100;

  /*
  background: url(../img/purpback.jpg) center no-repeat;*/
}

.nav-links {
  display: flex;
  justify-content: space-around;
  width: 70%;
}

.nav-links a {
  color: rgb(226, 226, 226);
  text-decoration: none;
  letter-spacing: 3px;
  font-weight: bold;
  font-size: 16px;

}

.burger div {
  width: 25px;
  height: 3px;
  background-color: rgb(226, 226, 226);
  margin: 5px;
  transition: all 0.3s ease;
}

.burger {
  display: none;
}

  /* Menu */
  .menu {
    width: 4rem;
    height: 4rem;
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 10;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.5s;
  }
  
  .menu.change {
    transform: rotate(45deg);
    left: 15vw;
  }
  
  .menu-line {
    width: 100%;
    height: 0.2rem;
    background-color: #fff;
    margin: 0.3rem 0;
    box-shadow: 0.1rem 0.1rem 0.3rem #222;
    transition: transform 0.5s;
  }
  
  .change .menu-line-1 {
    transform: rotate(270deg) translateX(-0.4rem);
  }
  
  .change .menu-line-2 {
    transform: rotate(360deg) translateY(-0.4rem);
  }
  /* End of Menu */
  
  /* Navbar */
  .navbar {
    width: 15vw;
    height: 100vh;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: -15vw;
    display: flex;
    flex-direction: column;
    padding: 4rem 0 0 4rem;
    z-index: 10;
    transition: left 0.5s;
  }
  
  .navbar.change {
    left: 0;
  }
  
  .navbar-link {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0;
    color: #777;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    transition: color 0.3s;
  }
  
  .navbar-link:hover {
    color: #111;
  }
  /* End of Navbar */
  
  /* Common Section Styles */
  .wrapper {
    width: 100%;
    perspective: 50rem;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
  }
  
  section {
    width: 100%;
    /*height: 100vh;*/
    background-color: #efefef;
    background-image: url('../img/white_texture.jpg');
    position: relative;
    left: 0;
    margin-bottom: 3rem;
    transform-origin: left;
    box-shadow: 0.5rem 0.5rem 1rem #aaa;
    padding: 5rem 0;
    transition: left 0.5s, transform 0.5s;
  }
  
  section.change {
    left: 15vw;
    transform: rotateY(10deg);
  }
  
  .section-heading {
    font-size: 10rem;
    font-weight: bolder;
    color: #000;
    margin-bottom: 10rem;
    letter-spacing: 1rem;
    text-align: center;
    text-shadow: 0.3rem 0.3rem 0.5rem #555;
    padding: 5rem 5rem;
  }
  /* End of Common Section Styles */
  
  /* Section-1 */
  .section-1 {
    flex-direction: column;
    background: url(images/bg-section1.jpg) center no-repeat;
    background-size: cover;
  }
  
  .section-1 .section-1-heading {
    margin-bottom: 3rem;
    text-transform: uppercase;
    text-shadow: 1rem 1rem 1rem #000, 2rem 2rem 2rem #111, 3rem 3rem 3rem #222;
  }
  
  .section-1-img {
    width: 70%;
  }
  /* End of Section-1 */
  
  /* Section 2 */
  .section-2 {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  
  .card {
    width: 50rem;
    margin: 0 3rem;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0.6rem 0.6rem 0.6rem #bbb;
    position: relative;
    transition: box-shadow 0.5s;
  }
  
  .card:hover {
    box-shadow: 0.8rem 0.8rem 0.8rem #bbb;
  }
  
  .car-name {
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
  }
  
  .card-img {
    width: 100%;
    opacity: 0.8;
    transition: opacity 0.5s;
  }
  
  .card:hover .card-img {
    opacity: 1;
  }
  
  .car-price {
    font-size: 1.8rem;
    color: #777;
    margin: 0.5rem 0;
  }
  
  .card-btn {
    width: 100%;
    background-color: #fff;
    font-size: 1.7rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    border: none;
    margin-top: 1rem;
    padding: 0.5rem;
    color: #fff;
    text-shadow: 0.1rem 0.1rem 0.3rem #000;
    box-shadow: 0.1rem 0.1rem 0.5rem #bbb;
    cursor: pointer;
  }
  /* End of Section 2 */
  
  /* Section 3 */
  .section-3 {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: #222;
  }
  
  .video {
    width: 25%;
    margin: 0 2rem;
    border-radius: 0.5rem;
    opacity: 0.8;
    box-shadow: 0.3rem 0.3rem 0.5rem #111;
    transition: all 0.5s;
  }
  
  .video:hover {
    opacity: 1;
    box-shadow: 0.5rem 0.5rem 1rem #111;
  }
  /* End of Section 3 */
  
  /* Section 4 */
  .section-4 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .gallery {
    margin: 15rem 0;
    perspective: 10rem;
  }
  
  .gallery-shelf {
    width: 80%;
    height: 3rem;
    background-color: rgba(0,0,0,.8);
    margin: auto;
    position: relative;
    box-shadow: 1rem 1rem 5rem #444;
  }
  
  .gallery-shelf::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 10rem;
    background-color: rgba(0,0,0,0.7);
    top: -10rem;
    transform: rotateX(20deg);
    transform-origin: bottom;
  }

  /*img {
    height: 200px;
  }*/
  
  .gallery img {
    width: 15%;
    position: absolute;
    bottom: 6rem;
    transform: translateX(-50%) rotateX(0.5deg);
    box-shadow: 0.2rem -0.2rem 0.5rem #888;
    border-radius: 0.5rem;
    transform-origin: bottom;
    transition: all 0.3s;
    height: 200px;
  }
  
  .gallery img:hover {
    transform: translateX(-50%) rotateX(0);
    box-shadow: 0 0.2rem 0.3rem #888;
  }
  
  .gallery-img-1 {
    left: 50%;
  }
  
  .gallery-img-2 {
    left: 30%;
  }
  
  .gallery-img-3 {
    left: 70%;
  }
  /* End of Section 4 */
  
  /* Section 5 */
  .section-5 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)),
      url(images/bg-section5.jpg) center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 0;
  }
  
  .contact-form {
    width: 60rem;
    height: 45rem;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2rem solid rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    height: 4rem;
    margin: 2rem 0;
    background-color: transparent;
    padding: 0.5rem;
    border: 0.1rem solid #fff;
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
    color: #fff;
    flex-shrink: 0;
    transition: background-color 0.5s;
  }
  
  .contact-form textarea {
    max-width: 100%;
    min-height: 8rem;
  }
  
  .form-input:focus {
    background-color: rgba(255, 255, 255, 0.5);
  }
  
  .contact-form .form-btn {
    background-color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    letter-spacing: 0.3rem;
    color: #444;
    cursor: pointer;
  }
  
  .copyright {
    font-size: 2rem;
    font-weight: 300;
    color: #fff;
    text-align: center;
  }
  /* End of Section 5 */
  
  /* Responsive */
  @media (max-width: 1500px) {
    .navbar {
      width: 20vw;
      padding: 2rem 0 0 2rem;
      left: -20vw;
    }
  
    .menu.change {
      left: 20vw;
    }
  
    section.change {
      left: 20vw;
      transform: rotateY(15deg);
    }
  
    .section-heading {
      font-size: 7rem;
    }
  
    .section-1 {
      justify-content: space-evenly;
    }
  
    .section-2 {
      height: auto;
      padding: 5rem 0 10rem 0;
    }
  
    .cards-wrapper {
      flex-wrap: wrap;
    }
  
    .card {
      width: 40rem;
      margin: 3rem;
    }
  
    .section-3 {
      padding: 5rem 3rem;
    }
  
    .video {
      width: 30%;
      margin: 2rem;
    }
  
    .section-4 {
      height: auto;
    }
  
    .gallery {
      margin: 12rem 0;
    }
  
    .gallery-shelf {
      width: 90%;
    }
  
    .gallery img {
      width: 20%;
    }
  
    .gallery-img-2 {
      left: 25%;
    }
  
    .gallery-img-3 {
      left: 75%;
    }
  
    .section-5 {
      height: auto;
    }
  
    .contact-form {
      width: 55rem;
      height: 40rem;
      padding: 2rem;
    }
  
    .copyright {
      margin-top: 5rem;
    }
  }
  
  @media (max-width: 1000px) {
    body {
      padding-right: 0;
    }
  
    .navbar {
      width: 25vw;
      left: -25vw;
    }
  
    .menu.change {
      left: 25vw;
    }
  
    section.change {
      left: 25vw;
      transform: rotateY(20deg);
    }
  
    .section-1-img {
      width: 90%;
    }
  
    .section-3 {
      height: auto;
    }
  
    .videos-wrapper {
      flex-direction: column;
    }
  
    .video {
      width: 70%;
      margin: 3rem 0;
    }
  }
  
  @media (max-width: 750px) {
    .navbar {
      width: 30vw;
      left: -30vw;
    }
  
    .menu.change {
      left: 30vw;
    }
  
    section.change {
      left: 30vw;
      transform: rotateY(25deg);
    }
  
    .section-heading {
      font-size: 5.5rem;
    }
  
    .section-4 {
      padding: 6rem 0 1rem 0;
    }
  
    .gallery-shelf {
      height: 1.5rem;
      width: 95%;
    }
  
    .gallery-shelf::before {
      height: 5rem;
      top: -5rem;
    }
  
    .gallery img {
      width: 25%;
      bottom: 4rem;
    }
  
    .gallery-img-2 {
      left: 22%;
    }
  
    .gallery-img-3 {
      left: 78%;
    }
  }

  @media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: #5d4954;
        z-index: 100;
        display: flex;
        flex-direction: column;
        align-items: center;
        transform: translateX(100%);

    }
    div.polaroid {
        width: 45%;
    }

    .galleryName {
        font-size: 15px;
    }

    .nav-links li {
        opacity: 0;
    }
    .burger {
        display: block;
        cursor: pointer;
    }
    .main {
        display: grid;
         grid-template-columns: 1fr ;
         margin: 0px;
    
      }
  
    .title {
        text-align: center;
        padding-bottom: 20px;
        margin: 0px;
        font-size: 5rem;
        color: #fff;
        text-shadow: 0.3rem 0.3rem 0.5rem #555;
        background: url(../img/purpback.jpg) center no-repeat;
    
    }
    
    
}

.nav-active {
    transform: translateX(0%);
    transition: transform 0.5s ease-in;
    
}

@keyframes navLinkFade {
  from {
      opacity: 0;
      transform: translateX(50px);
  }
  to {
      opacity: 1;
      transform: translateY(0px);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px,6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px,-6px);
}
  
  @media (max-width: 600px) {
    html {
      font-size: 55.5%;
    }
  
    .navbar {
      width: 40vw;
      left: -40vw;
    }
  
    .menu.change {
      left: 40vw;
    }
  
    section.change {
      left: 0;
      transform: rotateY(0);
    }
  
    .section-heading {
      font-size: 4.5rem;
    }
  
    .section-1-img {
      width: 100%;
    }
  
    .video {
      width: 100%;
      margin: 2rem 0;
    }
  
    .gallery {
      margin: 9rem 0;
    }
  
    .contact-form {
      width: 40rem;
      border: 1rem solid rgba(255, 255, 255, 0.8);
    }
  }
  
  @media (max-width: 400px) {
    html {
      font-size: 40%;
    }
  
    .copyright {
      width: 80%;
    }
  }
  /* End of Responsive */

a:hover {
	opacity: 1;
}

a.btn {
	border-radius: 4px;
	text-transform: uppercase;
	font-weight: bold;
	text-align: center;
	background-color: #3f51b5;
	opacity: 1;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
header {
	position: absolute;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 35px 100px 0;
	animation: 1s fadein 0.5s forwards;
	opacity: 0;
	color: #fff;
	z-index: 100;
}

@keyframes fadein {
	100% {
		opacity: 1;
	}
}

header h2 {
	font-family: "Quicksand", sans-serif;
}

header nav {
	display: flex;
	margin-right: 15px;
}

header nav li {
	margin: 0 15px;
}

.headtarget {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media(max-width: 1500px) {
  body {
    padding-right: 0;
  }
.gallery-shelf {
  width: 90%;
}

.gallery img {
  width: 20%;
}

.gallery-img-2 {
  left: 25%;
}

.gallery-img-3{
  left: 75%;
}
}

@media(max-width: 1000px) {
  body {
      padding-right: 0;
  }
}

@media(max-width: 1500px) {
  body {
    padding-right: 0;
  }
.gallery-shelf {
  width: 90%;

}

.gallery img {
  width: 20%;
  height: 125px;
}

.gallery-img-2 {
  left: 25%;
}

.gallery-img-3{
  left: 75%;
}
}

@media(max-width: 600px) {
  html {
      font-size: 55.5%;
  }

}