:root {

  /**
   * colors
   */

   --chinese-violet_30: hsla(304, 14%, 46%, 0.3);
   --chinese-violet: hsl(304, 14%, 46%);
   --sonic-silver: hsl(208, 7%, 46%);
   --old-rose_30: hsla(357, 37%, 62%, 0.3);
   --ghost-white: hsl(233, 33%, 95%);
   --light-pink: hsl(357, 93%, 84%);
   --light-gray: hsl(0, 0%, 80%);
   --old-rose: hsl(357, 37%, 62%);
   --seashell: hsl(20, 43%, 93%);
   --charcoal: hsl(203, 30%, 26%);
   --white: hsl(0, 0%, 100%);

  /**
   * typography
   */

   --ff-philosopher: 'Philosopher', sans-serif;
   --ff-poppins: 'Arial', sans-serif;
 
   --fs-1: 4rem;
   --fs-2: 3.2rem;
   --fs-3: 2.7rem;
   --fs-4: 2.4rem;
   --fs-5: 2.2rem;
   --fs-6: 2rem;
   --fs-7: 1.8rem;
 
   --fw-500: 500;
   --fw-700: 700;

  /**
   * spacing
   */

  --section-padding: 80px;

  /**
   * radius
   */

  --radius-16: 16px;
  --radius-pill: 200px;
  --radius-circle: 50%;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

button[type="submit"] {
  padding: 5px 20px;
  margin: 10px auto;
  float: right;
  cursor: pointer; 
  background: none;
  border: none;
  font: inherit;
}

#login {
  background-color: var(--old-rose);
  border-radius: 10px; /* Adjust the value to control the roundness of the corners */
  padding: 10px 20px; /* Adjust padding as needed */
  border: none; /* Remove default button border */
  cursor: pointer; /* Change cursor to pointer on hover */
  color: white; /* Text color */
  font-size: 16px; /* Font size */
  font-weight: bold; /* Font weight */
}

#login:hover {
  opacity: 0.8; /* Reduce opacity slightly on hover */
}

li { list-style: none; }

a,
img,
span,
input,
ion-icon { display: block; }

button[type="submit"] {
  padding: 5px 20px;
  margin: 10px auto;
  float: right;
}


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

img { height: auto; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}



input {
  width: 100%;
  outline: none;
}

button { cursor: pointer; }

ion-icon { pointer-events: none; }

html {
  font-family: var(--ff-inter);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--eerie-black);
  font-size: 1.6rem;
  line-height: 1.5;
}

body.active { overflow: hidden; }

:focus-visible { outline-offset: 4px; }

::-webkit-scrollbar { width: 10px; }

::-webkit-scrollbar-track { background-color: hsl(0, 0%, 98%); }

::-webkit-scrollbar-thumb { background-color: hsl(0, 0%, 80%); }

::-webkit-scrollbar-thumb:hover { background-color: hsl(0, 0%, 70%); }


/*-----------------------------------*\
#CONTACT
\*-----------------------------------*/

.contact .wrapper {
display: grid;
gap: 25px;
}

.contact-form {
background-color: var(--seashell);
padding: 20px;
border-radius: 25px;
}

.input-field {
background-color: var(--white);
padding: 10px;
margin-block-end: 15px;
outline: none;
border-block-end: 2px solid transparent;
}

.input-field:focus { border-color: var(--old-rose); }

textarea.input-field {
height: 300px;
width: 1000px;
}

.contact-form .btn { margin-inline: auto; color: black; padding: 50px; border-radius: 25px;}

.contact-card {
background-color: var(--seashell);
padding: 30px;
}

.contact-card .card-title {
font-family: var(--ff-philosopher);
text-transform: uppercase;
font-weight: var(--fw-700);
}

.contact-card > li:not(:last-child) { margin-block-end: 30px; }

.contact-card .card-link {
color: var(--chinese-violet);
transition: var(--transition-1);
}

.contact-card .card-link:is(:hover, :focus) { color: var(--old-rose); }

