:root {
  --FontDark: #434343;
  /* --Primary: #f1f1f1; */
  --Primary: #f9edd8;
  --OneBitLight: #f0f6f0;
  /* --OneBitPink: #ebb5b5; */
  --OneBitPink: #ffbca6;
  /* --OneBitAqua: #b5ebe9; */
  --OneBitAqua: #d3eac1;
  --Border: #bfbfbf;
  --BorderContact: #98c3c2;

  --bar-width: 30px;
  --bar-height: 4px;
  --hamburger-gap: 3px;
  --hamburger-margin: 3.5%;
  --animation-timing: 200ms ease-in-out;
  --hamburger-height: calc(var(--bar-height) * 3 + var(--hamburger-gap) * 2);
}

@font-face {
  font-family: "SansSerif-BlbFLF";
  src: url("/assets/sansserifbldflf-webfont.woff2") format("woff2");
}

@font-face {
  font-family: "CenturyGothic-Bold";
  src: url("/assets/CenturyGothic-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "CenturyGothic";
  src: url("/assets/CenturyGothic.woff2") format("woff2");
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "CenturyGothic-Bold", Arial, Helvetica, sans-serif;
  color: var(--FontDark);
  background-color: var(--Primary);
  font-size: 24px;
  box-sizing: border-box;
}

body {
  opacity: 0;
  transition: all 0.5s ease-in;
}

.bold-font {
  font-family: "SansSerif-BlbFLF", Arial, Helvetica, sans-serif;
  font-weight: 100 !important;
}

.no-bold {
  font-family: "CenturyGothic", Arial, Helvetica, sans-serif !important;
  font-weight: 100 !important;
}

@media only screen and (max-device-width: 540px) and (orientation: portrait) {
  html,
  body {
    font-size: 18px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

h2 {
  text-transform: uppercase;
  font-weight: 100;
}

/* MATERIAL ICONS */

.material-icons {
  font-size: 32px;
  vertical-align: top;
  cursor: pointer;
}

/* HIDE SCROLLBAR */
html::-webkit-scrollbar {
  display: none;
}
html {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  scroll-behavior: smooth;
}

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

/* ANIMATE HOVER */

.animate-nav:before {
  content: "";
  position: absolute;
  background-color: var(--FontDark);
  top: 0;
  right: -10px;
  opacity: 0;
  bottom: 0;
  width: 150%;
  z-index: -1;
  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-nav {
  z-index: 999;
  position: relative;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-nav:hover {
  color: var(--Primary);
}

@media (hover: hover) and (pointer: fine) {
  .animate-nav:hover::before {
    opacity: 1;
  }
}
@media only screen and (max-device-width: 540px) and (orientation: portrait) {
  .animate-nav:hover {
    color: var(--FontDark);
  }
}

.animate-link {
  position: relative;
  cursor: pointer;
}

.animate-link::before {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--FontDark);
  transition: width 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (hover: hover) and (pointer: fine) {
  a.row:hover .animate-link::before {
    left: 0;
    right: auto;
    width: 100%;
  }

  .animate-link:hover::before {
    left: 0;
    right: auto;
    width: 100%;
  }
}

/* MAIN CONTAINER */

.main-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  min-height: 100vh;
}

.main-container .left-pane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.main-container .right-pane {
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  padding: 5vh 0px;
}

.left-pane,
.right-pane {
  width: 50%;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}

@media only screen and (max-device-width: 1024px) and (orientation: portrait) {
  #body .main-container {
    flex-direction: column;
    justify-content: space-evenly;
  }
  .left-pane,
  .right-pane {
    width: 100%;
  }
  #body .main-container .left-pane,
  #body .main-container .right-pane {
    min-height: initial;
    height: 50%;
    flex-direction: row;
  }
}

@media only screen and (max-device-width: 540px) and (orientation: portrait) {
  .main-container h2 br {
    display: none;
  }
  .main-container h2 {
    text-align: center;
  }
}

/* MOBILE TITLE BAR */
.mobile-title-bar {
  display: none;
}
@media only screen and (max-device-width: 540px) and (orientation: portrait) {
  .mobile-title-bar {
    display: block;
    /* text-align: center; */
    background-color: var(--FontDark);
    color: var(--Primary);
    padding: 4%;
    font-style: italic;
    font-size: 14px;
    position: fixed;
    width: 100%;
  }
}

/* HAMBURGER MENU */

.hamburger-menu {
  --x-width: calc(var(--hamburger-height) * 1.41421356237);
  z-index: 2;
  display: none;
  flex-direction: column;
  gap: var(--hamburger-gap);
  width: max-content;
  position: absolute;
  top: 1.8%;
  right: 5%;
  cursor: pointer;
  z-index: 999999;
  position: fixed;
}

.hamburger-menu:has(input:checked) {
  --foreground: white;
  --background: #333;
}

.hamburger-menu:has(input:focus-visible)::before,
.hamburger-menu:has(input:focus-visible)::after,
.hamburger-menu input:focus-visible {
  border: 1px solid var(--background);
  box-shadow: 0 0 0 1px var(--foreground);
}

.hamburger-menu::before,
.hamburger-menu::after,
.hamburger-menu input {
  content: "";
  width: var(--bar-width);
  height: var(--bar-height);
  background-color: var(--Primary);
  border-radius: 9999px;
  transform-origin: left center;
  transition: opacity var(--animation-timing), width var(--animation-timing),
    rotate var(--animation-timing), translate var(--animation-timing),
    background-color var(--animation-timing);
}

.hamburger-menu input {
  appearance: none;
  padding: 0;
  margin: 0;
  outline: none;
  pointer-events: none;
}

.hamburger-menu:has(input:checked)::before {
  rotate: 45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / -2);
  background-color: var(--FontDark);
}

.hamburger-menu:has(input:checked)::after {
  rotate: -45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / 2);
  background-color: var(--FontDark);
}

