/* General Styles */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Open Sans", serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    color: white;
}

p {
    padding: 10px;
    line-height: 1.6;
    font-size: 18px;
}


h1 {
    font-family: 'Cinzel Decorative', cursive;
    padding: 10px 0px;
    color: black;
    font-size: 50px;
    text-align: center;
}

h2 {

    font-family: "Amatic SC", serif;
    font-weight: 600;
    padding: 10px;
    color: black;
    font-size: 50px;
    text-align: center;
}

.h2-white {
    color: white;
    padding: 5px;
    font-size: x-large;
}


h3 {
    font-family: "Josefin Sans", serif;
    font-weight: 600;
    padding-bottom: 10px;
    color: #ffffff;
    font-size: 25px;
    text-align: center;
}

a {
    text-decoration: none;
    font-weight: 500;
    color: inherit;
    font-size: inherit;
    /* Inherit color from parent */
    transition: 0.1s;
}

a:hover {
    transition: 0.1s;
}

a.li:hover {
    color: #421f2f;
    transition: 0.1s;
}

.unstyled-ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.unstyled-li {
    text-align: center;
}

/* Main Nav Styles */

.nav-content {
    display: flex;
    justify-content: space-around;
    font-size: 20px;
    padding: 10px 0px;
    /*TB RL */
    background-color: white;
}

.nav-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;

}

.nav-content li {
    padding: 5px 20px;
    /*TB RL */
}

/* Responsive Styles */

@media (max-width: 1200px) {


    .nav-content ul {
        flex-direction: column;
        align-items: center;
        /* Center items horizontally */
    }

    .nav-content li {
        padding: 5px 0;
        /* Adjust padding for vertical stacking */
        margin: 0;
        /*Remove side margins*/
    }
}

@media (min-width: 1000px) {
    .h2-white {
        font-size: 40px;
    }
}

/* Button Styles */

.pill {
    border: none;
    padding: 8px 10px;
    /*TB RL */
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    background-color: white;
    color: black;
}

.pill:hover {
    background-color: #b6b6b6;
    transform: scale(1.1);
    transition: 0.1s;
}

.main-pill {

    border: none;
    padding: 8px 10px;
    /*TB RL */
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: 0.1s;
    background-color: black;
    color: white;
    font-size: 20px;
}

.main-pill:hover {
    background-color: #b6b6b6;
    transform: scale(1.1);
    transition: 0.1s;
}

.info-pill {

    border-style: solid;
    border-width: 2px;
    border-color: #000000;
    padding: 8px 10px;
    font-weight: 600;
    /*TB RL */
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: 0.1s;
    background-color: white;
    color: black;
    font-size: 20px;
}

.info-pill:hover {
    transform: scale(1.1);
    transition: 0.1s;
}

/* Front Matter Styles */

.main {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #454e32;
}

.front-matter {
    display: flex;
    flex-direction: column;
    width: 100%;

}

.masthead {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 20px 60px;
    /*TB RL */
    background-color: #000000;

}

.logo {
    display: flex;
    justify-content: start;
    width: 50%;
    height: 100%;

}

.about-link {
    display: flex;
    justify-content: end;
    width: 50%;
    padding: 10px;
}

.hero-image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 500px;
    background-color: #868686;
}

.page-title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 0px;
    /*TB RL */
}

.page-title {
    font-family: "Amatic SC", serif;
    font-size: 70px;
    font-weight: 700;
    line-height: 1;
    font-style: normal;
    text-align: center;
    padding: 15px 10px;
    /*TB RL */
    color: #000000;

}

.page-subtitle {
    font-family: "Josefin Sans", serif;
    font-weight: 300;
    font-size: 25px;
    text-align: center;
    color: #000000;
}

.divider {
    font-family: "Josefin Sans", serif;
    font-weight: 300;
    font-size: 25px;
    text-align: center;
    color: #000000;
}

.divider-2 {
    padding: 10px;
    background-color: #868686;
}

/* World Info CSS*/

.info-block-nav {
    display: flex;
    justify-content: space-around;
    font-size: 20px;
    padding: 10px 0px;
    /*TB RL */
}

.info-block-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
}

.info-block-nav li {
    padding: 5px 20px;
    /*TB RL */

}

.info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;

    /*TB RL */
    background-color: rgb(180, 178, 178);
}

.info-block-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-bottom: 20px;
}


.info-block-title {
    display: flex;
    flex-direction: column;
    align-self: center;
}

