@font-face {
  font-family: "Aeonik";
  src: url("../fonts/Aeonik-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Aeonik Black";
  src: url("../fonts/Aeonik-Bold.ttf") format("truetype");
  font-weight: bolder;
  font-style: normal;
}

@font-face {
  font-family: "Aeonik Light";
  src: url("../fonts/Aeonik-Light.ttf") format("truetype");
  font-weight: lighter;
  font-style: normal;
}

html {
  line-height: 1;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  cursor: none;
  background: #fff5f5;
}

* {
  color: #000;
  --spacing: max(20px, 4vmin);
}


.frame {
  box-sizing: border-box;
  position: absolute;
  top: var(--spacing);
  right: var(--spacing);
  bottom: var(--spacing);
  left: var(--spacing);
  border: 2px solid #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.SiteHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: calc(var(--spacing));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2 * var(--spacing)*2); max-width: 1000px;
  box-sizing: border-box;
}

.logo {
  font-family: Aeonik Black;
  font-size: 40px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #3a3a3a;
}

nav {
  display: flex;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: calc(var(--spacing));
}

nav ul li a {
  font-family: Aeonik;
  text-decoration: none;
  font-size: 30px;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

nav ul li a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  border-radius: 10px;
  background: #000;
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

nav ul li a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

/* Element Positioning */
.SiteHeader,
nav ul li a,
.copyright {
  z-index: 1;
}

/* Mobile Nav Bar */
navmob {
  display: none;
}

#menu .link {
  text-decoration: none;
  color: #000;
  opacity:1;
  font-family: Aeonik;
  font-size: 30px;
  transition: 200ms;
}

.link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 5px;
  background-color: #000;
  bottom: -2px;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform .05s ease-in;
  transition: transform .2s ease-out;
}

.link:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}
.menu-list {
  list-style-type: none;
  text-align: right;
}

.menu-logo {
  color: #000;
  font-family: Aeonik;
  padding-top: 80px;
  padding-bottom: 30px;
  font-size: 40px;
  font-weight: bold;
  display: block;
}

.menu-text {
  color: #000;
  font-family: Aeonik;
  font-size: 10px;
}

#menuToggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  user-select: none;
}

#menuToggle input
{
  display: flex;
  width: 40px;
  height: 32px;
  position: absolute;
  opacity: 0;
  z-index: 3;
}

#menuToggle svg {
  height: 3em;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}


.line, .line-top-bottom {
  fill: none;
  stroke: #000;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  transition: stroke 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
  stroke-dasharray: 12 63;
}

#menuToggle input:checked ~ svg .line,
#menuToggle input:checked ~ svg .line-top-bottom {
  stroke: black;
}

#menuToggle input:checked ~ svg {
  transform: rotate(-45deg);
}

#menuToggle input:checked ~ svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}

#menu
{
  position: absolute;
  width: auto;
  height: fit-content;
  margin: 180px 0px 0 0px;
  padding-right: 0px;
  border-radius: 10px;
  background-color: #ffffff;
  transform-origin: 0% 0%;
  transform: translateX(400%);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  border: 2px solid #000;
}

.menu-item
{
  padding: 10px 10px;
  transition-delay: 2s;
}

#menuToggle input:checked ~ .menu-list
{
  transform: none;
  z-index: 1;
}

/* Custom Cursor Styles */
.custom-cursor-container {
  cursor: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  mix-blend-mode: exclusion;
  pointer-events: none;
  font-family: Aeonik;
}

.cursor {
  position: fixed;
  transform: translate(-50%, -50%);
  height: 20px;
  width: 20px;
  border-radius: 50%;
  pointer-events: none;
  border: 2px solid #fff;
}

.cursor-hover {
  position: fixed;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
}

.click-me {
  font-size: 15px;
  font-weight: normal;
  color: #fff;
  position: fixed;
  transform: translate(-7px, -38px);
  pointer-events: none;
  display: none;
}

/* Link Cursor hover effect */
.custom-cursor-container .cursor.hover {
  opacity: 0;
}

.custom-cursor-container:not(:hover) .cursor,
.custom-cursor-container:not(:hover) .cursor-hover {
  pointer-events: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.main-text {
  position: fixed;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2 * var(--spacing)*2);  max-width: 1000px;
  height: 70vh;
  min-height: 20vh;
  font-family: 'Aeonik';
  font-size: 25px;
  box-sizing: border-box;
  overflow-y: auto;
  opacity: 0;
  animation: fadeIn 1.2s ease-out forwards;
}

.main-text .text-original {
  display: block;
  margin-bottom: 20px;
}

.main-text .text-original:first-child {
  font-size: 50px;
}

.candid-text {
  position: fixed;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2 * var(--spacing)*2);  
  max-width: 1000px;
  height: 70vh;
  font-family: 'Aeonik';
  font-size: 25px;
  box-sizing: border-box;
  overflow-y: auto;
}

.candid-text .text-original {
  display: block;
  margin-bottom: 20px;
}

.serious-checkbox {
  cursor: pointer;
  display: flex;
  align-items: center;
  position: absolute;
  bottom: calc(var(--spacing) * 2);
  left: calc(50% - (1000px / 2));
  font-family: Aeonik;
}

.checkBox {
  cursor: pointer;
  width: 15px;
  height: 15px;
  border: 5px solid rgba(255, 255, 255, 0);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 0px 0px 3px #000;
  margin-right: 10px;
}

.checkboxLabel {
  cursor: pointer;
  font-size: 30px;
  color: #000;
}

.checkBox div {
  width: 30px;
  height: 30px;
  background-color: #000;
  top: -52px;
  left: -52px;
  position: absolute;
  transform: rotateZ(45deg);
  z-index: 1;
}

.checkBox input[type=checkbox]:checked + div {
  left: -10px;
  top: -10px;
}

.checkBox input[type=checkbox] {
  position: absolute;
  left: 50px;
  visibility: hidden;
}

.copyright {
  position: fixed;
  font-family: Aeonik;
  font-size: 20px;
  font-weight: normal;
  bottom: 0;
  left: 0;
  margin: calc(var(--spacing)/4) calc(var(--spacing));
  white-space: nowrap;
}

@media (max-width: 1100px) and (min-width: 768px) {
  .copyright {
    font-size: 18px;
  }

  .custom-cursor-container {
    cursor: none;
  }

  .custom-cursor-container .cursor {
    display: none;
  }

  body,
  * {
    cursor: pointer;
  }

  .serious-checkbox {
    left: calc(var(--spacing) * 2);
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 35px;
  }

  nav {
    display: none;
  }

  navmob {
    display: flex;
  }
  
  .copyright {
    font-size: 12px;
  }

  .custom-cursor-container {
    cursor: none;
  }

  .custom-cursor-container .cursor {
    display: none;
  }

  body,
  * {
    cursor: pointer;
  }

  .serious-checkbox {
    left: calc(var(--spacing) * 2);
  }
}