@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap');

:root {
  --primary_color: #fff;
  --secondary_color: #000;
  --third_color: #f00;
  --fourth_color: #0f0;
  --fifth_color: #00f;
  --bg-_1: #333;
  --bg_2: #1a633b;
  --cta_secondary_color: #96484c;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat";
  background-color: #fff;
  color: var(--bg-_1);
  line-height: 1.6;
}

ul {
  list-style: none;
  display: flex;
  padding: 10px;
}

a {
  text-decoration: none;
}

h1 {
  color: var(--primary_color);
  padding: 10px 0;
}

.title {
  text-align: center;
  font-size: 1.2rem;
  padding: 10px 20px;
  margin-top: 10px;
  background-color: #f0f0f0;
  color: #000;
}

.banner {
  background-color: #051049;
  color: #fff;
}

.bar {
  color: #f00;
  font-size: 20px;
}

.flex-items h3 {
  text-align: center;
  font-size: 1.2rem;
  padding: 10px 20px;
  margin-top: 10px;
}

.flex-items>div .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 20px;
  font-size: 1.2em;
  text-align: left;
  line-height: 2;
}


.flex-columns .row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.flex-columns .column {
  display: flex;
  flex-direction: column;
  flex-basis: 90%;
  flex: 1;
}

.flex-columns .column .column-1,
.flex-columns .column .column-2 {
  height: 100%;
}

.flex-columns img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flex-columns .column-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 10px;
}

.flex-columns h2 {
  font-size: 40px;
  font-weight: 100;
}

.flex-columns h4 {
  margin-bottom: 10px;
}

.flex-columns p {
  margin: 20px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  background-color: var(--display_color1);
  width: 100%;
  height: 60px;
  position: fixed;
  opacity: 0.8;
}

.navbar .logo {
  height: 40px;
}

.nav-link {
  color: var(--primary_color1);
  position: relative;
  padding: 5px;
}

nav .home-link {
  /* background-color: #fff; */
  height: 50px;
  width: 50px;
  margin: 5px 30px;
  /* border-radius: 50%; */
}

.navbar.top {
  background: transparent;
}

.menu {
  display: none;
  cursor: pointer;
  justify-content: center;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.layer {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  background-color: #fff;
}

.hero {
  background: url('images/roadster3.png') no-repeat center center/cover;
  height: 100vh;
  position: relative;
  color: #fff;
}

.hero .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 0 20px;
}

.hero .content h1 {
  font-size: 3rem;
  font-weight: 400;
  padding-top: 100px;
}

.hero .content p {
  font-size: 1.2rem;
  font-weight: 400;
  max-width: 75%;
  margin: 20px 0 30px;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 20px;
  gap: 1rem;

}

.service img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Samples */
.sample {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 25vw);
  grid-gap: 1rem;
  padding: 20px;
}

.samples img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About */
.about {
  background-color: #f0f0f0;
  display: flex;
  padding: 0 10px;
  margin: 20px 20px;
  justify-content: center;
  align-items: center;
}

.about p {
  padding: 30px;
  font-size: .8em;
  font-weight: 800;
}

.about img {
  width: 5rem;
}

/* Callback form */
.flex-columns .row {
  display: flex;
  /* flex-direction: column; */
  padding: 10px;
}


.google-map {
  padding: 20px;
}

.callback-form {
  width: 100%;
  padding: 20px 0;
}

.callback-form input {
  width: 100%;
  padding: 4px;
  height: 40px;
  border: #f5f5f5 1px solid;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  margin: auto;
  padding: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* width: auto; */
  /* height: 400px; */
  background-color: #f3f3f3;
  /* background-color: #c46767; */
  color: #000;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer a {
  color: #fff;
}

.footer a:hover {
  color: #28a745;
}

.footer .social>* {
  margin-right: 30px;
}

.social i {
  color: #a52a2a;
}



@media(max-width: 800px) {
  .hamburger {
    display: block;
    padding: 1.2rem;
  }

  .hamburger.active .layer:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .layer:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .layer:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: #262626;
    width: 100%;
    text-align: center;
    transition: 0.3s;
  }

  .nav-item {
    margin: 16px;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero .content h1 {
    font-size: 2.5rem;
  }



  .flex-columns .row {
    display: flex;
    flex-direction: column;
    height: 100vh;
  }


}

@media(max-width: 660px) {
  .hero .content h1 {
    font-size: 2rem;
  }

  .services {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 1rem;

  }

  .service img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .sample {
    display: flex;
    flex-direction: column;
    padding: 20px;
  }

  .flex-items>div .container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    font-size: 1.2em;
    text-align: left;
    line-height: 2;
  }

  .flex-items h3 {
    font-size: 1.2rem;
  }

  .contact .row {
    flex-direction: column;
  }
}