* {
  margin: 0;
  padding: 0;
  font-family: "poppins", sans-serif;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

img {
  object-fit: cover;
}

:root {
  --body-color: #ffffff;
  --drop-down-container: #f9fafb;
  --nav-bg-color: #003c8f;
  --nav-text-color: #1a1a1a;
  --nav-links-hover: #ff7a00;
  --nav-border-color: #e5e5e5;
  --nav-bar-shadow: rgba(0, 0, 0, 0.05);
  --primary-button: #ff7a00;
  --secondary-button: #e5e5e5;
  --accent-color: #00b3ff;
  --main-text: #1a1a1a;
  --para-text: #555555;
  --links: #ff7a00;
  --footer-bg: #1a1a1a;
  --footer-text: #ccc;
  --border: #e5e5e5;
  --dark-mode-button-hover: #ff7100;
  --container-bg: #f9fafb;
  --hover-links: #00b3ff;
}


.welcome-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 20, 0.65);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.welcome-card {
  background: #ffffff;
  width: 92%;
  max-width: 520px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: modalFade 0.35s ease;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.welcome-header {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #ffffff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.welcome-header h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.welcome-body {
  padding: 20px;
  color: #1f2933;
}

.intro-text {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.project-info div {
  background: #f1f5f9;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  font-size: 13px;
}

.project-info h4 {
  margin: 0 0 4px;
  font-size: 12px;
  color: #475569;
  font-weight: 600;
}

.feature-list {
  padding-left: 18px;
  margin-bottom: 14px;
  font-size: 14px;
}

.feature-list li {
  margin-bottom: 6px;
}

.disclaimer {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 10px;
}

.builder {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.welcome-footer {
  padding: 16px 20px;
  border-top: 1px solid #e5e7eb;
  text-align: right;
}

.enter-site-btn {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s ease;
}

.enter-site-btn:hover {
  background: #1e40af;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Mobile adjustment */
@media (max-width: 480px) {
  .project-info {
    grid-template-columns: 1fr;
  }
}











p {
  font-size: 1.7rem;
  font-weight: 500;
}

a {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 400;
    color: var(--hover-links);

}

.dark-mode {
  --body-color: #0f0f0f;
  --drop-down-container: #1a1a1a;
  --dark-mode-button-hover: #ffd8a0;
  --nav-color: #ffff;
  --nav-links-hover: #ff7a00;
  --nav-border-color: #1f1f1f;
  --nav-bg-color: #002b5b;
  --primary-button: #ff6b00;
  --secondary-button: #2c2c2c;
  --accent-color: #00b3ff;
  --main-text: #fff;
  --para-text: #b5b5b5;
  --links: #ffa733;
  --footer-bg: #0a0a0a;
  --footer-text: #ccc;
  --border: #333;
  --container-bg: #1e1e1e;
  --hover-links: #00b3ff;
}
/*#00b3ff  #ffa733*/

a:hover {
    color: var(--links);

  transition: color 0.3s;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--body-color);
  transition: background 0.3s;
  scroll-behavior: smooth;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--nav-bg-color);
  padding: 0.5rem 5%;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  width: 10rem;
  margin-right: 4.5rem;
}
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
}

.nav-left ul li {
  list-style: none;
  display: inline-block;
}

.nav-left ul li svg:hover {
  fill: var(--hover-links);
  transition: fill 0.3s;
}
svg {
  fill: var(--primary-button);
}
.nav-left ul li svg {
  width: 40px;
  margin: 0 7rem;
  fill: var(--primary-button);
}
.nav-user-icon img {
  width: 50px;
  border-radius: 50%;
  cursor: pointer;
  object-fit: contain;
}

.nav-user-icon {
  padding-left: 3rem;
}

.search-box {
  background-color: var(--secondary-button);
  width: 35rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  padding: 0 15px;
}
.search-box img {
  width: 18px;
}
.search-box input {
  width: 100%;
  background-color: transparent;
  padding: 1rem;
  outline: none;
  border: 0;
}

/* the icon for checking if user is online or note */
.online {
  position: relative;
}
.online::after {
  content: "";
  width: 7px;
  height: 7px;
  border: 2px solid var(--para-text);
  border-radius: 50%;
  background-color: var(--primary-button);
  position: absolute;
  top: 0;
  right: 0;
}

/*............................................................dropdown................................................ */

.settings-menu {
  position: absolute;
  width: 90%;
  max-width: 350px;
  background-color: var(--drop-down-container);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  overflow: hidden;
  top: 104%;
  right: 5%;
  max-height: 0;
  transition: 0.3s;
}
.settings-menu-height {
  max-height: 450px;
}
.user-profile a {
  font-size: 1.2rem;
  text-decoration: none;
}

.settings-menu-inner {
  padding: 2rem;
}
.settings-menu hr {
  border: 0;
  height: 1px;
  background-color: var(--border);
  margin: 1.5rem 0;
}
.settings-links {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.settings-links .settings-icon {
  width: 38px;
  margin-right: 10px;
  border-radius: 50%;
}

.settings-links svg,
.user-profile svg {
  width: 4rem;
  padding: 5px;
  fill: var(--primary-button);
}
.settings-links a {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}

#dark-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  border: 2px solid var(--para-text);
  width: 4.3rem;
  border-radius: 15px;
  padding: 2px 3px;
  cursor: pointer;
  display: flex;
  transition: padding-left 0.5s, background 0.5s;
}

#dark-btn span:hover {
  background-color: var(--dark-mode-button-hover);
}