.info-block-title>div {
    align-self: center;
    width: 75%;
    color: black;
    padding-bottom: 20px;
}

.munikin-block {
    display: flex;
    background-color: white;
}

#theoni-info,
#canidera-info,
#ayvion-info,
#shee-info {
    cursor: pointer;
    transition: .1s;

}

#theoni-info:hover,
#canidera-info:hover,
#ayvion-info:hover,
#shee-info:hover {
    transform: scale(1.05);
    transition: .1s;

}

.teachings-block {
    display: flex;
    background-color: gray;
}

.magic-block {
    display: flex;
    background-color: rgb(221, 221, 221);
}

.info-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: black;
    width: 100%;
}

.info-content>div {
    align-self: center;
    width: 75%;
}

.munikin-container {
    display: flex;
    align-self: center;
    flex-direction: row;
    justify-content: space-evenly;
    width: 75%;
    padding: 0px 10px;
    background-color: white;
    color: white;
}

.munikin-container>div {
    display: flex;
    width: 25%;
    height: 800px;
    margin: 20px 10px;
    /*TB RL TRBL*/
    background-color: #000000;
}

.munikin-container>div>div {
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    width: 100%;
    margin: 10px;
    align-self: flex-end;
    background-color: #616161;
}

/* World Styles Responsive */

@media (max-width: 1300px) {

    .munikin-container {
        flex-direction: column;
        padding-right: 30px;
        /* Stack list items vertically */
    }

    .munikin-container>div>div {
        width: 50%;
    }

    .info-block-nav ul {
        flex-direction: column;
        align-items: center;
        /* Center items horizontally */
    }

    .info-block-nav li {
        padding: 5px 0;
        margin: 0;
        /*Remove side margins*/
    }

    .munikin-container>div {
        width: 100%;
        height: 25%;
    }
}

/* Watch section styles */

.watch-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0px 50px 50px 50px;
    /*TB RL */
    background-color: rgb(120, 120, 120);
}

.watch-section {
    width: 90%;
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 10px;

}

.video-embed {
    display: flex;
    padding: 10px;
}

.yt-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: scroll;
}

/* Watch section responsive styles */

@media (max-width: 1200px) {

    /* Adjust breakpoint as needed */
    .yt-links {
        flex-direction: column;
        /* Stack list items vertically */
    }

}

/* Subscribe section styles */

.subscribe-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0px 50px 50px 50px;
    /*TB RL */
    background-color: rgb(63, 63, 63);
}

.subscribe-split-container {
    display: flex;
    width: 90%;
    flex-direction: row;
    padding-bottom: 20px;
    color: black;
}

.subscribe-split-left {
    display: flex;
    flex-direction: column;
    width: 50%;
    text-align: left;
    margin: 0px 10px;
    padding: 30px;
    background-color: gray;
}


.subscribe-split-right {
    display: flex;
    flex-direction: column;
    width: 50%;
    text-align: left;
    margin: 0px 10px;
    padding: 30px;
    background-color: gray;
}

.subscribe-text-container {
    padding: 5px;
}

.subscribe-button-container {
    display: flex;
    padding: 10px;
    justify-content: center;
}

.subscribe-button {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    height: 45px;
    border: none;
    text-decoration: none;
    margin: 5px 10px 5px 10px;
    padding: 10px;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: black;
    background-color: #EA973B;
    transition: 0.1s;
}

.subscribe-button:hover {
    background-color: #939789;
    transform: scale(1.1);
    transition: 0.1s;
}

/* Subscribe section responsive styles */

@media (max-width: 1200px) {

 .subscribe-split-left {
        margin: 0px 10px 10px 10px;
        align-self: center;
    }

    .subscribe-split-right {
        margin: 0px 10px 10px 10px;
        align-self: center;
    }

    .subscribe-split-container {
        flex-direction: column;
        /* Stack list items vertically */
    }

}

/* Footer styles*/

.footer-wrapper {
    width: 100%;
    background-color: #616161;
    padding: 20px 0px;
    align-items: center;
    text-align: center;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.footer-container-1 {
    text-align: center;
    width: 30%;
}

.footer-container-2 {
    text-align: center;
    width: 30%;
}

.footer-container-3 {
    text-align: center;
    width: 30%;
}

.yt-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    overflow: scroll;
}

.socials {
    height: 50px;
    opacity: 0.25;
    transition: .1s;
    padding: 10px;
}

