@import url("https://fonts.googleapis.com/css2?family=Anton&family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Anton&family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@font-face {
  font-family: "Satoshi";
  src: url(../assets/styles/fonts/satoshi/Satoshi-Regular.otf);
}

@font-face {
  font-family: "Satoshi Med";
  src: url(../assets/styles/fonts/satoshi/Satoshi-Medium.otf);
}

:root {
  --body: "Inter", sans-serif;
}

h1 {
  font-family: "Satoshi", sans-serif;
  font-size: 92px;
  font-weight: 100;
}

h2 {
  font-family: "Satoshi Med", sans-serif;
  font-size: 36px;
}

h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 24px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100dvh;
  background: url(../assets/images/hero.jpg) no-repeat center/cover;

  header {
    /* background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); */
    color: white;

    height: 10vh;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding: 0 30px;

    img {
      height: 56px;
    }

    nav {
      display: flex;
      align-items: center;
      gap: 3em;

      ul {
        display: flex;
        justify-content: center;
        gap: 3em;
      }

      li {
        list-style: none;

        a {
          text-decoration: none;
          color: rgba(224, 224, 224, 0.74);
          font-family: var(--body);
          font-size: 15px;
        }

        a:hover {
          color: white;
        }
      }

      .proj {
        text-decoration: none;
        color: rgba(224, 224, 224, 0.74);
        font-family: var(--body);
        font-size: 15px;
        padding: 10px 30px;
        border-radius: 50px;
        border: 1px solid rgba(255, 255, 255, 0.167);
      }
    }
  }

  main {
    height: 65dvh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0em;

    span {
      background: wheat;
      font-family: var(--body);
      font-size: 15px;
      padding: 12px 15px;
      border-radius: 50px;
      background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.074),
        transparent,
        transparent
      );
      box-shadow: -1px 0 rgba(255, 255, 255, 0.185);
      color: white;
      font-weight: 500;

      p {
        background-image: linear-gradient(to right, green, gold);
        background-clip: text;
        -webkit-text-fill-color: transparent;
        width: auto;
      }
    }

    h1 {
      margin: 35px 0 0;
      color: white;
      text-align: center;
    }

    p {
      color: rgba(255, 255, 255, 0.452);
      text-align: center;
      width: 45%;
      font-family: var(--body);
      font-size: 15px;
      line-height: 25px;
    }
  }

  .bot {
    display: flex;
    justify-content: center;
    gap: 2em;
    position: relative;
    z-index: 100;

    a {
      text-decoration: none;
      font-family: var(--body);
      color: rgb(255, 255, 255);

      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      position: relative;
      z-index: 2;
    }
  }

  .gradient {
    position: absolute;
    bottom: 0;
    height: 50vh;
    width: 100%;

    z-index: 0;

    background: linear-gradient(to top, black, transparent);
  }
}

.about {
  position: relative;
  min-height: 100dvh;
  padding: 50px 0 20px;
  background: #000;
  color: white;

  main {
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.121);
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    display: flex;
    padding: 50px;
    gap: 3em;

    .text {
      width: 50%;

      p {
        font-size: 18px;
        font-family: var(--body);
        line-height: 30px;
        color: rgb(141, 141, 141);
        text-align: justify;
      }

      .line {
        height: 1px;
        width: 100%;
        background: rgba(255, 255, 255, 0.148);

        margin: 50px 0;
      }

      .carousel::-webkit-scrollbar {
        display: none;
      }
      .carousel {
        position: relative;
        width: 100%;
        overflow-x: auto;

        display: flex;

        .left {
          height: 100%;
          width: 20%;
          position: absolute;
          left: 0;
          background: linear-gradient(to right, black, transparent);
          z-index: 2;
        }
        .right {
          height: 100%;
          width: 20%;
          position: absolute;
          right: -5px;
          background: linear-gradient(to left, black, transparent);
          z-index: 2;
        }

        .group {
          flex: 0 0 5em;
          padding-right: 2em;
          display: flex;
          gap: 2em;
          animation: spin 20s infinite linear;

          .icon {
            display: flex;
            align-items: center;
            gap: 1em;
            width: auto;

            font-family: "Plus Jakarta Sans";
            font-size: 14px;

            img {
              height: 50px;
            }
          }
        }
      }

      table {
        width: 100%;
        font-family: var(--body);
        color: gray;

        tr td {
          padding: 20px;
        }
      }

      .view {
        margin-top: 50px;
        display: flex;
        align-items: center;
        gap: 1em;
        letter-spacing: 3px;
        color: gray;

        span {
          border: 2px solid white;
          padding: 10px;
          border-radius: 100%;
          rotate: 90deg;
        }
      }
    }

    .photo {
      width: 50%;
      height: 100dvh;
      border-radius: 10px;
      box-shadow: 0 0 10px gray;
      background: url(../assets/images/Me.JPG) no-repeat top/cover;
    }
  }
}

