@charset "UTF-8";
@import url("bari-sans.min.css");
* {
  padding: 0;
  margin: 0;
}

:root {
  --primary-color: #9E5EFF;
}

html,
body {
  height: 100%;
  font-size: 100%;
  font-family: "Bari Sans", sans-serif;
}

div {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  align-items: center;
  box-sizing: border-box;
}
.container .inner-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  height: 100%;
  gap: 4rem;
  align-items: center;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  box-sizing: border-box;
  z-index: 9999;
}
header #logo {
  width: 185px;
}

#home {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #1a1a1a;
}
#home .container {
  z-index: 10;
  max-width: 980px;
}
#home canvas {
  position: absolute;
}
#home #intro-text h1 {
  font-size: clamp(2rem, 2vw + 3rem, 5.5rem);
  font-weight: 400;
  line-height: calc(2.825rem + 3vw);
  letter-spacing: -0.2rem;
  color: #fff;
}
#home #intro-text h1 span {
  position: relative;
}
#home #intro-text h1 span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 15px;
  bottom: 1vw;
  left: 0;
  background-color: var(--primary-color);
  z-index: -1;
}

#portfolio {
  display: flex;
  align-items: center;
  min-height: 100%;
  padding: 4rem 0;
  background: #bababa url(../../assets/img/white-background.webp) top left repeat;
  background-blend-mode: overlay;
}
#portfolio .portfolio-text {
  flex: 1;
}
#portfolio h2 {
  font-size: calc(3.5rem + 1vw);
  line-height: calc(3rem + 1vw);
  letter-spacing: -0.2rem;
  color: #2d2d2d;
  margin-bottom: 2rem;
}
#portfolio h3 {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  color: #2d2d2d;
  margin-bottom: 2rem;
  column-width: 80%;
}
#portfolio .contact-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.825rem;
  color: #fff;
  background: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  animation: shadow 2s ease-in-out 0s infinite;
}
#portfolio .contact-btn::after {
  content: "→";
  display: inline-block;
  font-size: 1.5rem;
  margin-left: 1rem;
  transition: transform 0.2s ease-in-out;
}
#portfolio .contact-btn:hover::after {
  transform: translateX(1rem);
}
#portfolio .project-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 2rem;
  width: 50%;
  flex: 1.37;
}
#portfolio .project-grid div {
  display: flex;
  align-items: center;
  width: 100%;
  border: 1.3px solid #e1e1e1;
  border-radius: 0.5rem;
  cursor: pointer;
  flex: 0 0 100%;
  padding: 3rem 2rem;
  text-align: center;
  backdrop-filter: blur(1px);
  transition: all 0.3s ease-in-out;
}
#portfolio .project-grid div::before {
  color: #aaa;
}
#portfolio .project-grid div::after {
  content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALJJREFUeNpi/P//PwMtARMDjcGoBcPAgvnxDIZAbEtLH6QC8T6gJSG0sqAUiI8A8QqgJZFUtyBxIcNXIOUDxIeBeDG6JVSJZCyWRMDkGEFFBVDAAMhuB2IWCu3iAWILIP4NxO5Ai/fDfMBMJd/8Rw8dRmoVdsBQ4AJSW4DYDohjga5fTrU4wGU4tTIaNy7DGagQqSDQBcQ2QBwONHwtLTLabCB2wmY4VSN5tLgewRYABBgAnlA1mMsFM4cAAAAASUVORK5CYII=");
  width: 20px;
  font-size: 1.5rem;
  transition: all 0.3s ease-in-out;
}
#portfolio .project-grid div:nth-child(1)::before {
  content: "01";
}
#portfolio .project-grid div:nth-child(2)::before {
  content: "02";
}
#portfolio .project-grid div:nth-child(3)::before {
  content: "03";
}
#portfolio .project-grid div:nth-child(4)::before {
  content: "04";
}
#portfolio .project-grid div a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
#portfolio .project-grid div img {
  height: calc(40px + 2vw);
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.4;
  transition: all 0.3s ease-in-out;
}
#portfolio .project-grid div:hover {
  background: #f8f8f8;
}
#portfolio .project-grid div:hover img {
  filter: grayscale(0);
  opacity: 1;
}
#portfolio .project-grid div:hover::after {
  transform: translateX(10px);
}

@keyframes shadow {
  0% {
    box-shadow: 0px 0px 16px 4px rgba(158, 94, 255, 0.588);
  }
  50% {
    box-shadow: 0px 0px 8px 2px rgba(158, 94, 255, 0.588);
  }
  100% {
    box-shadow: 0px 0px 16px 4px rgba(158, 94, 255, 0.588);
  }
}
footer {
  background: #1f1f1f;
  padding: calc(4rem + 6vw) 3rem 2rem;
}
footer .mail {
  padding: 3rem 0;
  border-bottom: 1px solid #262626;
}
footer .mail a {
  display: flex;
  height: 10px;
  align-items: flex-end;
  font-size: calc(1rem + 3vw);
  font-weight: 600;
  letter-spacing: -0.2rem;
  color: #fff;
  line-height: 42px;
}
footer .mail a:hover::after {
  content: "";
  display: block;
  width: 60px;
  height: 10px;
  margin-left: 1rem;
  animation: typer 0.8s ease-out infinite;
}
footer .socials {
  padding: 2rem 0;
  border-bottom: 1px solid #262626;
}
footer .socials a {
  display: inline-block;
  font-size: 1.175rem;
  font-weight: 400;
  color: #fff;
  margin-right: 2rem;
}
footer .socials a::after {
  content: "";
  display: block;
  width: 0;
  height: 5px;
  background: var(--primary-color);
  transform: translateY(-0.8rem);
  transition: width 0.3s ease-in-out;
}
footer .socials a:hover::after {
  width: 100%;
}
footer .copyright {
  padding-top: 2rem;
  font-size: 1.125rem;
  color: #323232;
}

@keyframes typer {
  from {
    background: transparent;
  }
  to {
    background: var(--primary-color);
  }
}

/*# sourceMappingURL=style.css.map */