.socials:hover {
    height: 55px;
    opacity: 1.0;
    transition: .1s;
}

/* Footer responsive styles*/

@media (max-width: 1200px) {

    .yt-links {
        flex-direction: column;
        /* Stack list items vertically */
    }

    .footer-content {
        flex-direction: column;
        /* Stack list items vertically */
    }

}

/* Read Section styles */

.read-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /*TB RL */
    background-color: rgb(173, 173, 173);
}

.read-block-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;

}



.prev-next-buttons {
    text-decoration: none;
    font-size: 30px;
    color: black;
    cursor: pointer;
    transition: 0.1s;
    user-select: none;
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
}

.prev-next-buttons:hover {
    color: #939789;
    transition: 0.1s;
}

.is-hidden {
    display: none;
}

.book-carousel {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    width: 80%;
}

.carousel-image {
    display: flex;
}

.carousel-images:hover {
    transform: scale(1.1);
}

.carousel-image.current-image {
    transform: scale(1);
    z-index: 1;
}

.carousel-track-container {
    display: flex;
}

.carousel-track {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    transition: transform 0.5s ease-in-out;
    align-items: center;
}

.carousel-slide {
    display: flex;
    margin: 10px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transform: scale(0.7);
    transition: transform 0.5s ease-in-out;
    cursor: pointer;
}

.carousel-slide.carousel-current-image {
    transform: scale(1);
    z-index: 1;
}

.carousel-button {
    background: transparent;
    border: 0;
}

.carousel-nav {

    display: flex;
    justify-content: center;
    padding: 10px 0px;
}

.carousel-indicator {
    border: 0;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background: rgba(0, 0, 0, .3);
    margin: 0px 15px;
    cursor: pointer;
}

.carousel-indicator.current-slide {
    background: rgba(0, 0, 0, .75);
}

.book-container {
    display: flex;
    flex-direction: column;
    width: 80%;
    align-items: center;
    color: black;
    padding: 0px 20px 30px 20px;
}

.book-info-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.book-title {
    align-self: center;
}

.book-info-wrapper {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: center;

}

