/* common styles */
* {
    margin: 0;
    padding: 0p;
    font-family: "Josefin Sans", sans-serif;
    outline: none;
}
 
html {
    font-size: 62.5%;
}
 
body {
    background-color: #f0f8fd;
}
/* end of common styles */
/* main page */
.main-page {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr min-content;
}
/* left */
.left {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background-color:#5a0283;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2.5rem;
    box-shadow: 0 0 0.7rem rgba(0, 0, 0, 0.3);
}

.left-content div {
    display: flex;
    align-items: center;
    margin: 4rem;
    color: white;

}

.left-content i {
    font-size: 3rem;
    margin-right: 2rem;
}

.left-content h3 {
    font-size: 2rem;
}

/* end of left */

/* right*/

.right {
    grid-column: 2 / -1;
    grid-row: 1 / 2;
    position: relative;
  background-color: white;
  border-radius: 3rem;
  border: .1rem solid #ddd;
  box-shadow: 0 0 0.7rem rgba(0, 0, 0, 0.3);
}

.right-content-form {
    display: flex;
   justify-content: center;
   margin-top: 3rem;
   
}
.right-content-form div {
    position: relative;
}

.right-content-form input {
    width: 15rem;
    height: 3rem;
    margin-right: 1rem ;
    font-size: 1.6rem;
    padding: 0 1rem;
    border: .1rem solid #ddd;
    border-radius: .5rem;
    background-color: #ffffff ;
    transition: background-color 3ms;
}

.right-content-form input:focus {
    background-color: #bca5c742;
    outline: none;
}

.right-content-form label {
    position: absolute;
    top: 5rem;
    left: 0;
    font-size: 1.6rem;
    font-weight: 200;
    color: #c2c2c2a6

}

.btn-top {
    width: 8rem;
    background-color: #ffffff;
    color: #5a0283;
    border: .1rem solid #af03ff;
    border-radius: 3rem;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-top:hover {
    background-color: #eeeeee;
}

.middle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display:  flex;
    flex-direction: column;
    width: 40%;
}

.middle-content i {
    color: #5a0283;
    font-size: 4rem;
   
    margin-bottom: 2rem;

}

.middle-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 3rem;
}

