:root {
  --primary: #9a6c2e;
  --secondary: #fff;
  --success: #37be17;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --gray-100: #f7f7f7;
  --gray-200: #e7e6e6;
  --gray-300: #a7a5a6;
  --gray-400: #918f8f;
  --gray-500: #7b7979;
  --gray-600: #656262;
  --gray-700: #4f4c4d;
  --gray-800: #393536;
  --gray-900: #231f20;
  --border-radius: 0.15rem;
  --border-radius-lg: 0.3rem;
}

* {
  font-family: "Open Sans";
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Trajan";
}

h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

h3 {
  font-size: 1rem;
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

html,
body {
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
}

html {
  scroll-behavior: smooth;
}

.text-justify > p,
.text-justify > a,
.text-justify > li,
.text-justify > ol,
.text-justify > td,
.text-justify > ul {
  text-align: justify;
  hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
}

.text-center {
  text-align: center;
}

.m-0 {
  margin: 0;
}

.mt-3 {
  margin-top: 2rem;
}

.text-primary {
  color: var(--primary);
}

main {
  min-height: 100vh;
}

button,
.button {
  padding: 0.25rem 0.5rem;
  background-color: var(--secondary);
  color: var(--primary);
  cursor: pointer;
  border: none;
  border-radius: var(--border-radius);
}

button:hover,
.button:hover {
  background-color: var(--gray-100);
}

.button-outline {
  border: 1px solid var(--primary);
}

.button-primary {
  background-color: var(--primary);
  color: var(--secondary);
}

.button-primary:hover {
  filter: brightness(95%);
  background-color: var(--primary);
}

.button-lg {
  padding: 0.35rem 0.6rem;
  font-size: 1.25rem;
}

.card {
  padding: 1rem;
  margin-bottom: 10vh;
}

.card > img {
  width: 75px;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.main-background {
  background-image: url("/images/main-background-dark.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 300px;
}

header {
  border-bottom: 1px solid var(--gray-100);
}

header > .container {
  height: 5rem;
  padding: 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

header > .container > .navbar-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

header > .container > #navbar-content {
  display: none;
}

header > .container > #navbar-content.open {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 80px;
  width: 100%;
  padding: 0 1rem 1rem 1rem;
  background-color: var(--secondary);
  border-bottom: 1px solid var(--gray-100);
}

header > .container > #navbar-content.open > a {
  padding: 0.5rem 0;
}

header > .container img {
  height: 3rem;
  width: auto;
  margin-right: 2rem;
}

header a {
  color: var(--primary);
  padding: 0 0.5rem;
}

footer {
  background-color: var(--gray-100);
  padding: 1rem;
  color: var(--gray-600);
  text-align: center;
}

footer > div {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
}

footer > div > a {
  margin: 0 0.5rem;
  color: var(--primary);
}

footer p {
  margin-bottom: 0;
}

.container {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.text-container {
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}

.text-container > h2 {
  font-weight: 700;
}

section {
  margin-bottom: 2rem;
}

.main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  height: 100%;
  width: 100%;
}

.main-content > h1 {
  color: var(--secondary);
  text-align: center;
  font-weight: 700;
  font-size: 1.75rem;
}

.service-card {
  border-radius: var(--border-radius-lg);
  background-color: var(--gray-100);
  padding: 1rem;
  color: var(--primary);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  transition: background-color 0.1s;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.impress-table tr {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.service-card:hover {
  background-color: var(--gray-200);
  text-decoration: none;
}

.service-card > svg {
  padding-right: 0.5rem;
  width: 3rem;
}

.iso {
  display: block;
  margin: 1rem auto;
}

@media only screen and (min-width: 800px) {
  .card {
    padding: 2rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  h1 {
    font-size: 2rem;
  }

  footer > a {
    font-size: 1rem;
  }

  .card > img {
    width: 100px;
  }

  .container {
    max-width: 1100px;
  }

  .text-container {
    max-width: 800px;
  }

  .text-container > h2 {
    font-size: 2rem;
  }

  header > .container {
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    flex-direction: row;
  }

  header > .container #navbar-toggler {
    display: none;
  }

  header > .container > #navbar-content {
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    align-items: center;
    width: 100%;
  }

  header > .container > .navbar-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: auto;
  }

  .main-background {
    height: 70vh;
  }

  .main-content > h1 {
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    font-size: 3rem;
  }

  .service-container {
    display: flex;
    width: 100%;
    min-height: 15vh;
    align-items: center;
    gap: 1rem;
  }

  .service-container > .service-card {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0rem;
  }

  .impress-table tr {
    display: inherit;
  }

  .text-container {
    font-size: 1.25rem;
  }
}