.social-list-title {
font-size: var(--fs-6);
font-weight: var(--fw-700);
margin-block-end: 15px;
}

.social-list {
display: flex;
gap: 10px;
}

.social-link {
background-color: var(--old-rose);
color: var(--white);
font-size: 20px;
padding: 5px;
box-shadow: var(--shadow-3);
transition: var(--transition-1);
}

.social-link:is(:hover, :focus) {
background-color: var(--chinese-violet);
box-shadow: none;
}


/*-----------------------------------*\
#AUTHOR
\*-----------------------------------*/

.author-content {
  float: left;
  width: 200%;
}

.author-banner {
  float: right;
  width: 60%;
}

.author .section-text {
  padding: 25px;
  float: right;
}

.author { background-color: var(--seashell); }

.author .container {
display: grid;
gap: 40px;
}

.author .container2 {
  float: right;
  width: 70%;
  padding: 40px;
  }


.author :is(.section-subtitle, .section-title) { text-align: right; padding-bottom: 10px}

.author-name {
font-size: var(--fs-6);
margin-block-end: 30px;
float: right;

}

/*-----------------------------------*\
#CHAPTERS
\*-----------------------------------*/

.chapter-card {
height: 100%;
background-color: var(--white);
padding: 25px;
border-radius: var(--radius-5);
box-shadow: var(--shadow-2);
transition: var(--transition-2);
}

.chapter-card:is(:hover, :focus-within) { transform: translateY(-10px); }

.chapter-card .card-title { margin-block-end: 15px; }





/*-----------------------------------*\
#PREVIEW
\*-----------------------------------*/

.tab-list {
display: flex;
flex-direction: column;
gap: 10px;
}

.tab-card {
position: relative;
height: 60px;
background-color: var(--seashell);
border-radius: var(--radius-10);
box-shadow: var(--shadow-3);
display: grid;
place-content: center;
overflow: hidden;
cursor: pointer;
transition: var(--transition-1);
}

.tab-card .w-100 {
pointer-events: none;
opacity: 0;
transition: var(--transition-2);
}

.tab-card.active .w-100 { opacity: 1; }

.tab-card.active {
height: 40vh;
box-shadow: none;
}

