/* ------------------------------ */
/* ---  Generic tag styling  ---- */
/* ------------------------------ */


html {
    font-family: "Crimson Pro";
}

body {
    margin: 0;
}

body::-webkit-scrollbar {
    display: none;
}

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

a:link, a:visited, a:active {
    color: inherit;
}

.text-link {
    text-decoration: underline;
}

.text-link:hover {
    color: rgb(168, 132, 107);
}

.unhidden {
    opacity: 1 !important;
}


/* ------------------------------------ */
/* ---  FIXED PAGE ELEMENTS  ---------- */
/* ------------------------------------ */


/* --- NAV BAR --- */

#nav-bar {
    width: 100%;
    height: 125px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Stack Sans Headline', sans-serif;
    border-bottom: 1px solid black;
}


#nav-bar-logo {
    display: flex;
    align-items: center;
    padding-left: 3%;
}

#nav-bar-logo-img {
    height: 18px;
    margin-right: 5px;
    margin-bottom: 20px;
}

#nav-bar-logo-text {
    font-size: 1.2rem;
    font-weight: 500;
}

#nav-bar-logo-text-prep {
    color: green;
}

#nav-bar-links {
    display: flex;
    align-items: center;
    padding-right: 3%;
}

.nav-bar-link {
    margin-left: 35px;
    font-size: 0.9rem;
    position: relative;
    padding: 3px 5px;
    border-radius: 2px;
    box-shadow: 0px 1px 0 transparent;
    transition: all 0.4s ease;
}

.nav-bar-link:hover {
    background: lightgray;
    box-shadow: 0px 1.5px 0 black;
}


/* --- POPUP BUTTONS --- */

#popup-access-panel {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    z-index: 1500;
    font-family: 'Stack Sans Headline', sans-serif;
    opacity: 1;
    transition: all 0.5s ease;
}

#popup-access-panel.hidden {
    opacity: 0;
    pointer-events: none;
}

.popup-access-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    padding: 6px 6px;
    margin-left: 15px;
    background-color: white;
    color: black;
    border-radius: 2px;
    border: 1px solid black;
    font-size: 0.7rem;
    font-weight: 200;
    cursor: pointer;
    box-shadow: 2px 2px 0px #03452a;
    transition: all 0.3s ease, opacity 1s ease;
}

.popup-access-button:hover {
    background-color: rgb(240, 240, 240);
    box-shadow: 3px 3px 0px rgb(43, 90, 29);
}


/* ------------------------------------ */
/* ---  MAIN CONTENTS BUCKET  --------- */
/* ------------------------------------ */

#views-container {
    width: 100%;
    height: 100dvh;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#content-wrapper {
    display: flex;
    align-items: end;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    color: black;
    font-family: 'Stack Sans Headline', sans-serif;
}


/* ------------------------------------ */
/* ---  INTRO VIEW CONTENTS  ---------- */
/* ------------------------------------ */


#intro-content {
    height: 100%;
    width: 100%;
    display: flex;
    transition: height 0.5s ease;
}

#intro-content.inactive {
    height: 0%;
}

#intro-left-panel {
    width: 35%; 
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #03452a;
    color: white;
    align-items: start;
    justify-content: center;
    padding-top: 125px;
    padding-left: 50px;
    box-sizing: border-box;
}

#intro-right-panel {
    background: linear-gradient(rgb(255 255 255 / 0%), rgba(255, 255, 255, 0.40)), url(img/intro-background.png) center / auto no-repeat;
    width: 65%;
    height: 100%;
}

#intro-main-heading {
    font-size: 3.0rem;
    font-weight: 400;
    margin: 0;
    padding: 0;
    line-height: 1.1;
    width: 80%;
    max-width: 300px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#intro-main-description {
    font-size: 1.0rem;
    margin-top: 30px;
    line-height: 1.5;
    font-weight: lighter;
    width: 80%;
    max-width: 500px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#intro-get-started-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 125px;
    margin-top: 50px;
    padding: 12px 25px;
    font-size: 0.9rem;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 3px;
    font-weight: 400;
    cursor: pointer;
    box-shadow: 0px 3px 0px rgb(255 255 255);
    opacity: 0;
    transition: all 0.6s ease, opacity 1s ease;
}

#intro-get-started-button:hover {
    background: #0e6f47;
    color: #ffffff;
    box-shadow: 0px 3px 0px rgb(190 220 199);
    border: 1px solid #bedcc7;
}


/* ------------------------------------ */
/* ---  TOPIC VIEW CONTENTS  ---------- */
/* ------------------------------------ */


#topic-content {
    height: 100%;
    width: 100%;
    display: flex;
    transition: height 0.5s ease;
}

#topic-content.inactive {
    height: 0%;
    overflow: hidden;
}

#topic-right-panel {
    width: 75%; 
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #efefef; /* #ecf1ef */
    color: black;
    padding-top: 125px;
    padding-left: 10%;
    box-sizing: border-box;
    font-family: "Crimson Pro", serif;
    overflow: scroll;
    /* hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */

}

