@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@300;500&display=swap');

:root {
  font-family: var(--text-font-family);
  font-size: 14px;
  color: var(--text-color);
  --text-font-family: 'Open Sans', sans-serif;
  --title-font-family: 'Montserrat', sans-serif;
  --title-color: #aaa;
  --text-color: #555;
  --container-size: 1080px;
}

html, body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

p {
  line-height: 1.5em;
  text-align: justify;
}

a {
  color: #333;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  display: block;
  width: 1080px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  padding: 20px;
  background-color: #ffffff;
  z-index: 10001;
}

.header-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  width: var(--container-size);
  max-width: 100%;
  height: 100%;
}

.header-logo {
  height: 100%;
}

.header-logo img {
  max-height: 100%;
}

.header-menu-button button {
  border: 0;
  background-color: transparent;
  font-size: 2rem;
  color: #777;
}

.header-menu {
  position: fixed;
  display: none;
  top: 85px;
  left: 0;
  background-color: #fff;
  list-style-type: none;
  margin: 0;
  padding: 20px;
  width: 100%;
  overflow: hidden;
}

.header-menu li a {
  display: block;
  text-decoration: none;
  color: #777;
  font-weight: bold;
  padding: 10px;
  border-bottom: 1px solid #aaa;
}

.header-menu li img {
  height: 1rem;
}

main {
  margin-top: 85px;
}

.home-slider .slick-dots {
  bottom: 10px;
}

.slick-initialized .home-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 500px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 1rem;
  font-family: var(--title-font-family);
  font-weight: 600;
}

.slick-dots button::before {
  color: transparent;
  text-shadow: 1px 1px 0 #ffffff,
               -1px 1px 0 #ffffff,
               -1px -1px 0 #ffffff,
               1px -1px 0 #ffffff;
}

.home-slide-quote {
  color: #ffffff;
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1.5em;
  margin: 0;
  text-shadow: 1px 1px 0 #000000;
  letter-spacing: 1px;
}

.home-slide-quote::before {
  content: '\201c';
}

.home-slide-quote::after {
  content: '\201d';
}

.home-slide-quote-author {
  color: #ffffff;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.5em;
  font-style: italic;
  margin: 0;
  text-shadow: 1px 1px 0 #000000;
}

.home-description {
  margin-top: 5rem;
  margin-bottom: 5rem;
  font-size: 1.3rem;
  line-height: 1.5em;
}

.home-subtitle {
  display: block;
  width: 80%;
  margin-top: 4em;
  margin-bottom: 3em;
  font-family: var(--title-font-family);
  color: var(--title-color);
  border-bottom: 2px solid var(--title-color);
  text-transform: uppercase;
  text-align: right;
  font-size: 1.5rem;
  padding-bottom: 0.75em;
}

.project-title {
  display: block;
  width: 75%;
  margin-top: 4em;
  margin-bottom: 3em;
  font-family: var(--text-font-family);
  font-weight: 400;
  color: var(--text-color);
  border-bottom: 2px solid var(--title-color);
  text-transform: uppercase;
  text-align: right;
  font-size: 1rem;
  padding-bottom: 0.75em;
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
}

.col-half,
.col-fourth,
.col-fifth {
  flex-basis: 100%;
  width: 100%;
}

.project-row>div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-logo {
  display: block;
  margin: 0 auto;
}

footer {
  background-color: #000;
  padding: 2rem 3rem;
  color: #fff;
  font-size: 0.75rem;
  margin-top: 2rem;
}

footer p {
  margin: 0;
  text-align: center;
}

footer a {
  color: #fff;
}

.footer-flex-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-flex-row,
footer .row {
  margin-top: 2em;
  margin-bottom: 2em;
}

footer .row .col-fourth,
footer .row .col-fifth {
  margin-top: 1rem;
  margin-bottom:1rem
}

footer p img {
  vertical-align: middle;
}

.contact-atf {
  padding-top: 8rem;
  padding-bottom: 8rem;
  font-size: 1.4rem;
  line-height: 1em;
}

.contact-atf p {
  margin: 0;
  text-align: center;
}

.contact-row {
  flex-direction: column;
}

.contact-row .col-half {
  padding-left: 1rem;
  padding-right: 1rem;
}

.contact-row .contact-office table {
  margin: 2em auto;
}

form input[type="text"],
form textarea {
  width: 100%;
}

form input[type="text"],
form input[type="tel"],
form input[type="email"] {
  background-color: #eee;
  border: medium none;
  color: #000;
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 18px;
  padding: 16px 20px;
  box-shadow: 0px 7px 10px -5px rgb(0 0 0 / 30%);
  width: 100%;
}

form textarea {
  background-color: #eee;
  border: medium none;
  color: #aaaaaa;
  font-size: 14px;
  font-weight: normal;
  height: 100px;
  padding: 16px 20px;
  width: 100%;
  box-shadow: 0px 7px 10px -5px rgb(0 0 0 / 30%);
  resize: vertical;
}

form ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

form ul li {
  margin: 1rem 0;
}

form input[type="checkbox"] {
  margin-right: 1rem;
}

form button[type="submit"] {
  color: #000;
  background: rgba(239,239,239,0.99);
  border-width: 0px;
  border-color: #000000;
  border-radius: 9px;
  background-color: rgba(239,239,239,0.99);
  box-shadow: 0px 9px 20px -8px rgb(0 0 0 / 30%);
  width: 170px;
  font-size: 22px;
  margin-top: 20px;
  text-transform: uppercase;
}

.contact-office i.fas {
  font-size: 2rem;
  margin-right: 0.2em;
}

.contact-office h3 {
  line-height: 2rem;
  margin-top: 0;
}

.contact-office p {
  margin: 0;
}

.contact-office td {
  vertical-align: top;
}

@media (min-width: 768px) {

  .header-menu-button {
    display: none;
  }

  .header-menu {
    display: flex;
    position: relative;
    flex-direction: row;
    top: unset;
    padding: unset;
    width: unset;
  }

  .header-menu li {
    padding: 0 0.5rem;
  }

  .header-menu li a {
    border-bottom: 0;
  }

  .home-subtitle {
    width: 35%;
  }

  .col-half {
    flex-basis: 50%;
    width: 50%;
  }

  .col-fourth {
    flex-basis: 25%;
    width: 25%;
  }

  .col-fifth {
    flex-basis: 20%;
    width: 20%;
  }

  .footer-flex-row {
    flex-direction: row;
  }

  .contact-row {
    flex-direction: row;
  }

  footer p {
    text-align: left;
  }

}
