* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: rgb(37, 37, 37);
  padding: 0;
  font-family: "Montserrat", sans-serif;
  margin: 0 auto;
  max-width: 1920px;
}

img {
  max-width: 100%;
}

.top-bar {
  background-image: linear-gradient(to right, rgb(2, 201, 201), rgb(27, 104, 219));
  height: 0.5em;
}

header {
  z-index: 10;
  position: fixed;
  width: 100vw;
  top: 0;
  background-color: rgb(37, 37, 37);
}

header.active {
  background-image: linear-gradient(to right, rgba(22, 22, 22, 0.452), rgba(24, 23, 23, 0.507));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  width: 100%;
  letter-spacing: 2px;
  padding: 0 5em;
}

.brand-logo img{
  margin: 0.5em auto;
  width: 100%;
}

.nav-links {
  margin: 0 auto;
}

.nav-links ul li {
  list-style: none;
  display: inline-flex;
}

.menu {
  text-decoration: none;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  white-space: nowrap;
  margin: 2em;
}

.sub-menu {
  text-decoration: none;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  white-space: nowrap;
  /* border: 1px solid pink; */
  float: left;
  margin: 0.5em 1em;
}



.nav-links a:hover {
  /* padding-top: 2px;
  border-top: 4px solid rgb(4, 104, 185); */
  opacity: 0.7;
}

.products, .ordering {
  position: relative;
  display: inline-block;
}

.product-dropdown, .dropdown {
  display: none;
  position: absolute;
  background-color: rgba(37, 37, 37);
  z-index: 1;
  padding: 1em;
}


.products:hover .product-dropdown {
  display: block;
}

.ordering:hover .dropdown {
  display: block;
}


.toggle-button,
.toggle-close {
  color: white;
  font-size: 30px;
  display: none;
  position: absolute;
  top: 30;
  right: 20px;
  text-decoration: none;
}

.signup-btn {
  text-decoration: none;
  text-transform: uppercase;
  color: rgb(240, 240, 240);
  border-width: 3px;
  border-style: solid;
  background-color: rgba(0, 128, 128, 0.089);
  border-image: linear-gradient(to right, rgb(2, 201, 201), rgb(81, 143, 236)) 1;
  padding:0.7em;
  font-size: 1em;
  letter-spacing: 4px;
  text-align: center;
}

.signup-btn:hover {
  background-image: linear-gradient(to right, rgb(2, 201, 201), rgb(81, 143, 236)) ;
  color: #000000;
}

.banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  width: 100vw;
  height: 100vh;
  background-image: url("/images/Hero2.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-transform: uppercase;
  text-align: center;
  -o-background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  margin-top: 6.8em;
}

.banner-heading1 {
    width: 100%;
    color: rgb(207, 205, 205);
    font-weight: 500;
    font-size: 4em;
    letter-spacing: 18px;
    margin-top:2em;
}

.tagline {
  color: white;
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
}

.what {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  color: white;
  width: 80%;
  max-height: 600px;
  margin: 5em auto;
  padding: 0;
}


.heading1, .heading2 {
  background: linear-gradient(to right, rgb(2, 201, 201), rgb(27, 104, 219));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: rgb(6, 159, 219);
   padding: 0;
   margin: 0;
}

.section-heading {
  font-size: 2.2rem;
  margin: 3em auto;
  max-height: inherit;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 5px;
}

.what-we-do {
  margin: 1em;
  padding: 0;
  max-width: 30%;
  max-height: inherit;
}

.page-text {
  width: 60%;
  line-height: 1.7em;
  font-size: 1.5em;
  padding: 0.5em;
  margin: 0;
  letter-spacing: 2px;
  max-height: inherit;
}

.page-text p {
 margin: 0;
 padding: 0;
}

.about {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 400px);
  align-items: center;
  justify-items: center;
  grid-gap: 6em;
  color: white;
  width: 80%;
  margin: 0 auto;
  padding: 0;
}

.card {
  height: 24em;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  letter-spacing: 0.1em;
  padding: 1em;
  border-width: 0.2em;
  border-style: solid;
  border-image: 
    linear-gradient(
      to bottom, 
      rgb(2, 201, 201), rgb(27, 104, 219)
    ) 1;
}

.card img {
  width: 20%;
  height: auto;
}

.card h3 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.2rem;
}

.card p {
  font-size: 1em;
}


.carousel {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 1.5em;
  overflow: hidden;
  height: 500px;
  background-image: url("/images/bgrnd1.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #464646;
}

.slider-container {
  overflow: hidden;
}

.slide-holder {
  width: 5200px;
  height: 20em;
  animation: scroller 25s infinite;
  animation-direction: alternate;
  animation-delay: 2s;
  animation-timing-function: ease;
  overflow: hidden;
}

.slide-holder img {
  width: 9%;
  display: inline-block;
  margin-left: 0.5em;
  border-radius: 10px;
}

@keyframes scroller {
  0% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-9.5%); }
  30% {
    transform: translateX(-19%);
  }
  45% {
    transform: translateX(-28.5%);
  }
  60% {
    transform: translateX(-38%);
  }
  75% {
    transform: translateX(-47.5%);
  }
  90% {
    transform: translateX(-57%);
  }
  100% {
    transform: translateX(-57%);
  }

}

.logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin: 2em auto;
}

.logo-section-title {
  width: 30%;
  text-align: left;
}

.logo-holder {
  display: grid;
  grid-template-columns: repeat(3, 33%);
  grid-template-rows: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  grid-gap: 1em;
  color: white;
  padding: 0;
  overflow: hidden;
  margin: 5em auto;
  width: 80%;
}

.customer-logo {
  filter: grayscale(100%);
}

.customer-logo:hover {
  filter: grayscale(0);
}

.contact-form {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 3em;
  letter-spacing: 2px;
  text-align: center;
  margin: 2em auto;
  scroll-margin-top: 7em;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  margin: 20px;
  font-family: inherit;
}
.contact-form .submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-form input,
.contact-form textarea {
  width: 500px;
  margin-top: 10px;
  font-family: inherit;
  font-size: 20px;
  letter-spacing: 2px;
  background: rgb(37, 37, 37);
  border: none;
  border-bottom: 1px solid white;
  border-radius: 0;
  outline: none;
  padding: 0 0 5px 0;
  color: white;
  font-size: 1em;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: rgb(255, 255, 255);
}
::-moz-placeholder { /* Firefox 19+ */
  color: rgb(255, 255, 255);
}
:-ms-input-placeholder { /* IE 10+ */
  color: white;
}
:-moz-placeholder { /* Firefox 18- */
  color: white;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
  box-shadow: 0 0 0 30px rgb(0, 0, 0) inset !important;
  -webkit-box-shadow: 0 0 0 30px rgb(0, 0, 0) inset !important;
}

/*Change text in autofill textbox*/
input:-webkit-autofill {
  -webkit-text-fill-color: rgb(255, 255, 255) !important;
}

#b2 {
  width: 94%;
  height: 40px;
  background-color: rgb(27, 104, 209);
  border: none;
  color: white;
  margin-top: 30px;
  font-family: inherit;
  letter-spacing: 3px;
}

#b2:hover {
  background-image: linear-gradient(to right, rgb(2, 201, 201), rgb(27, 104, 219));
}

footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 1em;
  text-align: center;
  background-image: linear-gradient(to right ,rgb(2, 201, 201), rgb(27, 104, 219));
  letter-spacing: 3px;
  font-size: 0.8rem;
  width: 100%;
}

.social-menu,
.footer-menu
 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 1em;
}

.social-menu a,
.footer-menu a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
}

.footer-right a {
  font-family: inherit;
}

.next {
  margin-left: 20px;
}

.fine-print {
  font-size: 1rem;
  color: white;
  margin: auto;
}

@media screen and (max-width: 770px) {
  body {
    background-image: none;
    background: rgb(37, 37, 37);
    max-width: 768px;
    padding: 0;
    margin: 0 auto;
}
  
header {
    height: 11em;
    background-color: rgba(47, 47, 47, 0);
  }
  
  header.active {
    background-image: linear-gradient(to right, rgb(22, 22, 22), rgb(24, 23, 23));
  }
  
  .nav {
    margin: 0;
    width: 100%;
    padding: 0;
  }

  .nav-links ul li a {
    font-size: 1rem;
    letter-spacing: 2px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    margin: 0 1em 0 1em;
  }
  
  .dropdown {
    left: -200%;
  }

  .product-dropdown {
    left: -189%;
  }
 .toggle-button {
   display: none;
 }
  .logo {
    margin: 0.3em;
  }

  .what {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: white;
    width: 90%;
    padding: 1em;
    margin: 0 auto;
  }
  
  .what-we-do, .why {
    font-size: 1.5rem;
    max-width: 100%;
    margin: 1.5em auto;
  }
  .page-text {
    width: 100%;
    font-size: 1.5rem;
    padding: 0;
    text-align: center;
  }

  .about {
    grid-gap: 2em;
    padding: 1.5em;
    width: 90%;
  }

  .card {
    height: 350px;
    padding: 0.5em;
  }
  .card img {
    width: 40%;
  }
  
  .card h3 {
    font-size: 2vw;
  }
  
  .card p {
    font-size: 2vw;
  }
  
  .logo-section {
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
  }
  
  .logo-section-title {
    width: 100%;
    text-align: center;
  }
  
  .logo-holder {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-gap: 0.5em;
    margin: 2em auto;
    width: 100%;
  }

  .logo-holder img {
    width: 15em;
    height: auto;
  }
  .heading2 {
    margin: 0;
  }
  
  footer {
    letter-spacing: 2px;
    font-size: 12px;
    bottom: 0;
    width: 100vw;
  }
 
  .footer-menu, .social-menu {
    justify-content: center;
    align-items: flex-start;
    padding: 0;
  }
 
}


