/*
* Profile box design by https://github.com/mrsaky
* Whole profile design by https://github.com/IchiiDev
*/

:root {
  --dark: #23272a;
  --less-dark: #2c2f33;
  --blurple: #5865f2;
}

html,
body {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  height: 100%;

  /*
  background-color: #333;
  */

  background: rgb(2,0,36);
  background: linear-gradient(45deg, rgb(0, 0, 0) 0%, rgb(78, 78, 78) 100%);


  overflow: hidden;
}

.profile {
  background-color: #2c2f33;
  width: 600px;
  margin: 10% auto 50px;
  border-radius: 20px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 400px;
  padding: 0;
}

.top-part {
  background-size: cover;
  background-position: center;
  /*  background-color: var(--dark); */
  padding: 10px;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
}

.top-part > img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  align-self: center;
  border: 2px solid rgb(102, 102, 102);
}

.top-part > p.name {
  color: #ffffff;
  font-size: 25px;
  align-self: center;
  margin: 5px;
  text-shadow: 2px 2px rgba(37, 37, 37, 0.534);
}

.top-part > ul.badges {
  align-self: center;
  display: flex;
  list-style: none;
}

ul.badges > li {
  margin-left: 5px;
  width: 25px;
  height: 25px;
  align-self: center;
}

.bottom-part {
  background-color: #000000;
  border-radius: 0 0 20px 20px;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.bottom-part > ul.social {
  display: flex;
  align-self: center;
}

ul.social > li {
  margin-right: 10px;
}

li > a {
  color: #fff;
  font-size: 30px;
  transition: color 0.3s;
}

li > a:hover {
  color: #cfcfcf;
  transition: color 0.3s;
}

.bio {
  padding: 20px;
}

.bio > p {
  color: #fff;
  text-align: center;
}

.bio a {
  color: #c9d1d9;
  text-decoration: none;
  transition: text-decoration 0.1s;
}

.bio a:hover {
  text-decoration: underline;
  transition: text-decoration 0.1s;
}

hr {
  margin: 0;
  height: 1px;
  background-color: var(--dark);
}

.projects > h1 {
  color: #fff;
  font-size: 15px;
  margin: 10px;
}

.projects > .project-box {
  box-shadow: none;
  transition: box-shadow 0.1s;
  display: flex;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 5px 5px 5px 10px;
}

.projects > .project-box:hover {
  box-shadow: 0 0 7px 3px rgba(255, 255, 255, 0.75);
  transition: box-shadow 0.1s;
}

.project-box > img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.project-box > p {
  color: #fff;
  margin-left: 10px;
  margin-top: 8px;
  font-size: 20px;
}

@media (max-width: 600px) {
  body {
    overflow-y: scroll !important;
  }

  .box.profile {
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .top-part {
    border-radius: 0;
  }
  .bottom-part {
    border-radius: 0;
  }
}