#dark-btn span {
  width: 1.8rem;
  height: 1.6rem;
  background-color: var(--para-text);
  border-radius: 50%;
  display: inline-block;
}

#dark-btn.on {
  padding-left: 2.3rem;
}

/*................................OVERALL CONTAINER THAT DIVIDE LEFT, RIGHT SIDE BAR AND MAIN CONTENT............................................. */

.container {
  display: flex;
  justify-content: space-between;
  padding: 3rem 5%;
}

/*......................................RIGHT SIDE BAR.................................................................................. */

.right-sidebar {
  background-color: var(--container-bg);
  flex-basis: 25%;
  position: sticky;
  top: 7rem;
  align-self: flex-start;
  padding: 3rem;
  border-radius: 4px;
  color: var(--para-text);
  /* height: 100vh; */
}

.imp-links a,
.shortcut-links a {
  text-decoration: none;
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  width: fit-content;
}

.imp-links a img {
  width: 2.5rem;
  margin-right: 1.5rem;
}

.imp-links {
  border-bottom: 1px solid var(--border);
}

.shortcut-links img {
  width: 4rem;
  border-radius: 4px;
  margin-right: 4rem;
}
.shortcut-links p {
  margin: 3.5rem 0;
  color: var(--main-text);
  font-weight: 500;
}
.sidebar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.right-sidebar h4 {
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--main-text);
}

/*....................left side bar..................................................................... */

.left-sidebar {
  flex-basis: 25%;
  position: sticky;
  top: 7rem;
  align-self: flex-start;
  /* height: 100vh; */
}

.left-sidebar a {
  text-decoration: none;
  font-size: 1.2rem;
}

.event {
  display: flex;
  font-size: 1.4rem;
  margin-bottom: 2rem;
}
.left-event {
  border-radius: 10px;
  height: 6.5rem;
  width: 6.5rem;
  margin-right: 1.5rem;
  padding-top: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.event p {
  font-size: 1.2rem;
}
.event a {
  font-size: 1.2rem;
  text-decoration: none;
}

.sidebar-ads {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: 4px;
}

.online-list {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.online-list p {
  color: var(--main-text);
}
.online-list .online img {
  width: 4rem;
  border-radius: 50%;
}

.online-list .online {
  width: 4rem;
  border-radius: 50%;
  margin-right: 1.5rem;
}
.online-list .online::after {
  top: unset;
  bottom: 5px;
}

/*.......................................main container....................................................................... */

.main-content {
  flex-basis: 47%;
}

.story-gallery {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.story {
  flex-basis: 18%;
  padding-top: 32%;
  position: relative;
  background-position: center;
  background-size: cover;
  border-radius: 10px;
}

.story img {
  position: absolute;
  border-radius: 50%;
  width: 45%;
  top: 1rem;
  left: 1rem;
  border: 5px solid var(--primary-button);
}
.story p {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 1.4rem;
}

.story1 {
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.5)),
    url(status-1.webp);
}

.story2 {
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.5)),
    url(status-2.webp);
}
.story3 {
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.5)),
    url(status-3.webp);
}

.story4 {
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.5)),
    url(status-4.webp);
}

.story5 {
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.5)),
    url(status-5.webp);
}

.story.story1 img {
  top: unset;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%);
  border: 0;
  width: 3.5rem;
}

.write-post-container {
  width: 100%;
  background: var(--container-bg);
  border-radius: 6px;
  padding: 2rem;
  color: var(--para-text);
}
.user-profile {
  display: flex;
  align-items: center;
}
.user-profile img {
  width: 4.5rem;
  border-radius: 50px;
  margin: 0 10px 10px;
}
.user-profile p {
  margin-bottom: -3px;
  font-weight: 500;
  color: var(--main-text);
}
.user-profile small {
  font-size: 1.2rem;
  display: flex;
}

