/* Body styling */
body {
  background-color: rgb(0, 0, 0);
  color: white;
  font-family: "Cera ProModern", Arial, sans-serif;
  margin: 0;
  text-align: center;
  overflow-y: hidden;
  overflow-x: hidden;
}
/* Blurred, low-opacity full-page background image */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../indexbg.png") center center / cover no-repeat;
  filter: blur(4px);
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}
/* Logo Container */
#logo-container2 img {
  width: 15%; /* Adjust as needed, or use a fixed max-width */
  max-width: fit-content; /* Prevent overflow */
  height: auto; /* Maintain aspect ratio */
  cursor: pointer;
}

#logo-container2 {
  position: absolute;
  top: -108px; /* Fine-tune for positioning */
  left: -889px;
  z-index: 5;
}

/* -----------------------------------------------------------------------------------Top Navigation----------------------------------------------------------------------------------- */
#top-nav {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  z-index: 1000;
}
#top-nav .active {
  color: red; /* Highlight the selected button */
}

/* Right Navigation */

#right-nav {
  position: fixed;
  top: clamp(9px, 2.5vh, 9px); /* slightly different spot */
  right: clamp(12px, 2.5vw, 24px);
  z-index: 1000;
}
/* Logged-in card (slightly larger) */
#right-nav .rn-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0e0e0e;
  border: 1px solid #272727;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
#right-nav .rn-avatar {
  width: clamp(40px, 4vw, 48px);
  height: clamp(40px, 4vw, 48px);
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #404040;
  background: #111;
}
#right-nav .rn-avatar img {
  width: 110%;
  height: 100%;
  object-fit: cover;
  max-width: 220%;
  position: relative;
  left: -5%;
  scale: 128.5%;
}
#right-nav .rn-greeting {
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(12px, 1.5vw, 14px);
}
#right-nav .rn-greeting span {
  color: #ffd400;
}
#right-nav2 .rn-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
#right-nav2 .rn-actions .rn-btn {
  font-size: clamp(12px, 1.5vw, 13px);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #2f2f2f;
  text-decoration: none;
}
#right-nav .rn-btn-primary {
  background: gold;
  color: #000;
  border-color: gold;
  font-weight: 800;
}
#right-nav .rn-btn-ghost {
  background: #1a1a1a;
  color: #fff;
}
.rn-btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid #2f2f2f;
  cursor: pointer;
  transition: transform 0.05s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
}
.rn-btn:hover {
  transform: translateY(-1px);
}

.rn-btn-primary {
  background: gold;
  color: #000;
  border-color: gold;
  font-weight: 800;
}
.rn-btn-ghost {
  background: #1a1a1a;
  color: #fff;
}

/* === Account dropdown (inside #right-nav2) === */
.rn-menu[hidden] {
  display: none !important;
}
.rn-menu {
  position: absolute; /* positioned relative to #right-nav2 (fixed) */
  top: calc(100% + 8px); /* sits just under the rn-card */
  right: 0;
  background: #0e0e0e;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  min-width: 180px;
  padding: 8px;
  z-index: 1200;
}
.rn-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}
.rn-menu a:hover {
  background: #1b1b1b;
}
.rn-menu a.danger {
  color: #ff6b6b;
}

#top-nav a {
  color: white;
  font-size: 24px;
  text-transform: uppercase;
  text-decoration: none;
}

#top-nav a:hover {
  text-decoration: none;
}
#right-nav a:hover {
  text-decoration: underline;
}
#top-nav-custom {
  text-decoration: none;
}

#top-nav-custom a:hover {
  text-decoration: underline;
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Hide dropdown menus by default */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
}

/* Dropdown menu styling */
.dropdown-menu ul {
  list-style: none;
  margin-left: -40px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.dropdown-menu li {
  color: black;
  text-transform: capitalize;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
}

.dropdown-menu li:hover {
  color: rgb(255, 0, 0);
  text-transform: capitalize;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}

/* Bullet point style */
.dropdown-menu li::before {
  content: "- ";
  color: white;
  position: relative;
}

/* Show dropdown menu on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}
/* -----------------------------------------------------------------------------------Main Content Page 1------------------------------------------------------------------------------- */

/* Main Content Layout */
#main-content {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 20px; /* Adjusted padding to move boxes higher */
}

