/* Global */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  scroll-behavior: smooth;
}

h1 {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-size: 30px;
  font-weight: 500;
}

h2 {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
}

h3 {
  text-align: center;
}

p {
  font-family: 'Poppins', sans-serif;
  font-weight: 350;
  text-align: center;
}

iframe {
  margin: 0 auto;
  display: block;
  border-radius: 10px;
  width: 80%;
}

#header img {
  width: 200px;
}

.top-page {
  padding: 7px;
  height: 25px;
  width: 25px;
  background-color: rgba(0,0,0,.4);
  border-radius: 5px;
  border: none 1px solid;
  position: fixed;
  right: 30px;
  bottom: 30px;
}

button {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: white;
  border: none;
  background-color: #009cd4;
  padding: 11px 15px 11px 15px;
  border-radius: 5px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 1.5px 2.5px 0 rgba(0, 0, 0, 0.01);
  align-items: center;
  justify-content: center;
}

button:hover {
  transition-duration: 0.6s;
  opacity: 0.7;
}

/* Header */
nav {
  position: fixed;
  z-index: 10;
  left: 0;
  right: 0;
  top: 0;
  padding: 0 5%;
  height: 60px;
  background-color: #fff;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

nav .logo {
  float: left;
  width: 54%;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 24px;
  color: #fff;
}

nav .links {
  float: right;
  padding: 0;
  margin: 0;
  width: 30%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

nav .links li:hover {
  text-decoration: underline;
  transition: 10s;
}

nav .links li {
  list-style: none;
}

nav .links a {
  display: block;
  padding: 1em;
  font-size: 16px;
  color: black;
  text-decoration: none;
}

#nav-toggle {
  position: absolute;
  top: -100px;
}

nav .icon-burger {
  display: none;
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
}

nav .icon-burger .line {
  width: 30px;
  height: 5px;
  background-color: black;
  margin: 5px;
  border-radius: 3px;
  transition: all .3s ease-in-out;
}

/* Title */
#title {
  margin-top: 62px;
  padding: 100px 15px 100px 15px;
  color: #e5e3e6;
  text-align: center;
  background-color: black;
  background-image: linear-gradient(rgba(0, 0, 0, 0.527), rgba(0, 0, 0, 0.5)), url('/imgs/background.jpg');
  min-height: 30vh;
}

/* Welcome */
#welcome {
  padding: 10px 0px 10px 0px;
  color: black;
  text-align: center;
  background-color: #fff;
  min-height: 30vh;
  padding-left: 15%;
  padding-right: 15%;
}

/* Services Boxes */
#boxes {
  background-color: #e5e3e6;
  padding: 15px 0px 25px 0px;
}

#boxes .box {
  margin-top: 0px;
  float: left;
  text-align: center;
  width: 30%;
  padding-left: 2.6%;
}

.container {
  width: 80%;
  margin: auto;
  overflow: hidden;
}

.box img {
  width: 90px;
  height: auto;
}

/* Brands */
#brands {
  padding: 5px 0px 25px 0px;
  text-align: center;
}

.brands img {
  width: 500px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-block-start: 1em;
  margin-block-end: 1em;
}

/* Areas */
#areas {
  padding: 5px 0px 25px 0px;
  background-color: #e5e3e6;
  text-align: center;
}

#list {
  padding: 0% 7.5% 0% 7.5%;
}

/* Location */
#location {
  padding: 15px 0px 25px 0px;
}

/* Footer */
footer {
  padding: 15px;
  max-height: 57px;
  color: #fff;
  background-color: black;
  text-align: center;
  display: grid;
}

/* Media Queries */
@media screen and (max-width: 500px) {
  .brands img {
    width: 95%;
  }
}