.user-profile small svg {
  padding: 0;
  margin: 0;
}

.post-input-container {
  padding-left: 5.5rem;
  padding-top: 2rem;
}
.post-input-container textarea {
  width: 100%;
  border: 0;
  outline: 0;
  border-bottom: 1px solid var(--border);
  background-color: transparent;
  resize: none; /*to remove the  enlargement line*/
}
.add-post-links {
  display: flex;
  margin-top: 10px;
}
.add-post-links a {
  text-decoration: none;
  display: flex;
  align-items: center;
  margin-right: 3rem;
  font-size: 1.3rem;
}
.add-post-links svg {
  width: 2rem;
  fill: var(--primary-button);
  margin: 1rem 0;
}

.post-container {
  width: 100%;
  background-color: var(--container-bg);
  border-radius: 6px;
  padding: 2rem;
  color: var(--para-text);
  margin: 2rem 0;
}
.user-profile span {
  font-size: 1.3rem;
  color: var(--para-text);
}

.post-text {
  color: var(--para-text);
  margin: 0;
  font-size: 1.5rem;
}
.post-text span {
  color: var(--accent-color);
  font-weight: 500;
}

.post-row a svg {
  height: 70rem;

  fill: var(--primary-button);
  height: 1.7rem;
}
.post-img {
  width: 100%;
  border-radius: 4px;
  margin: 10px 0 5px;
}

.post-row {
  display: flex;
  justify-content: space-between;
}
.activity-icons div SVG {
  fill: var(--primary-button);
  width: 2rem;
  margin: 1rem;
}
.activity-icons div {
  display: inline-flex;
  align-items: center;
  margin-right: 3rem;
}

.post-profile-icon {
  display: flex;
  align-items: center;
}
.post-profile-icon img {
  width: 3em;
  border-radius: 50%;
  margin-right: 5px;
}
.load-more-btn {
  display: block;
  margin: auto;
  cursor: pointer;
  padding: 5px 1rem;
  width: auto;
  border: 10px solid var(--border);
  background-color: transparent;
  border-radius: 4px;
}

.footer {
  text-align: center;
  color: var(--footer-text);
  background-color: var(--footer-bg);
  padding: 10px 0 2rem;
  font-size: 1.3rem;
}

/* .................................... profile PAGE style............................................................ */

/* ................................. container that divide profile page head and subhead........................................... */
.profile-container {
  padding: 2rem 5%;
  color: var(--para-text);
}

/* ......................................................profile page head...................................................... */

.cover-img {
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.5)),
    url(cover.webp);
  background-size: cover;
  background-position: center;
  height: 25vh;
  border-radius: 6px;
  margin-bottom: 1.4rem;
}

.animation {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35vh;
  padding: 0 10%;
  min-height: 126px;
}

.box {
  margin-right: 2rem;
  background: var(--container-bg);
  border-radius: 50%;
  width: 7%;
  font-weight: 700;
  text-align: center;
}

.animation .box p {
  font-size: 3rem;
  font-weight: 500;
  color: var(--main-text);
}

/* .................................profile details subhead............................................................................. */

.profile-details {
  background-color: var(--container-bg);
  padding: 2rem;
  border-radius: 4px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.profile-details .pro {
  height: 20vh;
  padding-right: 5px;
}
.profile-details-row {
  display: flex;
  align-items: flex-start;
}

/* $= 'profile.png' this means the src attribute end with member profile.png text*/

.profile-details-row img[src$="profile.png"] {
  width: 100px;
  margin-right: 2rem;
  border-radius: 6px;
}
.profile-details-row div h3 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--main-text);
}

.profile-details div p {
  font-size: 13px;
}

/* *= 'member' this means the src attribute contain member text */

.profile-details-row img[src*="member"] {
  width: 2.5rem;
  border-radius: 50%;
  margin-top: 12px;
}
.profile-details-right .prime {
  background-color: var(--secondary-button);
  color: var(--main-text);
  border: 0;
  outline: 0;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  color: var(--main-text);
  border-radius: 3px;
  margin-left: 10px;
  cursor: pointer;
}

.profile-details-right .more svg {
  width: 4rem;

  fill: var(--primary-button);
}
.profile-details-right .prime svg {
  height: 1.5rem;
  fill: var(--primary-button);
  margin-right: 1opx;
}

.profile-details-right .prime:first-child {
  color: var(--main-text);
}