.hamburger-menu input:checked {
  opacity: 0;
  width: 0;
}

.sidebar {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  transition: translate var(--animation-timing);
  translate: -100%;
  /* padding: 0.5rem 1rem; */
  /* padding-top: calc(var(--hamburger-height) + var(--hamburger-margin) + 1rem); */
  background-color: var(--Primary);
  color: var(--background);
  width: 100vw;
  height: 100vh;
  z-index: 99999;
}

.hamburger-menu:has(input:checked) + .sidebar {
  translate: 0;
}

@media only screen and (max-device-width: 540px) and (orientation: portrait) {
  .hamburger-menu,
  .sidebar {
    display: flex;
  }
}

/* HOME PAGE */

#homePage {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
}

@media only screen and (max-device-width: 1024px) and (orientation: portrait) {
  #homePage {
    height: 100%;
  }
}

@media only screen and (max-device-width: 360px) and (orientation: portrait) {
  #body #homePage .left-pane {
    flex-direction: column;
    justify-content: end;
  }

  #body #homePage .left-pane .social-links {
    align-self: flex-end;
  }
}

/* HEADER */

.right-pane .logo {
  max-height: 90vh;
  margin-left: auto;
}

@media only screen and (max-device-width: 1024px) and (orientation: portrait) {
  .right-pane .logo {
    width: initial;
    max-height: 100%;
    max-width: 100%;
  }
  #homePage .right-pane {
    align-items: unset;
    justify-content: flex-end;
  }
}

/* NAVBAR */

nav {
  padding: 50px 10px 10px 50px;
}

.navMenu {
  font-size: 5vw;
  text-transform: uppercase;
}

@media only screen and (max-device-width: 540px) and (orientation: portrait) {
  .navMenu {
    font-size: 28px;
  }
  nav {
    padding: 0;
  }
  .left-pane nav {
    display: none !important;
  }
}

/* SOCIAL LINKS */
.social-links {
  position: relative;
  font-size: 3vw;
  padding: 0 10px 50px 50px;
}

.social-links ul {
  position: relative;
  z-index: 999;
  bottom: 0;
}

.social-links ul:before {
  content: "";
  position: absolute;
  background-color: var(--FontDark);
  top: -1px;
  right: 0;
  bottom: 0;
  width: 250%;
  z-index: -1;
}

@media only screen and (max-device-width: 1024px) and (orientation: portrait) {
  .social-links {
    padding: 50px 50px 0 0;
  }

  .social-links ul:before {
    left: -20px;
  }
}

@media only screen and (max-device-width: 540px) and (orientation: portrait) {
  .social-links {
    font-size: 1rem;
    padding: 50px 0 0 0;
    display: none;
  }
  .social-links ul:before {
    left: -10px;
  }
}

.social-links ul,
.social-links li {
  display: inline-block;
  color: var(--Primary);
  background-color: none;
  padding-right: 10px;
}

.social-links ul li {
  transition: all 0.2s ease-in;
  cursor: pointer;
}
.social-links ul li:hover {
  opacity: 0.7;
}

/* ABOUT ME */

#about-me {
  display: flex;
  flex-direction: row-reverse;
  background-color: var(--OneBitPink);
}

#about-me h2 {
  font-size: 12vw;
  margin: 0;
  align-self: flex-start;
}

#about-me .left-pane,
#about-me .right-pane {
  min-height: 90vh;
  padding: 50px;
}

@media only screen and (max-device-width: 410px) and (orientation: portrait) {
  #about-me .left-pane,
  #about-me .right-pane {
    padding-left: 10px;
    padding-right: 10px;
  }
}

#about-me .left-pane {
  justify-content: flex-end;
}

#about-me .left-pane article {
  align-self: flex-end;
  line-height: 50px;
}

