/* media queries */
/*
    breakpoints for devices

    0 - 600px        ---->    Mobile
    600px - 900ox    ---->    Tablets
    900px - 1200px   ---->    Desktop
    1200px +         ---->    Biger screens + infinite


*/
/*
    --color-primary: #e2e2e2;
    --color-black:   #000;
    --color-white:   #fff;
*/
:root {
  --color-primary: #e2e2e2;
  --color-black:   #000;
  --color-white:   #fff;
  --color-red:     #FF2D2D; }

.u-border-top {
  border-top: 1px solid var(--color-white); }

* {
  padding: 0;
  margin: 0; }

*,
*::after,
*::before {
  box-sizing: inherit; }

html {
  box-sizing: border-box;
  font-size: 62.5%; }
  @media only screen and (max-width: 56.25em) {
    html {
      font-size: 56.25%; } }
  @media only screen and (max-width: 37.55em) {
    html {
      font-size: 50%; } }

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6rem;
  padding: 0 2rem;
  color: var(--color-primary);
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../img/Photos-Earth-From-Space.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh; }

.header__title {
  font-size: 2rem; }

.header__navlink {
  display: flex;
  list-style: none; }
  .header__navlink :not(:last-child) {
    margin-right: 2rem; }
  .header__navlink li a {
    color: var(--color-primary);
    text-decoration: none; }
    .header__navlink li a i {
      font-size: 1.6rem;
      transform: translate(0px, 6px); }

.header__profile {
  display: flex;
  align-items: center; }
  .header__profile :not(:last-child) {
    margin-right: 2rem; }
  .header__profile--notif {
    font-size: 3rem;
    position: relative; }
    .header__profile--notif span {
      position: absolute;
      height: 25px;
      width: 25px;
      border-radius: 100px;
      background-color: var(--color-red);
      top: -1rem;
      right: -1rem;
      font-size: 1.8rem;
      text-align: center;
      justify-content: center;
      display: flex;
      line-height: 2rem; }
  .header__profile--img {
    height: 50px;
    width: 50px;
    border-radius: 100%;
    object-fit: cover; }

@media only screen and (max-width: 56.25em) {
  .header__title {
    display: none; }
  .header__navlink :not(:last-child) {
    margin-right: 1.5rem; }
  .header__navlink li a i {
    font-size: 1.4rem; }
  .header__profile :not(:last-child) {
    margin-right: 1.5rem; }
  .header__profile--notif {
    font-size: 2rem; }
    .header__profile--notif span {
      height: 20px;
      width: 20px;
      top: -1.6rem;
      right: -1.5rem;
      font-size: 1.4rem;
      line-height: 2rem; }
  .header__profile--img {
    height: 50px;
    width: 50px;
    border-radius: 100%;
    object-fit: cover; } }

@media only screen and (max-width: 37.55em) {
  .header {
    font-size: 1.6rem !important; }
    .header__profile--img {
      height: 35px;
      width: 35px; } }

@media only screen and (max-width: 20em) {
  .header__navlink li a i {
    display: none; } }

.left-side__palnets {
  display: flex;
  justify-content: space-evenly;
  width: 100%; }
  .left-side__palnets img {
    height: 90px;
    width: 90px; }

.left-side__about {
  transform: translateY(-3.5rem); }
  .left-side__about--paragraph {
    line-height: 2;
    text-align: left;
    width: 80%;
    font-size: 1.4rem; }

.left-side__btn {
  margin-top: 3rem; }
  .left-side__btn a {
    text-decoration: none;
    padding: 1rem 6rem;
    font-size: 2rem;
    font-weight: 600;
    border-radius: .7rem;
    border: none;
    opacity: .8;
    cursor: pointer;
    background: var(--color-white);
    color: var(--color-black); }

@media only screen and (max-width: 56.25em) {
  .left-side__palnets {
    padding: 2rem 0 4rem 0; }
    .left-side__palnets img {
      height: 70px;
      width: 70px; }
  .left-side__about {
    transform: translateY(0); }
    .left-side__about--paragraph {
      width: 100%;
      padding-bottom: 2rem; }
  .left-side__btn a {
    padding: 1rem 2rem; } }

.center__publishers {
  display: flex;
  align-items: center;
  padding: 2rem; }
  .center__publishers--name {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: capitalize;
    margin-right: 2rem; }
  .center__publishers--picture {
    position: relative; }
    .center__publishers--picture img {
      height: 45px;
      width: 45px;
      border-radius: 100px;
      box-shadow: 0 0 0 3px var(--color-white); }
    .center__publishers--picture--1 {
      position: relative; }
    .center__publishers--picture--2 {
      position: absolute;
      left: 2rem; }
    .center__publishers--picture--3 {
      position: absolute;
      left: 4rem; }

@media only screen and (max-width: 75em) {
  .center__publishers {
    display: block; } }

@media only screen and (max-width: 56.25em) {
  .center__publishers {
    display: flex;
    padding: 2rem 0;
    justify-content: space-evenly; } }

/*article__content*/
.article__content {
  margin-top: 2.5rem;
  text-align: left;
  padding: 2rem 2rem; }
  .article__content__title {
    text-transform: capitalize;
    font-size: 3rem; }
    .article__content__title i {
      font-size: 2.5rem;
      margin-left: 1rem; }
  .article__content__paragraph {
    padding-top: 2rem;
    line-height: 2rem;
    font-size: 1.4rem; }
  .article__content__list {
    display: flex;
    list-style: none;
    padding-top: 2rem;
    line-height: 2rem;
    font-size: 1.4rem; }
  @media only screen and (max-width: 56.25em) {
    .article__content {
      padding: 2rem 0rem; }
      .article__content__title {
        font-size: 2rem; }
        .article__content__title i {
          font-size: 2rem;
          margin-left: 1rem; } }

.header {
  display: flex;
  text-transform: capitalize;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  font-size: 2rem; }

.content {
  display: flex;
  font-size: 1.2rem; }
  @media only screen and (max-width: 56.25em) {
    .content {
      display: block; } }

.left-side {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-content: space-between; }

.center {
  display: flex;
  flex: 0 0 26%;
  flex-direction: column;
  border-right: 2px solid var(--color-white);
  border-left: 2px solid var(--color-white); }
  @media only screen and (max-width: 56.25em) {
    .center {
      margin-top: 5rem;
      border-right: none;
      border-left: none;
      border-top: 2px solid var(--color-white); } }

.right-side {
  padding-top: 2rem;
  display: flex;
  flex: 1;
  flex-wrap: wrap; }