.book-info-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.book-info-3 {
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.book-info-4 {
    display: flex;
    flex-direction: column;
    justify-content: center;

}

/* To add a new book style, copy the style .book-info-# and paste above.  */

.book-info-details {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;

}


.book-info-cover {
    display: flex;
    align-self: center;
    justify-content: center;
    min-width: 35%;

}

.book-info-image {
    padding: 20px;
    width: 350px;
    height: 550px;

}

/* Read Section responsive styles */

@media (max-width: 1400px) {

    .book-info-image {
        width: 225px;
        height: 350px;
    }

    .book-info-cover {
        min-width: 75%;
        justify-content: top;
    }

    .book-info-wrapper {
        flex-direction: column-reverse;
    }

    .read-block-wrapper {
        flex-direction: column-reverse;
    }
}

@media (min-width: 1900px) {

    .book-info-image {
        width: 625px;
        height: 850px;
    }
}


/* Timeline styles */

.timeline-block {
    display: flex;
    width: 100%;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-bottom: 20px;
    background-color: rgb(215, 215, 215);
}

.timeline-title {
    display: flex;
    align-self: center;
}

.timeline-wrapper {
    display: flex;
    flex-direction: column;
    width: 90%;
    height: 850px;
    overflow-y: scroll;
    align-items: center;
    align-content: center;
    background-color: rgb(62, 62, 62);
}

.timeline-intro {
    display: flex;
    flex-direction: column;
    width: 85%;
    border: 2px solid white;
    padding: 1em;
    margin: 1.5em 0em;
    /*TB RL */
}

.timeline {
    margin: 0.5em auto;
    max-width: 36em;
    font-family: "Josefin Sans", serif;
    color: white;
}


.checkpoint {
    max-width: 36em;
    padding-top: 2em;
    padding-bottom: 2em;
    position: relative;
}

.checkpoint>div {
    border: 2px solid #ffffff;
    padding: 1em;
}

.checkpoint>p {
    line-height: 27px;
    color: #ccc;
}

.checkpoint:nth-child(odd) {
    border-left: 3px solid #ffffff;
    padding-left: 3em;
    transform: translateX(17em);
}

.checkpoint:nth-child(even) {
    border-right: 3px solid #ffffff;
    padding-right: 3em;
    transform: translateX(-12.9em);
}

.checkpoint:nth-child(odd)::before,
.checkpoint:nth-child(even)::before {
    content: '';
    background: #ffffff;
    width: 3em;
    height: 3px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.checkpoint:nth-child(odd)::after,
.checkpoint:nth-child(even)::after {
    content: '';
    background: #ffffff;
    width: 6.1em;
    height: 3px;
    position: absolute;
    top: 100%;
    transform: translateY(-50%);
}

.checkpoint:nth-child(odd)::after {
    left: -0.15em
}

.checkpoint:nth-child(even)::after {
    right: -0.15em
}

.checkpoint:nth-child(odd)::before {
    left: 0;
}

.checkpoint:nth-child(even)::before {
    right: 0;
}

.checkpoint:nth-child(odd) div::before,
.checkpoint:nth-child(even) div::before {
    content: '';
    background: #fff;
    width: 0.8em;
    height: 0.8em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}

.checkpoint:nth-child(odd) div::before {
    left: -0.5em;
}

.checkpoint:nth-child(even) div::before {
    right: -0.5em;
}

/* Timeline responsive styles */

@media screen and (max-width: 1500px) {

    .timeline-wrapper {
        height: 600px;
    }

    .timeline {
        width: 50vw;
    }

    .timeline .checkpoint {
        width: 100%;
        transform: none;
        padding-left: 0;
        padding-right: 0;
        border: none;
    }


    .timeline .checkpoint::before {
        width: 3px;
        height: 4.1em;
        top: -2em;
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline .checkpoint div::before {
        top: -0.6em;
        left: 50%;
        transform: translateX(-50%);
    }

    .checkpoint:nth-child(odd)::after {
        display: none;
    }

    .checkpoint:nth-child(even)::after {
        display: none;
    }
}

/* Munikin info page styles */

.hero-image-munikin {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 300px;
    background-color: #868686;
}

.page-title-container-munikin {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 0px;
    /*TB RL */
}

.image-block {
    display: flex;
    align-items: center;
    width: 85%;
    height: 900px;
    flex-direction: column;
    background-color: rgb(73, 73, 73);
    color: white;
    margin-bottom: 30px;
    margin-top: 20px;
}

.content-wrapper {
    display: flex;
    height: 100%;
    justify-content: space-around;
    flex-direction: row;
}

.image-block-no-bg {
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    margin: 20px;
    padding: 20px;
    color: white;
    background-color: #421f2f;
}

.image-block-bg {
    display: flex;
    height: 400px;
    flex-direction: column;
    background-color: black;
    align-self: flex-end;
    color: white;
    padding: 20px;
    margin: 20px;
}

.info-block-title-munikin {
    display: flex;
    align-self: top;
}

.people-title {
    color: white;
    font-size: 80px;
}

/* Munikin info page responsive styles */

@media (max-width: 1200px) {

    .content-wrapper {
        flex-direction: column;
    }

    .image-block {
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    .image-block-no-bg {
        width: 35%;
        height: 100%;
        font-size: medium;
    }

    .image-block-bg {
        width: 35%;
        height: 100%;
        font-size: medium;
    }
}


/* Teachings info page styles */

.teachings-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding-bottom: 30px;
}

.teachings-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 75%;
    background: #421f2f;

}

.teachings-nav {
    display: flex;
    align-self: flex-start;
    width: 50%;
    flex-direction: column;
    background: #3e0505;
}

.teachings-nav>div {
    display: flex;

    background: #360755;
    height: 150px;
    margin: 15px;
    padding: 10px;
    cursor: pointer;
    transition: .1s;
}

.teachings-nav>div:hover {
    transform: scale(1.05);
    transition: .1s;

}

.teachings-nav>div.active {
    transform: scale(1);
    /* Prevent scaling when active */
    cursor: default;
    /* Optional: Change cursor to indicate it's already selected */
}

.teachings-info-title {
    display: flex;
    align-self: flex-start;
    color: white;
}

.teachings-info {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    padding: 20px;
    width: 85%;
    background: #616161;
    margin: 5px;

}

/* Teachings responsive styles */

@media (max-width: 1200px) {

    .teachings-wrapper {
        flex-direction: column-reverse;
    }

    .teachings-nav {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        font-size: medium;
    }

    .teachings-info-title {
        width: 100%;
        font-size: medium;
    }

    .teachings-nav>div {
        width: 200px;
        font-size: medium;
    }

    .teachings-info {
        align-self: center;
    }
}

@media (max-width: 700px) {

    .teachings-info-title {
        font-size: small;
    }
}