@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

/* highlight colour */

/* start */

::selection {
  background: #5eead4;
  color: #0f172a !important; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #5eead4;
  color: #0f172a !important; /* Gecko Browsers */
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
  display: none !important;
}

.lightmode {
  ::selection {
    background: #0f172a; /* WebKit/Blink Browsers */
    color: white !important;
  }
  ::-moz-selection {
    background: #0f172a; /* Gecko Browsers */
    color: white !important;
  }
}

/* end */

.nametitle {
  font-family: "Inter", sans-serif;
  font-size: 48px;
  font-weight: bold !important;
  line-height: 48px;
}

.careertitle {
  font-family: "Inter", sans-serif !important;
  font-size: 20px;
  font-weight: 500 !important;
  line-height: 28px;
}

.generaltext {
  color: #dbd7d7;
  font-family: "Inter", sans-serif !important;
  font-size: 16px;
  font-weight: 400 !important;
  line-height: 26px;
}

.generaltext a {
  text-decoration: none !important;
}
.project-title-link{
  text-decoration: none !important;
}

.lightmode .generaltext {
  color: #000000 !important;
}

strong {
  font-weight: bolder;
  color: white;
}

.lightmode strong {
  font-weight: bolder;
  color: #000000;
}

.blogtitle {
  color: #ffffff;
  font-family: "Inter", sans-serif !important;
  font-size: 30px;
  font-weight: 500 !important;
  line-height: 30px;
}

.blogtag {
  color: #ffffff;
  font-family: "Inter", sans-serif !important;
  font-size: 16px;
  font-weight: 500 !important;
  line-height: 26px;
}

.blogdate {
  color: #fff;
}

.blog-img {
  height: 300px;
  object-fit: cover;
}

.lightmode {
  .blogtitle {
    color: #0f172a;
    font-family: "Inter", sans-serif !important;
    font-size: 30px;
    font-weight: 500 !important;
    line-height: 30px;
  }

  .blogtag {
    color: #0f172a;
    font-family: "Inter", sans-serif !important;
    font-size: 16px;
    font-weight: 500 !important;
    line-height: 26px;
  }

  .blogdate {
    color: #0f172a;
  }
}

@media (min-width: 1200px) {
  .col-xl-4 {
    flex: 0 0 auto;
    width: 32.33333333% !important;
  }
}

@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 auto;
    width: 46%;
  }
}

/* containers */
.container {
  max-width: 1250px !important;
}

@media screen and (max-width: 575px) {
  .container {
    max-width: 350px !important;
  }
}

/* home */

/* fixed position */

@media (min-width: 575px) {
  .position-fixed-block {
    position: fixed !important;
  }
}

@media screen and (max-width: 575px) {
  .mobile-height {
    height: 100vh;
  }
}

/* down arrow */
@media screen and (max-width: 575px), screen and (min-height: 760px) {
  .arrows {
    display: block;
    width: 60px;
    height: 72px;
    position: absolute;
    left: 50%;
    margin-left: -30px;
    bottom: 20px;
  }

  .arrows path {
    stroke: #2994d1;
    fill: transparent;
    stroke-width: 1px;
    animation: arrow 2s infinite;
    -webkit-animation: arrow 2s infinite;
  }

  .lightmode {
    .arrows path {
      stroke: #0f172a;
      fill: transparent;
      stroke-width: 1px;
      animation: arrow 2s infinite;
      -webkit-animation: arrow 2s infinite;
    }
  }

  @keyframes arrow {
    0% {
      opacity: 0;
    }
    40% {
      opacity: 1;
    }
    80% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }

  @-webkit-keyframes arrow /*Safari and Chrome*/ {
    0% {
      opacity: 0;
    }
    40% {
      opacity: 1;
    }
    80% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }

  .arrows path.a1 {
    animation-delay: -1s;
    -webkit-animation-delay: -1s; /* Safari 和 Chrome */
  }

  .arrows path.a2 {
    animation-delay: -0.5s;
    -webkit-animation-delay: -0.5s; /* Safari 和 Chrome */
  }

  .arrows path.a3 {
    animation-delay: 0s;
    -webkit-animation-delay: 0s; /* Safari 和 Chrome */
  }
}

