/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
  background: #ffffff;
  color: #020c1b;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1rem 0;
}

h1 {
  font-size: 2rem;
}

h2,
h3 {
  font-size: 1.8rem;
}

p {
  font-size: 1.6rem;
  margin: 1rem 0;
}

a {
  text-decoration: none;
}

/* Utils */

.content-container {
  max-width: 100rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.main {
  width: 100%;
  flex: 1;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Menu */

.main-nav {
  background: #020c1b;
  color: #fff;
  padding: 3rem 0;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}

.menuItem {
  padding: 1rem;
}

.menu li a {
  color: #fff;
  /* padding: 2rem; */
}

.menu li:first-child {
  padding-left: 0;
}

.menu li a:hover {
  text-decoration: underline;
}

.menuIcon {
  display: none;
  order: 1;
}

.menuButton {
  background-color: #020c1b;
  outline: none;
  border: none;
}

.menuButton div {
  width: 2.5rem;
  height: 0.3rem;
  background-color: #fff;
  margin: 0.5rem 0;
  border-radius: 0.3rem;
}

.logo-container {
  display: flex;
  align-items: center;
  flex: 1;
}

.logo {
  display: inline-block;
  max-width: 4rem;
  height: 100%;
  margin-right: 0.5rem;
  /* flex: 1; */
}

.branding {
  display: flex;
  align-items: center;
}

.branding h2 {
  font-size: 2.5rem;
  margin: 0;
}

.header {
  padding: 0 0 5rem;
  background: #020c1b;
  color: #fff;
}

.header-inner {
  display: flex;
  justify-content: space-between;
}

.header-primary {
  display: flex;
  flex-direction: column;
}

.header-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
}

.features {
  margin-bottom: 3rem;
  list-style: none;
}

.feature {
  margin-bottom: 1rem;
}

.feature::before {
  content: "\2713";
  padding-right: 0.5rem;
}

.header-secondary {
  display: flex;
  align-items: flex-end;
}

.header-secondary img {
  display: inline-block;
  max-height: 60vh;
  width: auto;
}

.header-secondary .image-secondary {
  max-height: 50vh;
  margin-left: -1.5rem;
}

.gallery-container {
  position: relative;
}

.gallery {
  margin-bottom: 2rem;
  overflow: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery-image {
  display: inline-block;
  border-radius: 0.5rem;
  margin-right: 1rem;
  height: 100%;
  width: auto;
}

button.previous,
button.next {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  padding: 0.5rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: 0;
  outline: 0;
  cursor: pointer;
}

button.previous {
  left: 0;
}

button.next {
  right: 0;
}

button.displayBlock {
  display: block;
}

.footer {
  background: #020c1b;
  color: #fff;
  display: flex;
  justify-content: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer ul {
  list-style: none;
  display: flex;
}

.footer ul li {
  padding: 1rem;
}

.footer ul a {
  color: #fff;
  font-size: 1.2rem;
}

.footer ul a:hover {
  text-decoration: underline;
}

/* Contact Form */

form {
  margin: 5rem 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
}

.form-group label::after {
  content: ":";
  margin-left: 2px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #020c1b;
}

textarea {
  resize: vertical;
}

.submit-button {
  background-color: #020c1b;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1.6rem;
}

/* Media Queries */

@media only screen and (max-width: 768px) {
  .header-secondary img {
    max-height: 40vh;
  }

  .header-secondary .image-secondary {
    max-height: 30vh;
  }
}

@media only screen and (max-width: 767px) {
  .header-primary {
    width: 100%;
  }

  .branding h2 {
    font-size: 1.8rem;
  }

  .logo {
    max-width: 3rem;
  }

  .header-content {
    align-items: center;
  }

  .header-content h1 {
    margin: 2rem 0;
    font-size: 1.6rem;
    text-align: center;
  }

  .cta-image {
    max-width: 20rem;
  }

  .header-secondary {
    display: none;
  }

  .features {
    display: none;
  }

  p {
    font-size: 1.4rem;
  }
}

@media only screen and (max-width: 768px) {
  .menu {
    flex-flow: row wrap;
  }

  .menuIcon {
    display: block;
    order: 1;
  }

  .menuItem {
    display: none;
    width: 100%;
    text-align: center;
    margin-right: 0;
    order: 2;
  }

  .mobileMenu li:nth-child(2) {
    padding-top: 2rem;
  }

  .mobileMenu .menuItem {
    display: block;
  }

  .header {
    padding: 0 0 2rem;
  }
}
