@import url("https://fonts.googleapis.com/css2?family=Asap+Condensed&family=Staatliches&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@500&display=swap");

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
  font-size: 62.5%;
  font-family: "Asap Condensed", sans-serif;
}
body {
  background: linear-gradient(to right, #fde4cf, #ffcfd2);
  background-size: cover;
  background-repeat: no-repeat;
  scroll-behavior: smooth;
}
#home-nav,
#skills-nav,
#about-nav,
#projects-nav,
#intern-nav {
  display: none;
}
.header {
  box-shadow: 7px 7px 12px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  position: fixed;
  padding: 10px;
  width: 100%;
  top: 0;
  left: 0;
  background-color: black;
  z-index: 1000;
  transition: all 0.5s ease-in;
}
.header ul {
  height: 50px;
}
.header ul li a:hover {
  cursor: pointer;
}
.header ul li a {
  color: white;
  text-decoration: none;
}
.flex-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.scroll-down .header {
  transform: translate3d(0, -100%, 0);
}

.scroll-up .header {
  box-shadow: 7px 7px 12px rgba(0, 0, 0, 0.2);
}
.main-container {
  height: 100vh;
  padding-top: 80px;
}
nav {
  display: none;
}
ul {
  padding: 20px;
  list-style-type: none;
}

ul li {
  line-height: 50px;
  text-align: center;
  padding: 10px;
  margin: 30px;
}

.link li .link-tag {
  display: inline-block;
  text-decoration: none;
  color: black;
  font-size: 2rem;
  width: 150px;
  transition: 0.2s ease;
}

ul li .link-tag:hover {
  font-weight: bold;
  transform: scale(1.2);
  background-color: rgba(0, 0, 0, 0.2);
  color: #434952;
  border-radius: 10px;
}
.pos {
  flex-basis: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: 1px solid white; */
}
.software-pic {
  margin-bottom: 120px;
  width: 350px;
  height: 400px;
  transition: all 1s ease;
  -webkit-filter: drop-shadow(5px 10px 10px #222);
  filter: drop-shadow(5px 10px 10px #222);
}
.letter:hover {
  transform: rotate(20deg);
  color: #aa3737;
  transition: all 1s ease;
}
.software-pic:hover {
  transform: scale(1.3);
  transform: rotate(92deg);
}
#icon-container {
  position: fixed;
  width: 30px;
  z-index: 120;
  display: none !important;
}
#icon {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  top: 30vh;
  cursor: pointer;
  margin-left: 10px;
  transition: 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 1);
  border-radius: 50%;
  padding: 5px;
}
#icon i {
  margin-left: 4px;
}
.rotate {
  transform: rotate(-180deg);
  left: 270px;
}
.display {
  display: block;
}
.wrapper {
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.95);
  transition: 0.3s ease;
  border-radius: 1.5%;
  z-index: 10;
  position: fixed;
  top: 8vh;
  display: none;
}
.bg {
  width: 300px;
  height: 600px;
  transform: translate(-1%);
}
#word-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}
.group {
  display: none;
  z-index: 1;
  margin: 0 auto;
}

h1 {
  font-size: 6rem;
  font-weight: bold;
  color: #000;
  letter-spacing: 1px;
  margin: 0;
  font-family: "Quicksand", sans-serif;
}

h2 {
  color: rgba(0, 0, 0, 0.6);
  font-size: 4rem;
  margin-top: 30px;
}
.btn {
  display: none;
}
.btn a {
  text-decoration: none;
  color: #fff;
}
.magic-button {
  margin: 50px 100px;
  padding-bottom: 8px;
  padding-top: 5px;
  height: 40px;
  width: 80px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10%;
  border: none;
  background-color: #000;
  font-weight: bold;
  font-size: 1.8rem;
  color: white;
  animation: glowing 1000ms infinite;
}
@keyframes glowing {
  0% {
    background-color: #000;
    box-shadow: 0 0 3px #000;
  }
  50% {
    background-color: #000;
    box-shadow: 0 0 20px #000;
  }
  100% {
    background-color: #000;
    box-shadow: 0 0 3px #000;
  }
}

.section-container {
  margin-top: 150px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  width: 60%;
}
.section-container section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 70px;
  margin-top: 100px;
}
.section-container img {
  width: 100px;
  margin-bottom: 40px;
}