.tab-text {
font-size: var(--fs-4);
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

.tab-card.active .tab-text { display: none; }

/*-----------------------------------*\
#REUSED STYLE
\*-----------------------------------*/

.container { padding-right: 55px; border-radius: 25px; }

.container-rent { border-radius: 25px; text-align: center; }

.section { padding-block: var(--section-padding); background-color: white }

.section:nth-child(odd) { background-color: var(--seashell); border-radius: 25px; padding: 25px; padding-bottom: 30px; }

.section:nth-child(even) { background-color: var(--white);  border-radius: 25px; padding: 25px; padding-bottom: 30px; }

.section-subtitle {
color: var(--old-rose);
text-transform: uppercase;
letter-spacing: 3px;
text-align: left;
padding-bottom: 20px;
}

.h1,
.h2,
.h3,
.tab-text {
color: var(--charcoal);
font-family: var(--ff-philosopher);
line-height: 1.2;
}

.h1 { font-size: var(--fs-2); }

.h2 { font-size: var(--fs-3); }

.h3 { font-size: var(--fs-5); }

.section-text { font-size: var(--fs-7); }

.w-100 { width: 100%; }

.has-before,
.has-after {
position: relative;
z-index: 1;
}

.has-before::before,
.has-after::after {
content: "";
position: absolute;
}

.section-title { text-align: center; }

.grid-list {
display: grid;

gap: 25px;
}

.btn-link {
color: var(--old-rose);
font-weight: var(--fw-500);
display: flex;
align-items: center;
gap: 5px;
transition: var(--transition-1);
}

.btn-link:is(:hover, :focus) { color: teal }

.has-underline {
position: relative;
margin-block-end: 60px;
}

.has-underline .span {
height: 2px;
background-color: var(--old-rose_30);
width: 200px;
margin-inline: auto;
margin-block-start: 30px;
}

.has-underline .has-before::before {
width: 18px;
height: 18px;
top: 2px;
left: 45%;
transform: translateY(-50%) rotate(45deg);
background-color: var(--old-rose_30);
box-shadow: 7px -7px var(--old-rose_30);
}

.btn {
padding: 12px 30px;
transition: var(--transition-1);
}

.btn-primary {
background-color: var(--old-rose);
color: black;
}

.btn-primary:is(:hover, :focus) { background-color: teal; }

.btn-secondary {
border: 2px solid var(--old-rose);
color: var(--old-rose);
background: var(--chinese-violet);
}

.btn-secondary:is(:hover, :focus) {
background-color: var(--old-rose);
color: var(--white);
}

.img-holder {
aspect-ratio: var(--width) / var(--height);
background-color: var(--light-gray);
}

.img-cover {
width: 100%;
height: 100%;
object-fit: cover;
}


.hover\:underline { text-underline-offset: 3px; }

.hover\:underline:is(:hover, :focus) { text-decoration: underline; }

.section:not(.header, .footer-bottom) {
border-block-end: 1px solid var(--light-gray-2);
}

.btn {
background-color: var(--eerie-black);
color: var(--charcoal);
font-size: var(--fs-6);
font-weight: var(--fw-500);
line-height: 1.3;
padding: 11px 25px;
border-radius: var(--radius-pill);
transition: var(--transition-1);
}

.btn:is(:hover, :focus) { background-color: powderblue; }

.img-holder {
aspect-ratio: var(--width) / var(--height);
background-color: var(--light-gray-1);
overflow: hidden;
}

.img-cover {
width: 100%;
height: 100%;
object-fit: cover;
}

.has-scrollbar {
display: flex;
gap: 25px;
overflow-x: auto;
scroll-snap-type: inline mandatory;
padding-block-end: 20px;
margin-block-end: -20px;
margin-inline: -15px;
padding-inline: 15px;
}

.has-scrollbar::-webkit-scrollbar { height: 10px; }

.has-scrollbar::-webkit-scrollbar-track { background: transparent; }

.has-scrollbar::-webkit-scrollbar-thumb {
background-color: pink;
border-radius: var(--radius-pill);
}

.has-scrollbar::-webkit-scrollbar-button { width: 10px; }

.has-scrollbar:is(:hover, :focus-within)::-webkit-scrollbar-thumb { background-color: var(--light-gray-1); }

.scrollbar-item {
min-width: 5%;
scroll-snap-align: center;
}

.blog-card .card-banner {
position: relative;
border-radius: var(--radius-16);
margin-block-end: 10px;
}

.avatar-list {
display: flex;
flex-direction: row-reverse;
}

.avatar-list.absolute {
position: absolute;
bottom: 10px;
left: 10px;
}

.avatar-item:not(:first-child) { margin-inline-end: -15px; }

.avatar {
width: 40px;
border-radius: var(--radius-circle);
background: none;
border: 5px solid var(--white_20);
transition: var(--transition-1);
will-change: transform;
}

.avatar-list.absolute .avatar:is(:hover, :focus) {
transform: scale(0.9);
border-color: var(--white);
}

.card-meta-list {
display: flex;
gap: 10px;
}

.card-tag {
background-color: var(--light-pink);
font-size: var(--fs-8);
font: var(--ff-philosopher);
font-weight: var(--fw-500);
padding: 2px 8px;
border-radius: var(--radius-pill);
transition: var(--transition-1);
}

.card-tag:is(:hover, :focus) { background-color: var(--gainsboro); }

.blog-card .card-title {
margin-block: 8px 12px;
text-decoration-thickness: 2px;
}

.blog-card .card-text {
font-family: 'Arial Narrow Bold', sans-serif;
font-size: var(--fs-8);
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
padding-inline-end: 20px;
}

.grid-list {
display: grid;
gap: 30px;
}



/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  padding-block-start: calc(var(--section-padding) + 60px);
  text-align: left;
}