@media only screen and (max-width: 480px) {

  body {
    max-width: 400px;
    margin: 0 auto;
    padding: 0;
    background-image: none;
  }

  header {
    width: 100vw;
    height: auto;
    margin: 0;
    padding: 0;
  }
 
  
.brand-logo img{
  margin: 0;
  padding: 0;
}

  .brand-logo {
    width: 35%;
    margin: 0 auto;
    padding: 0;
    display: block;
  }
  .toggle-button {
    display: flex;
    top: 19px;
    margin: 0;
    padding: 0;
  }

  .toggle-close {
    top: 19px;
    margin: 0;
    padding: 0;
  }

  .nav {
    background-color: rgb(37, 37, 37);
    padding-top: 0.5em;
    margin: 0;
    flex-direction: column;
  }

  .nav-links {
    display: none;
    width: 70%;
    margin-right: 0.5em;
    padding-right: 0.5em;
  }

  .nav-links ul li {
    list-style: none;
    display: block;
    text-align: right;
    padding: 0.3em;
    border-bottom: 1px solid rgb(71, 71, 71);
  }

  .nav-links ul li a {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-decoration: none;
  }

  .nav-links.active {
    display: inline-block;
  }

  
  .product-dropdown, .dropdown {
    display: none;
    position: relative;
    left: 0%;
    background-color: rgba(3, 3, 3, 0);
    padding: 0;
    margin: 0.3em;
  }
  
  .product-dropdown a, .dropdown a {
    color: rgb(185, 184, 184) !important;
    border-bottom: 1px solid rgb(71, 71, 71);
    padding: 0.3em;
  }
  .products:hover .product-dropdown, .ordering:hover .dropdown {
    display: flex;
    flex-direction: column;
  }

  .signup-btn {
    display: none;
  }

  .banner {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    margin-top: 2.5em;
  }
  .banner-text {
    width: 90%;
    margin: 0 auto;
  }

  .banner-heading1 {
      font-size: 1.5em;
      margin: 6.5em auto 1em auto;
      letter-spacing: 0.3rem;
  }


.tagline {
  color: white;
  font-size: 0.8rem;
  letter-spacing: 0.4rem;
}
  
  .what {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-height: 600px;
    margin: 0 auto;
  }
  
  .what-we-do, .section-heading {
    font-size: 0.8rem;
    margin: 0;
    max-width: 100%;
    max-height: inherit;
    padding: 0;
    text-align: center;
  }
  
  .heading1, .heading2 {
    background: linear-gradient(to right, rgb(2, 201, 201), rgb(27, 104, 219));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
     padding: 0;
     margin: 2em auto;
  }
  
  .page-text {
    width: 90%;
    line-height: 1.5rem;
    font-size: 1rem;
    padding: 0;
    margin: 0;
    letter-spacing: 2px;
    max-height: inherit;
  }
  
  .page-text p {
   margin: 0;
   padding: 0;
    
  }

  .about {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-gap: 3em;
    width: 90%;
  }
  
  .card {
    height: 14em;
    padding: 2em;
    height: auto;
  }
  .card img {
    width: 30%;
    height: auto;
  }
  
  .card h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    margin: 1em;
  }
  
  .card p {
    font-size: 0.9rem;
  }
  
  .logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: 2em auto;
  }
  
  .logo-section-title {
    width: 100%;
    text-align: center;
  }
  
  .logo-holder {
    grid-template-columns: repeat(1, 1fr);
    width: 90%;
  }
  
  .carousel {
    height: 300px;
    justify-content: center;
    align-items: center;
    padding: 1em;
  }
  
  .carousel-title {
    width: 90%;
  }
  .slide-holder {
    height: 14em;
    width: 3600px;
  }
  
  .slide-holder img {
    width: 9%;
    height: auto;
    margin-left: 2em;
  }
  
  @keyframes scroller {
    0% {
      transform: translateX(2%);
    }
    10% {
      transform: translateX(-11%); }
    20% {
      transform: translateX(-21%);
    }
    30% {
      transform: translateX(-31%);
    }
    40% {
      transform: translateX(-41%);
    }
    50% {
      transform: translateX(-51%);
    }
    60% {
      transform: translateX(-61%);
    }
    70% {
      transform: translateX(-71%);
    }
    80% {
      transform: translateX(-81%);
    }

    90% {
      transform: translateX(-91%);
    }

    100% {
      transform: translateX(-91%);
    }
  
  }
  
  
  .contact-form {
    width: 90%;
    padding: 2em;
    letter-spacing: 2px;
    margin: 1em auto;
  }
  
  .contact-form label {
    display: flex;
    margin: 1.5em;
  }
  .contact-form .submit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 300px;
    margin-top: 1em auto;
    font-size: 1rem;
  }
  
  #b2 {
    width: 90%;
  }
  
  footer {
    grid-template-columns: 1fr;
    padding: 10px;
    letter-spacing: 2px;
    font-size: 12px;
    width: 100%;
    margin-top: 20px;

  }
 
  .fine-print {
    order: 1;
  }
  .social-menu,
  .footer-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 10px;
  }
}