.middle-content h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.middle-content button {
    margin: .8rem 0;
    padding: 0.5rem;
    border: .1rem solid #500274;
    border-radius: 3rem;
    font-size: 1.6rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.sign-up {
    background-color: #af03ff;
    color: #ffffff;
}

.sign-up:hover {
    background-color: #3b0355;
}

.log-in {
    background-color: rgb(243, 243, 243);
}

.log-in:hover {
    background-color: rgba(187, 160, 192, 0.404);
}

/* end of right*/
/* footer*/
.main-page-footer {
    grid-column: 1/ -1;
    grid-row: 2 / -1;
    padding: 1.5rem;
    border-top: .1rem solid #ddd;
}

.main-page-footer ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.main-page-footer a {
    font-size: 1.6rem;
    margin: 0.5rem;
    text-transform: none;
    color: #444;
    font-weight: 300;
}
/* end of  footer*/
/* end of main page */

/* login page */
.login-page {
    width: 100%;
    height: 100vh;
    display: none;
    grid-template-columns: minmax(5rem, 1fr) 2fr minmax(5rem, 1fr);
    grid-template-rows: repeat(2, min-content) 1fr;
    grid-row-gap: 1.5rem;
  }
  
  /* login page nav */
  .login-page-nav {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    background-color: #fff;
    padding: 2.5rem 0;
    box-shadow: 0 0 0.7rem rgba(0, 0, 0, 0.3);
    border-radius: 2.5rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
  }
  
  .login-page-nav ul {
    width: 100rem;
    margin: auto;
    display: flex;
    align-items: flex-end;
    list-style: none;
  }
  
  .login-page-nav li {
    margin: 0 1rem;
    position: relative;
  }
  
  .login-page-nav li:last-child {
    margin-left: auto;
  }
  
  .login-page-nav li::after {
    content: "";
    width: 100%;
    height: 0.4rem;
    background-color: #3b0355;
    position: absolute;
    bottom: -2.5rem;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .login-page-nav li:hover::after {
    opacity: 1;
  }
  
  .login-page-nav a {
    font-size: 1.6rem;
    text-decoration: none;
    color: #555;
    transition: color 0.3s;
  }
  
  .login-page-nav li:hover a {
    color: #3b0355;
    /*#1aa1f5*/
  }
  
  .login-page-nav i {
    color: #3b0355;
    font-size: 2rem;
  }
  /* end of login page nav */
  
  /* login */
  .login {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    background-color: #fff;
    width: 100rem;
    display: grid;
    grid-template-columns: 10rem 8fr;
    grid-template-rows: 2fr 1fr;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.3);
    border-radius: 2.5rem;
  }
  
  .login-content {
    grid-column: 2 / -1;
    grid-row: 1 /2;
    padding: 5rem 0 1rem 0;
    
  }
 
  
  .login-content h2 {
    font-size: 2.4rem;
    margin-bottom: 3rem;
  }
  
  .login-form {
    display: flex;
    flex-direction: column;
    
  }



  .login-form div {
      margin-top: 3rem;
  }

  .login-form button {
      padding: 1rem 1.5rem;
      background-color: #3b0355;
      color: white;
      border-radius: 4rem;
      border: 0.1rem solid #3b0355;
      font-size: 1.5rem;
      font-weight: bold;
      margin-right: 1rem;
      cursor: pointer;
  }

  .login-form label {
      font-size: 1.6rem;
      font-weight: 300;
      margin-right: 1rem;
  }

  .login-form a{
      text-decoration: none;
      font-size: 1.6rem;
      color: #3b0355;
  }
  
  .login-form input:not(.login-form-checkbox) {
    width: 30rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border: 0.1rem solid #ddd;
    border-radius: 0.5rem;
    padding-left: 1rem;
    font-size: 1.5rem;
    transition: background-color 0.3s;
  }
  
  .login-form input:focus {
    background-color: #eed9f7;
  }
  
  .login-footer {
    grid-column: 1 / -1;
    grid-row: 2 / -1;
    background-color: #edf3f7;
    padding-left: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 2rem;
  }

  .login-footer p {
      font-size: 1.6rem;
      font-weight: 300;
      margin: 0.5rem 0;
  }

  .login-footer a{
    text-decoration: none;
    font-size: 1.6rem;
    color: #3b0355;
}
  /* end of login */
  /* end of login page */
/*feeds page*/
.feeds_page {
  width: 100%;
  height: 100vh;
  display:none;
  /*display: block;*/
}

.feeds_nav {
  position: fixed;
  width: 100%;
  height: 6.5rem;
  background-color: rgb(255, 255, 255);
  display: flex;
  justify-content: center;
  box-shadow:0 0 .7rem rgba(0, 0, 0, 0.3);
  border-radius: 3rem;
  margin-left: .5rem;
  margin-right: .5rem;
  margin-top: .5rem;
}

.icons {
  display: flex;
  align-items: center;
  
}

.icons a{
  text-decoration: none;
  margin-right: 7rem;
  font-size: 2.5rem;
  color: #9e9e9e;
  
}

.icons :hover {
  color:#5a0283;
  
}

/*icons .active {
  color:#3b0355;
}*/

.search-bar {
  display: flex;
  align-items: center;
  position: relative;
}

.search-bar-input {
  width: 30rem;
  height: 2.5rem;
  border: .1rem solid rgb(133, 122, 134);
  border-radius: 3rem;
  
  background-color:rgb(255, 255, 255);
  padding-left: 2.5rem;
  transition: all 0.4s;
}

.search-bar-input:focus {
  background-color: rgb(250, 246, 250);
  border-color: rgb(85, 79, 85);
}

.search-bar i {
  position: absolute;
  font-size: 1.5rem;
  left: .8rem;
  color: #9e9e9e;
}

.user {
  display: flex;
  align-items: center;
  margin: 3rem;
  cursor: pointer;
}

.user-img {
  width: 4rem;
  height: 4rem;

}

.user-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.3);
}

.user-link {
  margin: 0 1rem;
  text-decoration: none;
  font-size: 1.5rem;
  color: #444;
  
}



.user-link i {
  color: #444;
  font-size: 1.6rem;
}
/* end of feeds page*/
/* feeds content*/
.feeds-content {
  display: grid;
  grid-template-columns: minmax(1rem, 1fr) 60rem 45rem minmax(1rem, 1fr);;
  grid-template-rows: min-content;
  padding-top: 6.5rem;
  
}

