           /*---- media-query ----*/ 
@media (max-width: 400px) { 
  html { 
    font-size: 62.5%; 
  } 
} 
@media (min-width: 401px) and (max-width: 600px) { 
  html { 
    font-size: 75%; 
  } 
} 
@media (min-width: 601px) and (max-width: 768px) { 
  html { 
    font-size: 87.5%; 
  } 
} 
@media (min-width: 769px) and (max-width: 999px) { 
  html { 
    font-size: 100%; 
  }
} 
@media (min-width: 1000px) { 
  html { 
    font-size: 112.5%; 
  }
}
::-webkit-scrollbar {
  display: none;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
      /*---- body ----*/ 
body {
  display: flex;
  flex-direction: column;  
  justify-content: center;
  align-items: center;
  background-color: #090909;
  color: #f8f8f5;
  user-select: none;
  overflow-x: hidden;
  font-family: Inter, sans-serif;
}
img {
  pointer-events: none;
}  
      /*---- navbar ----*/ 
.navbar { 
  display: flex;
  position: sticky;
  background-color: rgba(9, 9, 9, 0.65);
  backdrop-filter: blur(1.4rem);
  border-bottom: .08rem solid rgba(255,255,255,0.08);
  transition: all .5s ease;
  color: #ffffff; 
  width: 100%; 
  height: 8rem; 
  padding: 0 1rem;
  top: 0;
  z-index: 999;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
.navbar.hide {
  top: -8rem;
}             
.logo-box {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
#logo {
  display: block;
  width: 19rem;
  height: 3rem;
  margin: 0;
  padding: 0; 
  pointer-events: none;
}
#pc-dp-box {
  display: none;
  opacity: 1;
  visibility: visible;
  border-radius: 50%; 
  overflow: hidden; 
  margin-right: 1rem;
  background: #f5f5f5;
  place-items: center;
  border: .08rem solid #fff;
  transition: opacity .5s ease, visibility .5s ease;
}
#pc-dp {
  width: 3.5rem; 
  height: 3.5rem;
  pointer-events: none;
}
#logout {
  display: flex;
  color: #fff;
  padding: .5rem .8rem;
  gap: .8rem;
  font-size: 1rem;
  margin-right: .7rem;
  align-items: center;
  background: rgba(255,128,128,0.8);
  border: .05rem solid #fff;
  transition: all .5s ease;
}
#logout:hover {
  color: #ff8080;
  background: transparent;
}

.menubox {
  display: flex;
  gap: 2.5rem;
  width: 100%;
  padding: 1rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-evenly;
  background: #121212;
}
.menubox span {
  color: #cfcfcf;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .3s ease;
}
.menubox span:hover {
  color: #fff;
}

         /*------ main-body ------*/
.toastify {
  z-index: 99999;
  outline: none;
  width: fit-content;
  max-width: 75vw;
  background: #ffffff;
  border-radius: .7rem;
  padding: .8rem 1rem;
  border: .09rem solid;
  transition: all .5s ease;
  box-shadow: 0 .3rem .1rem rgba(128,128,128,0.1);
  -webkit-tap-highlight-color: transparent;
}
.toastify:hover {
  scale: 1.05;
}
.toastify.success {
  color: green;
  border-color: green;
}
.toastify.error {
  color: maroon;
  border-color: maroon;
}
.toastify.load {
  color: grey;
  border-color: grey;
}
.toastify.warn {
  color: #ffb380;
  z-index: 99995;
  border-color: #ff6700;  
  background: rgba(77,38,0,0.8);
  backdrop-filter: blur(.5rem);
}
.toastify.warn.acc {
  z-index: 99999;
}
.toastify.warn.alert {
  color: #ff3333;
  scale: 1.08;
  border-color: #ff0000;
}
.toast-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
}

          /*---- section-one ----*/
.sec-one, .sec-two {
  width: 100%;
}
.article {
  padding: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}
#art-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  line-height: .95;
  font-weight: 600;
  color: #f8f8f5;
  transition: opacity .3s ease;
}
#art-desc {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2.4rem 0;
  color: #b5b5b0;
  transition: opacity .3s ease;
}
.below-desc-box {
  display: flex;
  align-items: center;
  margin-bottom: 3.2rem;
  justify-content: space-between;
}
.author-box {
  display: flex;
  gap: 1rem;
  width: fit-content;
  align-items: center;
}
#author-img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}
#author-name {
  font-size: 1rem;
  font-weight: bold;
  color: #e2e2de;
}
           /*---- audio-system ----*/