#topic-left-panel {
    width: 25%;
    height: 100vh;
    padding-top: 125px;
    padding-left: 50px;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    box-sizing: border-box;
}

.topic-component-nav-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: 'Stack Sans Headline', sans-serif;
    padding: 50px 0 25px 0;
}

.topic-component-nav-button {
    margin-right: 30px;
    font-size: 0.8rem;
    font-weight: lighter;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.3s ease;
}

.topic-component-nav-button:hover {
    text-decoration-color: black;
    text-decoration-thickness: 1px;
}

.topic-component-nav-button.active {
    font-weight: 500;
    text-decoration-color: black;
    text-decoration-thickness: 1px;
}

.topic-display-heading {
    font-size: 2.5rem;
    font-weight: 200;
    margin: 0 0 50px 0;
    padding: 0;
    line-height: 1.1;
    width: 80%;
    max-width: 600px;
}

.topic-article-content {
    padding-right: 10%;
    max-width: 825px;
    font-weight: lighter;
    margin-bottom: 100px;
}

.article-content-section {
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-content-section.active {
    display: flex;
}

.article-content-section.visible {
    opacity: 1;
}

.article-content-box {
    background-color: #ffffff;
    /* border: 1px solid rgb(100, 100, 100); */
    /* box-shadow: 0px 3px 0px rgb(75 130 90); */
    border-radius: 5px;
    margin-bottom: 30px;
    overflow: clip;
    padding: 50px;
}

.box-content-bullet-list, .box-content-numbered-list{
    padding: 10px 30px;
    margin: 0;
}

.box-content-bullet-point, .box-content-numbered-point {
    margin-bottom: 13px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.box-content-heading {
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 200;
}

.box-content-intro {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: lighter;
    font-style: italic;
    line-height: 1.5;
}

.box-content-paragraph {
    font-size: 1.1rem;
    margin-bottom: 15px;
    margin-top: 0;
    font-weight: lighter;
    line-height: 1.6;
}

.box-content-concept-group {
    background-color: #ffffff;
    border-top: 1px dashed rgb(175, 175, 175);
    padding: 25px 0;
}

.box-content-concept-heading {
    font-size: 1.2rem;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.box-content-concept-intro {
    font-size: 1.0rem;
    margin: 0 0 25px 0;
    font-weight: lighter;
    font-style: italic;
    line-height: 1.5;
}

.box-content-concept-paragraph {
    font-size: 1.0rem;
    margin-top: 15px;
    margin-bottom: 0;
    font-weight: lighter;
    line-height: 1.6;
}

.box-content-concept-list {
    padding-inline-start: 30px;
}

.box-content-concept-list-item {
    font-size: 1.0rem;
    margin-bottom: 13px;
    font-weight: lighter;
    line-height: 1.5;
}

.box-content-image {
    max-width: 100%;
    max-height: 500px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.learn-more-link {
    font-size: 0.6rem;
    margin: 0px 6px;
    padding: 0px 8px;
    background-color: #cad5dd;
    border-radius: 8px;
    border: 1px solid gray;
    font-family: 'Stack Sans Headline';
    transition: all 0.3s ease;
}

.learn-more-link:hover {
    background-color: #7abda0;
    border-color: black;
}


/* ---------------------------------- */
/* ---  TABLE OF CONTENTS  ---------- */
/* ---------------------------------- */


#study-guide-title {
    font-size: 1.0rem;
    font-weight: 800;
    max-width: 250px;
    margin-bottom: 15px;
}

#table-of-contents {
    max-width: 90%;
    max-height: 75%;
    display: flex;
    flex-direction: column;
    overflow: clip;
    font-family: 'Stack Sans Headline', sans-serif;
    font-weight: 100;
    position: relative;
    padding-left: 5px;
}

#table-of-contents-items {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding-left: 15px;
    border-left: 1px solid gray;
    overflow: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

#table-of-contents-items::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera*/
}

.page-link {
    font-size: 0.8rem;
    cursor: pointer;
    background: white;
    padding: 4px 10px;
    font-weight: 300;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    border-radius: 10px;
    margin: 3px 0;
    text-align: right;
    width: fit-content;
}

.page-link.lvl-1 {
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 100;
    margin-left: 17px;
}

.page-link.lvl-2 {
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 100;
    margin-left: 34px;
}

.page-link:hover {
    background: #e1efec;
    font-weight: 500;
}

.page-link.selected {
    background: #477f73;
    color: white;
    font-weight: 400;
}

.page-link.selected:hover {
    background:#477f73;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    cursor: auto;
}


/* ---------------------------------------------------- */
/* ----- CSS for NARROW WINDOW / MOBILE --------------- */
/* ---------------------------------------------------- */


@media only screen and (max-width: 1400px) {


}


@media only screen and (max-width: 1000px) {


}


@media only screen and (max-width: 900px) {

}