.feeds-header {
  grid-column: 2/3;
  grid-row: 1/2;
  background-color: #fff;
  margin-top: 1.5rem;
  border-radius: 2.5rem;
  box-shadow:0 0 .7rem rgba(0, 0, 0, 0.3);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.1rem solid #eee;
  padding: 1.5rem;
}

.header-top h3 {
  font-size: 2.2rem;
}

.header-top i {
  font-size: 2rem;
  color: #5a0283;
}

.header-posts {
  display: flex;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 0.1rem solid #eee;
}

.img-posts {
  width: 4rem;
  height: 4rem;
  margin-right: 1.5rem;
}

.img-posts img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  margin-left:1rem;
  margin-top: 0.5rem;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.3);
}

.header-input {
  width: 40rem;
  height: 2.5rem;
  border: .1rem solid rgb(133, 122, 134);
  border-radius: 3rem;
  margin-top: 0.5rem;
}

.header-posts i {
  font-size: 2.5rem;
  color:#5a0283;
  margin: 1rem;
  margin-top: 1rem;
}

/*  Post content*/
.feeds-posts {
  display:grid;
  grid-template-columns: minmax(1rem, 1fr) 60rem 45rem minmax(1rem, 1fr);;
  grid-template-rows: max-content;
  padding-top: 1rem;
 
}

.post-info {
  grid-column: 2/3;
  grid-row: 1/2;
  background-color: white;
  border-radius: 2.5rem;
  box-shadow:0 0 .7rem rgba(0, 0, 0, 0.3);
  display:flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.user-avatar {
  width: 5rem;
  height: 5rem;
  margin: 1rem;
  
}

.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.3);
}

.post-content-info {
  display: flex;
  align-items: center;
  padding-top: 2rem;
  border-bottom: .1rem solid #eee;
}

.post-content h3 {
  font-size: 2rem;
  margin-right: 1rem;
}

.post-content i {
  color :#5a0283;
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

.descriere {
  font-size:2rem;
  padding:1rem 1rem 1rem 0;
}

.post-content-info span{
  font-size:1.6rem;
}


.post-img {
  width: 50rem;
  height: 30rem;
  margin-bottom: 2rem;
}

.post-img img {
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  object-fit: cover;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.3);
  
}

.icons-post  i{
  font-size: 2rem;
  margin-right: 6rem;
  color: #868383;
  margin-bottom: 0.5rem;
  transition: all 0.3s;
}

.fa-heart:hover{
  color: #e60000;
  
}


/*  end post content*/
/* followers*/
.feeds-follow {
  position: fixed;
  top: 8rem;
  left: 58%;
  background-color: white;
  width: 35rem;
  border-radius: 2rem;
  box-shadow:0 0 .7rem rgba(0, 0, 0, 0.3);
}

.follow-heading {
  padding: 1rem;
  border-bottom: .1rem solid #eee;
}

.follow-heading h4 {
  font-size: 2rem;
}

.f-img {
  width: 5rem;
  height: 5rem;
  margin: 1rem;
}

.f-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 .7rem rgba(0, 0, 0, 0.3);
}

.follower-info {
  display: flex;
  align-items: center;
}

.follower-information {
  font-size: 1.5rem;
  margin-top: 0.5rem;
  
}

.follow-button {
  margin-left: auto;
  margin-right: 1rem;
  
}

.f-button {
  width: 9rem;
  color: #5a0283;
  background-color: #fff;
  border-radius: 3rem;
  box-shadow: 0 0 .7rem rgba(0, 0, 0, 0.3);
}


.footer {
  
  padding: 1rem;
  border-top: .1rem solid #eee;
}
.footer a{
  font-size: 2rem;
  text-decoration: none;
}
.post-button {
  position: fixed;
  bottom: 2rem;
  left: 75%;
  width: 12rem;
  background-color: #5a0283;
  padding: 1rem;
  font-size: 2rem;
  border-radius: 2rem;
  box-shadow:0 0 .7rem rgba(0, 0, 0, 0.3);
  color:#ddd;
  cursor: pointer;
  transition: all 0.3s;
}

.post-button:hover {
  background-color:#230233 ;
}

.post-model {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
}

.post-model-display {
  opacity: 1;
  visibility: visible;
}