/* Read Logo */
#read-logo {
  text-align: center;
  left: 260px;
  margin-top: -514px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: -1;
}

#read-logo img {
  height: fit-content;
  width: auto;
  max-height: 1340px;
  scale: 66%;
  position: relative;
}

/* Left Sidebar */
#sidebar-left {
  background-color: black;
  position: absolute;
  left: 115px;
  border: 2px solid white;
  width: 200px;
  height: fit-content;
  padding: 15px;
  align-items: left;
  margin-top: 300px;
  z-index: 2600;
}

#sidebar-left .title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: underline;
  margin-bottom: 10px; /* Adjust spacing */
}

#sidebar-left ul {
  list-style-type: none;
  padding: 0;
}

#sidebar-left ul li {
  margin-bottom: 15px;
  position: relative;
  text-align: left;
}

#sidebar-left ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  text-align: left;
}

#sidebar-left ul li ul li a {
  font-size: 14px; /* Smaller font for Leaderboard */
  margin-left: 20px; /* Indented to indicate subsection */
}

#sidebar-left ul li ul {
  display: none; /* Initially hidden */
}

#sidebar-left ul li:hover ul {
  display: block; /* Show on hover */
}
.active-section {
  color: red !important; /* Highlight the active section in red */
  font-weight: bold; /* Make it bold for emphasis */
  text-decoration: underline; /* Optional: Add underline for clarity */
}
/* Blog Post Box */
#blog-box {
  background-color: black;
  border: 2px solid white;
  width: 50%; /* Increase the width to match the design */
  margin-top: 253px; /* Center the blog box horizontally */
  text-align: center; /* Align content inside to the left */
  padding: 30px; /* Add more padding for spacing */
  border-radius: 10px; /* Add slight rounding for a softer design */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5); /* Optional shadow for depth */
  z-index: 2000;
}
.blog-title {
  text-align: left; /* Aligns the title to the left */
  margin: 0px; /* Adds some spacing from the edges */
  font-size: 32px; /* Keeps the font size consistent */
  z-index: 2000;
}
/* Positioning the placeholder image in the top-left corner */
.blog-placeholder {
  display: block;
  width: 45%; /* Adjust width as needed */
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
}

.contact-form {
  max-width: 100%; /* Ensure it matches the blog box width */
  padding: 20px;
  margin: 0 auto; /* Center form content */
  z-index: 2000;
}

.contact-form .form-group {
  margin-bottom: 15px;
  text-align: left;
  z-index: 2000;
}

.contact-form label {
  display: block;
  font-size: 18px;
  margin-bottom: 5px;
  color: white;
  z-index: 2000;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 95%;
  padding: 5px;
  font-size: 16px;
  border: 1px solid white;
  border-radius: 5px;
  background-color: white;
  color: black;
  z-index: 2000;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
  z-index: 2000;
}

.contact-form select {
  background-color: black;
  color: white;
  z-index: 2000;
}

.contact-form textarea {
  resize: none;
  z-index: 2000;
}

.contact-form .submit-button {
  background-color: red;
  color: white;
  font-size: 18px;
  margin-left: 14px;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  z-index: 5000;
}

.contact-form .submit-button:hover {
  background-color: #ff4c4c;
  z-index: 2000;
}

#signup-form {
  top: 96.5%;
  margin-bottom: -33px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 200;
  position: absolute;
  margin-left: 39.4%;
  height: 41px;
  width: 321px;
}

#email-field {
  width: 288px;
  font-size: 10px;
  border: 2px solid #998b8b;
  border-radius: 5px;
  box-sizing: border-box;
  z-index: 2;
  left: 5%;
  position: relative;
}

#signup-message {
  font-size: 11px;
  font-weight: 500;
  color: black;
  z-index: 2;
}

.free-text {
  color: red;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: underline;
}

