body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    line-height: inherit;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

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


.grid-container {
    max-width: 100%;
    margin: 0 auto;
}
        
.header {
    width: 100%;
    height: 10%;
    background-color: rgba(97, 60, 31, 0.8);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0;
    padding: 10px 20px;
    font-family: monospace;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    -webkit-backdrop-filter: blur(20px); /* For Safari */
    flex-shrink: 0;
}


/*--Style for Alwayssiel--*/
.alwayssiel-logo {
    display: inline-block;
    text-justify: left;
    padding-left: 30px;
    padding-bottom: 0;
    justify-content: space-between;
    margin-right: 20px;
}

/*--MENU--*/
.nav {
    justify-content: right;
    display: flex;
}

.nav ul {
    list-style: none;
    display: flex;
    padding-right: 30px;
    padding-top: 10px;
    padding-bottom: 0;
    margin-right: 10px;
    justify-content: right;
    font-size: 18px;
    font-family: monospace;
    align-items: center;
}

.nav li {
    margin-right: 20px;
    display: inline;
}

.nav a {
    text-decoration:none;
    color: #F4D03F;
}

.nav a:hover {
    color: #666;
}

/*--Sidebar menu--*/
.menu-icon {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 20px;
    font-size: 24px;
    color: #F4D03F;
}

.sidebar {
    display: none;
    position: fixed;
    top: 0;
    right: -250px;
    height: 100%;
    width: 250px;
    background-color: #613c1f;
    padding-top: 60px;
    transition: right 0.3s;
    z-index: 1000;
    
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar li {
    padding: 10px 15px;
}

.sidebar a {
    color: white;
    text-decoration: none;
    font-family: monospace;
    font-size: 20px;
    display: block;
}

.sidebar a:hover {
    cursor: pointer;
    width: 85%;
    margin-left: 20px;
}

.close-btnP {
    font-family: monospace;
    position: absolute;
    top: 14px;
    left: 45px;
    font-size: 22px;
    cursor: pointer;
    color: #F7DC6F;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #F7DC6F;
}

.sidebar.active {
    width: 250px;
}

.content {
    padding: 20px;
}


  /*--WELCOMING TEXT--*/
  .main-title {
    color: #F7DC6F;
    text-align: center;
    justify-content: center;
    padding-top: 85px;
    font-size: 50px;
    font-family: monospace;
}

.secondary-title {
    color: rgb(255, 255, 255);
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
    font-family: monospace;
}

/*--WELCOMING POST--*/
.flex-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

img {
    width: 100%;
    margin: 0px;
}

.main p {
    color: #ffffff;
    font-size: 50px
    text-align: center;
    font-family: monospace;
    font-size: 50px;
}


.bubbles {
    display: flex;
    gap: 25px;
    justify-content: space-around;
  }
  .bubbles span {
    position: relative;
    min-width: 10px;
    height: 10px;
    background: #fffd98;;
    border-radius: 50%;
    box-shadow: 0 0 0 10px #fffd9837,
      0 0 10px #fffd98; (255, 242, 225),
      0 0 10px #fffd98;
    animation: animate 15s linear infinite;
    animation-duration: calc(200s / var(--i));
  }
  
  .bubbles span:nth-child(even) {
    background: #dcf190;
    box-shadow: 0 0 0 10px #8ca74b44,
      0 0 10px #dcf190,
      0 0 10px #dcf190;
  }

  @keyframes animate {
    0% {
      transform: translateY(100vh) scale(0);
    }
    100% {
      transform: translateY(-10vh) scale(1);
    }
  }

/*-- NEW ARTICLES AND BOOK REVIEWS SECTIONS--*/
.h2 {
    grid-area: h2;
    text-align: center;
    justify-content: center;
    margin-top: 70px;
    margin-bottom: 20px;
    font-size: 25px;
    color:#ffffff;
    font-family: monospace;
    background-color: #613c1f;
    width: 100%;
    height: 40px;
    padding-top: 6px;
}

.h2-2 {
    grid-area: h2;
    text-align: center;
    margin-top: 70px;
    margin-bottom: 20px;
    justify-content: center;
    font-size: 25px;
    color:#ffffff;
    font-family: monospace;
    background-color: #613c1f;
    width: 100%;
    height: 40px;
    padding-top: 6px;
}

.main-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 25px;
    margin-bottom: 30px;
    background-color: #e2ba7e;
    box-sizing: border-box;
    border-radius:15px;
    box-shadow: 0 6px 7px -4px rgba(0, 0, 0, 0.4);
    color: #4c3c00;
}
     

