* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
html {
  height: 100%;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 20px;
}

/* NAVBAR */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 10%;
  background-color: white;
  border-bottom: 8px solid #335c81;
}

.logo {
  cursor: pointer;
}

.nav__links a,
.cta,
.overlay__content a {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: #335c81;
  text-decoration: none;
}

.nav__links {
  list-style: none;
  display: flex;
}

.nav__links li {
  padding: 0px 20px;
}

.nav__links li a {
  transition: color 0.3s ease 0s;
}

.nav__links li a:hover {
  color: #1b2845;
}

.cta {
  padding: 9px 25px;
  background-color: #335c81;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease 0s;
  color: white;
}

.cta:hover {
  background-color: #1b2845;
}

/* Mobile Nav */

.menu {
  display: none;
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  background-color: white;
  overflow-x: hidden;
  transition: width 0.5s ease 0s;
}

.overlay--active {
  width: 100%;
}

.overlay__content {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.overlay a {
  padding: 15px;
  font-size: 36px;
  display: block;
  transition: color 0.3s ease 0s;
}

.overlay a:hover,
.overlay a:focus {
  color: #0088a9;
}
.overlay .close {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  color: #edf0f1;
}

@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }
  .overlay .close {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

@media only screen and (max-width: 800px) {
  .nav__links,
  .cta {
    display: none;
  }
  .menu {
    display: initial;
  }
}

/* HERO */
#hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(/images/hero.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  height: 80%;
  /* margin-bottom: 2rem; */
}

#hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

#hero-text > p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

button {
  background-color: #335c81;
  border: none;
  color: white;
  padding: 0.7rem;
  cursor: pointer;
  width: 10rem;
  margin: 0.5rem;
  border-radius: 8px;
  font-size: 18px;
}

button:hover {
  background-color: #1b2845;
}

button > a {
  text-decoration: none;
  color: white;
}

/* Services */
#services {
  text-align: center;
  padding: 42px;
}

#services > h2 {
  display: block;
  margin-bottom: 2rem;
  font-weight: bold;
  font-size: 30px;
}

#cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
  width: 270px;
  height: 450px;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition: transform 0.1s;
}

.card:hover {
  transform: scale(1.05);
}

.card h2 {
  padding: 10px;
}

.card p {
  padding: 10px;
  margin-bottom: 10px;
}

.card a {
  background-color: #335c81;
  color: white;
  padding: 15px 20px;
  display: block;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  text-decoration: none;
}

.card a:hover {
  background-color: #1b2845;
}

.card-img {
  height: 8rem;
  width: 13.5rem;
  background-color: aqua;
  /* margin-bottom: 15px; */
  background-size: cover;
  border-radius: 8px;
}

/* GSE */
.card-5 {
  background-image: url(/images/GSE.jpg);
}

/* Flight Permits */
.card-3 {
  background-image: url(/images/permits.jpg);
}

/* Refueling */
.card-1 {
  background-image: url(/images/fueling.jpg);
}

/* Ground Handling */
.card-2 {
  background-image: url(/images/ground_handling.jpg);
}

/* Charter Services */
.card-4 {
  background-image: url(/images/charter.jpg);
}

/* Aviation Spare Parts */
.card-6 {
  background-image: url(/images/spare_parts.jpg);
}

@media only screen and (max-width: 450px) {
  #cards {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

/* Objective */
#objective {
  text-align: center;
  padding: 42px;
  background-color: #000022;
  color: white;
}

#objective > h2 {
  font-size: 30px;
}

.objs {
  display: flex;
  justify-content: center;
}

.obj {
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background: white;
  width: 290px;
  height: 200px;
  margin: 50px;
  border-radius: 8px;
}

.obj-img img {
  height: 100px;
  width: 100px;
}

@media only screen and (max-width: 450px) {
  .objs {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
}

/* Clients */

.clients {
  text-align: center;
  border: 1px solid black;
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 42px;
  margin: 100px;
}

.client-img {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.clients > h2 {
  display: block;
  margin-bottom: 2rem;
  font-weight: bold;
  font-size: 30px;
}

.client-img > img {
  /* margin: 2rem; */
  flex-direction: row;
  flex-wrap: wrap;
  height: auto;
  width: 70%;
}

@media only screen and (max-width: 450px) {
  .clients {
    text-align: center;
    padding: 42px;
    margin: 100px;
    border: none;
    box-shadow: 0px 0px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .client-img > img {
    /* margin: 2rem; */
    flex-direction: row;
    flex-wrap: wrap;
    height: 8rem;
    width: 18rem;
  }
}

/* Footer */
.footer-distributed {
  background-image: linear-gradient(
      rgba(27, 40, 69, 0.8),
      rgba(27, 40, 69, 0.8)
    ),
    url(/images/footer.jpg);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  width: 100%;
  text-align: left;
  font: normal 16px sans-serif;
  padding: 45px 50px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.footer-distributed .footer-left p {
  color: #8f9296;
  font-size: 14px;
  margin: 0;
}
/* Footer links */

.footer-distributed p.footer-links {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  margin: 0 0 10px;
  padding: 0;
  transition: ease 0.25s;
}

.footer-distributed p.footer-links a {
  display: inline-block;
  line-height: 1.8;
  text-decoration: none;
  color: inherit;
  transition: ease 0.25s;
}

.footer-distributed .footer-links a:before {
  content: "·";
  font-size: 20px;
  left: 0;
  color: #fff;
  display: inline-block;
  padding-right: 5px;
}

.footer-distributed .footer-links .link-1:before {
  content: none;
}

.footer-distributed .footer-right {
  float: right;
  margin-top: 6px;
  max-width: 180px;
}

.footer-distributed .footer-right a {
  display: inline-block;
  width: 35px;
  height: 35px;
  background-color: #335c81;
  border-radius: 2px;
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  line-height: 35px;
  margin-left: 3px;
  transition: all 0.25s;
}

.footer-distributed .footer-right a:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}

.footer-distributed p.footer-links a:hover {
  text-decoration: underline;
}

/* Media Queries */

@media (max-width: 600px) {
  .footer-distributed .footer-left,
  .footer-distributed .footer-right {
    text-align: center;
  }
  .footer-distributed .footer-right {
    float: none;
    margin: 0 auto 20px;
  }
  .footer-distributed .footer-left p.footer-links {
    line-height: 1.8;
  }
}
