html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
p,
a,
i,
ul,
form,
article,
footer,
header,
menu,
nav,
section {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
  text-decoration: none;
}
/* HTML5 display-role reset for older browsers */
article,
footer,
header,
nav,
section {
  display: block;
}

ul {
  list-style: none;
}

body {
  line-height: 1;
  font-size: 18px;
  font-family: "Roboto", sans-serif;
  flex-shrink: 0;
}

nav {
  font-size: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
  flex-grow: 2;
  max-width: 975px;
}

.chusgram {
  flex: 1 9999 0%;
  min-width: 40px;
}

.chusgram h2 {
  font-family: "Norican", cursive;
  font-weight: 600;
  font-size: 1.8rem;
}

.searcharea {
  flex: 0 1 auto;
  min-width: 125px;
  width: 215px;
  height: 28px;
}

.searcharea .searchbox {
  border-radius: 3px;
  color: #8e8e8e;
  cursor: text;
  font-size: 14px;
  font-weight: 300;
  padding: 7px;
  text-align: center;
  background-color: #fafafa;
  border-radius: 5px;
  border: 1px solid #dbdbdb;
}

.searchbox span {
  display: inline-block;
  color: #dbdbdb;
  font-size: 1rem;
  margin-bottom: auto;
  margin-top: auto;
}

.icongroup {
  flex: 1 0 0%;
  display: flex;
  justify-content: flex-end;
}

.icon {
  margin-left: 15px;
}

.profile-icon {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  overflow: hidden;
}

main {
  background-color: #fafafa;
}

.content {
  max-width: 975px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px 20px 0;
}

header {
  display: flex;
  padding-bottom: 30px;
}

.profile-pic {
  width: 300px;
}

.pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}

img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.profile-content {
  width: 675px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.username {
  display: flex;
  margin-bottom: 30px;
}

.username h1 {
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.btn-group {
  margin-left: 40px;
  display: flex;
}

.button {
  margin-left: 10px;
  padding: 7px 15px;
  border: 1px solid #dbdbdb;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
}

.userstatus {
  margin-bottom: 15px;
}

.userstatus ul {
  display: flex;
  justify-content: flex-start;
}

.userstatus li {
  margin-right: 40px;
}

li span {
  font-weight: 700;
}

.name,
.title,
.about {
  margin-bottom: 25px;
  line-height: 1;
}
.name {
  margin-top: 10px;
  font-weight: 700;
}

.title {
  font-weight: 600;
  font-size: 0.9rem;
  color: gray;
}

.feedbar-outside-box {
  border-top: 1px solid #e0e0e0;
}

.feedbar-box {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  width: 300px;
  display: flex;
  justify-content: space-around;
}
.feedbar-icon {
  padding-top: 20px;
  cursor: pointer;
}
.feedbar-icon span {
  margin-right: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: darkgrey;
}

.feedbar-icon:first-child {
  border-top: 1px solid #8e8e8e;
  margin-top: -1px;
}

#post {
  color: black;
}

article {
  max-width: 975px;
  display: flex;
  flex-direction: column;
}

.feed-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 17.5px;
  flex-wrap: wrap;
}

.feed {
  width: 30vw;
  height: 30vw;
  max-width: 300px;
  max-height: 300px;
  margin-bottom: 2vw;
}


.footer-wrap {
  color: #8e8e8e;
  font-size: 0.8rem;
  margin-top: 20px;
  padding-bottom: 20px;
}

.links {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.links span {
  margin-right: 10px;
  cursor: pointer;
}

.copyright {
  display: flex;
  justify-content: center;
}

.copyright span {
  margin-right: 10px;
}

/* @media screen and (max-width: 992px) {
  .feed {
    width: 270px;
    height: 270px;
  }
} */

@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
  }

}

@media screen and (max-width: 640px) {
  body {
    font-size: 14px;
  }
  .pic {
    width: 100px;
    height: 100px;
    margin-left: 15px;
  }
}

@media screen and (max-width: 576px) {
  .content {
    padding: 0;
  }
  .searcharea {
    display: none;
  }
  header {
    padding-bottom: 5px;
  }

  .username {
    flex-direction: column;
    margin-bottom: 40px;
    order: 1;
  }

  .username h1 {
    margin-bottom: 20px;
  }

  .btn-group {
    margin-left: 0;
  }
  .button:first-child {
    margin-left: 0;
  }

  .userstatus,
  .userintro {
    margin-left: -140px;
  }

  .userstatus {
    margin-left: -160px;
    order: 3;
    margin-bottom: 0;
    padding-top: 10px;
    border-top: 1px solid #dbdbdb;
  }
  .userstatus ul {
    justify-content: space-around;
  }
  .userstatus li {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-right: 0;
  }

  .userintro {
    order: 2;
  }

  .feedbar-box {
    width: auto;
  }
}
