:root {
  /* color */
  --text-color: #1e3149;
  --border-color-1: #314e72;
  --shadow: #bbb;
  --border-color-2: #000;
  --border-color-3: #fff;
  --border-color-4: #5a6f89;
  --border-color-5: #7c9abe;
  --background-color-1: #5a6f89;
  --background-color-2: #7c9abe;
  --background-color-3: #2c3d6d;
  --background-color-4: #f1f8ff;
  --background-color-5: #0274fe;
  --background-color-6: #eaeaea;
  --text-color-2: #90a3b3;
  --text-color-3: #72a4cd;
  --text-color-4: #0d6efd;
  --gradient-color: linear-gradient(to top, var(--background-color-2), #fff);
  /* min-576px */
  /* min-768px */
  /* min-992px */
  /* min-1200px */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

body {
  font-family: cursive, Gloria, "Josefin Sans", "Times New Roman", Times,
    "Noto Serif SC", serif;
  overflow-x: hidden;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

/*------------------------------ *\
    #NAVBAR
\*------------------------------ */

#Gossip_a:hover,
#Translations_a:hover {
  color: var(--border-color-1);
}

.nav-link {
  position: relative;
  font-size: 25px;
}
.navbar-toggler {
  border: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--border-color-1);
  transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
  width: 70%;
}

.nav-link.active::after {
  width: 100%;
}

/*------------------------------ *\
    #BREADCRUMB
\*------------------------------ */

.breadcrumb {
  margin-top: 1rem;
  padding: 5px 20px;
  font-size: 20px;
  font-family: "STSong", monospace;
}

.breadcrumb-item.active {
  color: var(--text-color-4);
}

/*------------------------------ *\
    #CONTENT
\*------------------------------ */
.content-container {
  display: flex;
  justify-content: center;
  background-color: var(--background-color-6);
  font-family: "Poppins", sans-serif;
  font-weight: 300;
}
.card-title {
  font-size: 25px;
  font-family: "Noto Serif SC", serif;
}

.card-info {
  position: absolute;
  bottom: 0%;
  font-size: 18px;
}

.card-abstract {
  font-size: 25px;
  font-family: "Caveat", cursive;
}

.card-img-overlay {
  opacity: 0.3;
}

.card-img-overlay:hover {
  opacity: 1;
  transform: translateY(-3px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.card-img-overlay:not(:hover) {
  opacity: 0.3;
  transform: translateY(3px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.main-content {
  margin-top: 25px;
}

.content-text-wrapper {
  margin-top: 20px;
}

.content-text-wrapper {
  font-size: 20px;
  font-family: Georgia, "Times New Roman", Times, serif;
}
.talk {
  display: block;
  margin: 5px 0;
  padding-left: 2rem;
}
.content-text-wrapper p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.letter {
  margin: 20px auto;
  background-color: #e9e9e9;
  padding: 30px;
  font-size: 20px;
  font-family: "Ma Shan Zheng", cursive;
}

.letter .name-down {
  text-align: right;
}

.btn {
  border: none;
}
hr {
  margin: 80px auto;
  border: none;
  width: 400px;
  border-bottom: 2px solid;
}

.post-reading-progress-indicator {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
}

.post-reading-progress-indicator span {
  background: var(--background-color-5);
  transition: 0.3s ease-out;
  height: 100%;
  width: 0;
  display: block;
  box-shadow: 0 2px 6px;
}

.backToTop button {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  border: none;
  cursor: pointer;
  background-color: transparent;
}

.bi-caret-up-square-fill::before {
  opacity: 0.8;
  font-size: 48px;
  color: var(--background-color-5);
}

.bi-caret-up-square-fill {
  display: block;
}
.bi-caret-up-square-fill:hover {
  transform: translateY(-5px);
  transition: transform 0.5s ease-in-out;
}
.bi-caret-up-square-fill:not(:hover) {
  transform: translateY(5px);
  transition: transform 0.5s ease-in-out;
}

/* ------------------------------------ *\
  #FOOTER
\* ------------------------------------ */

.footer_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 200px;
  height: 120px;
  width: 100%;
  background-color: var(--background-color-2);
  background-image: url(../img/footer1.png);
  background-repeat: no-repeat;
  background-size: cover;
  transition: background-image 1s ease;
}

.footer_container .footer-text {
  margin-left: 5rem;
  font-size: 20px;
  color: var(--background-color-1);
}

.footer_container .footer-icons {
  margin-right: 5rem;
}

.footer-icons .bi {
  margin-left: 10px;
  font-size: 30px;
  color: var(--background-color-1);
}

.footer-icons .bi:hover {
  color: var(--background-color-3);
  cursor: pointer;
}

.footer-text .icp_a {
  font-family: "Josefin Sans", cursive, Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
}

.footer-text .icp_a:hover {
  color: var(--background-color-5);
}