#listen-btn {
  display: flex;
  background: transparent;
  border: .1rem solid rgba(255,255,255,.3);
  color: #F5F5F5;
  gap: 1rem;
  font-size: 1rem;
  padding: 1rem 1.6rem;
  border-radius: 10rem;
  align-items: center;
  transition: all .5s ease;
}
#listen-btn:hover {
  border-color: #87ceeb;
  color: #87ceeb;
}
#listen-btn.active {
  border-color: #87ceeb;
  color: #87ceeb;
}
#listen-play {
  font-size: 1.2rem;
}
#player-box {
  display: flex;
  position: fixed;
  padding: 1.8rem 2.2rem;
  gap: 3rem;
  bottom: -10rem;
  left: 50%;
  z-index: 999;
  font-size: 1.4rem;
  align-items: center;
  border-radius: 1rem;
  transform: translateX(-50%);
  transition: bottom .5s ease;
  background-color: rgba(9, 9, 9, 0.65);
  backdrop-filter: blur(.5rem);
  border: .1rem solid rgba(135,206,235,0.8);
}
#player-box.show {
  bottom: 1rem;
}
#player-box span {
  transition: all .3s ease;
}
#player-box span:hover {
  color: #87ceeb;
}
#reset, #pause, #close {
  font-size: 1.8rem;
}
#close {
  color: #ffcccc;
}
#player-box #close:hover {
  color: #ff8080;
}
.below-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
           /*---- translation ----*/
#translate {
  display: flex;
  position: relative;
  background: transparent;
  border: .1rem solid rgba(255,255,255,.3);
  color: #F5F5F5;
  gap: 1.4rem;
  font-size: 1rem;
  line-height: 2rem;
  padding: .5rem 2rem;
  border-radius: 1rem;
  align-items: center;
  transition: all .5s ease;  
}
#translate:hover {
  border-color: #9de1af;
  color: #9de1af;
}
#translate:hover .tl-google {
  opacity: 1;
}
#translate .tl-google {
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  opacity: 0;
  font-size: .7rem;
  font-style: italic;
  white-space: nowrap;
  line-height: normal;
  transform: translateX(-50%);
  transition: opacity .3s ease;
}
#translate .tl-google span {
  background: linear-gradient(
    90deg,
    #4285F4 0%,
    #EA4335 25%,
    #FBBC05 50%,
    #34A853 75%,
    #4285F4 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

          /*-- article-body --*/
#art-body {
  font-family: "Source Serif 4", serif;
  line-height: 1.9;
  color: #f5f5f3;
  letter-spacing: 0.02em;
  font-size: 1.2rem;
  margin: 3.5rem 0 1rem 0;
  background: 
    radial-gradient(
      circle at center,
      rgba(255,255,255,.025),
      transparent 70%
    );
}
#art-title.trans, #art-desc.trans, #art-body p.trans {
  opacity: 0.5;
}
#art-body p + p {
  margin-top: 1.5rem;
}
#art-body p {
  transition: all .3s ease;
}
#art-body p.speaking {
  color: #87ceeb;
  transform: scale(0.95);
}
#art-body img {
  display: block;
  width: 100%;
  max-width: 76rem;
  margin: 3rem auto .8rem;
  border-radius: 1.8rem;
  object-fit: cover;
  box-shadow: 0 2.5rem 6rem rgba(0,0,0,.35);
  border: .1rem solid rgba(255,255,255,.05);
}
table {
  border-collapse: collapse;
  width: 100%;
  margin: 2rem 0;
}
table, th, td {
  border: .1rem solid rgba(255,255,255,0.6);
}
th, td {
  padding: .8rem;
  text-align: left;
}
th {
  background-color: #121212;
}

           /*---- user-response ----*/