/* Footer Navigation
*Email and Sign-Up Message */

#footer-bar {
  width: 100%;
  height: 43px;
  background-color: #f2f2f2;
  z-index: -1;
  position: absolute;
  top: 95.5%;
}

#footer-nav {
  position: static;
  display: flex;
  justify-content: left;
  margin-top: -12px;
}

/*Footer Text*/
#footer-nav a {
  color: black;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 2;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 1px;
}

#footer-nav a:hover {
  text-decoration: underline;
}

#footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.social-icon {
  width: 32px;
  height: 32px;
  border: 2px solid white;
  border-radius: 70%;
  padding: 6px;
  box-sizing: content-box;
  transition: transform 0.2s ease;
  position: relative;
}

.social-icon:hover {
  transform: scale(1.1);
}

#arrow-button {
  font-size: 21px;
  color: #333;
  left: -5%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
}

#arrow-button:hover {
  color: #ff4500; /* Highlight color on hover */
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Hide dropdown menus by default */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
}

.grecaptcha-badge {
  display: none;
}

/* Dropdown menu styling */
.dropdown-menu ul {
  list-style: none;
  margin-left: -40px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.dropdown-menu li {
  color: black;
  text-transform: capitalize;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
}

.dropdown-menu li:hover {
  color: rgb(255, 0, 0);
  text-transform: capitalize;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}

/* Bullet point style */
.dropdown-menu li::before {
  content: "- ";
  color: white;
  position: relative;
}

/* Show dropdown menu on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

#burger-menu {
  display: none;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  color: black;
  padding: 10px;
  z-index: 999;
  position: absolute;
  top: 10px;
  left: 10px;
}

#burger-menu {
  display: none;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  color: black;
  padding: 10px;
  z-index: 999;
  position: absolute;
  top: 10px;
  left: 10px;
}

/*--------------------------------------------------------------------------------------MOBILE V5-------------------------------------------------------------------------------------- */

@media (max-width: 359.98px) {
  #right-nav {
    display: none;
  }

  #right-nav p {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  /* When burger is open, show the right-nav as an overlay panel */
  body.nav-open #right-nav {
    display: block;
    position: absolute;
    top: 65%;
    z-index: 2000;
  }

  /* If you want it to be a smaller floating card instead of full-width: */
  /* body.nav-open #right-nav { left: auto; width: 320px; } */

  /* Make the rn-card stretch nicely on mobile */
  #right-nav .rn-card {
    scale: 77%;
    width: 71%;
    max-width: 93%;
    margin-top: -110%;
    margin-left: -7%;
  }

  #top-nav a {
    display: none;
  }

  #footer-bar {
    width: 100%;
    height: 50px;
    background-color: #f2f2f2;
    z-index: -1;
    position: absolute;
    top: -6px;
  }

  #footer-socials {
    display: flex;
    position: relative;
    gap: 6px;
  }

  #signup-form {
    margin-left: 13.4%;
    top: 112.5%;
  }
  #signup-message {
    color: white;
  }

  #footer-nav a {
    color: white;
  }

  #footer-nav {
    flex-direction: column;
    left: 34%;
    top: 119.5%;
  }

  body {
    overflow-y: scroll;
    color: red;
  }

  #burger-menu {
    display: block;
    top: -12px;
    left: 89%;
    padding-right: 0px;
  }

  #top-nav.mobile-active a {
    display: block !important;
    margin: 10px 0;
    font-size: 29px;
    text-align: center;
  }

  #top-nav.mobile-active {
    position: absolute;
    top: 44px;
    width: 100%;
    height: 920px;
    background-color: #414141;
    z-index: 1001;
    padding: 10px 0;
    padding-right: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-top: 2px solid black;
  }

  #top-nav.mobile-active + #right-nav a {
    display: inline-block;
  }

  #right-nav a {
    padding: 3px 11px;
    border-radius: 17px;
    display: none;
  }

  #read-logo {
    margin-top: -17px;
    margin-bottom: -316px;
    left: -3%;
    position: relative;
  }

  #read-logo img {
    scale: 1.9;
    max-width: 53vw;
  }

  #blog-box {
    width: 82%;
    z-index: -1;
    margin-top: 285px;
  }

  .rn-info {
    min-width: 0;
    margin-left: -1%;
  }

  .rn-actions {
    margin-top: 3px;
    gap: 18px;
    scale: 59%;
    margin-left: -28%;
    width: 149%;
  }
}