@media screen and (max-width: 930px) {
  body {
    margin: 0;
    display: inline;
  }

  nav {
    padding: 0 25%;
  }

  nav .mainlogo {
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  nav .links {
    float: none;
    position: fixed;
    z-index: 9;
    left: 0;
    right: 0;
    top: 60px;
    bottom: 100%;
    width: auto;
    height: auto;
    flex-direction: column;
    justify-content: space-evenly;
    background-color: rgba(0, 0, 0, .9);
    overflow: hidden;
    box-sizing: border-box;
    transition: all .5s ease-in-out;
  }

  nav .links a {
    font-size: 20px;
    color: white;
  }

  nav :checked~.links {
    bottom: 0;
  }

  nav .icon-burger {
    display: block;
  }

  nav :checked~.icon-burger .line:nth-child(1) {
    transform: translateY(10px) rotate(225deg);
  }

  nav :checked~.icon-burger .line:nth-child(3) {
    transform: translateY(-10px) rotate(-225deg);
  }

  nav :checked~.icon-burger .line:nth-child(2) {
    opacity: 0;
  }

  iframe {
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    width: 90%;
  }

  #boxes .box{
    float: none;
    text-align: center;
    width: 100%;
    padding-left: .4%
  }
}
}

@media screen and (max-width: 900px) {
  #welcome {
    padding: 12% 10% 5% 10%;
  }
}

/* Contact Us Page */ /*
#boxes2 .card {
  margin-top: 0px;
  float: left;
  text-align: center;
  width: 20%;
}
*/
#boxes2 {
  background-color: #e5e3e6;
  padding: 5px 0px 5px 0px;
}

.container2 {
  width: 100%;
  margin: auto;
  overflow: hidden;
}

.card {
  padding: 60px;
  min-height: 250px;
  max-height: 300px;
  background-color: white;
  float: left;
  text-align: center;
  width: 20%;
  border-radius: 10px;
}

.card img {
  width: 90px;
  height: auto;
}

/* Temporary Vertical Contact Us Page */
#boxes2 .card{
  float: none;
  text-align: center;
  width: 50%;
  margin: auto;
  margin-bottom: 50px;
  max-width: 550px;
}

#contact-us, #services-heading {
  padding-bottom: 30px;
  background-color: #e5e3e6;
}

#welcome-heading {
  padding-bottom: 40px;
}

@media screen and (max-width: 1144px) {
  #boxes2 .card{
    float: none;
    text-align: center;
    width: 50%;
    margin: auto;
    margin-bottom: 35px;
  }
}

/* Services Page Services Boxes */
#service-boxes {
  background-color: #e5e3e6;
  padding: 15px 0px 0px 0px;
}

#service-boxes .service-box {
  margin-top: 0px;
  float: left;
  text-align: center;
  width: 20%;
  padding-left: 10%;
}

.service-container {
  width: 90%;
  margin: auto;
  overflow: hidden;
}

.service-box img {
  width: 130px;
  height: auto;
}

/* Services Page Services Boxes 2 */
#service-boxes2 {
  background-color: #e5e3e6;
  padding: 0px 0px 25px 0px;
}

#service-boxes2 .service-box2 {
    margin-top: 0px;
    float: left;
    text-align: center;
    width: 16%;
    padding-left: 12.8%;
}

.service-container2 {
  width: 93%;
  margin: auto;
  overflow: hidden;
}

.service-box2 img {
  width: 130px;
  height: auto;
}

@media screen and (max-width: 1000px) {
  #service-boxes2 .service-box2 {
    float: none;
    text-align: center;
    width: 100%;
    padding-left: .4%;
    padding-bottom: 30px;
  }

  #service-boxes .service-box {
    float: none;
    text-align: center;
    width: 100%;
    padding-left: .4%;
    padding-bottom: 30px;
}
}

/*  contact cards */

.contact-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  box-shadow: 0 2.8px 2.2px rgb(0 0 0 / 3%), 0 6.7px 5.3px rgb(0 0 0 / 5%), 0 12.5px 10px rgb(0 0 0 / 6%);
  text-align: center;
  width: 300px;
  height: 200px;
  padding: 25px;
  border-radius: 15px;
  line-height: 1.5em;
  background-color: var(--card-background);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-content: space-around;
  margin: 20px;
}

.contact-card img{
  width: 50px;
  margin: auto;
}

#contact-info a {
    text-decoration: none;
}

/* CBP van image below about text */
.about-img-container {
  display: flex;
  margin: 0px 20px 35px 20px;
}

.about-imgs {
  max-width: 600px;
  width: 90%;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 2.8px 2.2px rgb(0 0 0 / 3%), 0 6.7px 5.3px rgb(0 0 0 / 5%), 0 12.5px 10px rgb(0 0 0 / 6%);
}
