@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Rethink+Sans:ital,wght@0,400..800;1,400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  --scale-factor: calc(100vw / 600px);
}

html {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  background-color: #ffffff;
  height: 100vh;
  margin: 0;
}

main {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;

  /* height: 100%; */

  font-family: 'Rethink Sans', Georgia, serif;
  color: #222222;

  height: 100vh;
  overflow-y: scroll;
  overflow-x: hidden;
}

#canvas-container {
  max-width: 100vw;
  /* transform:scale(2.0); */
  transform: scale(var(--scale-factor));

  pointer-events: none;
}

main::-webkit-scrollbar {
  width: 12px;
}

main::-webkit-scrollbar-track {
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.18);
  border: 1px solid #cacaca;
}

main::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: 3px solid transparent;
  background-clip: content-box;
  background-color: rgba(0, 0, 0, 0.45);
}

.big-heading {
  font-size: 108px;
  letter-spacing: 2rem;
}

.small-heading {
  font-size: 32px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.54);
  transform: translate(0px, 0px);
  transition: transform 111ms ease-in-out;
}

.big-text {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.medium-text {
  font-family: 'Rethink Sans', Georgia, serif;
  font-size: 32px;
  font-weight: bold;
  font-style: normal;
  text-align: left;
  color: rgba(50, 50, 50);
  padding-left: 0px;
}

a {
  color: black;
  text-decoration: underline dotted rgba(0, 0, 0, 0.54);
}

a:hover {
  text-decoration: underline;
}

h1 {
  font-size: 42px;
}

.main-section {
  max-width: 800px;
  margin: 0 40px;
  margin-bottom: 60px;
}

.minor-text {
  opacity: 0.72;
}

.big-text {
  font-size: 32px;
}

.lockup {
  display: inline-block;
  transform: rotateZ(0);
  transform-origin: top left;
  transition: transform 333ms ease-out;
  font-weight: bold;
}

.lockup:hover {
  transform: rotateZ(15deg);
  transition-timing-function: ease-in;
  transition-duration: 3s;
}

#about {
  border: 1px solid rgba(150, 150, 150);
  padding: 64px;
  margin-bottom: 120px;
}

#projects {
  display: grid;
  grid-template-columns: auto;
  row-gap: 64px;
  margin-bottom: 160px;

  padding: 32px;
  box-shadow: 0px 0px 40px rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.project-holder {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  column-gap: 16px;
}

.project-number {
  font-size: 54px;
  font-weight: bold;
  color: rgba(50, 50, 50, 0.72);
}

.project-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.project-name {
  font-size: 54px;
  font-weight: bold;
}

.project-desc {
  font-size: 20px;
}

.cooking {
  font-size: 32px;
  justify-content: center;
  font-weight: bold;
  color: rgba(50, 50, 50, 0.72);
  margin-bottom: 24px;
  text-align: center;
}

/*background-image: linear-gradient(
  45deg,
  hsl(0deg 0% 100%) 0%,
  hsl(198deg 100% 98%) 11%,
  hsl(198deg 100% 96%) 22%,
  hsl(197deg 100% 93%) 33%,
  hsl(197deg 100% 91%) 44%,
  hsl(197deg 100% 89%) 56%,
  hsl(197deg 100% 86%) 67%,
  hsl(196deg 100% 83%) 78%,
  hsl(196deg 100% 81%) 89%,
  hsl(196deg 100% 78%) 100%
);*/

.filler {
  flex-grow: 1;
}

footer {
  text-align: center;
  padding-bottom: 12px;
}

@media only screen and (max-width: 600px) {
  #canvas-container {
    height: 300px;
  }

  #about {
    font-size: 20px;
    padding: 32px;
  }
}