.hero .container {
  display: grid;
  gap: 60px;
}

.hero .hero-title { margin-block: 10px 25px; }

.hero-banner {
  padding-inline-start: 30px;
  padding-block-end: 30px;
  max-width: 420px;
  margin-inline: auto;
}

.hero-banner .w-100 { border-radius: 10px 30px; }

.hero-banner::before {
  top: 30px;
  right: 30px;
  bottom: 0;
  left: 0;
  background-color: var(--light-pink);
  border-radius: var(--radius-10);
  z-index: -1;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--white);
  color: var(--chinese-violet);
  font-size: 22px;
  padding: 24px;
  border-radius: 50%;
  transition: var(--transition-1);
  animation: pulse 3s ease infinite;
}

.play-btn:is(:hover, :focus) { color: var(--old-rose); }

@keyframes pulse {
  0%,
  50% { box-shadow: 0 0 0 0 hsla(0, 0%, 100%, 0.5); }

  100% { box-shadow: 0 0 0 10px transparent; }
}

.hero-content {
  display: flex;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  padding-top: 150px;
}

.section-text {
  padding: 15px;
}

.section-text-container {
  padding: 1S5px;
}

.right-aligned {
  text-align: right;
}

.book {
  text-align: center; /* Center align button */
  margin-top: 20px; /* Adjust spacing */
}

.save-btn {
  background-color: var(--old-rose_30); /* Pink background color */
  color: black;
  border: 2px solid #d2b48c; /* Tan border */
  border-radius: 30px; /* Rounded corners */
  padding: 15px 30px; /* Increased padding for larger size */
  cursor: pointer;
  font-size: 16px; /* Increased font size */
}

.save-btn:hover {
  background-color: #d2b48c; /* Darker tan on hover */
}

.book img {
  max-width: 100%;
  height: auto;
}



/*-----------------------------------*\
  #SEARCH BAR
\*-----------------------------------*/

.search-bar {
  background-color: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  transform: translateY(calc(-100% - 2px));
  z-index: 4;
  transition: var(--transition-1);
  visibility: hidden;
}

.search-bar.active {
  visibility: visible;
  transform: translateY(0);
}

.search-bar .input-field {
  font-size: var(--fs-1);
  font-weight: var(--fw-700);
  line-height: 1.3;
  padding-inline-end: 60px;
}

.search-bar .input-field::placeholder { color: var(--eerie-black); }

.search-bar .input-field::-webkit-search-cancel-button { display: none; }

.search-close-btn {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 45px;
}

.search-close-btn ion-icon { --ionicon-stroke-width: 20px; }

.search-bar-text {
  font-size: 1.4rem;
  color: var(--eerie-black_80);
  margin-block-start: 5px;
}

.overlay {
  position: fixed;
  inset: 0;
  background-color: var(--eerie-black_80);
  transition: var(--transition-1);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}



 /*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.search-btn .span,
.header .btn { display: none; }

.header {
  position: relative;
  padding-block: 25px;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .wrapper {
  display: flex;
  gap: 15px;
}

.search-btn { font-size: 28px; }

.search-btn ion-icon { --ionicon-stroke-width: 50px; }

.nav-toggle-btn .span {
  background-color: var(--eerie-black);
  width: 30px;
  height: 3px;
  transition: var(--transition-1);
}

.nav-toggle-btn .span:not(:last-child) { margin-block-end: 7px; }

.nav-toggle-btn.active .span.two { opacity: 0; }

.nav-toggle-btn.active .span.one { transform: translateY(10px) rotate(45deg); }

.nav-toggle-btn.active .span.three { transform: translateY(-10px) rotate(-45deg); }

.navbar {
  background-color: var(--eerie-black);
  color: var(--white);
  position: absolute;
  top: calc(100% - 20px);
  right: 0;
  min-width: 180px;
  padding: 15px 10px;
  border-radius: var(--radius-16);
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-1);
  z-index: 2;
}

.navbar.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.navbar-link {
  text-align: right;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  padding: 5px;
}



  
  /*-----------------------------------*\
    #FOOTER
  \*-----------------------------------*/
  
  .footer {
    background-color: white;
    padding: 20px;
    color: black; /* Text color */
}