.profile-details-right {
  text-align: right;
}

.profile-details-right .more {
  background-color: var(--secondary-button);
  border-radius: 3px;
  padding: 3px 15px;
  display: inline-flex;
  margin-top: 30px;
}

.profile-details-right .more svg {
  width: 2rem;
}

/*.................................profile-info is the container THAT DIVIDE LEFT and  RIGHT SIDE BAR ............................................. */

.profile-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 2rem;
}

/* ............................................PROFILE Details left sidebar.................................................................. */

.left-info-col {
  flex-basis: 31%;
}

.profile-intro {
  background-color: var(--bg-color);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 4px;
}
.profile-intro h3 {
  font-weight: 600;
  color: var(--main-text);
}

.profile-intro svg {
  width: 2rem;
  fill: var(--primary-button);
}

.intro-text {
  text-align: center;
  margin: 10px 0;
  font-size: 1.5rem;
}

.intro-text img {
  width: 1.5rem;
  margin-bottom: -3px;
}

.profile-intro hr {
  border: 0;
  height: 1px;
  background-color: var(--border);
  margin: 2.4rem 0;
}

.profile-intro ul li {
  list-style: none;
  font-size: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
}
.profile-intro ul li img {
  width: 2.6rem;
  margin-right: 10px;
}
.title-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.title-box a {
  text-decoration: none;
  color: var(--links);
  font-size: 1.4rem;
}
.photo-box {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 10px;
  margin-top: 1.5rem;
}

.photo-box div img {
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: 1s ease;
}
.profile-intro p {
  font-size: 1.4rem;
}
.friends-box {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 10px;
  margin-top: 15px;
}

.friends-box div img {
  width: 100%;
  height: 100%;
  cursor: pointer;
  padding-bottom: 2rem;
  transition: 1s ease;
  position: relative;
  z-index: 1;
}

.friends-box div img:hover,
.photo-box div img:hover {
  transform: scale(2, 2);
  z-index: 100;
}
.friends-box div {
  position: relative;
}

.friends-box p {
  position: absolute;
  bottom: 0;
  left: 0;
  color: var(--main-text);
}

/* ................................PROFILE Details Right sidebar the rest has been written in Home Page style......................................... */

.right-post-col {
  flex-basis: 62%;
}

/*.......................................media query for home page.............................................*/

@media (max-width: 70.15rem) {
  /* 2015 x 16 = 1122.4 */

  .logo {
    width: 8rem;
    margin-right: 2rem;
  }

  .nav-left ul li a svg {
    width: 4rem;
    margin: 0 5rem;
  }

  .nav-user-icon img {
    width: 6rem;
  }

  .post-input-container {
    padding-left: 2rem;
  }
}

@media (max-width: 68.6rem) {
  .search-box {
    width: 25rem;
  }

  .logo {
    margin-right: 4rem;
  }
}

@media (max-width: 67.5rem) {
  /* 67.5rem x 16 = 1080px */

  .logo {
    margin-right: 10rem;
  }

  /* 
.nav-left ul li a svg{
  width: 10rem;
} */

  .add-post-links a {
    font-size: 1.1rem;
  }

  .nav-left ul li a svg {
    width: 4rem;
    margin: 0 2rem;
  }
}

@media (max-width: 59.7rem) {
  /* 59.7rem x 16 = 955.2px */

  .search-box {
    width: 26rem;
  }

  .logo {
    width: 7rem;
    margin-right: 8rem;
  }

  .nav-user-icon img {
    width: 5rem;
  }
  .nav-left ul li a svg {
    margin: 0 3rem;
  }

  .search-box {
    width: 15rem;
  }

  .post-input-container {
    padding-left: 0;
  }

  .settings-menu {
    width: 30rem;
    height: auto;
  }

  .main-content {
    flex-basis: 40%;
  }
}

@media only screen and (max-width: 56.3rem) {
  /* 55rem x 16 = 880px  */

  .left-sidebar {
    display: none;
  }

  .nav-left ul li a svg {
    margin: 0 2rem;
  }

  .logo {
    margin-right: 2rem;
  }

  .main-content {
    flex-basis: 57%;
  }

  .right-sidebar {
    flex-basis: 40%;
  }

  .search-box {
    width: auto;
  }

  .post-input-container {
    padding-left: 1rem;
  }

  .add-post-links a {
    margin-right: 1rem;
  }
}

@media only screen and (max-width: 49rem) {
  /* 49 x 16 = 784 */

  .search-box {
    width: 15rem;
  }
}

