:root {
  --primary-color: #a56945;
  --secondary-color: #d9c9b2;
  --tertiary-color: #fefefe;
  --link-hover-color: #6c6ea0;
}

/* @font-face {
  font-family: Futurademic;
  src: url(resources/fonts/Futurademic.otf);
}

@font-face {
  font-family: Prompt;
  src: url(resources/fonts/Prompt/Prompt-Regular.ttf);
}

@font-face {
  font-family: PromptBold;
  src: url(resources/fonts/Prompt/Prompt-Bold.ttf);
}

@font-face {
  font-family: Encode;
  src: url(resources/fonts/encode-sans/EncodeSans-Regular.ttf);
}

@font-face {
  font-family: EncodeBold;
  src: url(resources/fonts/encode-sans/EncodeSans-Bold.ttf);
} */

@font-face {
  font-family: Lora;
  src: url(resources/fonts/Lora-VariableFont_wght.ttf);
}

* {
  transition-duration: 0.1s;
  scroll-behavior: smooth;
  font-family: Lora;
  background-color: var(--tertiary-color);
}

h1 {
  font-size: 2.5rem;
  font-family: Lora;
  margin-bottom: 2.5rem;
}

h4 {
  font-size: 1.3rem;
  margin: 10px 0;
}

p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 2.2rem;
  text-align: left;
}

ul {
  text-align: left;
  font-size: 1.2rem;
  margin-bottom: 2.2rem;
  line-height: 2.2rem;
  max-width: 1000px;
}

li {
  font-size: 1.2rem;
}

a {
  color: var(--primary-color);
  text-decoration: underline;
}

a:hover {
  color: var(--link-hover-color);
}

section {
  padding: 2rem;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#start {
  margin: 0;
  padding: 0;
  position: relative;
  height: 100vh;
  flex-flow: row;
  align-items: normal;
  justify-content: left;
  text-align: left;
}

.navbar {
  height: inherit;
  width: 25%;
  background-color: var(--secondary-color);
  position: absolute;
  box-shadow: 10px 10px 5px rgba(217, 201, 178, 0.3);
  /* display: flex; */
  flex-direction: column;
  justify-content: space-around;
}

.navbar-nav {
  background-color: var(--secondary-color);
  max-height: 75%;
}

.nav-logo {
  height: 15%;
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: var(--secondary-color);
}

.nav-logo img {
  background-color: var(--secondary-color);
  height: 100%;
  margin: 0 auto;
}

.nav-burger {
  position: absolute;
  top: 20px;
  right: 20px;
  display: block;
  height: 45px;
  width: 50px;
  display: none;
  z-index: 999;
}

.burger {
  width: 40px;
  height: 6px;
  margin: 6px 5px;
  background-color: #8e6e53;
}

.burger-top {
  transform-origin: bottom left;
}

.burger-mid {
  transform-origin: left;
}

.burger-bottom {
  transform-origin: top left;
}

.nav-burger-open {
  background-color: var(--secondary-color);
}

.nav-burger-open .burger-top {
  transform: translateX(7px) rotate(45deg) scaleX(0.8);
}

.nav-burger-open .burger-mid {
  transform: scale(0);
}

.nav-burger-open .burger-bottom {
  transform: translateX(7px) rotate(-45deg) scaleX(0.8);
}

.nav-item {
  margin: 5px 20%;
  background-color: var(--secondary-color);
}

.nav-link {
  color: var(--primary-color);
  font-family: Lora;
  font-size: 1.1rem;
  font-weight: 600;

  text-decoration: none;
}

.nav-link:hover {
  color: var(--link-hover-color);
}

.nav-socials {
  display: flex;
  width: 100%;
  margin-bottom: 1rem;
  padding-left: 20%;
  height: 40px;
  background-color: var(--secondary-color);
}

.nav_contact_link {
  /* margin: 1rem; */
  /* width: 400px; */
  display: flex;
  justify-content: flex-start;
  /* align-items: center; */
}

.nav-socials img {
  background-color: var(--secondary-color);
  margin: 0;
}

#main_photo_container {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: start;
  flex-grow: 1;
  max-height: 100vh;
  width: 75%;
  margin-left: 25%;
}

#main_photo {
  max-height: 100%;
  max-width: 100%;
}

#logo {
  max-width: 400px;
  height: auto;
}

.section_divider {
  height: 20px;
  /* width: 100%; */
  /* background-color: #F33; */
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}

.section_divider_line {
  height: 3px;
  width: 80%;
  /* background-color: #333; */
  background-color: var(--link-hover-color);
}

.divider {
  /* margin-bottom: 1rem; */
  margin: 0 auto 1rem auto;
  height: 1px;
  width: 30%;
  background-color: #999;
}

.content_wrapper {
  max-width: 1000px;
  width: 100%;
}

#section_1 {
  background-color: antiquewhite;
}

.mw500 {
  max-width: 500px;
}

.makijaz_table_wrapper {
  max-width: 1100px;
  padding: 20px;
  margin: 5px auto;
}

.makijaz_table_header {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 5px 0;
  text-align: center;
}

.makijaz_table_header:first-child {
  text-align: left;
}

.makijaz_table_header:nth-child(3) {
  text-align: right;
}

.gallery_wrapper {
  max-width: 1200px;
}

.image_gallery {
  /* display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px; */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  grid-auto-flow: dense;
  gap: 10px;
}

.image_gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image_gallery a.four-grid-cells {
  grid-row: span 2 / auto;
  grid-column: span 2 / auto;
}

.image_gallery a.wide-image {
  grid-column: span 2 / auto;
}

img:target {
  border: 5px solid red;
}

.team_photo {
  max-width: 80%;
  height: auto;
  border-radius: 50px 2px;
}

.booksy_wrapper {
  width: 100%;
  margin: 3rem;
}

.booksy_wrapper a {
  margin: auto 0;
  height: 80%;
}

.booksy_wrapper a:hover {
  transform: scale(1.1);
}

.booksy_wrapper img {
  margin: 0 20px;
  max-height: 50px;
  translate: 0 -3px;
}

.contact_link {
  margin: 1rem;
  width: 400px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-decoration: none;
}

.contact_icon {
  max-height: 60px;
  margin: 0 1rem;
}

.contact_link p {
  margin: 0;
}

#lightbox {
  position: fixed;
  /* keeps the lightbox window in the current viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
}

#lightbox_content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightbox img {
  box-shadow: 0 0 25px #111;
  max-width: 90vh;
  max-height: 90vh;
}

#attribution {
  font-size: 0.7rem;
  text-decoration: none;
  text-align: center;
  width: 100vw;
}

@media only screen and ((max-width: 1350px) or (orientation: portrait)) {
  h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 10px 0;
  }

  p {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 2rem;
  }

  ul {
    text-align: left;
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 2rem;
    max-width: 100vw;
  }

  li {
    font-size: 1rem;
  }

  section {
    padding: 1.5rem;
  }

  .nav-burger {
    display: inline;
  }

  .navbar {
    /* display: none; */
    opacity: 0;
    z-index: -10;
    width: 100%;
  }

  .navbar-open {
    /* display: flex; */
    opacity: 1;
    z-index: 10;
  }

  #main_photo_container {
    justify-content: flex-end;
  }

  .makijaz_table_header {
    text-align: center !important;
  }
}

@media only screen and (max-width: 850px) {
  #main_photo_container {
    flex-direction: column-reverse;
    align-items: center;
    margin: 0;
  }

  #logo {
    height: 20%;
    object-fit: cover;
  }

  #main_photo {
    object-fit: cover;
    height: 100%;
  }
}