.response {
  padding: 0 2rem;
  max-width: 72rem;
  margin: 0 auto;
}
.separator {
  display: block;
  width: 100%;
  margin-bottom: 3rem;
  border-top: .08rem solid rgba(255,255,255,.1);
}
.lcs {
  display: flex;
  background: transparent;
  border: .1rem solid rgba(255,255,255,.08);
  color: #F5F5F5;
  gap: 3rem;
  font-size: 1.3rem;
  padding: 1rem 2rem;
  border-radius: .8rem;
  align-items: center;
}
.lcs span {
  transition: color .3s ease;
}
.lcs span:hover {
  color: #ffb3ff;
}
.lcs-bottom {
  gap: 5rem;
  font-size: 1.4rem;
  width: fit-content;
  padding: 1.4rem 2.4rem;
}
.like {
  position: relative;
}
.like code {
  position: absolute;
  font-size: 1rem;
  color: #ccc;
  margin-left: .5rem;
  top: 50%;
  transform: translateY(-50%);
}
.like.fa-solid {
  color: #d85c63;
}
.com-post-box {
  display: flex;
  gap: 3rem;
  margin: 5rem 0 3rem 0;
  align-items: center;
}
#com-input {
  background: transparent;
  color: #f2f2f0;
  padding: 1rem;
  width: 75%;
  min-height: 8rem;
  resize: none;
  border-radius: 1rem;
  font-family: Inter, sans-serif;
  border: .08rem solid rgba(255,255,255,.08);
  box-shadow: 0 0 .5rem rgba(255,255,255,.5);
  transition: all .3s ease;
}
#com-input:focus {
  outline: none;
  box-shadow: 0 0 .5rem rgba(255,179,255,.5);
}
#com-post-btn {
  padding: 1rem;
  color: #f2f2f2;
  opacity: 0;
  visibility: hidden;
  border-radius: 1rem;
  background: transparent;
  border: .1rem solid #fff;
  transition: all .3s ease;
}
#com-post-btn:hover {
  color: #ffb3ff;
  border-color: #ffb3ff;
}
#com-post-btn.show {
  opacity: 1;
  visibility: visible;
}
#com-json {
  display: none;
}
#comment-box {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  flex-direction: column;
}
.comment {
  background: #1a1a1a;
  color: #fff;
  width: fit-content;
  max-width: 75%;
  text-align: left;
  padding: .5rem .6rem 0 .6rem;
  border-radius: 0 1rem 1rem 1rem;
}
.com-user {
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .08em;
  color: #9A9A94;
}
.com-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #e7e7e4;
  font-family: Inter, sans-serif;
  margin: 1.5rem 1.4rem 1rem 1.4rem;
}
.com-def-msg {
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
}







            /*---- footer ----*/
footer {
  display: grid;
  padding: 2rem;
  width: 100%;
  gap: 2rem;
  margin-top: 8rem;
  place-items: center;
  background: #080808;
  text-transform: uppercase;
  grid-template-columns: 1fr;
  border-top: .1rem solid rgba(255,255,255,.06);
}
footer div {
  width: 100%;
  max-width: 72rem;
}
.foot-hero {
  display: flex;
  gap: 2.5rem;
  margin: 0 auto;
  align-items: center;
  flex-direction: column;
  padding-bottom: 2rem;
  border-bottom: .08rem solid rgba(255,255,255,.1);
}
.foot-hero img {
  width: 7rem;
  height: 7rem;
  filter: invert(1);
  border-radius: 50%;
}
.foot-hero h3 {
  font-weight: 400;
  letter-spacing: .075rem;
  font-family: "Cormorant Garamond";
}
.foot-subs {
  display: flex;
  gap: 1.2rem;
  margin: 0 auto;
  width: fit-content;
  text-align: center;
  align-items: center;
  flex-direction: column;  
}
.foot-subs button {
  display: flex;
  padding: 1rem 2.25rem;
  gap: 1.2rem;
  font-size: .9rem;
  background: #f5f5f5;
  border: none;
  border-radius: .5rem;
  align-items: center;
  transition: all .5s ease;
}
.foot-subs p {
  text-transform: none;
  line-height: 1.5rem;
  font-family: "Ubuntu", sans-serif;
}
.foot-subs button:hover {
  scale: 1.05;
  background: #bfbfbf;
}
.foot-links {
  display: grid;
  gap: 1.8rem;
  padding: 1.8rem;
  grid-template-columns: 1fr;
}
.foot-menu {
  display: flex;
  gap: 1.5rem;
  flex-direction: column;
}
.foot-menu h2 {
  color:#F8F8F5;
  font-size: 1.1rem;
  line-height: 2rem;
  font-family: "Inter", sans-serif;
}
.foot-menu span {
  display: flex;
  color: #c8c8c3;
  gap: 1rem;
  font-size: .9rem;
  margin-left: 1.5rem;
  width: fit-content;
  align-items: center;
  transition: color .3s ease;
}
.foot-menu span:hover {
  color: #fff;
}
.foot-menu span i {
  opacity: .65;
}
.copyright {
  display: flex;
  align-items: center;
  line-height: 2rem;  
  flex-direction: column;
  text-transform: none;
  padding-top: 1.5rem;
  font-family: "Inter", sans-serif;
  border-top: .08rem solid rgba(255,255,255,.1);
}
.cr-text {
  letter-spacing: .05rem;
}
.foot-dev {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  align-items: center;
  width: fit-content;
}
.developer {
  display: flex;
  gap: .5rem;
  font-size: .8rem;
  align-items: center;
  padding: .2rem .8rem;
  border-radius: .7rem;
  background: #262626;
  border: .05rem solid #262626;
  transition: border-color .3s ease, background .3s ease;
}
.developer:hover {
  border-color: #fff; 
  background: transparent;
}

@media (min-width: 448px) {
  .foot-subs {
      gap: 2rem;
      text-align: left;
      flex-direction: row;
  }
  .foot-links {
      grid-template-columns: repeat(2, max-content);
      justify-content: center;
      gap: 20%;
  }
}



