* {
  margin: 0;
  box-sizing: border-box;
}
main {
  width: 100vw;
  background: #34465d;
}

/* header part start */

.header__left img {
  height: 40px;
}

.user__avatar {
  border-radius: 50%;
  width: 45px;
}

.header {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;

  z-index: 100;
  top: 0;
  box-shadow: 0 5px 8px -9px rgba(0, 0, 0, 0.75);
}

.header__left {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.header__input {
  background: #efefef;
  width: 350px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  margin-left: 60px;
}

.header__input input {
  width: 100%;
  background: transparent;
  padding: 10px;
  outline: none;
  border: 0;
}
.right_input {
  width: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  margin-left: -120px;
}

.right_input input {
  background: transparent;
  padding: 10px;
  outline: none;
  border: 0;
}

.header__info {
  display: flex;
  align-items: center;
}

.header__info h4 {
  margin-left: 10px;
}

.header__right {
  display: flex;
  align-items: center;
}

.header__right .material-icons {
  color: lightgrey;
  margin: 0 20px;
  font-size: 30px;
}

.header__right .material-icons:hover {
  cursor: pointer;
  color: #ffff;
}
.header__right .material-icons.active {
  color: #ffff;
}

/* end header part */

/* sidebar  */
.explore {
  background-color: #fff;
  width: 180px;
  height: 200px;
  margin: 1px 0px 20px 20px;
  padding: 10px;
}
.apps {
  background-color: #fff;
  padding: 5px;
}
.apps.m-app {
  display: inline-block;
}
.apps > .m-app > img {
  cursor: pointer;
  width: 90px;
  height: 50px;
}
.suggestion {
  margin-top: 10px;
  justify-content: space-evenly;
  background-color: #fff;
  padding: 6px;
}

.sidebarRow {
  display: flex;
  align-items: center;
  padding: 7px 5px 0 0;
  cursor: pointer;
}

.sidebarRow:hover {
  background-color: lightgray;
  border-radius: 10px;
}

.sidebarRow h4 {
  margin-left: 20px;
  font-weight: 400;
}

.sidebarRow .material-icons {
  font-size: 20px;
  color: gray;
}
.widgets {
  background-color: #fff;
  width: 180px;
  height: 150px;
  margin: 10px 0px 20px 20px;
  padding: 10px;
}

.button {
  display: flex;
  justify-content: space-evenly;
}
/* end sidebar */

/* story part start*/
.story {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  width: 120px;
  height: 200px;
  box-shadow: 0px 5px 17px -7px rgba(0, 0, 0, 0.75);
  border-radius: 10px;
  margin-right: 10px;
  transition: transform 100ms ease-in;
  cursor: pointer;
}

.story:hover {
  transform: scale(1.07);
}

.story__avatar {
  margin: 10px;
  color: blue;
}

.story h4 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
}

.storyReel {
  padding: 10px 0;
  display: flex;
}

.main__body {
  display: flex;
}

body {
  background-color: #f1f2f5;
}

.feed {
  flex: 1;
  padding: 30px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sidebar {
  padding: 25px 10px;
  flex: 0.33;
}

/* end story part */

/* message sender part start */

.messageSender {
  display: flex;
  margin-top: 30px;
  flex-direction: column;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0px 5px 7px -7px rgba(0, 0, 0, 0.75);
  width: 100%;
}

.messageSender__top {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eff2f5;
  padding: 15px;
}

.messageSender__top form {
  flex: 1;
  display: flex;
}

.messageSender__top form input {
  flex: 1;
  outline-width: 0;
  border: none;
  padding: 15px 20px;
  margin: 0 10px;
  border-radius: 999px;
  background-color: #eff2f5;
}

.messageSender__bottom {
  display: flex;
  justify-content: space-evenly;
}

.messageSender__option {
  padding: 8px;
  display: flex;
  align-items: center;
  color: gray;
  margin: 5px;
}

.messageSender__option h3 {
  font-size: medium;
  margin-left: 10px;
}

.messageSender__option:hover {
  cursor: pointer;
  background-color: #eff2f5;
  border-radius: 20px;
}

/*end message sender part */

/* post part start*/

.post {
  width: 100%;
  margin-top: 15px;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0px 5px 7px -7px rgba(0, 0, 0, 0.75);
}

.post__image img {
  width: 100%;
}

.post__top {
  display: flex;
  position: relative;
  align-items: center;
  padding: 15px;
}

.post__avatar {
  margin-right: 10px;
}

.post__topInfo h3 {
  font-size: medium;
}

.post__topInfo p {
  font-size: small;
  color: gray;
}

.post__bottom {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 15px 25px;
}

.post__options {
  padding-top: 10px;
  border-top: 1px solid lightgray;
  display: flex;
  justify-content: space-evenly;
  font-size: medium;
  color: gray;
  cursor: pointer;
  padding: 15px;
}

.post__option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  flex: 1;
}

.post__option p {
  margin-left: 10px;
}

.post__option:hover {
  background-color: #eff2f5;
  border-radius: 10px;
}

/* end post part */

/* media queries */

/* for mobile view */

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .header__right .material-icons {
    color: gray;
    margin: 0 10px;
    font-size: 30px;
  }

  .header__input {
    display: none;
  }

  .header__info {
    display: none;
  }

  .widgets {
    display: none;
  }

  .feed {
    margin-top: 20px;
    width: 100%;
    padding: 0;
  }

  .story h4 {
    font-size: 10px;
  }

  .story img {
    width: 40px;
  }
}

@media (min-width: 320px) {
  .storyReel {
    width: 100%;
    overflow-x: scroll;
  }
}
/* CSS To Target 767 px width of large screen*/

@media (min-width: 769px) and (max-width: 1440px) {
  .feed {
    width: 50%;
    padding: 10px 50px;
  }
}