.card img {
    display: block;
    margin: 0 auto 10px auto; /* Center the image and add space below it */
    max-width: 50%; /* Ensure the image fits within the card */
    border-radius: 10px;
}

.card a {
    display: block;
    text-decoration: none;
    color: #613c1f;
    font-weight: bold;
    margin-top: 10px;
    text-align: justify;
    font-family: monospace;
    font-size: 15px;
    text-align: center;
}


/*--ALL ARTICLES PAGE TITLE--*/
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px; 
}

.list-article{
    text-align: left;
    padding-left: 25px;
    padding-top: 90px;
    padding-bottom: 10px;
    font-size: 35px;
    color:#ffffff;
    font-family: monospace;
}

/*--SEARCH--*/
.search{
    display: flex;
    width: 300px;
    float: right;
    padding-right: 25px;
    padding-top: 90px;
    padding-bottom: 10px;
}

form.search input[type=text] {
    padding: 7px;
    font-size: 13px;
    border: 1px solid #e6e8ed;
    float: left;
    width: 80%;
    background: #e6e8ed;
    border-radius: 10px 0px 0px 10px;
    outline: none;
}

form.search input[type=text]:focus{
    border: 1px solid #e6e8ed;
}

form.search button {
    float: left;
    width: 15%;
    padding: 5px;
    background: #ede1a9 ;
    font-size: 17px;
    border: 0px;
    border-left: none;
    cursor: pointer;
    border-radius: 0px 10px 10px 0px;
}

form.search button:hover {
    background-color: #e2ba7e;
}

.search-icon {
    width: 18px; /* Adjust as needed */
    height: 18px; /* Adjust as needed */
    justify-content: center;
    margin-right: 5px;
    margin-left: 5px;
    margin-top: 3px;
}

/*--LIST ALL ARTICLES--*/
.A-article {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
    text-decoration: none;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
.A-articleimg {
    width: 250px;
    height: 120px;
    padding-left: 25px;
    padding-top: 25px;
    margin-right: 20px;
}

.artikel-foto {
    border-radius: 20px;
}
  
.A-articletext {
    width: 70%;
    padding-top: 46px;
    text-decoration: none;
    color: #ffffff;
}
  
.A-articletitle {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    text-decoration: none;
    font-family: monospace;
}
  
.Article-date {
    font-size: 14px;
    color: #eddcdc;
    font-family: monospace;
}


/*--BACK BUTTON--*/
.back-button {
    padding-left: 50%;
    padding-right: 50%;
    padding-top: 35px;
    padding-bottom: 50px;
}

.button {
    width: 90px;
    height: 30px;
    border-radius: 90px;
    border-style: none;
    background-color: #ecc893;
    box-shadow: #4c3c00;
}

.back-buttontext {
    color: #613c1f;
    text-decoration: none;
}

.button:hover {
    background-color: #F7DC6F;
}

/*--NEXT BUTTON--*/
.next-button {
    padding-left: 50%;
    padding-right: 50%;
    padding-top: 35px;
    padding-bottom: 50px;
}

.next-buttontext {
    color: #613c1f;
    text-decoration: none;
}

/*--BOOK REVIEWS PAGE--*/
.h2-bookrv {
    text-align: left;
    padding-left: 25px;
    padding-top: 90px;
    padding-bottom: 10px;
    font-size: 35px;
    color:#ffffff;
    font-family: monospace;
}

.bookrv-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
}

