@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:wght@700&family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color-hue: 220;
  --dark-color-lightness: 20%;
  --light-color-lightness: 95%;
  --white-color-lightness: 100%;

  --color-white: hsl(252, 30%, var(--white-color-lightness));
  --color-light: hsl(220, 30%, var(--light-color-lightness));
  --color-gray: hsl(225, 21%, 69%);
  --color-primary: hsl(var(--primary-color-hue), 100%, 60%);
  --color-secondary: hsl(252, 100%, 90%);
  --color-success: hsl(120, 95%, 65%);
  --color-danger: hsl(0, 95%, 65%);
  --color-dark: hsl(220, 96%, var(--dark-color-lightness));
  --color-black: hsl(219, 96%, 20%);

  --border-radius: 0.5rem;
  --card-border-radius: 1rem;
  --btn-padding: 0.6rem 2rem;
  --search-padding: 0.6rem 1rem;
  --card-padding: 1rem;

  --sticky-top-left: 5.4rem;
  --sticky-top-right: -18rem;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  outline: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  border: none;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--color-dark);
  background-color: var(--color-light);
  overflow-x: hidden;
}

/* GENERAL STYLES */
.container {
  width: 80%;
  margin: 0 auto;
}

.profile-picture {
  width: 2.7rem;
  aspect-ratio: 1/1;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.profile-picturee {
  width: 2.7rem;
  aspect-ratio: 1/1;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.profile-pictureL {
  width: 2.7rem;
  aspect-ratio: 1/1;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--color-light);
  display: flex;
  align-self: center;
  justify-content: center;
}

img {
  display: block;
  width: 100%;
}

.btn {
  display: inline-block;
  padding: var(--btn-padding);
  font-weight: 500;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 300ms ease;
  font-size: 0.9rem;
}

.btn:hover {
  opacity: 0.8;
}

#create-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 1rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.text-bold {
  font-weight: 500;
}

.text-muted {
  color: var(--color-gray);
}

