@font-face {
  src: url(fonts/Poppins-Regular.ttf);
  font-family: Poppins;
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

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

a {
  text-decoration: none;
}

hr {
  border: 1px dashed hsl(0, 0%, 13%);
}

.flex {
  display: flex;
}

.text-center {
  text-align: center;
}

.text-white {
  color: hsl(208, 100%, 97%);
}

.font-xs {
  font-size: 10px;
}

.font-sm {
  font-size: small;
}

.font-md {
  font-size: medium;
}

.font-bold {
  font-weight: bold;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

body {
  font-family: Poppins, Arial, Helvetica, sans-serif;
  width: 100%;
  height: 100%;
  background-color: hsl(0, 0%, 13%);
}

.container {
  width: 50%;
  margin: auto;
  border-radius: 15px;
  /* background-color: hsl(197, 76%, 77%); */
  background-color: hsl(0, 0%, 26%);
  margin-top: 70px;
  margin-bottom: 70px;
  position: relative;
}

.navbar {
  text-align: center;
  position: absolute;
  top: -30px;
  right: 15px;
  border: 1px dashed hsl(0, 0%, 26%);
  border-radius: 10px;
  padding: 10px 10px;
  background-color: hsl(0, 0%, 13%);
  display: flex;
  column-gap: 10px;
  justify-content: center;
  overflow-y: auto;
  z-index: 1;
}

.navbar a {
  color: hsl(208, 100%, 97%);
  border: 1px solid hsl(208, 100%, 97%);
  border-radius: 5px;
  padding: 2px 5px;
  min-width: 90px;
}

.navbar a:hover {
  background-color: hsl(0, 0%, 26%);
}

a.activePage {
  color: hsl(0, 0%, 13%);
  background-color: hsl(208, 100%, 97%);
  pointer-events: none;
}

.mainUpper {
  display: flex;
}

.sideMenu {
  width: 220px;
  border-radius: 15px 0 0 15px;
  padding: 15px;
  margin-top: 30px;
}

.profileContainer {
  position: sticky;
  /* align-self: flex:start; */
  top: 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  border: 1px dashed hsl(0, 0%, 13%);
  border-radius: 10px;
  background-color: hsl(208, 100%, 97%);
}

.profileImage {
  transform: rotateZ(-5deg);
  max-width: 150px;
}

.profileImage img {
  width: 100%;
  border: 2px solid hsl(0, 0%, 100%);
  box-shadow: 2px 2px 5px hsla(0, 0%, 0%, 0.8);
}

.upperProfileDetails,
.lowerProfileDetails {
  padding: 10px;
  display: flex;
  flex-direction: column;
  column-gap: 10px;
  row-gap: 10px;
  justify-content: center;
}

.profileInfo {
  display: flex;
  flex-direction: column;
  column-gap: 5px;
  row-gap: 5px;
}

.skillset {
  display: flex;
  column-gap: 5px;
  row-gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
}

.skillset p {
  padding: 5px;
  background-color: hsl(0, 0%, 13%);
  border-radius: 5px;
  text-wrap: nowrap;
}

.contactInfo {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  column-gap: 10px;
  justify-content: space-between;
}

.contactItem {
  display: flex;
  column-gap: 5px;
  align-items: center;
}

.contactIcon {
  width: 25px;
  border-radius: 100%;
  border: 1px solid hsl(0, 0%, 13%);
  padding: 2px;
}

.contactLinks {
  display: flex;
  column-gap: 10px;
}

.contactLinks a,
.projectLinks a {
  display: flex;
  align-items: center;
}

.contactLinks a:hover {
  transform: scale(1.2, 1.2);
  transition: 0.1s all ease-out;
}

.contactLinks img {
  width: 20px;
}

.mainSection {
  padding: 15px;
  width: 100%;
  border-radius: 0px 15px 15px 0px;
}

.contentSection {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.aboutSection,
.changeSection,
.interestSection,
.techSection {
  position: relative;
  padding: 10px;
  background-color: hsl(208, 100%, 97%);
  border-radius: 10px;
  border: 1px dashed hsl(0, 0%, 13%);
}

.sectionContent {
  padding: 5px;
  max-height: 250px;
  overflow: scroll;
  max-width: 1100px;
}

.sectionContent p {
  text-align: justify;
  margin: 0 10px 0 0;
}

.sectionTitle {
  border-radius: 5px;
  border: 1px solid hsl(0, 0%, 13%);
  position: absolute;
  top: -15px;
  left: -15px;
  transform: rotateZ(-10deg);
  padding: 2px 10px;
  background-color: hsl(0, 0%, 13%);
  color: hsl(208, 100%, 97%);
}

.projectList {
  margin-top: 30px;
  display: grid;
  grid-template-columns: auto auto auto;
  grid-gap: 1em;
  align-items: stretch;
}

.projectCard {
  padding: 10px;
  background-color: hsl(208, 100%, 97%);
  border-radius: 10px;
  border: 1px dashed hsl(0, 0%, 13%);
  width: 100%;
}

.projectImageContainer {
  max-height: 100px;
  overflow: hidden;
  border-radius: 5px;
}

.projectImageContainer img {
  width: 100%;
  max-height: 100px;
  object-fit: cover;
  object-position: top;
  border-radius: 5px;
}

.projectTitle {
  margin-bottom: 5px;
}

.cardFooter {
  margin-top: auto;
  padding: 0 5px;
  display: flex;
  flex: 1;
  align-items: center;
  column-gap: 15px;
}

.projectLinks {
  display: flex;
  column-gap: 15px;
}

.projectLinks img {
  width: 20px;
}

.linkLine {
  flex-grow: 1;
}

/* Standard Breakpoints */
/* Mobile First Approach */
@media (min-width: 320px) {
  /* Mobile Small */
}
@media (min-width: 480px) {
  /* Mobile Large */
}
@media (min-width: 768px) {
  /* Tablet */
}
@media (min-width: 1024px) {
  /* Desktop */
}
@media (min-width: 1200px) {
  /* Large Desktop */
}
@media (min-width: 1440px) {
  /* Extra Large */
}

/* Desktop First Approach */
@media (max-width: 1439px) {
  /* Below XL */
  .projectList {
    grid-template-columns: auto auto;
  }
}
@media (max-width: 1199px) {
  /* Below Large */
  .container {
    width: 70%;
  }
}
@media (max-width: 1023px) {
  /* Below Desktop */
  .projectList {
    grid-template-columns: auto;
  }
}
@media (max-width: 767px) {
  /* Below Tablet */
  .container {
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    border-radius: 0;
  }
  .navbar {
    position: sticky;
    top: 0;
    right: 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px dashed hsl(0, 0%, 26%);
  }
  .mainUpper {
    flex-direction: column;
  }
  .sideMenu {
    width: 100%;
    border-radius: 0;
    margin-top: 0;
  }
  .profileContainer {
    flex-direction: row;
    justify-content: space-around;
    position: relative;
    align-self: center;
  }
  .upperProfileDetails {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .profileImage {
    max-width: 100px;
  }
  .profileInfo p {
    text-align: left;
  }

  .skillset {
    justify-content: left;
  }
  .profileHR {
    display: none;
  }
  .contactInfo {
    flex-direction: column;
    row-gap: 5px;
    column-gap: 5px;
  }
  .mainSection {
    border-radius: 0;
  }
  .contentSection,
  .projectList {
    margin-top: 10px;
  }
  .projectList {
    grid-template-columns: auto auto;
  }
}
@media (max-width: 479px) {
  /* Below Mobile Large */
  .profileContainer {
    flex-direction: column;
    justify-content: normal;
  }
  .profileHR {
    display: block;
  }
  .contactInfo {
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 10px;
  }
  .contactLinks {
    justify-content: center;
  }
  .projectList {
    grid-template-columns: auto;
  }
  .navbar a {
    min-width: 70px;
  }
}

.nest {
  list-style-type: none;
  padding-left: 5px;
}

.nested {
  list-style-image: url("assets/tree_down.png");
  padding-left: 20px;
}

.footerSection {
  padding: 15px;
}
