/* #region Main Styles */
:root {
  --primary100: #d3d2d2;
  --primary200: #a7a5a6;
  --primary300: #7b7979;
  --primary400: #4f4c4d;
  --primary500: #231f20;
  --primary600: #1c191a;
  --primary700: #151313;
  --primary800: #0e0c0d;
  --primary900: #070606;

  --main-padding: 32px 64px;
}

.body {
  font-size: var(--font-size-xxs);
  font-weight: 400;
}
.caption {
  font-size: 10px;
  font-weight: 300;
}

* {
  cursor: none;
}

h1 {
  font-size: 256px;
  font-weight: 900;
}

h2 {
  font-size: 96px;
  font-weight: 700;
}

h3 {
  font-size: 64px;
  font-weight: 700;
}

h4 {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary200);
}

h5 {
  font-size: 36px;
  font-weight: 300;
  color: var(--primary100);
}
h5.dark {
  color: var(--primary300);
}

h6 {
  font-size: var(--font-size-s);
  font-weight: 300;
  color: var(--primary400);
}

body {
  overflow-x: hidden;
  font-family: "Moranga";
}

span {
  color: var(--primary700);
}

button {
  color: var(--primary500);
  padding: 0 8px;
  font-size: 1rem;
  background-color: transparent;
  border: none;
  font-family: inherit;
}
button.button-2 {
  background-color: #ff2e09;
  color: white;
  padding: 8px 32px;
  height: 40px;
}

button:active {
  color: var(--primary100);
  background-color: var(--primary500);
}

.dark button,
.dark a.button {
  color: white;
}
.dark button:active,
.dark a.button.active {
  background-color: white;
  color: #070606;
}

a.button {
  color: var(--primary500);
  padding: 0 8px;
  font-size: 1rem;
}

a.button.active {
  background-color: var(--primary500);
  color: white;
}

path {
  stroke: #a7a5a6;
}

p {
  color: var(--primary200);
  width: 350px;
}
p.dark {
  color: var(--primary500);
}

.test {
  border: 1px solid red;
}
/* #endregion */

/* #region Common Styles */
.main-section {
  box-sizing: border-box;
  height: 100vh;
  padding: var(--main-padding);
  z-index: 0;
  /* border-top: 1px solid blue; */
}

.black-section {
  background-color: var(--primary900);
  color: white;
  overflow-x: hidden;
  z-index: 1;
}

.black-section h1,
.black-section span {
  color: white;
}

.top-round {
  background-image: url(../images/Intersect.svg);
  width: -webkit-fill-available;
  height: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
}

.circle {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background-size: cover;
}

.ring {
  width: 45px;
  height: 45px;
  border: 1px solid white;
  border-radius: 50%;
  display: none;
  position: absolute;
}

.blink {
  opacity: 0;
}
span.blink {
  position: absolute;
  font-size: 36px;
}
.hide {
  display: none;
}

span.bold {
  font-size: 128px;
  font-weight: 700;
}

h5.title {
  color: var(--primary100);
}
/*#endregion*/

/* #region Fixed Elements */
.left-menu-bar {
  width: min-content;
  left: 64px;
  margin: 32px 0;
  z-index: 2;
}

#btnSocial {
  align-self: end;
  writing-mode: sideways-lr;
  padding: 8px 0;
  right: 64px;
  z-index: 2;
}

#logo {
  width: 30px;
  height: 90px;
}

#logo img {
  width: inherit;
  height: inherit;
  position: absolute;
  top: 0;
}

.dark #logo img:last-child {
  opacity: 0;
}

#menuContainer {
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: start;
}

#actions {
  width: 58px;
  bottom: 32px;
  gap: 12px;
}

#overlayAnimationContainer {
  /* background: #ff000026; */
  top: 0;
  position: absolute;
  z-index: 1;
}

#overlayAnimationContainer svg {
  display: block;
  width: auto;
  height: auto;
}
/* #endregion */

/* #region p5JS */
#background,
#cursor {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#background canvas,
#cursor canvas {
  position: absolute;
  inset: 0;
}

#background {
  z-index: 0;
}

#cursor {
  z-index: 2;
}
/* #endregion */

/* #region Section 1*/
#mainTitle {
  z-index: 1;
}

#sec1Title {
  background-image:
    radial-gradient(circle 100px at 50% 50%, transparent 0px 0px, black 200px),
    url(../images/image_1.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: 0px;
  background-clip: text;
  color: transparent;
  padding: 0 32px;
}
/* #endregion */

/* #region Section 2 */
/* #endregion */

/* #region Section 3 */
#sec3Container span {
  color: var(--primary400);
}

#circle_1 {
  width: 395px;
  height: 395px;
}
#circle_2 {
  width: 526px;
  height: 526px;
}
#circle_2 {
  width: 395px;
  height: 395px;
}
/* #endregion */

/* #region Section 4 */
#sec4Container svg {
  position: absolute;
  width: 100vw;
  bottom: 64px;
}
#sec4Container span {
  position: absolute;
  font-size: 36px;
  color: white;
}
#ring_4_4 {
  width: 130px;
  height: 130px;
  top: 45%;
  left: 10%;
}
#ring_4_5 {
  width: 260px;
  height: 260px;
  left: 50%;
  top: 10%;
}
#ring_4_6 {
  width: 180px;
  height: 180px;
  top: 60%;
  left: 70%;
}
/* #endregion */

/* #region Section 5*/
#sec5Container svg {
  width: 200%;
  stroke-width: 1px;
  stroke: white;
}

.line-1 {
  filter: blur(4px);
}

#circle_5_1 {
  width: 585px;
  height: 585px;
  background-image: url("../images/img_plant.png");
}
/* #endregion */

/* #region Section 6*/
.hollow-text {
  color: #070606 !important;
  -webkit-text-stroke: 2px var(--primary400);
  transform: scaleX(-1);
  filter: blur(3px);
}
#sec6 h1 {
  position: absolute;
}
/* #endregion */

/* #region Section 8 (Latest work)*/
#sec8 svg {
  top: 0;
  left: 0%;
  height: 50%;
  width: 100%;
}
#sec8 .circle {
  width: 256px;
  height: 256px;
  background-color: red;
  display: none;
}
#sec8 span {
  color: var(--primary100);
}
.clickable {
}

#c0,
#c1 {
  background-image: url(../images/img_8_1.png);
}
#c2 {
  background-image: url(../images/img_8_2.png);
}
#c3,
#c4 {
  background-image: url(../images/img_8_3.png);
}
/* #endregion */

/* #region Section 9 */
.image-container {
  width: min-content;
}
#sec9 .circle {
  width: 570px;
  height: 570px;
  background-image: url(../images/img_goat.png);
  scale: 0;
}
/* #endregion */

/* #region Footer*/
#footer {
  position: relative;
}

#footer p {
  width: 1000px;
}

#footerBack {
  top: 20%;
}

#footerContent {
  width: 70%;
  height: auto;
  margin-top: 5%;
  z-index: 1;
  color: white;
}

.stat-item {
  display: flex;
  flex-direction: row;
}
.stat-item h6 {
  writing-mode: sideways-lr;
  text-align: center;
}

#footer .ring {
  width: 16px;
  height: 16px;
  border-color: var(--primary200);
  display: block;
  position: relative;
}

.footer-item {
  display: flex;
  flex-direction: row;
}
.footer-item h6 {
  writing-mode: sideways-lr;
  text-align: end;
}
.footer-item div {
  flex-direction: column;
  height: 100px;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: 12px;
}
/* #endregion */