.bookrv-pagecard {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 25px;
    margin-bottom: 30px;
    background-color: #e2ba7e;
    box-sizing: border-box;
    border-radius:15px;
    box-shadow: 0 6px 7px -4px rgba(0, 0, 0, 0.4);
    color: #4c3c00;
    width: 400px;
    height: 200px;
}
     

.card img {
    display: block;
    margin: 0 auto 10px auto; /* Center the image and add space below it */
    max-width: 50%; /* Ensure the image fits within the card */
    border-radius: 10px;
}

.card a {
    display: block;
    text-decoration: none;
    color: #613c1f;
    font-weight: bold;
    margin-top: 10px;
    text-align: justify;
    font-family: monospace;
    font-size: 15px;
    text-align: center;
}

.IMG-RV {
    display: block;
    margin-top: 50px;
    margin-right: 45%;
    margin-left: 31%;
    margin-bottom: 10px;
    width: 450px;
    height: 450px;
    border-radius: 9px;
}

.H2-Rv {
    margin-left: 65px;
    margin-right: 65px;
    margin-bottom: 15px;
    padding-top: 25px;
    font-family: monospace;
    color: #ffffff;
}

.H3-Rv {
    margin-left: 85px;
    margin-right: 65px;
    margin-bottom: 15px;
    margin-top: 30px;
    font-size: 16px;
    font-family: monospace;
    color: #ffffff;
}

.maincontent-Aslist {
    margin-left: 85px;
    margin-right: 65px;
    margin-bottom: 30px;
    margin-top: 15px;
    font-size: 16px;
    font-family: monospace;
    color: #ffffff;
}

/*--ARTICLE--*/
.TITLE-As {
    text-align: left;
    margin-left: 65px;
    margin-right: 65px;
    padding-top: 90px;
    padding-bottom: 10px;
    font-size: 35px;
    font-family: monospace;
    color: #ffffff;
}

.DATE-As {
    text-align: left;
    margin-left: 65px;
    margin-right: 65px;
    padding-top: 5px;
    padding-bottom: 10px;
    font-size: 15px;
    font-family: monospace;
    color: #eddcdc;
}


.IMG-As {
    display: block;
    margin-top: 30px;
    margin-right: 45%;
    margin-left: 20%;
    margin-bottom: 10px;
    width: 730px;
    height: 350px;
    border-radius: 9px;
}

.content-As {
    margin-left: 65px;
    margin-right: 65px;
    margin-bottom: 30px;
    margin-top: 70px;
    font-family: monospace;
    font-size: 16px;
    color: #ffffff;
}

.H2-As {
    margin-left: 85px;
    margin-right: 65px;
    margin-bottom: 30px;
    margin-top: 50px;
    font-family: monospace;
    color: #ffffff;
}

.maincontent-As {
    margin-left: 65px;
    margin-right: 65px;
    margin-bottom: 20px;
    padding-top: 10px;
    font-family: monospace;
    font-size: 16px;
    color: #ffffff;
}

.H2-AsCon {
    margin-left: 65px;
    margin-right: 65px;
    margin-bottom: 18px;
    margin-top: 60px;
    font-family: monospace;
    color: #ffffff;
}

.lastsentence-As {
    margin-left: 65px;
    margin-right: 65px;
    margin-bottom: 120px;
    padding-top: 10px;
    font-family: monospace;
    font-size: 16px;
    color: #ffffff;
}

.lastsentence-As a {
    font-family: monospace;
    font-size: 16px;
    color: #ffe476;
    text-decoration: none;
}

/*--ABOUT ME PAGE--*/
.AM-container {
    overflow: auto;
}

.About-metitle {
    text-align: left;
    padding-left: 65px;
    padding-top: 100px;
    margin-bottom: 10px;
    font-family: monospace;
    color: #ffffff;
    font-size: 45px;
}

