@import url('https://fonts.googleapis.com/css2?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&display=swap');
/*** resets ***/
:root {
  --mainTextColor: #fff;
  --secondaryTextColor: #adb0b1;
  --mainBorderColor: #2b3031;
  --mainBgColor: #000;

  --custom-blue: #047aed;
  --custom-green: #198754;
}

* {
  line-height: 1.5em;
  box-sizing: border-box;
  color: var(--mainTextColor);
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  font-size: 1.6rem;
  font-family: 'Poppins', sans-serif;
  background-color: var(--mainBgColor);
}

a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  font-family: inherit;
  text-decoration: none;
  font-weight: 500;
}
ul {
  list-style-type: none;
}
li {
  line-height: 2rem;
  margin-bottom: 10px;
}
/*** styles ***/
#container {
  max-width: 700px;
  margin: 20px auto;
  padding: 1rem;
}

.sections {
  padding-top: .2rem;
  padding-bottom: .2rem;
}

#hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 4rem;
  padding-right: 4rem;
}

#bio,
a {
  font-weight: 300;
}
#bio {
  font-size: 3rem;
  padding: 0;
  margin: 0;
  text-align: center;
}

#user-name {
  font-size: 5rem;
  line-height: 0;
  margin: 25px 0px;
}

#profile-pic {
  background-image: url('https://source.unsplash.com/random/150x150');
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
}

#email {
  color: var(--mainTextColor);
  text-align: center;
  margin: 0;
}
#email:hover {
  font-weight: 200;
  color: var(--custom-blue);
  font-size: 1em;
}
#socials-list {
  margin: 4px;
  padding: 0;
}
#socials-list a {
  font-weight: 300;
  color: var(--secondaryTextColor);
  transition: 0.3s;
}

#socials-list a:hover {
  font-weight: 200;
  color: var(--custom-blue);
  font-size: 1em;
}
/* About */
#about-me {
  margin-top: 30px;
}
#about-me span {
  color: var(--custom-blue);
  font-size: 2rem;
}

.card-project {
  padding-top: 1em;
  padding-bottom: 1em;
  border-top: 1px solid var(--mainBorderColor);
}

.card-project a {
  color: var(--mainTextColor);
  transition: 0.3s;
}

.card-project a:hover {
  color: rgb(30, 190, 214);
}

.card-listing {
  border-left: 1px solid var(--mainBorderColor);
  margin: 3em 0;

  padding-left: 2em;
}

.line-break {
  background-color: var(--mainBorderColor);
  height: 1px;
}

#linkedin {
  color: var(--custom-green);
}
#github {
  color: #de5246;
}

.icons {
  margin-left: 5px;
}
.icons i {
  padding: 0 3px;
}

.bullets {
  margin-left: -24px;
}

.social-section {
  display: flex;
  justify-content: center;
}

.collapse {
  background-color: transparent;
  border: none;
  outline: none;
}

.active,
.collapse:hover {
  color: var(--custom-blue);
}

.text {
  display: none;
}

footer {
  display: flex;
  justify-content: center;
  margin-top: 5rem;
}

#scroller {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: inherit;
  cursor: pointer;
  padding: 15px;
}
#scroller i {
  color: var(--custom-blue);
}

#scroller i:hover {
  color: var(--custom-green);
}

@media (max-width: 600px) {
  .sections {
    padding-top: 1em;
    padding-bottom: 1em;
  }

  #hero {
    display: flex;
    align-items: center;
    gap: 1em;
    flex-direction: column;
  }

  #profile-pic {
    width: 200px;
    height: 200px;
  }

  .card-listing {
    border-left: none;
    padding-left: 0;
  }

  #user-name {
    font-size: 3.6rem;
    text-align: center;
  }
  #bio {
    font-size: 1.8rem;
  }
  .lists {
    padding: 0 10px;
  }

  #socials-list {
    display: flex;
    justify-content: space-evenly;
  }
  .social-names {
    display: none;
  }
}

.skills-section {
  display: flex;
  flex-direction: column;
}

.skills-section ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  list-style-type: none;
}

.skills-section li {
  width: 20%;
  text-align: center;
  padding: 10px;
  border: 1px solid #ccc;
}

/* Media query for mobile phones */
@media only screen and (max-width: 480px) {
  .skills-section li {
    width: 50%;
  }
}

/* Media query for tablets */
@media only screen and (min-width: 481px) and (max-width: 768px) {
  .skills-section li {
    width: 33.3333%;
  }
}