.model {
  width: 60rem;
  background-color: white;
  position: absolute;
  left: 50%;
  top: 25%;
  transform: translate(-50%, -50%);
  border-radius: 2rem;
  box-shadow:0 0 .7rem rgba(0, 0, 0, 0.3);
}

.model-header {
  display:flex;
  align-items: center;
  border-bottom: .1rem solid #eee;
  padding: 1.5rem 2.5rem;
}

.model-header i {
  font-size: 2rem;
  color: #5a0283;
  cursor: pointer;
}

.model-header button {
  margin-left: auto;
  background-color: #5a0283;
  color: white;
  border-radius: 2rem;
  font-size: 2rem;
  padding: 1rem;
  width: 8rem;
  opacity: 0.5;
}

.model-img {
  width: 5rem;
  height: 5rem;
  margin: 1rem;
}

.model-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.3);
}

.model-box {
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

.model-input {
  width: 50rem;
  padding: 1rem 0 8rem 1rem;
  background-color: #cdd0d1;
  border-radius: 2rem;
  border: 0.1 solid #eee;
  font-size: 1.6rem;
}

.model-input:focus {
  border-color: #5a0283;
  background-color: white;
}

.model-box i {
  position:  absolute;
  bottom: 7rem;
  right: 2.5rem;
  color:#5a0283;
  font-size:2rem;
}

.model-footer {
  margin: 2rem;
}

.model-icons {
  margin-left: 6rem;
}

.model-icons i {
  margin-right: 3rem;
  font-size:2rem;
  color:#5a0283;
}

.model-icons span {
  margin-left: auto;
}

/* sidebar content*/

.sidebar-body {
  position: fixed;
  background-color: rgb(0 , 0, 0, .5);
  top: 0 ;
  bottom:  0;
  left: 0;
  right: 0 ;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}

.sidebar-body-display {
  opacity:1;
  visibility:  visible;
}

.sidebar {
  position: fixed;
  top: 0 ;
  right:-30rem;
  width: 30rem;
  height: 100vh;
  background-color: #fff;
  padding: 2.5rem;
  box-sizing: border-box;
  box-shadow: -.1rem 0 .5rem rgb(0, 0, 0, .3);
  transition: right .3s cubic-bezier(1,0,0,1);
}

.sidebar-display {
  right:0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: .1rem solid #eee;
}

.sidebar-header h2 {
  font-size:2rem;
}

.sidebar-header i {
  margin-left: auto;
  font-size: 2.5rem;
  color: #5a0283;
  cursor: pointer;
}

.sidebar-user-info {
  display:flex;
  align-items: center;
  padding-top: 1.5rem;
}

.sidebar-img {
  width: 5rem;
  height: 5rem;

}

.sidebar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.sidebar-user-info span {
  margin-left: auto;
  width: 3.5rem;
  height: 3.5rem;
  font-size: 4rem;
  border-radius:50% ;
  border: .1rem solid #5a0283;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #5a0283;
}

.sidebar-user-information {
  padding: 1.5rem 0;
  font-size: 1.5rem;
}

.sidebar-user-information h3 {
  margin-bottom: .5rem;
}

.sidebar-following {
  display: flex;
  
  padding: 1.5rem 0;
}

.following {
  font-size: 1.5rem;
}

.following:first-child {
  margin-right: 1rem;
}

.following span {
  font-weight: bold;
}

.sidebar-utilities {
  border-bottom: .1rem solid #eee;
}

.sidebar-utilities ul {
  list-style: none;
  padding: 1.5rem 0;
}

.sidebar-utilities li {
  margin-bottom: 2.5rem;
}

.sidebar-utilities a {
  text-decoration: none;
  font-size: 1.6rem;
  color: #868383;
}

.sidebar-utilities i{
  margin-right: 1rem;
}

.sidebar-utilities-2 {
  border-bottom: .1rem solid #eee;
}

.sidebar-utilities-2 ul {
  list-style: none;
  padding: 3rem 0;
}

.sidebar-utilities-2 li {
  margin-bottom: 2.5rem;
}

.sidebar-utilities-2 a {
  text-decoration: none;
  font-size: 1.6rem;
  color: #868383;
}

.sidebar-utilities-2 i{
  margin-right: 1rem;
}

/* sidebar content*/
/* end of feeds content*/
