@import url(http://fonts.googleapis.com/css?family=Roboto:400,300,600,700,800);

/* reset css */
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
}

body {
  font-family: Roboto, sans-serif;
}

ol,
ul {
  list-style: none;
}

.page__wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.main__header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 0;
}

.main__header__title {
  font-size: 20px;
  font-weight: 600;
  margin-left: 10px;
  color: rgb(0, 0, 0);
}


.main__title {
  font-size: 20px;
  font-weight: 600;
  margin-left: 10px;
  color: rgb(0, 0, 0);
}


.main__content {
  margin-bottom: 2rem;
}

.blog__card {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 10px;
}

.blog__card:hover {
  background-color: rgb(245, 245, 245);
  cursor: pointer;
  border-radius: 10px;
}

.blog__badge {
  position: absolute;
  top: 15px;
  left: 15px;
  height: fit-content;
  padding: 2px 4px;
  background-color: rgb(29, 203, 128);
  color: rgb(255, 255, 255);
  font-size: 10px;
  font-weight: 600;
  border-radius: 2px;
}

.blog__card__image {
  min-width: 90px;
  max-width: 90px;
  min-height: 90px;
  max-height: 90px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
}

.blog__card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.blog__content__title {
  font-size: 15px;
  font-weight: 600;
  color: rgb(0, 0, 0);
  line-height: 20px;
}

.blog__content__description {
  font-size: 13px;
  font-weight: 400;
  color: rgb(0, 0, 0);
  margin-top: 5px;
  line-height: 19px;
  /* cur number of lines to only 2 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog__content__date {
  font-size: 12px;
  font-weight: 400;
  color: #70767b;
}







.main__header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 0;
  background-color: white;
  display: flex;
  justify-content: space-between;
}

.main__header__title {
  font-size: 80px;
  font-weight: 600;
  margin-left: 10px;
  color: rgb(0, 0, 0);
}

.main__content {
  margin-bottom: 2rem;
}

.blog__card {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 10px;
}

.blog__card:hover {
  background-color: rgb(245, 245, 245);
  cursor: pointer;
  border-radius: 10px;
}


.blog__title {
  font-size: 15px;
  font-weight: 600;
  color: rgb(0, 0, 0);
  line-height: 18px;
  margin-top: 1rem;
}


.blog__description {
  font-size: 13px;
  font-weight: 400;
  color: rgb(0, 0, 0);
  margin-top: 5px;
  line-height: 19px;
  /* cur number of lines to only 2 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog__date {
  font-size: 12px;
  font-weight: 400;
  color: #70767b;
}
.blog__view {
  font-size: 12px;
  font-weight: 400;
  color: #70767b;
}


.blog__image {
  width: 100%;
  border-radius: 10px;
}

.blog__title {
  font-size: 2rem;
  font-weight: 600;
  color: rgb(0, 0, 0);
  line-height: 1.2;
  margin-bottom: 1rem;
  
}
.blog h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgb(0, 0, 0);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.blog h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgb(0, 0, 0);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.blog p {
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 1rem;
  color: #0f1419;
}

.share__buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: space-between;
  padding: 1rem; 
}

.social__button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
  color: #492bfd;
  border-radius: 10px;
}

.social__button:hover {
  color: #c7c7c7;
}

.social__button i {
  font-size: 20px;
}

footer {
  padding: 1rem;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #70767b;
}


footer p {
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  color: #70767b;
}