/* Android common 360dp family (e.g., 360×800, 360×780) */
@media (min-width: 360px) and (max-width: 374.98px) {
  #right-nav {
    display: none;
  }

  #right-nav p {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  /* When burger is open, show the right-nav as an overlay panel */
  body.nav-open #right-nav {
    display: block;
    position: absolute;
    top: 65%;
    z-index: 2000;
  }

  /* If you want it to be a smaller floating card instead of full-width: */
  /* body.nav-open #right-nav { left: auto; width: 320px; } */

  /* Make the rn-card stretch nicely on mobile */
  #right-nav .rn-card {
    scale: 77%;
    width: 71%;
    max-width: 93%;
    margin-top: -110%;
    margin-left: -7%;
  }

  #top-nav a {
    display: none;
  }

  #footer-bar {
    width: 100%;
    height: 50px;
    background-color: #f2f2f2;
    z-index: -1;
    position: absolute;
    top: -6px;
  }

  #footer-socials {
    display: flex;
    position: relative;
    gap: 6px;
  }

  #signup-form {
    margin-left: 13.4%;
    top: 112.5%;
  }
  #signup-message {
    color: white;
  }

  #footer-nav a {
    color: white;
  }

  #footer-nav {
    flex-direction: column;
    left: 34%;
    top: 119.5%;
  }

  body {
    overflow-y: scroll;
    color: red;
  }

  #burger-menu {
    display: block;
    top: -12px;
    left: 89%;
    padding-right: 0px;
  }

  #top-nav.mobile-active a {
    display: block !important;
    margin: 10px 0;
    font-size: 29px;
    text-align: center;
  }

  #top-nav.mobile-active {
    position: absolute;
    top: 44px;
    width: 100%;
    height: 920px;
    background-color: #414141;
    z-index: 1001;
    padding: 10px 0;
    padding-right: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-top: 2px solid black;
  }

  #top-nav.mobile-active + #right-nav a {
    display: inline-block;
  }

  #right-nav a {
    padding: 3px 11px;
    border-radius: 17px;
    display: none;
  }

  #read-logo {
    margin-top: -17px;
    margin-bottom: -316px;
    left: -3%;
    position: relative;
  }

  #read-logo img {
    scale: 1.9;
    max-width: 53vw;
  }

  #blog-box {
    width: 82%;
    z-index: -1;
    margin-top: 285px;
  }

  .rn-info {
    min-width: 0;
    margin-left: -1%;
  }

  .rn-actions {
    margin-top: 3px;
    gap: 18px;
    scale: 59%;
    margin-left: -28%;
    width: 149%;
  }
}