@media only screen and (max-device-width: 1024px) and (orientation: portrait) {
  #about-me.main-container {
    flex-direction: column-reverse;
  }
  #about-me h2 br {
    display: none;
  }
}

@media only screen and (max-device-width: 540px) and (orientation: portrait) {
  #about-me.main-container .right-pane {
    justify-content: center;
  }
}

/* WORKSHOP */

#workshop {
  display: flex;
  flex-direction: row-reverse;
  background-color: #ffebbf;
}

#workshop .contact-encouragement {
  margin-top: 50px;
}

#workshop .contact-encouragement a {
  border-bottom: solid var(--FontDark) 2px;
}

#workshop .left-pane,
#workshop .right-pane {
  padding: 50px;
}

#workshop .right-pane {
  flex-direction: column;
}

@media only screen and (max-device-width: 1024px) and (orientation: portrait) {
  #body #workshop .right-pane {
    flex-direction: column;
  }
}

@media only screen and (max-device-width: 410px) and (orientation: portrait) {
  #workshop .left-pane,
  #workshop .right-pane {
    padding-left: 10px;
    padding-right: 10px;
  }
}

#workshop h2 {
  font-size: 12vw;
  width: 100%;
  word-wrap: break-word;
  margin: 0;
}

#workshop h2.sticky {
  position: sticky;
  position: -webkit-sticky;
  top: 10px;
}

.table .row {
  border-bottom: 1px solid var(--Border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
}

#workshop .table .row {
  flex-wrap: wrap;
}

.table .row:first-child {
  border-top: 1px solid var(--Border);
}

div.expandalbe {
  cursor: pointer;
}

div.expandalbe .info {
  max-height: 0;
  overflow: hidden;
  transition: all 0.2s ease-out;
}

div.expandalbe div.show {
  display: inline-block;
}

div.expandalbe div.expandButton {
  font-size: 30px;
}

div.expandalbe div.accordion p {
  line-height: 25px;
}

@media only screen and (max-device-width: 540px) and (orientation: portrait) {
  #workshop h2 br {
    display: none;
  }
}

/* CONTACT */

#contact {
  display: flex;
  flex-direction: row-reverse;
  min-height: 100vh;
  justify-content: space-between;
  background-color: var(--OneBitAqua);
}

#contact .right-pane {
  align-items: flex-start;
  padding: 50px;
}

#contact .left-pane {
  justify-content: flex-end;
  padding: 50px;
}

@media only screen and (max-device-width: 410px) and (orientation: portrait) {
  #contact .left-pane,
  #contact .right-pane {
    padding-left: 10px;
    padding-right: 10px;
  }
}

#contact h2 {
  font-size: 12vw;
  width: 100%;
  word-wrap: break-word;
  margin: 0;
}

#contact div.info {
  text-align: right;
}

#contact .table p.row {
  text-align: justify;
  /* text-decoration: underline; */
  letter-spacing: 0.2rem;
  margin: 0;
}

#contact .row .title {
  max-width: 40%;
}

@media only screen and (max-device-width: 1024px) and (orientation: portrait) {
  #contact.main-container {
    flex-direction: column-reverse;
    justify-content: space-evenly;
  }
  #body #contact.main-container .left-pane {
    flex-direction: column;
  }
  #about-me h2 br {
    display: none;
  }
}

.reverse {
  unicode-bidi: bidi-override;
  direction: rtl;
}

/* FOOTER */
.footer {
  width: 100%;
  text-align: center;
  position: relative;
  bottom: 0;
  font-size: 18px;
  background-color: var(--OneBitAqua);
}

@media only screen and (max-device-width: 540px) and (orientation: portrait) {
  .footer {
    font-size: 14px;
  }
}

.footer p {
  margin: 0;
  padding-bottom: 20px;
}

.footer p span {
  cursor: pointer;
}

/* privacy policy */
#privacy-policy {
  width: 100%;
  min-height: 100%;
  font-size: 12px;
  font-family: "CenturyGothic", Arial, Helvetica, sans-serif;
  position: fixed;
  top: 0;
  bottom: 0;
  overflow-y: scroll;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  left: 3000px;
  background-color: var(--Primary);
  z-index: 999;
  transition: all 0.4s ease-in-out;
}

#privacy-policy::-webkit-scrollbar {
  display: none;
}

#privacy-policy p {
  max-width: 100%;
  padding: 10px;
}

#privacy-policy p b {
  font-family: "CenturyGothic-Bold", Arial, Helvetica, sans-serif;
}

#privacy-policy .close-icon {
  position: sticky;
  position: -webkit-sticky;
  top: 10px;
  left: 100%;
  padding-right: 10px;
}

#privacy-policy .underline {
  border-bottom: 1px solid var(--FontDark);
}

#privacy-policy h3 {
  text-align: center;
  padding: 10px;
  font-family: "CenturyGothic-Bold", Arial, Helvetica, sans-serif;
}
