@import url("https://fonts.googleapis.com/css?family=Poppins");
@import url("https://fonts.googleapis.com/css?family=Questrial");
@import url("https://fonts.googleapis.com/css?family=Just+Another+Hand");

body {
  margin: 0%;
  padding: 0%;
  width: 100vw;
  background: var(--bg-color);
  color: var(--text-color);
  max-width: 100vw;
  overflow-x: hidden;
  align-items: center;
  font-family: "Just Another Hand", sans-serif;
}

#loading {
  width: 100vw;
  height: 100vh;
  position: fixed;
  background: var(--bg-color);
  z-index: 999;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#spinner {
  animation: rotate 0.5s infinite linear;
  width: 50px;
  height: 50px;
  border: 2px solid var(--bg-color);
  border-bottom: 2px solid var(--text-color);
  border-radius: 50%;
  margin: 0;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#profile {
  width: 24vw;
  padding: 4vh 3vw;
  height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  letter-spacing: 2.5px;
  background-size: cover !important;
  background-repeat: no-repeat;
  position: fixed;
  color: #000 !important;
  border-right: 5px solid #000;
}

#display {
  width: 64vw;
  padding: 4vh 3vw;
  height: 92vh;
  display: inline-block;
  padding-left: 33vw;
}

#display h1 {
  font-size: 80px;
  color: var(--text-color);
  font-weight: normal;
  font-family: "Just Another Hand", sans-serif;
  margin-bottom: 10px;
  padding-left: 10px;
}

#profile_img {
  width: 180px;
  height: 180px;
  min-width: 180px;
  min-height: 180px;
  max-width: 180px;
  max-height: 180px;
  border-radius: 5px;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

#profile div {
  margin: 1.5vh auto;
}

#username {
  font-size: 18px;
  font-weight: bold;
}

#username span {
  font-size: 24px;
}

#about {
  font-size: 18px;
  font-family: "Questrial", sans-serif;
}

#about a,
#username a {
  color: #fff !important;
  text-decoration: none;
  font-weight: bold;
}

#about a:hover,
#username a:hover {
  text-decoration: underline;
}

#about span {
  margin: 1vh 0px;
  display: block;
}

#about span i {
  font-size: 16px;
}

#code {
  margin: 2vh 0px;
  padding: 4vh 0px !important;
}

.projects {
  margin-left: -15px;
}

.projects a {
  width: calc(49% - 30px);
  display: flex;
  text-decoration: none;
}

.projects section {
  width: 100%;
  padding: 2.5vh 5%;
  margin: 1vh 0px;
  display: inline-block;
  border-radius: 25px;
  color: #fff;
  border: 4px solid #000;
  border-bottom: 10px solid #000;
  box-shadow: 0px 0px 0px rgb(0, 0, 0, 0);
  transition: 0.4s ease-in-out;
  transform: scale(1);
}

.projects section:hover {
  cursor: pointer;
  border-radius: 15px;
  border: 4px solid rgb(0, 0, 0, .8);
  box-shadow: 0px 15px 35px rgb(0, 0, 0, 0.06);
  transform: scale(1.03);
}

.section_title {
  font-size: 30px;
  font-weight: 100;
  letter-spacing: 2px;
  margin: 1vh 0px;
  padding: 0px 1px;
  word-wrap: break-word;
}

.purple {
  background: #a480cf;
}

.orange {
  background: #f7996e;
}

.green {
  background: #B7DC7F;
}

.pink {
  background: #de7c9a;
}

.blue {
  background: #5cbeff;
}

.about_section {
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
  font-weight: 200;
  margin: 2vh 0px;
  word-wrap: break-word;
}

.bottom_section {
  margin: 1vh 0px;
  font-size: 14px;
  word-wrap: break-word;
}

.bottom_section span {
  margin-right: 20px;
  letter-spacing: 1.5px;
}

.bottom_section span i {
  font-size: 15px;
}

.socials {
  color: #fff;
  text-decoration: none;
  margin: 3vh 0px !important;
}

.socials span {
  display: inline-block !important;
  margin-right: 2vw !important;
  font-weight: normal !important;
}

.socials span a {
  font-weight: normal !important;
}

#footer {
  width: 100%;
  padding: 8vh 0px;
  text-align: center;
}

#footer a {
  color: var(--text-color) !important;
  text-decoration: none;
  font-family: "Questrial", sans-serif;
  font-weight: bold;
}

::selection {
  color: var(--bg-color);
  background: var(--text-color);
}

@media (max-width: 800px) {
  #profile {
    width: 90vw;
    padding: 4vh 5vw;
    height: 60vh;
    text-align: center;
    position: relative;
  }

  #display {
    width: 90vw;
    padding: 4vh 5vw;
    height: auto;
    display: inline-block;
    padding-left: 5vw;
  }

  #profile_img {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    max-width: 120px;
    max-height: 120px;
    margin: 0px auto !important;
  }

  #code {
    margin: 0px;
  }

  .projects {
    margin-left: 0;
  }

  .projects a {
    width: 100%;
  }

  .projects section {
    width: 88%;
  }
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--text-color);
}