/* iPhone 6/7/8/SE2 fam (375×667) + iPhone X/11 Pro (375×812) */
@media (min-width: 375px) and (max-width: 389.98px) {
  #right-nav {
    display: none;
  }

  #right-nav p {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  /* When burger is open, show the right-nav as an overlay panel */
  body.nav-open #right-nav {
    display: block;
    position: absolute;
    top: 65%;
    z-index: 2000;
  }

  /* If you want it to be a smaller floating card instead of full-width: */
  /* body.nav-open #right-nav { left: auto; width: 320px; } */

  /* Make the rn-card stretch nicely on mobile */
  #right-nav .rn-card {
    scale: 77%;
    width: 71%;
    max-width: 93%;
    margin-top: -110%;
    margin-left: -7%;
  }

  #top-nav a {
    display: none;
  }

  #footer-bar {
    width: 100%;
    height: 50px;
    background-color: #f2f2f2;
    z-index: -1;
    position: absolute;
    top: -6px;
  }

  #footer-socials {
    display: flex;
    position: relative;
    gap: 6px;
  }

  #signup-form {
    margin-left: 13.4%;
    top: 112.5%;
  }
  #signup-message {
    color: white;
  }

  #footer-nav a {
    color: white;
  }

  #footer-nav {
    flex-direction: column;
    left: 34%;
    top: 119.5%;
  }

  body {
    overflow-y: scroll;
    color: red;
  }

  #burger-menu {
    display: block;
    top: -12px;
    left: 89%;
    padding-right: 0px;
  }

  #top-nav.mobile-active a {
    display: block !important;
    margin: 10px 0;
    font-size: 29px;
    text-align: center;
  }

  #top-nav.mobile-active {
    position: absolute;
    top: 44px;
    width: 100%;
    height: 920px;
    background-color: #414141;
    z-index: 1001;
    padding: 10px 0;
    padding-right: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-top: 2px solid black;
  }

  #top-nav.mobile-active + #right-nav a {
    display: inline-block;
  }

  #right-nav a {
    padding: 3px 11px;
    border-radius: 17px;
    display: none;
  }

  #read-logo {
    margin-top: -17px;
    margin-bottom: -316px;
    left: -3%;
    position: relative;
  }

  #read-logo img {
    scale: 1.9;
    max-width: 53vw;
  }

  #blog-box {
    width: 82%;
    z-index: -1;
    margin-top: 285px;
  }

  .rn-info {
    min-width: 0;
    margin-left: -1%;
  }

  .rn-actions {
    margin-top: 3px;
    gap: 18px;
    scale: 59%;
    margin-left: -28%;
    width: 149%;
  }
}

/* iPhone 12/13/14/15 (390×844) */
@media (min-width: 390px) and (max-width: 392.98px) {
  #right-nav {
    display: none;
  }

  #right-nav p {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  /* When burger is open, show the right-nav as an overlay panel */
  body.nav-open #right-nav {
    display: block;
    position: absolute;
    top: 65%;
    z-index: 2000;
  }

  /* If you want it to be a smaller floating card instead of full-width: */
  /* body.nav-open #right-nav { left: auto; width: 320px; } */

  /* Make the rn-card stretch nicely on mobile */
  #right-nav .rn-card {
    scale: 77%;
    width: 71%;
    max-width: 93%;
    margin-top: -110%;
    margin-left: -7%;
  }

  #top-nav a {
    display: none;
  }

  #footer-bar {
    width: 100%;
    height: 50px;
    background-color: #f2f2f2;
    z-index: -1;
    position: absolute;
    top: -6px;
  }

  #footer-socials {
    display: flex;
    position: relative;
    gap: 6px;
  }

  #signup-form {
    margin-left: 13.4%;
    top: 112.5%;
  }
  #signup-message {
    color: white;
  }

  #footer-nav a {
    color: white;
  }

  #footer-nav {
    flex-direction: column;
    left: 34%;
    top: 119.5%;
  }

  body {
    overflow-y: scroll;
    color: red;
  }

  #burger-menu {
    display: block;
    top: -12px;
    left: 89%;
    padding-right: 0px;
  }

  #top-nav.mobile-active a {
    display: block !important;
    margin: 10px 0;
    font-size: 29px;
    text-align: center;
  }

  #top-nav.mobile-active {
    position: absolute;
    top: 44px;
    width: 100%;
    height: 920px;
    background-color: #414141;
    z-index: 1001;
    padding: 10px 0;
    padding-right: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-top: 2px solid black;
  }

  #top-nav.mobile-active + #right-nav a {
    display: inline-block;
  }

  #right-nav a {
    padding: 3px 11px;
    border-radius: 17px;
    display: none;
  }

  #read-logo {
    margin-top: -17px;
    margin-bottom: -316px;
    left: -3%;
    position: relative;
  }

  #read-logo img {
    scale: 1.9;
    max-width: 53vw;
  }

  #blog-box {
    width: 82%;
    z-index: -1;
    margin-top: 285px;
  }

  .rn-info {
    min-width: 0;
    margin-left: -1%;
  }

  .rn-actions {
    margin-top: 3px;
    gap: 18px;
    scale: 59%;
    margin-left: -28%;
    width: 149%;
  }
}