@media only screen and (max-width: 44.7rem) {
  /* 44.3 x 16 =715.2 */

  .main-content {
    flex-basis: 55%;
  }
  .nav-left ul li a svg {
    margin: 1rem;
  }

  .activity-icons div SVG {
    width: 1.5rem;
  }

  .activity-icons div {
    margin-right: 1rem;
  }

  .post-input-container {
    padding-left: 5px;
  }

  .add-post-links a {
    margin-right: 5px;
  }

  .add-post-links img {
    width: 1.7rem;
  }

  .add-post-links a {
    font-size: 1.1rem;
  }
}

@media only screen and (max-width: 38.8rem) {
  /* 38.8rem x 16 = 620.8px */

  html,
  body {
    overflow-x: hidden;
    scroll-behavior: smooth;
  }

  .activity-icons div SVG {
    width: 2.5rem;
  }

  /* .nav-left ul li svg{
  width: 4rem;
  margin: 0 5rem;
} */

  .right-sidebar {
    display: none;
  }
  .left-sidebar {
    display: none;
  }
  nav {
    flex-wrap: wrap;
  }

  .main-content {
    flex-basis: 100%;
  }

  .post-input-container {
    padding-left: 0;
  }

  .add-post-links {
    flex-wrap: wrap;
  }

  .story.story1 img {
    width: 25px;
    bottom: 30px;
  }

  .add-post-links a img {
    width: 16px;
    margin-right: 5px;
  }
}

@media (max-width: 34.7rem) {
  /* 34.7 x 16 = 555.2 */
  .logo {
    width: 7rem;
  }

  .nav-user-icon img {
    width: 5rem;
  }

  .search-box {
    width: 12rem;
  }
}

@media only screen and (max-width: 25.3rem) {
  /* 25.2 x 16 = 403px */

  html {
    font-size: 55%;
  }

  .user-profile p {
    margin-bottom: -3px;
  }
}

@media only screen and (max-width: 23.2rem) {
  /* 23.2 x 16 = 371.2 */

  .add-post-links a {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 19.5rem) {
  .nav-left ul li a svg {
    display: none;
  }
}

/*.......................................media query for profile page.............................................*/

@media only screen and (max-width: 41.2rem) {
  /* 41.2 x 16 = 659.2 */
  .cover-img {
    height: 20vh;
  }

  .animation {
    height: 35vh;
  }
  .profile-details-row div h3 {
    font-size: 2rem;
  }

  .profile-details .pro {
    height: 15vh;
  }

  .write-post-container {
    padding-left: 3px;
  }

  .add-post-links img {
    width: 1.5rem;
  }

  .add-post-links a {
    font-size: 1.2rem;
    font-weight: 600;
  }
}

@media only screen and (max-width: 39.7rem) {
  /* 39.7 x 16 = 635.2*/

  html {
    font-size: 57%;
  }

  .write-post-container {
    padding-left: 1rem;
  }

  .post-input-container {
    padding-left: 5px;
  }

  .cover-img {
    height: 25vh;
  }

  .animation {
    height: 35vh;
  }
}

@media only screen and (max-width: 38.8rem) {
  /* 38.8 x 16 = 620.8*/

  html {
    font-size: 55%;
  }
}

@media only screen and (max-width: 30rem) {
  .search-box {
    display: none;
  }
}

@media (max-width: 38rem) {
  /* 38rem x 16 = 608px */

  .cover-img {
    height: 15vh;
  }

  .animation {
    height: 30vh;
  }

  .profile-details .pro {
    height: 13vh;
  }

  .profile-details {
    padding: 1.5rem;
    flex-wrap: wrap;
  }

  .profile-container {
    padding: 20px 5%;
  }

  .profile-details-right {
    text-align: left;
    margin-top: 15px;
  }

  p,
  h3 {
    font-size: 2rem;
  }

  .user-profile p {
    font-size: 1.7rem;
  }

  .profile-info {
    flex-wrap: wrap;
  }

  .left-info-col,
  .right-post-col {
    flex-basis: 100%;
  }

  .add-post-links a {
    font-size: 1.3rem;
  }

  .post-input-container {
    padding-left: 3rem;
  }

  .profile-details-row div h3 {
    font-size: 2.3rem;
  }

  .write-post-container {
    padding-left: 6px;
  }

  .add-post-links img {
    width: 1.5rem;
  }
}

@media only screen and (max-width: 25.5rem) {
  /* 25.5 x 16 = 408px*/

  html {
    font-size: 50%;
  }
}

@media only screen and (max-width: 23.7rem) {
  /* 23 x 16 = 379.2px*/

  html {
    font-size: 47%;
  }
}





