* {
  box-sizing: border-box;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
section, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

body {
  font-family: "Rubik", "Roboto", sans-serif;
  background-color: #fefefe;
}

html, body {
  width: 100%;
  height: 100%;
  line-height: 1.6;
}

section, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

ul, ol {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

a {
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s linear;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  font-weight: 500;
  font-family: "Poppins", "Roboto", sans-serif;
  margin: 1.5rem 0;
}

h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.1rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.8rem;
}

p {
  margin: 1.5em 0;
}

::selection,
::-moz-selection {
  background-color: #ffdca6;
  color: hsl(227, 15%, 30%);
}

img,
svg {
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
}

.container {
  width: 100%;
  background-color: #fefefe;
}

.wrapper {
  max-width: 960px;
  min-width: 0px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
}

.section-header {
  margin-bottom: 2rem;
  display: block;
}
.section-header h1 {
  margin: 0;
  font-size: 1.8em;
  font-weight: 500;
  color: hsl(227, 15%, 30%);
}
.section-header h2 {
  margin-top: 0;
  margin-bottom: 1.1rem;
  padding-bottom: 0.4rem;
  display: inline-block;
  font-size: 0.9em;
  font-weight: 600;
  color: #8d909a;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 3px solid #e2e2e5;
}

.section-content {
  color: #767a86;
}
.section-content > :first-child {
  margin-top: 0;
}

#about .wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2em;
}
#about .section-content {
  flex-grow: 1;
  flex-basis: 60%;
}
#profiles {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5em;
}
#profiles .profile {
  min-width: 150px;
  min-height: 150px;
  flex-shrink: 1;
  flex-grow: 1;
  flex-basis: 0;
}
#profiles .profile .picture {
  max-height: 250px;
  display: block;
  margin: 0 auto;
  user-select: none;
  max-width: 50vw;
}
#profiles .profile .name {
  color: #fefefe;
  background-color: hsl(227, 15%, 30%);
  display: inline-block;
  transform: translate(-50%, 0%);
  font-family: "Poppins", "Roboto", sans-serif;
  font-size: 0.9em;
  letter-spacing: 0.5px;
  text-wrap: nowrap;
  white-space: nowrap;
  padding: 0.25em 0.75em;
  border-radius: 0.25em;
  position: relative;
  left: 50%;
  bottom: 15%;
  margin: 0;
}

#contact {
  background-color: #f8f8f9;
  border-top: 6px solid #f5f5f6;
  border-bottom: 6px solid #f5f5f6;
}

#contact-info {
  margin-top: 2rem;
}
#contact-info li {
  display: flex;
  align-items: start;
  flex-direction: row;
  margin-bottom: 1rem;
}
#contact-info li a {
  display: flex;
  flex-direction: row;
  color: hsl(227, 15%, 30%);
  text-decoration: underline;
  text-decoration-color: #f29400;
  text-decoration-thickness: 2px;
}
#contact-info li a svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: #767a86;
  transition: fill 0.15s linear;
  transform: translateY(3px);
  margin-right: 1rem;
}
#contact-info li a p {
  margin: 0;
  padding: 0;
  transition: color 0.15s;
}
#contact-info li a:hover svg {
  fill: #f29400;
}
#contact-info li a:hover p {
  color: #f29400;
}

#intro {
  background-color: #f29400;
  background-image: url("../assets/background-intro.webp");
  background-attachment: scroll;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-bottom: 6px solid #fce9cb;
}
#intro .wrapper {
  padding-top: 2rem;
  padding-bottom: 6rem;
}

#navigation {
  display: flex;
  flex-direction: row;
  flex-grow: 0;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 6rem;
}
#navigation .logo {
  max-height: 1.5rem;
}
#navigation .links {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: end;
}
#navigation .links a {
  line-height: 1;
  flex-grow: 0;
  color: #fefefe;
  text-decoration: underline;
  text-decoration-color: rgba(254, 254, 254, 0);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
#navigation .links a:hover {
  text-decoration-color: rgb(254, 254, 254);
}

#intro-content {
  color: #fefefe;
  text-align: center;
}
#intro-content h1,
#intro-content p {
  text-align: center;
  padding: 0;
  display: block;
}
#intro-content h1 {
  font-size: 3rem;
  font-weight: 300;
  margin: 0;
  text-shadow: 0px 2px 0px rgba(0, 0, 0, 0.075);
}
#intro-content p {
  font-size: 1.1rem;
  margin: 3rem 0;
  text-shadow: 0px 2px 0px rgba(0, 0, 0, 0.075);
}
#intro-content #intro-button {
  font-size: 0.9em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 0.5em 1.75em;
  border: 2px solid #fefefe;
  text-decoration: none;
  color: #fefefe;
  border-radius: 0.25rem;
  transition: background-color 0.15s linear;
  background-color: rgba(254, 254, 254, 0);
}
#intro-content #intro-button:hover {
  color: #f29400;
  background-color: rgb(254, 254, 254);
}

#google-maps {
  min-height: 400px;
  background-color: #d7deeb;
}

#quote {
  background-color: #f29400;
  background-image: url("../assets/background-quote.webp");
  background-attachment: scroll;
  background-size: cover;
  background-position: center;
  border-top: 6px solid #fce9cb;
  border-bottom: 6px solid #fce9cb;
  color: #fefefe;
  text-align: center;
  padding: 0;
}
#quote blockquote {
  position: relative;
}
#quote h1 {
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0 1.5rem 2rem 1.5rem;
  line-height: 1.6;
  display: block;
}
#quote h2 {
  font-size: 1rem;
  letter-spacing: 0.5px;
  display: block;
  margin: 0;
  opacity: 0.8;
}
#quote b {
  font-weight: 600;
}

.quote-symbol {
  max-width: 2rem;
  max-height: 2rem;
  position: absolute;
  opacity: 0.35;
  display: block;
}
.quote-symbol.quote-left {
  left: -0.5em;
  top: -0.5em;
}
.quote-symbol.quote-right {
  bottom: -0.5em;
  right: -0.5em;
}

#back-to-top, #back-to-top:focus {
  position: fixed;
  right: 0px;
  bottom: 0px;
  margin: 1.25rem;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #f29400;
  border: 4px solid #fefefe;
  transition: background-color 0.15s linear, border-color 0.15s linear, opacity 0.15s linear;
  box-shadow: 0px 0.5rem 0.5rem rgba(0, 0, 0, 0.15);
  border-radius: 100%;
  opacity: 0;
  pointer-events: unset;
  cursor: pointer;
}
#back-to-top svg, #back-to-top:focus svg {
  fill: #fefefe;
  transition: fill 0.15s linear;
}
#back-to-top:hover, #back-to-top:focus:hover {
  background-color: #fefefe;
  border-color: #f29400;
}
#back-to-top:hover svg, #back-to-top:focus:hover svg {
  fill: #f29400;
}

.back-to-top-active {
  opacity: 1 !important;
  pointer-events: none;
  cursor: default;
}

@media only screen and (max-width: 640px) {
  .wrapper {
    padding: 3rem 1.5rem;
  }
  #navigation {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    gap: 2em;
  }
  #navigation .links {
    gap: 1.2rem;
  }
  #navigation .logo {
    max-height: 1.725rem;
  }
  #intro-content h1 {
    font-size: 2.7rem;
  }
  #quote h1 {
    font-size: 1.575rem;
  }
}