/* iPhone 14/15 Pro (393×852) + many tall Androids (412×915 fits next band) */
@media (min-width: 393px) and (max-width: 413.98px) {
  #right-nav {
    display: none;
  }

  #right-nav p {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  /* When burger is open, show the right-nav as an overlay panel */
  body.nav-open #right-nav {
    display: block;
    position: absolute;
    top: 65%;
    z-index: 2000;
  }

  /* If you want it to be a smaller floating card instead of full-width: */
  /* body.nav-open #right-nav { left: auto; width: 320px; } */

  /* Make the rn-card stretch nicely on mobile */
  #right-nav .rn-card {
    scale: 77%;
    width: 71%;
    max-width: 93%;
    margin-top: -110%;
    margin-left: -7%;
  }

  #top-nav a {
    display: none;
  }

  #footer-bar {
    width: 100%;
    height: 50px;
    background-color: #f2f2f2;
    z-index: -1;
    position: absolute;
    top: -6px;
  }

  #footer-socials {
    display: flex;
    position: relative;
    gap: 6px;
  }

  #signup-form {
    margin-left: 13.4%;
    top: 112.5%;
  }
  #signup-message {
    color: white;
  }

  #footer-nav a {
    color: white;
  }

  #footer-nav {
    flex-direction: column;
    left: 34%;
    top: 119.5%;
  }

  body {
    overflow-y: scroll;
    color: red;
  }

  #burger-menu {
    display: block;
    top: -12px;
    left: 89%;
    padding-right: 0px;
  }

  #top-nav.mobile-active a {
    display: block !important;
    margin: 10px 0;
    font-size: 29px;
    text-align: center;
  }

  #top-nav.mobile-active {
    position: absolute;
    top: 44px;
    width: 100%;
    height: 920px;
    background-color: #414141;
    z-index: 1001;
    padding: 10px 0;
    padding-right: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-top: 2px solid black;
  }

  #top-nav.mobile-active + #right-nav a {
    display: inline-block;
  }

  #right-nav a {
    padding: 3px 11px;
    border-radius: 17px;
    display: none;
  }

  #read-logo {
    margin-top: -17px;
    margin-bottom: -316px;
    left: -3%;
    position: relative;
  }

  #read-logo img {
    scale: 1.9;
    max-width: 53vw;
  }

  #blog-box {
    width: 82%;
    z-index: -1;
    margin-top: 285px;
  }

  .rn-info {
    min-width: 0;
    margin-left: -1%;
  }

  .rn-actions {
    margin-top: 3px;
    gap: 18px;
    scale: 59%;
    margin-left: -28%;
    width: 149%;
  }
}