.arrows {
  display: none;
  /* Other default styles can go here */
}

@media only screen and (max-width: 575px) and (min-width: 380px),
  only screen and (max-height: 1000px) and (min-height: 670px) {
  .arrows {
    display: block; /* or inline-block, flex, etc., depending on your layout */
    width: 60px;
    height: 72px;
    position: absolute;
    left: 50%;
    margin-left: -30px;
    bottom: 20px;
  }
}

/* @media screen and (max-width: 575px) and (min-width: 300px),
  screen and (max-height: 930px) and (min-width: 780px) {
} */

/* @media screen and (max-width: 575px) and (min-width: 300px),
  screen and (max-height: 779px) and (min-width: 0px) {
  .arrows {
    width: 60px;
    height: 72px;
    position: absolute;
    left: 50%;
    margin-left: -30px;
    bottom: 20px;
  }
} */

/* end */
.detailspanelcontainer {
  padding-right: 12rem !important;
}

.spanline {
  background-color: #8d8d8d;
  width: 2rem;
  height: 1px;
}

.homenav nav ul {
  padding-top: 30%;
  padding-left: 0;
  list-style-type: none;
}

.homenav ul a {
  text-decoration: none !important;
  color: #8d8d8d;
}

.homenav ul a:hover {
  text-decoration: none !important;
  color: #ffffff;

  .nav-indicator {
    transition: 0.4s;
    width: 4rem;
    --tw-bg-opacity: 1;
    background-color: white !important;
  }
}

.homenav .active {
  color: white;
}

.active .nav-indicator {
  transition: 0.4s;
  width: 4rem;
  --tw-bg-opacity: 1;
  background-color: white !important;
}

.homelinks a {
  text-decoration: none !important;
  color: #ffffff;
}

.iconlist {
  bottom: 3%;
}

.lightmode {
  .homelinks a {
    text-decoration: none !important;
    color: #0f172a;
  }
  .homenav ul a {
    text-decoration: none !important;
    color: #363636;
  }

  .homenav .active {
    color: #0f172a;
  }

  .active .nav-indicator {
    transition: 0.4s;
    width: 4rem;
    --tw-bg-opacity: 1;
    background-color: #0f172a !important;
  }

  .homenav ul a:hover {
    text-decoration: none !important;
    color: #0f172a;

    .nav-indicator {
      transition: 0.4s;
      width: 4rem;
      --tw-bg-opacity: 1;
      background-color: #0f172a !important;
    }
  }
}

/* .project-background {
  background-color: #404040;
  border-radius: 20px;
  margin-left: -16px;
  padding-left: -20px;
} */

.project-img-icon {
  height: 100px;
  object-fit: cover;
}

.technology-icon {
  padding-top: 6px;
  padding-bottom: 6px;
  padding-right: 15px;
  padding-left: 15px;
  color: #5eead4;
  background-color: #122b39;
  border-radius: 20px;
}

.lightmode .technology-icon {
  background-color: #d9d9d9;
}

/* Blogs */

.blogsmenu {
  bottom: 6%;
}

.blog-bg {
  background-color: #0f172a;
  min-height: 100px;
  border-radius: 25px;
}

.lightmode {
  .blog-bg {
    background-color: #ebebeb;
    min-height: 100px;
    border-radius: 25px;
  }
}

/* Single blog */

.blogback a {
  color: white;
}

.lightmode {
  .blogback a {
    color: #0f172a;
  }
}

/* footer */

.navbar-nav li a {
  text-decoration: underline;
  color: inherit;
}

/* icons */