#about-me-para {
  margin: 20px auto;
  font-size: 2.5rem;
  padding: 40px;
  width: 90%;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 10px 10px 12px rgba(0, 0, 0, 0.8);
  text-align: justify;
  line-height: 3.5rem;
  word-spacing: 2px;
  border-radius: 10px;
  width: 90%;
}
.quote {
  font-size: 3rem;
  display: inline-block;
  margin-bottom: 20px;
}
#intern-para {
  font-size: 2.5rem;
  background-color: rgba(0, 0, 0, 0.65);
  margin: 20px auto;
  padding: 30px;
  width: 90%;
  box-shadow: 10px 10px 12px rgba(0, 0, 0, 0.8);
  text-align: justify;
  word-spacing: 2px;
  line-height: 3.5rem;
  border-radius: 10px;
}
.about-me-image {
  margin-top: 10px;
}
#aboutme-h3 {
  position: relative;
  top: 10px;
}
.section-container h3 {
  margin-bottom: 40px;
  font-size: 3.5rem;
  margin-top: 50px;
  font-weight: bold;
  position: relative;
  top: -20px;
  color: #000;
}
.about-me-image {
  border-radius: 100%;
}
.flex {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.progress {
  background-color: #000;
  height: 12px;
  border-radius: 10px;
  overflow: visible;
}
.progress-bar {
  background-color: #98f5e1;
  border-radius: 10px;
  animation: animate 1.2s ease-in;
  position: relative;
  overflow: visible;
  opacity: 1;
}
.progress-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.shift .progress-bar {
  background-color: royalblue;
}
h3.progress-title {
  font-size: 2.5rem;
  text-align: left;
  margin-bottom: 10px;
  color: #fff;
}
@keyframes animate {
  0% {
    width: 0%;
  }
}
.progress-value {
  color: #000;
  position: absolute;
  top: -32px;
  right: 0;
}
.progress-value h6 {
  font-size: 2rem;
  color: #fff;
}
.icons-container {
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  padding: 40px;
  width: 90%;
  color: white;
  border-radius: 10px;
}
.icons-container img {
  height: 50px;
  width: 50px;
  margin-top: 25px;
  margin-left: 10px;
}
.accordian-custom .card-custom {
  margin-bottom: 20px;
  float: left;
  width: 100%;
}
.card-custom img {
  margin-top: 10px;
}
.card-header-custom {
  cursor: pointer;
  position: relative;
  background-color: rgba(119, 119, 119, 0.45);
  margin: 0;
  padding: 20px 5px;
  height: 80px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 10px 10px 17px rgba(0, 0, 0, 0.8);
}
.button-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.link a {
  text-decoration: none;
  color: #fff;
}
.link-button {
  font-size: 2rem;
  background: white;
  color: #000;
  padding: 0.7em 1em;
  padding-left: 0.9em;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s;
  margin-top: 35px;
}

.link-button span {
  display: block;
  margin-left: 0.3em;
  transition: all 0.3s ease-in-out;
}
.link-button:hover {
  cursor: pointer;
}
.link-button svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

.link-button:hover .svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}

.link-button:hover svg {
  transform: translateX(1.2em) rotate(45deg) scale(1.1);
}

.link-button:hover span {
  transform: translateX(5em);
}

@keyframes fly-1 {
  from {
    transform: translateY(0.1em);
  }

  to {
    transform: translateY(-0.1em);
  }
}

.card-custom .card-header-custom .header-sizing {
  font-size: 3rem;
  font-weight: bold;
}
.card-custom .card-header-custom .span {
  height: 25px;
  width: 25px;
  color: #3343a2;
  background-color: #ffffff;
  border-radius: 50%;
  text-align: center;
  line-height: 25px;
  font-size: 1.3rem;
}
.card-body-custom {
  font-size: 2.5rem;
  padding: 30px;
  margin-bottom: 10px;
  text-align: justify;
  letter-spacing: 0.5px;
  color: white;
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: 5px;
}
.card-custom .card-body-custom {
  display: none;
}
/*open one card by default*/
.card-custom:nth-child(1) .card-body-custom {
  display: block;
}
.icons {
  height: 55px;
  width: 55px !important;
  position: relative;
  top: 15px;
}
.js {
  margin-left: 10px;
}
.react,
.html,
.css {
  margin-right: 30px;
}
.icons-container span {
  font-weight: bold;
  font-size: 2rem;
}
#skills .icons-container {
  padding-top: 0;
}
.skills-image {
  width: 50px !important;
  margin-right: 20px;
}

#sutd {
  width: 150px;
}
#location {
  height: 40px;
  width: 40px;
  margin-right: 30px;
  position: relative;
  top: -27px;
}
.intern-container {
  background-color: rgba(0, 0, 0, 0.4);
  margin: 20px 60px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  padding: 20px;
}
.intern-images {
  margin-top: 20px;
}
.group hr {
  margin: 20px auto;
  width: 45%;
  color: #000;
  opacity: 0.8;
}
.about-hr,
.projects-hr {
  width: 90vw;
  position: relative;
  left: -55%;
  color: #000;
  opacity: 0.4;
}
.skills-hr {
  width: 90vw;
  position: relative;
  left: 5%;
  color: #000;
  opacity: 0.4;
}

