/*-- -------------------------- -->
<---           FONTS            -->
<--- -------------------------- -*/

@font-face {
  font-family: "Montserrat";
  src: url("../../fonts/Montserrat/static/Montserrat-Bold.ttf")
    format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../../fonts/Montserrat/static/Montserrat-SemiBold.ttf")
    format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../../fonts/Montserrat/static/Montserrat-Medium.ttf")
    format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../../fonts/Montserrat/static/Montserrat-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../../fonts/Montserrat/static/Montserrat-Thin.ttf")
    format("truetype");
  font-weight: 100;
  font-style: normal;
}

/*-- -------------------------- -->
<---         HTML TAGS          -->
<--- -------------------------- -*/

* {
  font-family: "Montserrat", sans-serif;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  background-image: url("../svgs/flower-background.svg");
}

/*-- -------------------------- -->
<---          HEADER            -->
<--- -------------------------- -*/

.header {
  display: flex;
  flex-direction: column;
  background-color: #7e4e60;
  align-items: center;
  justify-content: center;
  width: 90vw;
  max-width: 1250px;
  margin: 0 auto;
}

.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.center-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.logo {
  width: 100%;
  max-width: 650px;
}

.frdawn {
  width: 100%;
  max-width: 500px;
  margin-top: -2rem;
}

.navigation {
  display: flex;
  justify-content: center;
  margin: 1rem;
}

.navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

.navigation a {
  text-decoration: none;
  color: #fafafa;
  font-weight: 400;
  font-size: 18pt;
}

.navigation a:hover {
  color: #02495f;
}

/*-- -------------------------- -->
<---           MAIN             -->
<--- -------------------------- -*/

.main {
  background-color: #3b7080;
  color: #fafafa;
  flex: 1;
  width: 90vw;
  max-width: 1250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

/*-- -------------------------- -->
<---           INDEX            -->
<--- -------------------------- -*/

.index-main {
  background-color: #7e4e60;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.divider {
  border: none;
  height: 2px;
  background-color: #ffbd00; 
  width: 60%; 
  margin: 2rem auto;/
}

/*-- -------------------------- -->
<---          NOVELS            -->
<--- -------------------------- -*/

.novel-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.novel {
  padding: 1rem;
  border-radius: 8px;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.novel-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
  font-weight: 400;
  font-size: 1rem;
  color: #fafafa;
  flex-wrap: wrap;
  text-align: center;
}

.divider-vertical {
  width: 2px;
  height: 20px;
  background-color: #fafafa;
  opacity: 0.5;
}

.meta-item {
  white-space: nowrap;
}

.novel-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  max-width: 1000px;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
  flex-direction: row;
}

.cover {
  width: 180px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.novel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.15); 
  padding: 1rem;
  border-radius: 8px;
}

.progress-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.progress-circle {
  width: 120px;
  text-align: center;
  margin: 1rem;
  color: #fafafa;
  font-family: Montserrat, sans-serif;
}

.progress-circle svg {
  width: 100%;
  height: auto;
  display: block;
}

.bg {
  fill: none;
  stroke: #ddd;
  stroke-width: 3.8;
}

.progress {
  fill: none;
  stroke: #7e4e60;
  stroke-width: 3.8;
  stroke-linecap: round;
  transition: stroke-dasharray 0.6s ease;
  transform: rotate(-90deg);
  transform-origin: center;
}

.percentage {
  fill: #fafafa;
  font-size: 5pt;
  text-anchor: middle;
  alignment-baseline: middle;
  dominant-baseline: middle;
}

/*-- -------------------------- -->
<---           BLOG             -->
<--- -------------------------- -*/

.blog-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1rem; 
  box-sizing: border-box;
  width: 100%; 
}

.post {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
  color: #fafafa;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

.post-title {
  font-size: 2rem;
  color: #ffbd00;
  margin-bottom: 0.5rem;
}

.post-date {
  font-size: 1rem;
  color: #fafafa;
  margin-bottom: 1rem;
}

.post-content {
  display: flex;
  flex-direction: column;
  text-align: start;
  line-height: 1.2;
}

.blog-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  width: 100%; 
  box-sizing: border-box;
}

.blog-meta {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-bottom: 1rem;
}

.blog-date {
  color: #fafafa;
  margin-top: .5rem;
}

.blog-content-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 800px;
  margin: 1rem auto;
  flex-wrap: wrap;
}

.blog-text {
  flex: 1;
  text-align: left;
}

.blog-image {
  flex: 1;
  max-width: 500px;
  justify-self: center;
}

.blog-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.blog-item a {
  font-size: 1.5rem;
  text-decoration: none;
  color: #ffbd00;
}

.blog-description {
  margin-top: 0.5rem;
  color: #fafafa;
}

.blog-item .read-more-button {
  display: inline-block;
  padding: 0.5rem;
  width: 100%;
  max-width: 300px; 
  background-color: #fafafa;
  color: #7e4e60;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
}

.read-more-button:hover {
  background-color: #ffbd00;
  color: #3a3a3a;
}

/*-- -------------------------- -->
<---       FEATURED POST        -->
<--- -------------------------- -*/

.featured-posts {
  background-color: #7e4e60;
  border-radius: 4px;
  padding: 1rem;
}

.featured-post {
  padding-left: 2rem;
  padding-right: 2rem;
  margin-bottom: 3rem;
  border-radius: 10px;
  margin-left: auto;
  margin-right: auto;
}

.featured-post .blog-meta {
  text-align: center;
}

.featured-post .blog-image img {
  border: 3px solid #ffbd00;
}

.featured-post a {
  color: #ffbd00;
  text-decoration: none;
  padding: .5rem;
}

.featured-post a:hover {
  color: #fafafa;
  border-radius: 4px;
}

/*-- -------------------------- -->
<---          ABOUT             -->
<--- -------------------------- -*/

.about-description {
  margin: 0 5rem 3rem;
  font-weight: 100;
}

/*-- -------------------------- -->
<---           FOOTER           -->
<--- -------------------------- -*/

.footer {
  background-color: #ffbd00;
  color: #3a3a3a;
  text-align: center;
  width: 90vw;
  max-width: 1250px;
  margin: 0 auto;
}

.social-media-icon {
  width: 25px;
  height: auto;
  margin: 0 10px;
  vertical-align: middle;
  filter: grayscale(1) brightness(0) invert(1);
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 1rem 0;
}

/*-- -------------------------- -->
<---        MEDIA QUERIES       -->
<--- -------------------------- -*/

@media (max-width: 768px) {
  .novel-row {
    flex-direction: column;
    align-items: center;
  }

  .cover {
    width: 80%;
  }

  .blog-content-row {
    flex-direction: column;
    align-items: center;
  }

  .blog-text {
    text-align: center;
  }

  .header,
  .footer,
  .main {
    width: 100vw;
    margin: 0;
    padding: 0 1rem;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .post-title {
    font-size: 1.5rem;
  }

  .blog-item a {
    font-size: 1.2rem;
  }

  .blog-item .read-more-button {
    max-width: 100%;
    padding: 0.4rem;
  }
}