soc {
  display: block;
  font-size: 0;
  list-style: none;
  margin: 0;
  padding: 48px;
  padding: 3rem;
  text-align: center;
}

.soc li {
  display: inline-block;
  margin: 1rem;
}

@media screen and (max-width: 575px) {
  .soc li {
    display: inline-block;
    margin: 0.3rem;
  }
}

.soc a,
.soc svg {
  display: block;
}

.soc a {
  position: relative;
  height: 2.5rem;
  width: 2.5rem;
  color: #fff;
}

.soc svg {
  margin-left: -4px;
  height: 100%;
  width: 100%;
}

.soc em {
  font-size: 14px;
  line-height: 1.5;
  margin-top: -0.75em;
  position: absolute;
  text-align: center;
  top: 50%;
  right: 0;
  bottom: 0;
  left: 0;
}

.icon {
  color: #eee;
  fill: #eee;
}

.icon:hover {
  color: #fff;
  fill: #fff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.lightmode {
  .icon {
    color: #0f172a;
    fill: #0f172a;
  }

  .icon:hover {
    color: #0f172a;
    fill: #0f172a;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

/* dark mode start */

body {
  background-color: #0f172a;
  transition: background 0.2s linear;
  color: white;
}

.lightmode {
  background-color: #ffffff !important;
  transition: background 0.2s linear;
  color: #0f172a !important;
}

.checkbox {
  opacity: 0;
  position: absolute;
}

.checkbox-label {
  background-color: #4b4b4b;
  width: 50px;
  height: 26px;
  border-radius: 50px;
  position: relative;
  padding: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fa-moon {
  color: #f1c40f;
}

.fa-sun {
  color: #ffb405;
}

.checkbox-label .ball {
  background-color: #fff;
  width: 22px;
  height: 22px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}

.checkbox:checked + .checkbox-label .ball {
  transform: translateX(24px);
}

/* dark mode end */

.background-block {
  justify-content: center;
  align-items: center;
  width: 650px;
  height: 650px;
  border-radius: 100%;
  background-image: linear-gradient(#132758 10%, #111f43);
  filter: blur(120px);
  transition: all 450ms cubic-bezier(0.18, 0.89, 0.32, 1.28);
  position: fixed;
  pointer-events: none;
  left: 100%;
  top: 36%;
  transform: translate(calc(-50% + 15px), -50%);
  z-index: -1;
}

/* Extra-large screens (typically 1200px and wider) */
@media (min-width: 1200px) {
  .background-block {
    justify-content: center;
    align-items: center;
    width: 650px;
    height: 650px;
    border-radius: 100%;
    background-image: linear-gradient(#132758 10%, #111f43);
    filter: blur(120px);
    transition: all 450ms cubic-bezier(0.18, 0.89, 0.32, 1.28);
    position: fixed;
    pointer-events: none;
    left: 0;
    top: 0;
    transform: translate(calc(-50% + 15px), -50%);
    z-index: -1;
  }
}

.lightmode {
  .background-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 650px;
    height: 650px;
    border-radius: 100%;
    background-image: linear-gradient(#13275800 10%, #111f4300);
    filter: blur(120px);
    transition: all 450ms cubic-bezier(0.18, 0.89, 0.32, 1.28);
    position: fixed;
    pointer-events: none;
    left: 0;
    top: 0;
    transform: translate(calc(-50% + 15px), -50%);
    z-index: -1;
  }
}

/* 
@media screen and (max-width: 575px) {
  .background-block {
    position: fixed !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 650px;
    height: 650px;
    border-radius: 100%;
    background-image: linear-gradient(#132758 10%, #111f43);
    filter: blur(120px);
    transition: all 450ms cubic-bezier(0.18, 0.89, 0.32, 1.28);
    position: fixed;
    pointer-events: none;
    left: 0;
    top: 0;
    transform: translate(calc(-50% + 15px), -50%);
    z-index: -1;
  }
} */
