body {
  margin: 0px;
}
header {
  display: flex;
  justify-content: center;
  border-bottom: solid 1px rgb(190, 190, 190);
}
.headerItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  max-width: 975px;
  flex: 1;
}
.instaLogoBox {
  display: flex;
  flex: 1;
  max-width: 300px;
  min-width: 0px;
}
.instaLogo {
  width: 103px;
  height: 29px;
  margin-left: 20px;
  cursor: pointer;
}
.search {
  box-sizing: border-box;
  background-color: rgb(240, 240, 240);
  border: none;
  border-radius: 8px;
  padding-left: 40px;
  max-width: 270px;
  min-width: 0px;
  height: 34px;
  display: flex;
  flex: 1;
  background-image: url(/Instagram/InstagramImg/search.png);
  background-position: 15px center;
  background-size: 17px 17px;
  background-repeat: no-repeat;
}
.headerItem input:focus {
  outline: none;
  background-image: none;
  padding-left: 17px;
}
.icon {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
.icon img {
  width: 24px;
  height: 24px;
  margin: 0 13px;
  padding: 2px solid transparent;
  cursor: pointer;
}
main {
  display: flex;
  justify-content: center;
  flex-direction: row; /*너비*/
  background-color: rgb(250, 250, 250);
  min-height: calc(100vh - 61px);
  flex: 1;
}
.leftMainBar {
  display: flex;
  flex-direction: column;
  width: 612px;
}
.leftMainBar1 {
  display: flex;
  /* flex: 1; column일때는 높이*/
  align-items: center;
  border: solid 1px rgb(190, 190, 190);
  margin-top: 25px;
  background-color: white;
  height: 100px;
  padding: 10px 0px;
}
.friend {
  display: flex;
  flex-direction: column;
  margin-left: 15px;
}
.friend p {
  margin: 0px;
  text-align: center;
}
.leftMainBar1 img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 3px;
  border: 2px red solid;
}
.leftMainBar2 {
  box-sizing: border-box;
  margin-top: 25px;
  border: solid 1px rgb(190, 190, 190);
  background-color: white;
  display: flex;
  /* flex: 1; */
  flex-direction: column;
  margin-bottom: 30px;
}
.userId {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: bold;
}
.userIdPhoto {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 1px;
  border: 2px red solid;
  margin-right: 5px;
}
.userMain {
  width: 100%;
  border: none;
  position: relative;
}
.userMainicons {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}
.userMainicons img {
  width: 24px;
  height: 24px;
  padding: 10px 10px;
}
.userMaintext1 {
  margin: 0;
  margin-left: 10px;
  font-weight: bold;
  margin-bottom: 10px;
}
.userMaintext2 {
  margin: 0;
}
.userMaintext4,
.userMaintext5 {
  color: gray;
  margin: 0;
  margin-top: 5px;
}
.userMaintext5 {
  margin-left: 10px;
}
.userMaintext6 {
  margin-left: 10px;
  font-size: 12px;
  margin: 8px;
  color: gray;
}
.userMainopinion {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-top: solid 1px rgb(195, 195, 195);
}
.userMainopinion div {
  display: flex;
  align-items: center;
}
.userMainopinion input {
  font-size: 14px;
  border: none;
}
.userMainopinion input:focus {
  outline: none;
}
.userMainopinion img {
  width: 24px;
  height: 24px;
  padding: 6px 10px;
}
.userMaintext7 {
  margin-right: 15px;
  color: rgb(158, 214, 236);
  font-size: 14px;
  font-weight: bold;
}
.rightMainBar {
  display: flex;
  flex-direction: column;
  width: 293px;
  font-size: 12px;
  color: gray;
  padding-top: 50px;
  padding-left: 30px;
}
.Myitem {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.Myitem2 {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.Myitem img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-right: 25px;
}
.Myname {
  display: flex;
  flex-direction: column;
  color: black;
}
.MyIdName {
  font-weight: bold;
  font-size: 14px;
  margin: 0;
}
.MyRealName {
  margin: 0;
  color: rgb(148, 148, 148);
  font-weight: bold;
}
.change {
  color: rgb(19, 183, 248);
  font-weight: bold;
  font-size: 13px;
}
.suggestion {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.suggestion1 {
  font-size: 15px;
  font-weight: bold;
}
.suggestion2 {
  font-weight: bold;
  color: black;
}
.rightMainBar {
  position: sticky;
  height: 330px;
  top: 0px;
}
.rightMainBar .userIdPhoto {
  border: none;
  margin-right: 10px;
}
.rightMainBar .userId {
  display: flex;
  justify-content: space-between;
}
.userId2 {
  display: flex;
}
@media screen and (max-width: 1000px) {
  .rightMainBar {
    display: none;
  }
}
@media screen and (max-width: 870px) {
  .instaLogoBox {
    width: 103px;
    height: 29px;
  }
}
@media screen and (max-width: 650px) {
  .search {
    display: none;
  }
}