/* ............................NAVBAR.......................... */
nav {
  width: 100%;
  background: var(--color-white);
  padding: 0.7rem 0;
  position: fixed;
  top: 0;
  z-index: 10;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .container > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

nav .container > div .create {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

nav .container .logo-content i {
  font-size: 2rem;
  color: var(--color-primary);
}
nav .container .logo-content {
  color: var(--color-dark);
  cursor: pointer;
}

.search-bar {
  background: var(--color-light);
  border-radius: var(--border-radius);
  padding: var(--search-padding);
}

.search-bar i {
  color: var(--color-gray);
}

.search-bar input[type="search"] {
  background: transparent;
  width: 30vw;
  margin-left: 1rem;
  font-size: 0.9rem;
  color: var(--color-dark);
}

nav .search-bar input[type="search"]::placeholder {
  color: var(--color-gray);
}

/* -------------------------MAIN------------------------ */
main {
  position: relative;
  top: 5.4rem;
}

main .container {
  display: grid;
  grid-template-columns: 18vw auto 20vw;
  column-gap: 2rem;
  position: relative;
}

/* -------------------------LEFT------------------------ */
main .container .left {
  height: max-content;
  position: sticky;
  top: var(--sticky-top-left);
}

main .container .left .profile {
  padding: var(--card-padding);
  background: var(--color-white);
  border-radius: var(--card-border-radius);
  display: flex;
  align-items: center;
  column-gap: 1rem;
  width: 100%;
}

/* -------------------------SIDEBAR------------------------ */
.left .sidebar {
  margin-top: 1rem;
  background: var(--color-white);
  border-radius: var(--card-border-radius);
}

.left .sidebar .menu-item {
  display: flex;
  align-items: center;
  height: 4rem;
  cursor: pointer;
  transition: all 300ms ease;
  position: relative;
  border-bottom: 0.1rem solid hsl(225, 21%, 90%);
}

.left .sidebar .menu-item:hover {
  background: var(--color-light);
}

.left .sidebar i {
  font-size: 1.4rem;
  color: var(--color-gray);
  margin-left: 2rem;
  position: relative;
}

.left .sidebar i .notification-count {
  background: var(--color-danger);
  color: white;
  font-size: 0.7rem;
  width: fit-content;
  border-radius: 0.8rem;
  padding: 0.1rem 0.4rem;
  position: absolute;
  top: -0.2rem;
  right: -0.3rem;
}

.left .sidebar .menu-item span {
  background: var(--color-primary);
  color: white;
  font-size: 0.7rem;
  width: fit-content;
  border-radius: 0.4rem;
  padding: 0.1rem 0.4rem;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.left .sidebar .menu-item span#last-span {
  background: var(--color-gray);
}

.left .sidebar h3 {
  margin-left: 1.5rem;
  font-size: 1rem;
}

.left .sidebar .active {
  background: var(--color-light);
}

.left .sidebar .active i,
.left .sidebar .active h3 {
  color: var(--color-primary);
}

.left .sidebar .active::before {
  content: "";
  display: block;
  width: 0.2rem;
  height: 100%;
  position: absolute;
  background: var(--color-primary);
}

.left .sidebar .menu-item:first-child.active {
  border-top-left-radius: var(--card-border-radius);
  overflow: hidden;
}

.left .sidebar .menu-item:last-child.active {
  border-bottom-left-radius: var(--card-border-radius);
  overflow: hidden;
}

.left .sidebar .menu-item:last-child {
  border-bottom-left-radius: var(--card-border-radius);
  overflow: hidden;
  border-bottom: none;
}

/* --------------------------NOTIFICATION POPUP----------------------------------- */
.left .notifications-popup {
  position: absolute;
  top: 0;
  left: 110%;
  width: 30rem;
  background: var(--color-white);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  box-shadow: 0 0 2rem hsl(var(--color-primary), 75%, 60% 25%);
  z-index: 100;
  display: none;
}

.left .notifications-popup::before {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  background: var(--color-white);
  position: absolute;
  left: -0.6rem;
  transform: rotate(45deg);
}

.left .notifications-popup > div {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.left .notifications-popup small {
  display: block;
}

.left .invitation {
  margin-top: 2rem;
}

.left .invitation .invitation-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.left .invitation .invitation-heading h4 {
  color: var(--color-dark);
}

.left .invitation .invitation-heading span {
  background: var(--color-danger);
  color: var(--color-light);
  font-size: 0.7rem;
  width: fit-content;
  border-radius: 0.4rem;
  padding: 0.1rem 0.4rem;
}

.left .invitation .invitation-card {
  border-radius: var(--card-border-radius);
  overflow: hidden;
  background: var(--color-white);
  padding: var(--card-padding);
  width: 100%;
}

.invitation-img {
  border-radius: var(--card-border-radius);
  overflow: hidden;
  margin: auto;
  position: relative;
  width: 100%;
}

.invitation-img::before {
  content: "";
  display: block;
  width: 100%;
  height: 10rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  position: absolute;
  bottom: 0;
}

.left .invitation .invitation-card .invitation-img .profile-picturee {
  z-index: 10;
  position: absolute;
  top: 2rem;
  left: 2rem;
  border: 4px solid var(--color-white);
  width: 4rem;
  height: 4rem;
}

.para {
  position: absolute;
  font-size: 1.5rem;
  color: var(--color-light);
  z-index: 10;
  bottom: 2rem;
  font-weight: bold;
  left: 2rem;
  line-break: auto;
}

.invitation-action {
  z-index: 10;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.2rem;
}

.invitation-action button {
  width: 80%;
  height: 3rem;
  font-size: 1rem;
}

.invitation-action > div {
  border: 2px solid var(--color-gray);
  padding: 0.3rem 0.3rem;
  width: 20%;
  border-radius: 0.3rem;
  height: 3rem;
  margin-left: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.invitation-action > div i {
  font-size: 1.5rem;
  color: var(--color-gray);
  cursor: pointer;
}

/* ----------------------------- THEME CUSTOMIZATION ---------------------------- */
.customize-theme {
  background: rgba(255, 255, 255, 0.5);
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  text-align: center;
  display: none;
  place-items: center;
  font-size: 0.9rem;
}

.customize-theme .card {
  background: var(--color-white);
  padding: 3rem;
  border-radius: var(--card-border-radius);
  width: 50%;
  box-shadow: 0 0 1rem var(--color-primary);
  height: fit-content;

}

/* --------------------------FONT SIZE------------------------------ */
.customize-theme .font-size {
  margin-top: 5rem;
}

.customize-theme .font-size > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-light);
  padding: var(--search-padding);
  border-radius: var(--card-border-radius);
}

.customize-theme .choose-size {
  background: var(--color-secondary);
  height: 0.3rem;
  width: 100%;
  margin: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.customize-theme .choose-size span {
  width: 1rem;
  height: 1rem;
  background: var(--color-secondary);
  border-radius: 50%;
  cursor: pointer;
}

.customize-theme .choose-size span.active {
  background: var(--color-primary);
}

/* -------------------------COLORS------------------------------ */
.customize-theme .color {
  margin-top: 2rem;
}

.customize-theme .choose-color {
  background: var(--color-light);
  padding: var(--search-padding);
  border-radius: var(--card-border-radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.customize-theme .choose-color span {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
}

.customize-theme .choose-color span:nth-child(1) {
  background: hsl(252, 75%, 60%);
}

.customize-theme .choose-color span:nth-child(2) {
  background: hsl(43, 100%, 24%);
}

.customize-theme .choose-color span:nth-child(3) {
  background: hsl(352, 75%, 60%);
}

.customize-theme .choose-color span:nth-child(4) {
  background: hsl(173, 100%, 13%);
}

.customize-theme .choose-color span:nth-child(5) {
  background: hsl(202, 75%, 60%);
}

.customize-theme .choose-color span.active {
  border: 5px solid white;
}

/* -------------------------BACKGROUND------------------------------ */
.customize-theme .background {
  margin-top: 2rem;
}

.customize-theme .choose-bg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.customize-theme .choose-bg > div {
  padding: var(--card-padding);
  width: 100%;
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 0.4rem;
  cursor: pointer;
}

.customize-theme .choose-bg > div.active {
  border: 2px solid var(--color-primary);
}

.customize-theme .choose-bg .bg-1 {
  background: white;
  color: black;
}

.customize-theme .choose-bg .bg-2 {
  background: hsl(252, 30%, 17%);
  color: white;
}

.customize-theme .choose-bg .bg-3 {
  background: hsl(252, 75%, 10%);
  color: white;
}

.customize-theme .choose-bg > div span {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--color-gray);
  border-radius: 50%;
  margin-right: 1rem;
}

/* ---------------------------------EXPLORE CUSTOMIZATION------------------------------------------- */
.customize-explore {
  background: rgba(255, 255, 255, 0.5);
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  text-align: center;
  display: none;
  place-items: center;
  font-size: 0.9rem;
  padding: 0 auto;
}

.customize-explore .explore-card {
  background: var(--color-white);
  padding: 3rem;
  border-radius: var(--card-border-radius);
  width: fit-content;
  height: fit-content;
 


  box-shadow: 0 0 1rem var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.customize-explore .explore-card .explore-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 50%;
  cursor: pointer;
}

.customize-explore .explore-card .explore-heading .see {
  color: var(--color-gray);
}

.tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin-top: 2rem;
  width: 10%;
  padding: 0 1rem;
  cursor: pointer;
}

.tag-link {
  background: var(--color-light);
  padding: 0.4rem 1rem;
  border-radius: var(--border-radius);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.5rem;
}

.tag-link i:hover {
  background: var(--color-gray);
  padding: 0.2rem 0.6rem;
  border-radius: var(--border-radius);
}

.tag-link > div {
  margin-left: 0.3rem;
}

.explore-image {
  display: flex;
  width: 100%;
  margin-top: 1rem;
  gap: 1rem;
}

.explore-image .explore-imagediv {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
}

.explore-image .explore-imagediv > div {
  height: 5rem;
  width: 7rem;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.explore-image .explore-imagediv > div:hover {
  opacity: 70%;
}

/* -------------------------------MIDDLE ---------------------- */
.middle .stories {
  display: flex;
  justify-content: space-between;
  height: 12rem;
  gap: 0.5rem;
}

.middle .stories .story {
  padding: var(--card-padding);
  border-radius: var(--card-border-radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 0.75rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.middle .stories .story::before {
  content: "";
  display: block;
  width: 100%;
  height: 5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  position: absolute;
  bottom: 0;
}

.middle .stories .story .name {
  z-index: 2;
}

.middle .stories .story:nth-child(1) {
  background: url("./images/profile-1.jpg") no-repeat center center/cover;
}

.middle .stories .story:nth-child(2) {
  background: url("./images/story-2.jpg") no-repeat center center/cover;
}

.middle .stories .story:nth-child(3) {
  background: url("./images/story-3.jpg") no-repeat center center/cover;
}

.middle .stories .story:nth-child(4) {
  background: url("./images/story-4.jpg") no-repeat center center/cover;
}

.middle .stories .story:nth-child(5) {
  background: url("./images/story-5.jpg") no-repeat center center/cover;
}

.middle .stories .story:nth-child(6) {
  background: url("./images/story-6.jpg") no-repeat center center/cover;
}

.middle .story .profile-picture {
  width: 3rem;
  height: 3rem;
  align-self: start;
  border: 3px solid var(--color-white);
  padding: 0.2rem;
}

.middle .story .profile-picture img {
  border-radius: var(--border-radius);
}

.middle .story .first-story {
  width: 3rem;
  height: 3rem;
  
  border: 3px solid var(--color-white);
  margin-top: 5rem;
  padding: 0.1rem;
  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: var(--border-radius);
}

.middle .story .first-story  div {
  width: 2rem;
  height: 2rem;

  /* border: 3px solid var(--color-white); */

  background: var(--color-white);
  border-radius: var(--border-radius);
  color: var(--color-primary);
 
  display: grid;
  justify-content: center;
  justify-content: end;

  font-size: 1.5rem;
  font-weight: bolder;
  padding: 0 0.2rem;
}

.middle .story .first-story  div i{
  align-self: center;
}


/* -----------------------------------------END OF STORIES----------------------------------- */

/* ---------------------------CREATE POST ------------------------------ */
/* -----------------------------------CREATE POST SECTION------------------------------ */
.middle .create-post {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  background: var(--color-white);
  padding: 0.4rem var(--card-padding);
  border-radius: var(--border-radius);
}

.middle .create-post input[type="text"] {
  justify-self: start;
  width: 100%;
  padding-left: 1rem;
  background: transparent;
  color: var(--color-gray);
  margin-right: 1rem;
}

.middle .create-post input[type="text"]::placeholder {
  
  color: var(--color-gray);
  
}

 .create-post button{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.2rem;
  width: 10rem;
  height: 3rem;
  font-size: 1rem;
 
 }



 /* -- ------------------------FEEDS---------------------------- -- */
.middle .feeds .feed {
  background: var(--color-white);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  margin: 1rem 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.middle .feed .head {
  display: flex;
  justify-content: space-between;
}

.head span i{ 
  font-size: 1rem;
  color: var(--color-dark);
  padding-right: 0.2rem;
  cursor: pointer;
}
.middle .feed .user {
  display: flex;
  gap: 1rem;
}

.middle .feed .photo {
  border-radius: var(--card-border-radius);
  overflow: hidden;
  margin: 0.7rem 0;
  
  
}

/* ---------------POST FEED IMAGES--------------- */
.photo-grid{
  display: flex;
  justify-content: space-between;
}

.photo-grid3{
  display: flex;
  justify-content: space-between;
}

.boxes{
  width: 60%;
  overflow: hidden;
}

.boxes2{
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  
}
.boxes3{
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  
}

.boxes3 img:nth-child(1){
  margin-bottom: 1rem;
  height: 20rem;
  object-fit: cover;
  
}
.boxes3 img:nth-child(2){
  height: 20rem;
  object-fit: cover;
  
}

.boxes4{
  width: 60%;
  overflow: hidden;
}

.boxes4 img:nth-child(1){
  margin-bottom: 1rem;
  height: 18.7rem;
  object-fit: cover;
  border-radius: 1rem;
  
}
.boxes4 img:nth-child(2){
  height: 18.7rem;
  object-fit: cover;
  border-radius: 1rem;
  
}

.boxes5{
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  
}

.horizontal{
  width: 37%;
  overflow: hidden;
}


.boxes img{
  width: 100%;
  margin-bottom: 10px;
  height: 12.5rem;
  object-fit: cover;
  border-radius: 15px;
}


.horizontal img{
  width: 100%;
  height: 38.5rem;
  object-fit: cover;
  border-radius: 15px;
}









/* ---------------POST FEED IMAGES ENDS--------------- */

.middle .feed .action-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
  margin: 0.6rem;
}

.middle .liked-by {
  display: flex;
}

.middle .liked-by span {
  width: 1.4rem;
  height: 1.4rem;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-white);
  margin-left: -0.6rem;
}

.middle .liked-by span:first-child {
  margin: 0;
}

.middle .liked-by p {
  margin-left: 0.5rem;
}

/* -- ------------------------RIGHT---------------------------- -- */
main .container .right {
  height: max-content;
  position: sticky;
  top: var(--sticky-top-right);
  bottom: 0;
}

.right .messages {
  background: var(--color-white);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
}

.right .messages .heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.right .messages i {
  font-size: 1.4rem;
}

.right .messages .search-bar {
  display: flex;
  margin-bottom: 1rem;
}

.right .messages .search-bar input[type="search"]::placeholder{
  color: var(--color-gray);
}

.right .messages .category {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.right .messages .category h6 {
  width: 100%;
  text-align: center;
  border-bottom: 4px solid var(--color-light);
  padding-bottom: 0.5rem;
  font-size: 0.85rem;
}

.right .messages .category .active {
  border-color: var(--color-dark);
}

.right .messages .message-requests {
  color: var(--color-primary);
}

.right .messages .message {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: start;
}

.right .message .profile-picture {
  position: relative;
  overflow: visible;
}

.right .profile-picture img {
  border-radius: 50%;
}

.right .messages .message:last-child {
  margin: 0;
}

.right .messages .message p {
  font-size: 0.8rem;
}

.right .messages .message .profile-picture .active {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  border: 3px solid var(--color-white);
  position: absolute;
  background: var(--color-success);
  bottom: 0;
  right: 0;
}


/* ---------------------------FRIEND REQUESTS----------------------------- */

.right .friend-requests {
  margin-top: 1rem;
}

.request-heading{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0rem 1rem;
}

.request-heading span{
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.7rem;
  width: fit-content;
  border-radius: 0.4rem;
  padding: 0.1rem 0.4rem;
}

.right .friend-requests h4 {
  color: var(--color-dark);
  margin: 1rem 0;
}

.right .request {
  background: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--card-border-radius);
  margin-bottom: 0.7rem;
}

.right .request .info {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.right .request .action {
  display: flex;
  gap: 1rem;
}


/* -------------------------CONTACT----------------------- */

.contact-heading{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0rem 1rem;
}

.contact-heading span{
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.7rem;
  width: fit-content;
  border-radius: 0.4rem;
  padding: 0.1rem 0.4rem;
}

.right .contact-heading h4 {
  color: var(--color-dark);
  margin: 1rem 0;
}

.right .contact-list{
  background: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--card-border-radius);
  margin-bottom: 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.right .contact-list {
  padding:1rem 2rem;
 
}

.right .contact-list .contact-detail{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.contact-list span{
  background: var(--color-danger);
  color: var(--color-white);
  font-size: 0.7rem;
  width: fit-content;
  border-radius: 0.4rem;
  padding: 0.1rem 0.4rem;
}



/* -----------------------MEDIA QUERY----------------------------- */
/* ----------------------MEDIA QUERIES FOR SMALL LAPTOP AND BIG TABLES ------------------------------------ */
@media screen and (max-width: 1200px) {
  .container {
    width: 96%;
  }

  main .container {
    grid-template-columns: 5rem auto 30vw;
    gap: 1rem;
  }

  .left {
    width: 5rem;
    z-index: 5;
  }

  main .container .left .profile {
    display: none;
  }

  .sidebar h3 {
    display: none;
  }

  .left .btn {
    display: none;
  }

  .customize-theme .card{
    width: 80vw;
  }

  .invitation{
    display: none;
  }


  .customize-theme {
    width: 100%;
    height: 100%;
  }

  .customize-theme .card {
    width: 90%;
    height: 70%;
  }

  
  .customize-explore {
    width: 100%;
    height: 100%;
  }

  .customize-explore .explore-card {
    width: 90%;
    height: 70%;
  }

  .logo-content h3{
    margin-left: -0.7rem;
  }




}

/* ----------------------MEDIA QUERIES FOR SMALL TABLETS AND MOBILE PHONES ------------------------------------ */
@media screen and (max-width: 992px) {
  nav .search-bar {
    display: none;
  }

  main .container {
    grid-template-columns: 0 auto 5rem;
    gap: 0;
  }

  main .container .left {
    grid-column: 3/4;
    position: fixed;
    bottom: 0;
    right: 0;
  }



  /* ------------------NOTIFICATION POPUP------------------------------- */
  .left .notifications-popup {
    position: absolute;
    left: -21rem;
    width: 20rem;
    
  }

  

  .left .notifications-popup::before {
    display: absolute;
    top: 1.3rem;
    /* right: calc(20rem -0.6rem); */
    display: block;
    left: 19.3rem;
  }


  main .container .middle {
    grid-column: 1/3;
  }

  main .container .profile-middle {
    grid-column: 1/3;
  }

  main .container .right {
    display: none;
  }

  .customize-theme .card{
    width: 92vw;
  }

  .invitation{
    display: none;
  }

  

  .customize-theme {
    width: 100%;
    height: 100%;
  }

  .customize-theme .card {
    width: 90%;
    height: 70%;
  }

  .customize-explore {
    width: 100%;
    height: 100%;
  }

  .customize-theme .explore-card {
    width: 90%;
    height: 70%;
  }

  .profile-middle{
    display: block;
  }


}



 


