@import "https://cdn.jsdelivr.net/npm/tailwindcss@2.2.16/dist/tailwind.min.css";

/* Font extra light */

@font-face {
  font-family: "Circe_extra_light";
  /* Name to reference the font */
  src: url("../assets/fonts/CRC25.woff") format("opentype");
}

/* Font light */
@font-face {
  font-family: "Circe_light";
  /* Name to reference the font */
  src: url("../assets/fonts/CRC35.woff") format("opentype");
}

/* Font */
@font-face {
  font-family: "Circe";
  /* Name to reference the font */
  src: url("../assets/fonts/CRC55.woff") format("opentype");
}

/* Font bold */
@font-face {
  font-family: "Circe_bold";
  /* Name to reference the font */
  src: url("../assets/fonts/CRC65.woff") format("opentype");
}

.project-letter {
  letter-spacing: -0.5em;
  font-family: Circe_bold;
}

.logo {
  width: 60px;
  height: 48px;
}

/* Font classes for the project */
.Circe {
  font-family: Circe_bold;
}

.Circe_light {
  font-family: Circe_light;
}

.Circe_extra_light {
  font-family: Circe_extra_light;
}

.Circe_bold {
  font-family: Circe_bold;
}

.fade-in {
  opacity: 0;
  /* Elements are initially hidden */
  transform: translateY(30px);
  transition: all 0.5s ease-in-out;
  /* Smooth fade-in effect */
}

.fade-in.visible {
  transform: translateY(0);
  opacity: 1;
  /* Elements become visible when the class is added */
}

/* This is the universal box sizing element */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background-color: #f7f7f7;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.kc {
  font-family: Circe;
}

.kc_bold {
  font-family: Circe;
  font-weight: 700;
  font-style: oblique;
}

.project-letter {
  display: inline-block;
  width: 1ch;
  font-family: Circe_bold;
}

.vertical-line {
  border-left: 2px solid black;
  /* Change the color and width as needed */
  height: 100px;
  /* Adjust the height of the line */
  margin: 0 20px;
  /* Adjust the spacing around the line */
}

.main__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  padding: 10px 30px;
}

.main__list {
  position: fixed;
  z-index: 10;
  flex-direction: column;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background-color: #333;
  transition: 0.3s;
  opacity: 0;
}

.main__list.active {
  left: 0;
  opacity: 1;
}

.main__list li {
  margin: 20px 0;
  padding: 0px 30px;
  font-size: 14px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.main__list li a {
  color: #fff;
}

.main__hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  z-index: 1005;
  /* display: none; */
}

.main__hamburger-btn .bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #000;
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

/* Turn the hamburger button to an X */
.main__hamburger-btn.active .bar:nth-of-type(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: #fff;
}

.main__hamburger-btn.active .bar:nth-of-type(2) {
  opacity: 0;
}

.main__hamburger-btn.active .bar:nth-of-type(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: #fff;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hover-line {
  position: relative;
}

.hover-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: black;
  transition: width 0.2s ease;
}

.hover-line:hover::after {
  width: 100%;
}

@media (min-width: 768px) {
  .main__list li a {
    color: #000;
  }

  .about {
    display: flex;
    padding: 30px 125px 0px 125px;
    justify-content: center;
    height: 550px;
  }
}

@media (min-width: 992px) {
  .main__content {
    margin-top: 150px;
    margin-left: 225px;
  }

  .title {
    font-size: 70px;
  }

  .detail {
    font-size: 15px;
  }

  .main__hamburger-btn {
    display: none;
    color: #f7f7f7;
  }

  .main__list {
    position: relative;
    display: flex;
    flex-direction: row;
    height: 100%;
    left: 0;
    opacity: 1;
    gap: 20px;
    width: auto;
    background-color: transparent;
  }

  .main__list li {
    opacity: 1;
  }

  .nav-list li {
    margin: 20px 0;
  }
}
