/* style elemen body */
body {
  margin: 8px;
  padding: 2px;
  box-sizing: border_box;
  font-family: "Trebuchet MS";
}
/* style elemen header */
.header {
  background-color: cornflowerblue;
  padding: 20px;
  color: white;
  text-align: center;
}
/* style clas container */
.container {
  display: grid;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f4f6eb;
}
/* style class card */
.card {
  margin-top: 8px;
  width: 520px;
  min-height: 400px;
  background-color: #fff;
  box-shadow: 15px 15px 60px rgba(0, 0, 0, 0);
  padding: 12px;
}
/*style class top*/
.card .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* stle class userdetails */
.card .top .userdetails {
  display: flex;
  align-items: center;
}
/*style class profile_img*/
.card .top .userdetails .profile_img {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50px;
  overflow: hidden;
  margin-right: 8px;
}
/* style class cover */
.cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* style elemen h3 im class userdetails*/
.card .top .userdetails h3 {
  font-size: 18px;
  color: #000;
  font-weight: 500;
  line-height: 0, 9em;
}
/* style elemen spam dalam h3*/
.card .top .userdetails h3 span {
  font-size: 0, 75em;
}
/* style class dot*/
.dot {
  transform: scale(0, 60);
  cursor: pointer;
}
/* style class imgbx */
.imgbx {
  position: relative;
  width: 100%;
  height: 320px;
  margin: 110px o 15px;
  cursor: pointer;
}
/* style class actionBtn*/
.actionBtn {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* style clas elemen dalam class actionBtn*/
.actionBtn img {
  max-width: 24px;
  cursor: pointer;
}
/* style elemen img dalam class lef actionBtn */
.actionBtn .left img {
  margin-left: 8px;
}
/* style class likes*/
.likes {
  font-weight: 500;
  margin: 5px;
  font-size: 16px;
  color: #fff;
}
/* style class messages*/
.messages {
  font-weight: 400;
  margin: 5px;
  color: #000;
  line-height: 1, 5 em;
}
/* style class b(bold) dalam class mesage */
.messages b {
  color: #000;
}
/* style class span dalam class message */
.messages span {
  color: rgba(72, 72, 246);
  cursor: pointer;
}
.coments {
  margin-top: 10px;
  font-weight: 400px;
  color: #999;
}
/* style class addcoments*/
.addcoments {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
/* style class userimg dalam class addcoments*/
.addcoments .userimg {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 8px;
}
/* style class text*/
.text {
  width: 100%;
  border: none;
  outline: none;
  font-weight: 400;
  color: #262626;
}
/* style class postime*/
.postime {
  margin-top: 10px;
  font-weight: 500px;
  color: #777;
}

/* ------------css responsive mobile App---------*/
@media only screen and (max-width: 720px) {
  .header,
  .container,
  .card {
    width: 100%;
    margin: 8px;
  }
}
@media only screen and (max-width: 520px) {
  .header .container .card {
    width: 100%;
    margin: 8px;
  }
}
@media only screen and (max-width: 360px) {
  .header .container .card {
    width: 100%;
    margin: 8px;
  }
}