.About-meProfile {
    padding-left: 75px;
    padding-top: 8px;
    margin-bottom: 20px;
    font-family: monospace;
    color: #ffffff;
    font-style: italic;
}

.AM-IMG {
    float: left;
    width: 220px;
    height: 280px;
    margin-left: 55px;
    margin-right: 15px;
    margin-top: 0px;
    margin-bottom: 60px;
    border-radius: 100%;
    background-color: #ffdfac;
    padding: 15px;
    border-radius: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-AM {
    text-align: justify;
    margin-left: 250px;
    margin-right: 150px;
    margin-top: 0;
    margin-bottom: 30px;
    font-family: monospace;
    color: #ffffff;
    font-size: 18px;
    width: 800px;
}

/* Medium <= 992px */
@media screen and (max-width: 992px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        z-index: 50;
        top: 0;
    }

    .alwayssiel-logo {
        display: inline-block;
        text-align: left; 
        padding-left: 30px;
        padding-top: 4px;
        margin-right: 20px; 
    }

    .menu-icon {
        display: block;
        position: absolute; 
        right: 20px; 
        top: 50%; 
        transform: translateY(-50%);
    }

    .nav {
        width: 100%;
        display: none;
    }

    .nav ul {
        flex-direction: column;
        width: 100%;
    }

    .nav li {
        width: 100%;
        text-align: right;
        padding: 10px 0;
        justify-content: flex-end;
    }

    .nav a {
        width: 100%;
        padding-right: 20px;
    }

    .menu-icon {
        display: block;
    }

    .sidebar {
        display: block;
    }

    .sidebar.active {
        right: 0;
    }
    /* Ensure images are responsive */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Adjust card sizes */
    .main-cards, .bookrv-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    /* Adjust padding and margins */
    .content-As, .maincontent-As, .H2-As, .lastsentence-As {
        margin-left: 20px;
        margin-right: 20px;
    }

    /* Search bar */
    .search {
        width: 100%;
        justify-content: end;
    }

    form.search input[type=text] {
        width: 30%;
    }

    form.search button {
        width: 20%;
        justify-content: center;
    }
}


/* Small <= 768px */
@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        z-index: 50;
        top: 0;
    }

    .alwayssiel-logo {
        padding-top: 35px;
        padding-bottom: 0;
    }

    .main-cards, .bookrv-cards {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 0;
    }
    
    .IMG-ContentAs {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 0;
    }

    /* Adjust font sizes for readability */
    .main-title, .secondary-title, .TITLE-As, {
        font-size: 35px;
    }

    .secondary-title, .h2, .h2-2, .list-article, .DATE-As {
        font-size: 25px;
    }

    .list-article {
        padding-top: 90px;
    }

    .H2-As, .maincontent-As, .lastsentence-As, .H2-AsCon {
        font-size: 14px;
        margin-left: 10px;
        margin-right: 10px;
    }

    /* Adjust padding and margin for cards */
    .card, .bookrv-pagecard {
        padding: 15px;
        margin-bottom: 15px;
    }

    /* Ensure images are responsive */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Stack header elements */
    .header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .nav {
        width: 100%;
    }

    .nav ul {
        flex-direction: column;
        width: 100%;
    }

    .nav li {
        width: 100%;
        text-align: left;
        padding: 10px 0;
    }

    .nav a {
        width: 100%;
        padding-left: 20px;
    }

    /* Adjust font, padding, and image in about me*/
    
    .AM-container {
        display: block;
        overflow: auto;
    }

    .About-metitle {
        font-size: 30px;
        margin: 10px;
        padding-top: 50px;
        padding-left: 0;
        text-align: left;
        width: 100%;
    }

    .About-meProfile {
        font-size: 19px;
        padding-top: 0;
        padding-left: 20px;
        padding-right: 20px;
        text-align: justify;
        width: 100%; 
    }

    .AM-IMG {
        justify-content: center;
        align-items: flex-start;
        background-color: #ffdfac;
        padding: 15px;
        border-radius: 100%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        width: 180px;
        height: auto;
        margin-top: 10px;
        margin-right: 10px;
        margin-bottom: 5px;
        margin-left: 10px;
    }

    .text-container {
        margin-top: 11px;
        margin-left: 5px;
        margin-right: 25px;
    }

    .text-AM {
        font-size: 11px;
        text-align: justify;
        line-height: 1.6;
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 17px;
        width: 100%;
    }

}