/* iPhone XR/11 (414×896) + many Android 414dp devices */
@media (min-width: 414px) and (max-width: 427.98px) {
  #right-nav {
    display: none;
  }

  #right-nav p {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  /* When burger is open, show the right-nav as an overlay panel */
  body.nav-open #right-nav {
    display: block;
    position: absolute;
    top: 65%;
    z-index: 2000;
  }

  /* If you want it to be a smaller floating card instead of full-width: */
  /* body.nav-open #right-nav { left: auto; width: 320px; } */

  /* Make the rn-card stretch nicely on mobile */
  #right-nav .rn-card {
    scale: 77%;
    width: 71%;
    max-width: 93%;
    margin-top: -110%;
    margin-left: -7%;
  }

  #top-nav a {
    display: none;
  }

  #footer-bar {
    width: 100%;
    height: 50px;
    background-color: #f2f2f2;
    z-index: -1;
    position: absolute;
    top: -6px;
  }

  #footer-socials {
    display: flex;
    position: relative;
    gap: 6px;
  }

  #signup-form {
    margin-left: 13.4%;
    top: 112.5%;
  }
  #signup-message {
    color: white;
  }

  #footer-nav a {
    color: white;
  }

  #footer-nav {
    flex-direction: column;
    left: 34%;
    top: 119.5%;
  }

  body {
    overflow-y: scroll;
    color: red;
  }

  #burger-menu {
    display: block;
    top: -12px;
    left: 89%;
    padding-right: 0px;
  }

  #top-nav.mobile-active a {
    display: block !important;
    margin: 10px 0;
    font-size: 29px;
    text-align: center;
  }

  #top-nav.mobile-active {
    position: absolute;
    top: 44px;
    width: 100%;
    height: 920px;
    background-color: #414141;
    z-index: 1001;
    padding: 10px 0;
    padding-right: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-top: 2px solid black;
  }

  #top-nav.mobile-active + #right-nav a {
    display: inline-block;
  }

  #right-nav a {
    padding: 3px 11px;
    border-radius: 17px;
    display: none;
  }

  #read-logo {
    margin-top: -17px;
    margin-bottom: -316px;
    left: -3%;
    position: relative;
  }

  #read-logo img {
    scale: 1.9;
    max-width: 53vw;
  }

  #blog-box {
    width: 82%;
    z-index: -1;
    margin-top: 285px;
  }

  .rn-info {
    min-width: 0;
    margin-left: -1%;
  }

  .rn-actions {
    margin-top: 3px;
    gap: 18px;
    scale: 59%;
    margin-left: -28%;
    width: 149%;
  }
}

/* iPhone 12/13/14/15 Pro Max & Plus (428×926) */
@media (min-width: 428px) and (max-width: 479.98px) {
  #right-nav {
    display: none;
  }

  #right-nav p {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  /* When burger is open, show the right-nav as an overlay panel */
  body.nav-open #right-nav {
    display: block;
    position: absolute;
    top: 65%;
    z-index: 2000;
  }

  /* If you want it to be a smaller floating card instead of full-width: */
  /* body.nav-open #right-nav { left: auto; width: 320px; } */

  /* Make the rn-card stretch nicely on mobile */
  #right-nav .rn-card {
    scale: 77%;
    width: 71%;
    max-width: 93%;
    margin-top: -110%;
    margin-left: -7%;
  }

  #top-nav a {
    display: none;
  }

  #footer-bar {
    width: 100%;
    height: 50px;
    background-color: #f2f2f2;
    z-index: -1;
    position: absolute;
    top: -6px;
  }

  #footer-socials {
    display: flex;
    position: relative;
    gap: 6px;
  }

  #signup-form {
    margin-left: 13.4%;
    top: 112.5%;
  }
  #signup-message {
    color: white;
  }

  #footer-nav a {
    color: white;
  }

  #footer-nav {
    flex-direction: column;
    left: 34%;
    top: 119.5%;
  }

  body {
    overflow-y: scroll;
    color: red;
  }

  #burger-menu {
    display: block;
    top: -12px;
    left: 89%;
    padding-right: 0px;
  }

  #top-nav.mobile-active a {
    display: block !important;
    margin: 10px 0;
    font-size: 29px;
    text-align: center;
  }

  #top-nav.mobile-active {
    position: absolute;
    top: 44px;
    width: 100%;
    height: 920px;
    background-color: #414141;
    z-index: 1001;
    padding: 10px 0;
    padding-right: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-top: 2px solid black;
  }

  #top-nav.mobile-active + #right-nav a {
    display: inline-block;
  }

  #right-nav a {
    padding: 3px 11px;
    border-radius: 17px;
    display: none;
  }

  #read-logo {
    margin-top: -17px;
    margin-bottom: -316px;
    left: -3%;
    position: relative;
  }

  #read-logo img {
    scale: 1.9;
    max-width: 53vw;
  }

  #blog-box {
    width: 82%;
    z-index: -1;
    margin-top: 285px;
  }

  .rn-info {
    min-width: 0;
    margin-left: -1%;
  }

  .rn-actions {
    margin-top: 3px;
    gap: 18px;
    scale: 59%;
    margin-left: -28%;
    width: 149%;
  }
}