.container3 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; /* Allow items to wrap if necessary */
    max-width: 1200px; /* Adjust maximum width as needed */
    margin: 0 auto; /* Center align the container */
    background-color: white;
    color: var(--old-rose)
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex: 1;
    flex-wrap: wrap; /* Allow items to wrap if necessary */
}

.footer-brand {
    width: 25%; /* Each brand takes 25% of the container width */
    margin-bottom: 20px; /* Spacing between brands */
}

.footer-brand img {
    max-width: 100%; /* Ensure images do not exceed their container width */
    height: auto; /* Maintain aspect ratio */
}

.footer-text {
    margin-top: 25px; 
    float: center;/* Space between logo and text */
}

.footer-list {
    width: 25%; /* Each list takes 25% of the container width */
    margin-top: 15px; 
}

.footer-list-item {
    display: flex;
    align-items: center; /* Align icon and text vertically */
    margin-top: 5px; 
}

.footer-list-item ion-icon {
    margin-right: 5px; /* Space between icon and text */
  }

.footer-bottom {
    width: 93%;
    text-align: center;
    margin-top: auto; /* Pushes footer to the bottom of the container */
    background-color: white; /* adjust background color as needed */
    color: var(--old-rose)
}

  
  .copyright {
    font-size: var(--fs-8);
    font-weight: var(--fw-500);
    margin-block-start: 8px;
    
  }
  
  .copyright-link { display: inline-block; }

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */

@media (min-width: 575px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 6rem;
    --fs-2: 4.8rem;

  }



  /**
   * REUSED STYLE
   */

  .section { margin-inline: 30px; }

  .newsletter-form,
  .btn { --fs-6: 2.2rem; }

  .newsletter-form .email-field {
    font-size: var(--fs-6);
    padding-inline-end: 170px;
  }

  .btn { padding: 14px 30px; }

  .section-subtitle { font-size: var(--fs-4); }

  .has-scrollbar {
    margin-inline: -30px;
    padding-inline: 30px;
  }

  .has-scrollbar::-webkit-scrollbar-button { width: 15px; }

  .scrollbar-item { min-width: 40%; }

  .grid-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
  }


  /**
   * SEARCH BAR
   */

  .search-bar .input-field { --fs-1: 3.6rem; }