/* Extra Small <= 576px */
@media screen and (max-width: 576px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        z-index: 50;
        top: 0;
    }

    .alwayssiel-logo {
        display: inline-block;
        text-align: left; 
        padding-left: 30px;
        padding-top: 4px;
        margin-right: 20px; 
        }

    .AM-card, .bookrv-cards {
        padding: 10px;
        grid-template-columns: 1fr;
    }

    .header {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .nav {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }

    .nav ul {
        flex-direction: column;
        width: 100%;
    }

    .nav li {
        width: 100%;
        text-align: center;
        padding: 5px 0;
    }

    .nav a {
        width: 100%;
        padding: 5px 0;
        text-align: center;
    }

    /* Adjust font sizes for readability */
    .main-title, .secondary-title, .list-article, .About-metitle {
        font-size: 35px;
    }

    .secondary-title, .h2, .h2-2, .list-article, {
        font-size: 25px;
    }

    .H2-As, .maincontent-As, .lastsentence-As, .H2-AsCon {
        font-size: 14px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .list-article {
        padding-left: 0;
    }

    /* Ensure images are responsive */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Adjust padding and margin for cards */
    .card, .bookrv-pagecard {
        padding: 10px;
        margin-bottom: 10px;
    }

    /*Adjust article page*/
    .all-articles {
        margin-left: 10px;
        margin-right: 10px;
    }

    .A-articletext {
        padding: 0;
        margin: 0;
        align-text: center;
    }

    .A-articleimg {
        padding: 0;
    }

    .Article-date {
        padding: 0;
    }

    /*Adjust isi article*/
    .TITLE-As {
        font-size: 30px;
        text-align: center;
        margin: 0;
    }

    .DATE-As {
        font-size: 18px;
        text-align: center;
        margin: 0;
    }

    .IMG-As {
        width: 270px;
        height: 150px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    

    .content-As {
        text-align: justify;
        font-size: 14px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .maincontent-As {
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 0;
        text-align: justify;
    }
    
    .H2-As {
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 0;
        margin-top: 25px;
        text-align: justify;
    }

    .H2-AsCon {
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 0;
        margin-top: 40px;
        text-align: justify;
    }

    .lastsentence-As {
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 40px;
        margin-top: 10px;
        text-align: justify;
    }

    /*Adjust konten book reviews*/
    .IMG-RV {
        width: 180px;
        height: 180px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .H2-Rv {
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 0;
        margin-top: 20px;
        text-align: justify;
    }
    

    .H3-Rv {
        margin-left: 40px;
        margin-right: 40px;
        margin-bottom: 0;
        margin-top: 20px;
        text-align: justify;
    }

    .maincontent-Aslist {
        margin-left: 40px;
        margin-right: 40px;
        text-align: justify;
    }



    /* Adjust search bar */
    .search {
        width: 100%;
        margin-top: 40px 0;
        justify-content: end;
    }

    form.search input[type=text] {
        width: 30%;
    }

    form.search button {
        width: 20%;
        padding: 0;
    }

    /*Next Button Position*/
    .next-button {
        padding-left: 38%;
        padding-bottom: 50px;
    }

    .back-button {
        padding-left: 38%;
        padding-bottom: 50px;
    }
}

/*--FOOTER--*/
footer {
    position: relative;
    bottom: 0;
    height: 60px;
    flex-shrink: 0;
    width: 100%;
    justify-content: center;
    height: max-content;
    background-color: #dcbc8b;
    color: #433927;
    padding: 10px;
    font-family: monospace;
    justify-items: end;
    margin-top: auto;
    align-items: flex-end;
}