.about-container {
  background-color: rgba(0, 0, 0, 0.4);
  margin: 20px 60px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  padding: 20px;
}
footer {
  color: white;
  background-color: black;
  padding: 30px;
}
.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
#footer-text {
  padding: 10px;
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 2rem;
}
.contact-info i {
  margin-right: 10px;
}
.contact-icons a i {
  color: #fff;
  font-size: 3rem;
  margin: 20px;
}
footer i:hover {
  cursor: pointer;
  transform: scale(1.1);
  transition: 0.4s;
}
.dark {
  width: 40px;
  height: 40px;
  background: #000;
  border-radius: 50%;
  float: left;
  margin: 50px 10px;
  position: fixed;
  top: 70px;
  cursor: pointer;
  z-index: 500;
  animation: pulse-black 1s infinite;
}
@keyframes pulse-black {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}
.shift {
  background: rgb(9, 7, 28);
  background: linear-gradient(
    90deg,
    rgba(9, 7, 28, 1) 37%,
    rgba(4, 4, 9, 1) 100%,
    rgba(0, 212, 255, 1) 100%
  );
}
.shift .section-container h3 {
  color: #fff;
}
.shift #icon {
  color: #000;
  position: relative;
  top: 30vh;
  cursor: pointer;
  margin-left: 10px;
  transition: 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: gray;
  border-radius: 50%;
  padding: 5px;
}
#icon i {
  margin-left: 4px;
}

.shift .letter:hover {
  color: royalblue;
}
.shift .dark {
  background: gray;
  animation: pulse-gray 1s infinite;
}
@keyframes pulse-gray {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.1);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1);
  }
}
.shift .link li .link-tag:hover {
  font-weight: bold;
  transform: scale(1.2);
  background-color: rgba(0, 0, 0, 0.2);
  color: blue;
}
.shift header {
  box-shadow: 7px 7px 15px rgba(255, 255, 255, 0.1);
}
.shift h1 {
  color: white;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 2px 1px 10px black;
}
.shift h2 {
  color: rgba(255, 255, 255, 0.6);
}
@keyframes glowing-dark {
  0% {
    background-color: royalblue;
    box-shadow: 0 0 3px royalblue;
  }
  50% {
    background-color: royalblue;
    box-shadow: 0 0 25px royalblue;
  }
  100% {
    background-color: royalblue;
    box-shadow: 0 0 3px royalblue;
  }
}
.shift .magic-button {
  background-color: royalblue;
  animation: glowing-dark 1000ms infinite;
}
.shift .group hr {
  background-color: gray;
}
.shift .skills-hr,
.shift .about-hr,
.shift .projects-hr {
  background-color: gray;
  opacity: 0.5;
}
.shift #about-me-para,
.shift #intern-para {
  background-color: #05040d;
  box-shadow: 10px 10px 12px rgba(0, 0, 0, 0.8);
}
.shift .icons-container,
.shift .intern-container,
.shift .about-container {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 10px 0px 5px #05040d;
  backdrop-filter: blur(10px);
}

.shift footer {
  background-color: #0b0c34;
  color: white;
}
@media only screen and (max-width: 1000px) {
  #word-container .software-pic {
    display: none;
  }
}
@media (max-width: 768px) {
  body {
    background: linear-gradient(to right, #fde4cf, #ffcfd2);
  }
  .menu-container .wrapper {
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 100;
  }
  .header {
    display: none;
  }
  #icon-container {
    display: block !important;
  }
  .wrapper {
    display: block !important;
  }

  .main-container {
    height: 70vh;
  }

  .group h1 {
    width: 70vw !important;
    font-size: 4rem;
    float: none;
  }
  #word-container {
    margin: 0 auto;
    width: 90%;
    padding-left: 50px;
    text-align: left;
  }
  .shift .group h1 {
    font-size: 4rem;
  }
  .group h2 {
    font-size: 3rem;
  }
  .group .a {
    color: white;
  }
  .magic-button {
    transform: translateX(-20%);
    margin-top: 40px;
  }

  #word-container .pos {
    display: none;
  }
  .intern-container {
    width: 90%;
  }
  body hr {
    display: none;
  }
  .quote {
    font-size: 2rem;
  }
  .section-container {
    width: 95%;
  }
  .section-container .intern-container #intern-para,
  .section-container #about-me-para {
    font-size: 1.8rem;
    line-height: 2.5rem;
  }

  #accordion-custom .card-custom .card-body-custom {
    font-size: 1.8rem;
    padding: 0 auto;
    width: 115%;
    position: relative;
    right: 20px;
  }
  .card-custom .card-header-custom .header-sizing {
    font-size: 2rem;
  }
  .link-button {
    padding: 15px;
    height: 35px;
  }
  .link-button span {
    font-size: 1.8rem;
  }
  .card {
    width: 100%;
  }
  .contact-icons {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .dark {
    top: 1vh;
  }
  .progress {
    height: 9px;
  }
  .section-container h3 {
    font-size: 2.5rem;
  }
  h3.progress-title {
    font-size: 2rem;
    margin-bottom: 5px;
  }
}