/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 7.2rem;
    --fs-2: 5.5rem;

    /**
     * radius
     */

    --radius-16: 26px;

  }



  /**
   * REUSED STYLE
   */

  .section { margin-inline: 50px; }

  .has-scrollbar {
    margin-inline: -50px;
    padding-inline: 50px;
    gap: 15px;
  }

  .has-scrollbar::-webkit-scrollbar-button { width: 25px; }

  .scrollbar-item { min-width: 20%; }

  .grid-list { gap: 40px 15px; }



  /**
   * SEARCH BAR
   */

  .search-bar { padding: 25px; }

  .search-bar .input-field { --fs-1: 4.6rem; }



  /**
   * RECENT POST
   */

  .top-author {
    display: block;
    text-align: right;
  }

  .recent .title-wrapper {
    display: flex;
    justify-content: space-between;
    margin-block-end: 10px;
  }

  .top-author .avatar-item:not(:first-child) { margin-inline-end: -25px; }

  .top-author .span {
    color: var(--eerie-black_80);
    font-size: var(--fs-8);
    margin-block-start: 10px;
  }

  .avatar.large {
    border: 6px solid var(--white);
    width: 70px;
  }

  .avatar.large:is(:hover, :focus) { transform: translateY(-3px); }



  /**
   * RECOMMENDED POST
   */

  .recommended .grid-list {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 15px;
  }
}
}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 8.8rem;
    
    /**
     * spacing
     */

    --section-padding: 60px;

  }



  /**
   * REUSED STYLE
   */

  .section { margin-inline: 60px; }

  .has-scrollbar {
    margin-inline: -60px;
    padding-inline: 60px;
  }

  .has-scrollbar::-webkit-scrollbar-button { width: 30px; }

  .btn {
    --fs-6: 2.4rem;
    padding: 18px 36px;
  }

  .newsletter-form { max-width: 450px; }

  .newsletter-form .email-field {
    padding-block: 18px;
    padding-inline-start: 30px;
  }

  .blog-card .card-title { padding-inline-end: 15px; }

  .blog-card .card-text { font-size: unset; }

  .grid-list { grid-template-columns: repeat(3, 1fr); }



  /**
   * HEADER
   */

  .nav-toggle-btn { display: none; }

  .search-btn .span,
  .header .btn { display: block; }

  .header .wrapper { gap: 10px; }

  .search-btn,
  .header .btn {
    --fs-6: 1.8rem;
    padding: 6px 20px;
  }

  .search-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: var(--cultured);
    font-size: var(--fs-6);
    font-weight: var(--fw-500);
    border-radius: var(--radius-pill);
    transition: var(--transition-1);
  }

  .search-btn:is(:hover, :focus) { background-color: var(--gainsboro); }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline: auto 12px;
  }

  .navbar-list {
    display: flex;
    gap: 8px;
  }



  /**
   * HERO
   */

  .hero { padding-block-start: 10px; }

  .hero-title { margin-block-end: 10px; }

  .hero .newsletter-text {
    display: block;
    max-width: 400px;
    color: var(--eerie-black_80);
    line-height: 1.3;
  }

  .hero .wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
  }



  /**
   * RECENT POST
   */

  .top-author .avatar { width: 85px; }



  /**
   * RECOMMENDED POST
   */

  .recommended .grid-list { grid-template-columns: repeat(6, 1fr); }



  /**
   * NEWSLETTER
   */

  .newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .newsletter .section-title { margin-block-end: 0; }

}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 9.2rem;
    --fs-2: 6rem;
    --fs-3: 2.6rem;
    --fs-4: 2.4rem;

  }



  /**
   * REUSED STYLE
   */

  .section { margin-inline: 70px; }

  .has-scrollbar {
    margin-inline: -70px;
    padding-inline: 70px;
  }

  .has-scrollbar::-webkit-scrollbar-button { width: 35px; }

  .card-tag {
    --fs-9: 1.4rem;
    padding: 4px 10px;
  }

  .grid-list { row-gap: 50px; }



  /**
   * HERO
   */

  .section.hero { padding-block: 10px; border-radius: 25px; }

  .hero-title { margin-block-end: 20px; }



  /**
   * RECENT POST
   */

  .top-author .avatar { width: 100px; }

  .recent .btn { margin-block-start: 70px; }



  /**
   * FOOTER
   */

  .footer-top { grid-template-columns: 1fr 0.4fr 0.4fr 0.4fr 0.4fr; }

  .footer-brand {
    grid-column: auto;
    padding-inline-end: 100px;
  }

/* Container styles */
.container-rent {
  text-align: center;
  max-width: 1000px; /* Limit the width for better readability */
  margin: 0 auto; /* Center the container */
  padding: 20px;
}

/* Heading styles */
.h2.section-title {
  font-size: 2em;
  margin-bottom: 20px;
}

/* Flex container for buttons and status */
.rent-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* Card-like style for each control item */
.control-card {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Style the status box */
#status {
  font-size: 0.9em;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f0f0f0;
  max-width: 300px;
  margin: 0 auto;
}

/* Style the buttons */
.btn {
  padding: 12px 30px;
  transition: var(--transition-1);
  }

.btn-secondary {
  border: 1px solid var(--old-rose);
  color: var(--old-rose);
  }

/* Style the iframe */
.pdf-viewer-container {
  margin: 20px auto;
}

#iframe {
  width: 100%;
  height: 600px;
  border: none;
}
}