.divider {
  height: 1px;
  width: 90%;
  background: rgba(255, 255, 255, 0.344);
  margin: 0 auto;
}

.projects {
  position: relative;
  min-height: 70dvh;
  display: flex;
  padding: 50px 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  flex: 0 0 90%;

  .block {
    width: 40%;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.026);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    gap: 1em;

    img {
      aspect-ratio: 1898 / 909;
      object-fit: cover;
      width: 90%;
      border: 1px solid rgba(255, 255, 255, 0.186);
      border-radius: 12px;
    }

    h2 {
      color: white;
    }

    a {
      text-decoration: none;
      display: flex;
      align-items: center;
      color: white;
      font-family: var(--body);
      font-weight: 200;
      text-decoration: none;
      gap: 12px;

      p {
        text-decoration: underline;
        text-underline-offset: 3px;
      }
      span {
        text-decoration: none;
        padding: 5px;
        border: 1px solid white;
        border-radius: 100%;
      }
    }
  }
}

.contact {
  position: relative;
  min-height: 100dvh;
  background: url(../assets/images/hero.jpg) no-repeat center/cover;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2em;

  h2 {
    color: white;
    text-align: center;
  }

  .avail {
    background: wheat;
    font-family: var(--body);
    font-size: 15px;
    padding: 12px 15px;
    border-radius: 50px;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.074),
      transparent,
      transparent
    );
    box-shadow: -1px 0 rgba(255, 255, 255, 0.185);
    color: white;
    font-weight: 500;

    p {
      background-image: linear-gradient(to right, green, gold);
      background-clip: text;
      -webkit-text-fill-color: transparent;
      width: auto;
    }
  }

  .call {
    text-decoration: none;
    font-family: var(--body);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2;
  }

  .icons {
    display: flex;
    gap: 2em;
    justify-content: center;
    align-items: center;

    #mail {
      font-size: 32px;
      text-decoration: none;
      color: gray;
      transition: 0.3s ease;
    }
    img {
      height: 32px;
      fill: blue;
      transition: all 0.3s ease;
    }
    img:hover,
    #mail:hover {
      filter: drop-shadow(0 0 10px blue);
    }
    .line {
      height: 70px;
      width: 1px;
      background: gray;
    }
  }
}

/* button styling */

.button {
  cursor: pointer;
  font-size: 1rem;
  border-radius: 16px;
  border: none;
  padding: 2px;
  background: radial-gradient(circle 80px at 80% -10%, #ffffff, #181b1b);
  position: relative;
  font-family: var(--body);
  transition: 0.3s ease;
  z-index: 10;
}
.button::after {
  content: "";
  position: absolute;
  width: 65%;
  height: 60%;
  border-radius: 120px;
  top: 0;
  right: 0;
  box-shadow: 0 0 20px #ffffff38;
  transition: 0.3s ease;

  z-index: -1;
}

.blob1 {
  position: absolute;
  width: 70px;
  height: 100%;
  border-radius: 16px;
  bottom: 0;
  left: 0;
  background: radial-gradient(
    circle 60px at 0% 100%,
    #ffffff,
    #181b1b,
    transparent
  );
  box-shadow: -10px 10px 30px #aaaaaa2d;
  transition: 0.3s ease;
}

.inner {
  padding: 14px 25px;
  border-radius: 14px;
  color: #ffffff;
  z-index: 3;
  position: relative;
  background: radial-gradient(circle 80px at 80% -50%, #777777, #0f1111);
  transition: 0.3s ease;
}

.inner::before {
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 14px;
  background: radial-gradient(
    circle 60px at 0% 100%,
    #cdcdcd1a,
    #bababa11,
    transparent
  );

  position: absolute;
  transition: 0.3s ease;
}

.button:hover {
  scale: 1.05;
}

/* slight blur effect sa ubos */

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  padding: 20px;
  text-align: center;
  z-index: 1000;
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0)
  );
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));

  height: 20vh;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0)
  );
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: -1;
}

/* cursor */

.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
}

/* last minute tweaks */

/* animations */

@keyframes spin {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@media (width < 1000px) {
  .cursor {
    display: none;
  }

  hero {
    nav {
      ul {
        li {
          a:hover {
            color: rgba(224, 224, 224, 0.74);
          }
        }
      }
    }
  }

  .button:hover {
    scale: 1;
  }
}

@media (width > 1399px) {
  .contact {
    background-attachment: fixed;
  }
}
