* {
    box-sizing: border-box;
}

body,
html {
    position: relative;
    margin: 0;
    padding: 0;
    height: 100dvh;
    width: 100dvw;
    overflow-x: hidden;
    background-color: #000;
    font-family: "Google Sans", sans-serif;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
    padding: 0 .15rem;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(249, 249, 249, 0.2);
    border-radius: 20px;
    transition: .25s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(249, 249, 249, 0.3);
}

main {
    position: relative;
    height: 100%;
}

/* HOME PAGE STYLING */
#canvas {
    position: absolute;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom, transparent, #3b7f03);
    pointer-events: none;
    transform: translateY(2px);
}

.fade-overlay-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, transparent, #000);
    pointer-events: none;
}

.fade-overlay-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to top, transparent, #3b7f03);
    pointer-events: none;
}

.relative-fade-overlay {
    position: relative;
    height: 300px;
    width: 100%;
    background: linear-gradient(to bottom, transparent, #3b7f03);
}

/* DESKTOP NAVIGATION STYLING */
#desktop-navigation {
    display: flex;
}

.navigation {
    position: relative;
    width: 80%;
    max-width: 1300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    font-family: "Google Sans", sans-serif;
    color: #fff;
    background-color: #000;
    border: 2px solid rgba(249, 249, 249, 0.3);
    border-radius: 20px;
    margin: 1rem auto 0;
    z-index: 20;
    transition: .25s ease-in-out;
}

.navigation:hover {
    border: 2px solid rgba(249, 249, 249, 0.7);
}


.navigation>div {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.nav-title {
    font-size: clamp(1.5rem, 1.5vw, 2rem);
    font-weight: bold;
    text-wrap: nowrap;
}

.site-link {
    text-decoration: none;
    color: #fff;
}

.site-link:hover {
    text-decoration: none;
}

.site-link:visited {
    color: #fff;
}

.navigation-links {
    display: flex;
    gap: 20px;
    list-style: none;
    font-family: "Google Sans", sans-serif;
    font-weight: 100;
    font-size: 1.25rem;
}

.navigation-links>li>a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(.75rem, 1.5vw, 1rem);
}

.divider::after {
    content: "/";
    color: rgba(255, 255, 255, 0.3);
    margin-left: 1.5rem;
}

.divider:hover::after {
    content: "/";
    color: rgba(255, 255, 255, .6);
    margin-left: 1.5rem;
}

.navigation-links>li>a:hover {
    opacity: 50%;
}

.navigation-links>li>a:visited {
    color: #fff;
}

h2 {
    color: #f9f9f9;
}

/* Hero */
.hero-wrapper {
    position: relative;
    z-index: 10;
    width: 80%;
    max-width: 1300px;
    margin: 0 auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 3rem 0;
    border-radius: 40px;
    color: #fff;
    background-color: rgba(0, 0, 0, .7);
    font-family: "Google Sans", sans-serif;
    font-size: clamp(2.5rem, 4vw, 5rem);
    z-index: 100;
    cursor: default;
}

.hero-cta>h2,
.hero-cta>p {
    margin: 0;
}

.hero-cta>h2>span {
    margin: 0 1.5rem;
}

.hero-cta>p {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    width: 50%;
    text-align: center;
}

.hero-controls {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    padding: 2rem 0;
}

.hero-controls>a {
    width: 25%;
    height: fit-content;
}

.articles-suggestions-wrapper {
    position: relative;
    z-index: 10;
    width: 80%;
    max-width: 1300px;
    margin: 0 auto;
}


/* Content */
.content {
    position: relative;
    z-index: 10;
    background-color: #3b7f03;
    padding: 10rem 0;
}

.content-wrapper {
    display: flex;
    justify-content: center;
    gap: 50px;
    width: 80%;
    margin: 0 auto;
    max-width: 1300px;
    color: #fff;
}

.news-container {
    width: 100%;
    height: 500px;
    border-radius: 40px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
    font-family: "Google Sans", sans-serif;
    padding: 2rem;
    overflow-y: auto;
}

.news-cta {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 50%;
}

.graphic-container {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: "Google Sans", sans-serif;
    font-size: 2rem;
    overflow: hidden;
}

.content-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

/* Footer transition */
.footer-transition {
    position: relative;
    z-index: 10;
    overflow: hidden;
}


/* BACKGROUND STYLING */
.background-wrapper {
    position: relative;
    min-height: 100%;
}


/* ARTICLES STYLING */
.articles-wrapper {
    position: relative;
    z-index: 10;
    width: 80%;
    max-width: 1300px;
    background-color: rgba(0, 0, 0, .7);
    border-radius: 40px;
    margin: 0 auto;
    padding: 1rem;
}

.articles-dashboard {
    position: relative;
    display: flex;
    gap: 10px;
    min-height: 80%;
    width: 100%;
}

/* Articles Sidebar Styling */
.sidebar {
    position: relative;
    width: 20%;
    padding: 1rem;
    border: 2px solid rgba(214, 214, 212, 0.3);
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #d6d6d4;
    z-index: 10;
    transition: .25s ease-in-out;
}

.sidebar:hover {
    border: 2px solid rgba(214, 214, 212, 0.7);
}

.sidebar>h3 {
    font-size: 2.5rem;
    margin: 0;
}

.filter-option {
    position: relative;
    z-index: 1;
    transition: .25s ease-in-out;
}

.filter-option::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: rgba(214, 214, 212);
    width: 0;
    height: 1px;
    border-radius: 20px;
    z-index: -1;
    transition: .5s ease-in-out;
}

.filter-option:hover::before {
    width: 100%;
}

.filter-option.active::before {
    width: 100%;
}


#categories-container>h4,
#difficulties-container>h4,
#read-time-container>h4 {
    font-size: 1rem;
    margin: .5rem 0;
    padding: 0;
}

.dropdown-content {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows .5s ease;
    cursor: pointer;
}

.dropdown-content.open {
    grid-template-rows: 1fr;
}

.dropdown {
    min-height: 0;
}

.options-list {
    margin: 0;
    padding: 0 0 0 1rem;
}

.option {
    position: relative;
    list-style: none;
    margin-bottom: .5rem;
    z-index: 2;
    transition: .5s ease-in-out;
}

.option>a {
    color: rgba(214, 214, 212, 0.5);
    text-decoration: none;
    transition: .5s ease-in-out;
}

.option>a:visited {
    color: rgba(214, 214, 212, 0.5);
}

.option>a:hover {
    text-decoration: none;
}

.option::before {
    content: "";
    position: absolute;
    left: -5px;
    background-color: #d6d6d4;
    width: 0;
    height: 100%;
    border-radius: 20px;
    z-index: -1;
    transition: .5s ease-in-out;
}

.option:hover::before {
    width: 100%;
}

.option:hover>a {
    color: #000;
}

.reset-link {
    width: 100%;
    text-decoration: none;
    color: #000;
}

.clear-filters {
    width: 100%;
    background-color: #d6d6d4;
    border: none;
    border-radius: 20px;
    padding: .25rem .5rem;
    margin: 1rem 0;
    cursor: pointer;
    transition: .25s ease-in-out;
}

.clear-filters:hover,
.search-btn:hover {
    background-color: #5c7a4d;
    color: #d6d6d4;
}

/* Articles Styling */
.card-wrapper {
    position: relative;
    height: 900px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    background-color: rgba(0, 0, 0, .5);
    border: 2px solid rgba(214, 214, 212, 0.3);
    border-radius: 20px;
    overflow: hidden;
    z-index: 10;
}

.border-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.article-card {
    height: 100%;
    width: 100%;
    padding: 1rem;
    color: #d6d6d4;
    text-decoration: none;
    border-right: 1px solid rgba(214, 214, 212, 0.3);
    border-bottom: 1px solid rgba(214, 214, 212, 0.3);
    overflow: hidden;
    transition: .25s ease-in-out;
}

.article-card:hover {
    text-decoration: none;
}

.article-card>p {
    margin: 0;
    padding: 1rem 0;
}

.card-title {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    margin: 0 0 .5rem;
}

.card-details {
    opacity: .95;
    margin-bottom: .5rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 .5rem;
    font-size: .85rem;
}

.card-meta p {
    font-size: .75rem;
    opacity: .8;
    margin: 0 0 .5rem;
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 35%;
    border-radius: 5px;
    overflow: hidden;
    transition: .5s;
}

.black-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: 0;
    z-index: 10;
    transition: .5s;
}

.opacity-90 {
    opacity: .5;
}

.opacity-70 {
    opacity: .7;
}

.opacity-50 {
    opacity: .5;
}

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

.grow {
    height: 88%;
}

.pagination {
    position: relative;
    display: flex;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    color: #d6d6d4;
    border-radius: 20px;
    width: 80%;
    max-width: 1300px;
    margin: 10px auto 0;
    padding: .5rem;
    z-index: 20;
}

/* Articles Titlebar Styling */
.title-bar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 .5rem;
    color: #d6d6d4;
    z-index: 30;
}

/* Searchbar styling */
.search-container {
    position: relative;
    z-index: 30;
}

#search-input {
    background-color: rgba(255, 255, 255, 0.3);
    color: #d6d6d4;
    padding: .25rem .5rem;
    border: none;
    border-radius: 20px;
}

#search-input:focus {
    outline: 2px solid #d6d6d4;
}

#search-input:hover {
    outline: 2px solid #d6d6d4;
}

.search-btn {
    background-color: #d6d6d4;
    border: none;
    border-radius: 20px;
    padding: 0 1rem;
    cursor: pointer;
    transition: .25s ease-in-out;
}

.search-suggestions {
    position: absolute;
    right: -16px;
    top: 30px;
    display: grid;
    grid-template-rows: 0fr;
    cursor: pointer;
    width: 450px;
    background-color: #000;
    color: #d6d6d4;
    padding: 1rem;
    border-radius: 20px;
    z-index: 30;
    transition: .5s ease;
    overflow: hidden;
}

.search-suggestions.open {
    grid-template-rows: 1fr;
}

.search-suggestions.hide {
    height: 0;
    opacity: 0;
}

.suggestions-list {
    padding: 0;
}

.suggestion-item {
    list-style: none;
    font-weight: bold;
    padding-bottom: .5rem;
    border-bottom: 1px dashed #d6d6d4;
    margin-bottom: .5rem;
}

.suggestion-item:last-of-type {
    border-bottom: none;
}

.suggestion-item>a {
    text-decoration: none;
    color: rgb(214, 214, 212);
    font-size: 1rem;
}

.suggestion-item>a:visited {
    color: rgba(214, 214, 212, 0.5);
}

/* Article Detail Styling */
.article-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 80%;
    max-width: 1300px;
    margin: 5rem auto 0;
    z-index: 10;
}

.article-img-wrapper {
    height: 500px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin: 3rem 0 0;
}

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

.article-title {
    font-size: 2rem;
}

.article-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 50px;
    font-size: 1.25rem;
    color: rgba(214, 214, 212, 0.5);
    padding: 1rem;
}

.article-category {
    display: block;
}

.article-content-wrapper {
    background-color: rgba(0, 0, 0, 0.7);
    color: rgba(214, 214, 212);
    border: 2px solid rgba(214, 214, 212, 0.3);
    border-radius: 20px;
    min-height: 500px;
    padding: 1rem 2rem;
}

.article-suggestions-title {
    position: relative;
    z-index: 10;
    color: rgba(214, 214, 212);
    font-size: 2.5rem;
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 0;
}

.suggestions-wrapper,
.home-suggestions-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 10px;
    width: 80%;
    max-width: 1300px;
    margin: 2rem auto 0;
}

.mobile-suggestions-wrapper {
    display: none;
}

.suggestion-wrapper {
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.7);
    color: rgba(214, 214, 212);
    width: calc(100%/3);
    border: 2px solid rgba(214, 214, 212, 0.3);
    border-radius: 20px;
    padding: 1rem;
    transition: .25s ease-in-out;
}

.suggestion-item {
    height: 100%;
    width: 100%;
}

.suggestion-wrapper:hover {
    border: 2px solid rgba(214, 214, 212, 0.7);
    text-decoration: none;
}

.suggestion-wrapper:hover .suggestion-img-wrapper>img {
    transform: scale(1.1);
}

.suggestion-img-wrapper {
    height: 40%;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.suggestion-img-wrapper>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .25s ease-in-out;
}


/* CAREER PATHS STYLING */
.paths-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 30px;
    width: 80%;
    max-width: 1300px;
    margin: 0 auto;
    color: rgba(214, 214, 212);
}

.mobile-paths-wrapper {
    display: none;
}

.resources-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 80%;
    max-width: 1300px;
    margin: 0 auto;
    color: rgba(214, 214, 212);
}

.resources-subwrapper {
    width: 100%;
    padding: 2rem;
    background-color: rgba(0, 0, 0, .7);
    border-radius: 40px;
}

.resource-meta {
    font-size: .75rem;
    opacity: .7;
}

.resource-summary {
    opacity: .7;
}

.stage-title {
    font-size: 2rem;
    margin-top: 4rem;
}

.stage-title:first-of-type {
    margin-top: .5rem;
}

.stage-description {
    margin: 0 0 2rem 1.25rem;
}

.path-card {
    flex-grow: 1;
    width: 100%;
    max-width: calc(100%/3);
    height: 500px;
    padding: 1rem;
    background-color: #000000;
    color: rgba(214, 214, 212);
    text-decoration: none;
    border: 2px solid rgba(214, 214, 212, 0.3);
    border-radius: 20px;
    transition: .25s ease-in-out;
}

.career-card,
.resource-card {
    width: 100%;
    height: fit-content;
    padding: 1rem;
    background-color: #000000;
    color: rgba(214, 214, 212);
    text-decoration: none;
    border: 2px solid rgba(214, 214, 212, 0.3);
    border-radius: 20px;
    transition: .25s ease-in-out;
}

.resource-detail {
    padding: 0 1rem 1rem;
    border-bottom: 1px solid rgba(214, 214, 212, 0.3);
    transition: .25s ease-in-out;
}

.resource-detail:last-of-type {
    border-bottom: none;
}

.resource-link {
    color: rgba(57, 255, 20, .7);
    transition: .25s ease-in-out;
}

.resource-link h3 {
    margin-top: .5rem;
    margin-bottom: 1rem;
}

.resource-link:hover {
    color: rgba(57, 255, 20, 1);
}

.resource-link:visited {
    color: rgba(57, 255, 20, .7);
}

.resource-link:visited:hover {
    color: rgba(57, 255, 20, 1);
}

.resource-category {
    color: rgba(214, 214, 212, 0.7);
    font-size: .75rem;
    margin-top: 0;
}

.path-card:hover,
.career-card:hover {
    border: 2px solid rgba(214, 214, 212, 0.7);
    text-decoration: none;
}

.path-card:hover .path-card-img-wrapper>img {
    transform: scale(1.1);
}

.path-card-img-wrapper {
    width: 100%;
    height: 50%;
    max-height: 350px;
    border-radius: 12px;
    overflow: hidden;
}

.path-card-img-wrapper>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .25s ease-in-out;
}



/* FOOTER STYLING */
footer {
    background-color: #3b7f03;
}

footer>section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 80%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 5rem 0 2rem;
}

.footer-site-title {
    flex: 2 0 40%;
}

.footer-site-title>h2 {
    font-size: clamp(2rem, 3vw, 4rem);
    margin: 0;
    cursor: default;
}

.footer-navigation {
    flex: 1 0 20%;
    display: flex;
}

.footer-navigation>div {
    flex: 1 0 50%;
}

.footer-navigation>div>h3 {
    color: #fff;
    font-size: clamp(1.25rem, 3vw, 2rem);
    margin: .5rem 0;
    border-bottom: 1px solid #fff;
    cursor: default;
}

.footer-navigation-links {
    list-style: none;
    font-size: clamp(0.75rem, 2vw, 1rem);
    padding: 0;
}

.footer-navigation-links>li>a,
.footer-navigation-links>li>a:visited {
    text-decoration: none;
    color: #fff;
    opacity: .7;
}

.footer-navigation-links>li>a:hover {
    opacity: 1;
    cursor: pointer;
}

.footer-socials {
    flex: 1 0 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.footer-socials>p {
    color: #fff;
    font-size: clamp(.75rem, 1.5vw, 1rem);
}


.footer-socials>ul>li>a {
    cursor: pointer;
}

/* TOS STYLING */
.tos-content-wrapper {
    position: relative;
    z-index: 10;
    padding: 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, .5);
    margin-top: 1rem;
}

.tos-article-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 1300px;
    margin: 1rem auto 0;
    z-index: 10;
}

.tos-heading {
    font-size: clamp(3rem, 5vw, 5rem) !important;
}

/* ABOUT STYLING */

.about-cta-content {
    position: relative;
    width: 80%;
    max-width: 1300px;
    max-height: 800px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 2fr;
    grid-template-areas: 
        "title title"
        "space skills";
    margin: 0 auto;
    container-type: inline-size;
}

.about-cta-content > h2 {
    grid-area: title;
    font-size: 9cqw;
    letter-spacing: 10px;
    text-align: center;
    text-transform: uppercase;
}

.video-wrapper {
    grid-area: space;
    overflow: visible;
}

.skills-wrapper {
    grid-area: skills;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background-color: rgba(0,0,0, .7);
    border-radius: 20px;
    padding: 1rem;
    container-type: inline-size;
}

.skill {
    flex: 1 1 40%;
    margin-left: 1rem;
}

.skill::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 1px;
    border-top: 2px solid rgba(255, 255, 255, .5);
    box-shadow: 0 0 5px rgba(255, 255, 255, .5),
    inset 0 0 5px rgba(255, 255, 255, .5);

}

.skill:first-of-type::before {
    border-top: 2px solid rgba(57, 255, 20, 0.5);
    box-shadow: 0 0 5px rgba(57, 255, 20, 0.5),
    inset 0 0 5px rgba(57, 255, 20, 0.5);
}

.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: screen;
    transform: scale(1.4);
}

.skills-section-heading {
    flex: 1 0 100%;
    margin-bottom: 0;
    color: #fff;
    font-size: 6cqw;
    letter-spacing: 2px;
}

.skill-heading {
    margin: 0;
    color: #fff;
}

.skill-text {
    color: rgba(255, 255, 255, .7);
}

.about-article {
    background-color: rgba(0,0,0, .7);
    border-radius: 40px;
    padding: 2rem;
}

.about-article-heading {
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0;
}

/* Utility Classes */
blockquote {
    position: relative;
    background-color: rgba(57, 255, 20, .5);
    color: #d6d6d4;
    border: 1px solid rgba(214, 214, 212, 0.15);
    border-radius: 5px;
    padding: 1.25rem 1.5rem 1.25rem 2rem;
    overflow: hidden;
}
blockquote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 100%;
    background-color: rgba(57, 255, 20, 1);
}

.back-btn-link,
.back-btn-link:hover {
    text-decoration: none;
    width: fit-content;
}

.go-back-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1rem;
    background-color: #000;
    color: #d6d6d4;
    border: 2px solid rgba(214, 214, 212, 0.4);
    border-radius: 20px;
    padding: .25rem .75rem;
    cursor: pointer;
    transition: .25s ease-in-out;
}

.go-back-btn:hover {
    background-color: rgba(57, 255, 20, .7);
    border: 2px solid rgba(57, 255, 20, .7);
}

.arrow-container {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 100%;
    overflow: hidden;
}

.back-arrow {
    position: relative;
    right: 0;
    transition: .25s ease-in-out;
}

.back-arrow::after {
    content: '←';
    position: absolute;
    top: 0;
    right: -24px;
    transition: .25s ease-in-out;
}

.go-back-btn:hover .back-arrow {
    right: 24px;
}

.spacer {
    width: 100%;
    height: 200px;
}

.spacer-2 {
    width: 100%;
    height: 100px;
}

.accent-color {
    background: linear-gradient(135deg, rgba(15, 105, 62, 1) 0%, rgba(57, 255, 20, 1) 30%, rgba(185, 224, 126, 1) 65%, rgba(47, 145, 42, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.btn {
    width: 100%;
    height: 100%;
    padding: .5rem;
    border-radius: 20px;
    border: none;
    font-size: clamp(1rem, 3.5vw, 1.5rem);
    letter-spacing: 2px;
    text-decoration: none;
    text-align: center;
    color: #e3dbdb;
    cursor: pointer;
    transition: .25s ease-in-out;
}

.btn:hover {
    text-decoration: none;
}

.main-btn {
    background: rgba(57, 255, 20, .5);
    transition: .25s ease-in-out;
}

.main-btn:hover {
    background-color: rgba(57, 255, 20, .7);
    transform: translateY(-2px);
}

.accent-btn {
    background-color: rgba(48, 48, 48);
    transition: .25s ease-in-out;
}

.accent-btn:hover {
    background-color: rgb(115, 115, 115);
    transform: translateY(-2px);
}

.subtitle {
    font-family: "Google Sans", sans-serif;
    font-size: clamp(3rem, 3.5vw, 4rem);
    letter-spacing: 2px;
    text-align: start;
    margin: 0;
}

.subtext {
    font-family: "Google Sans", sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    text-align: start;
    opacity: .5;
}

.fullscreen {
    height: 100%;
    width: 100%;
}

.h-full {
    height: 100%;
}

.h-50 {
    height: 50%;
}

.h-30 {
    height: 30%;
}

.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.gap-10 {
    gap: 10px;
}

.gap-30 {
    gap: 30px;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: end;
}

.align-center {
    align-items: center;
}

.p-1 {
    padding: .25rem;
}

.p-2 {
    padding: .5rem;
}

.p-3 {
    padding: .75rem
}

.pb-3 {
    padding-bottom: 1rem;
}

.pb-5 {
    padding-bottom: 1.5rem;
}

.pt-1 {
    padding-top: 1.5rem;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}


a:hover {
    text-decoration: underline;
}


.center {
    text-align: center;
}

.popup {
    position: absolute;
    background-color: #888888;
}

.overflow-y {
    overflow-y: auto;
    scrollbar-color: #39ff14 transparent;
    scrollbar-width: thin;
}

.overflow-x {
    overflow-x: auto;
    scrollbar-color: #39ff14 transparent;
    scrollbar-width: thin;
}

.white {
    color: #39ff14;
}

.m-center {
    margin: 0 auto;
}

.w-full {
    width: 100%;
}

.w-90 {
    width: 90%
}

.w-50 {
    width: 50%;
}

.border-bottom {
    border-bottom: 2px solid #39ff14;
}

.border-bottom-2 {
    border-bottom: 1px solid #d6d6d4;
}

.pointer {
    cursor: pointer;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.z-100 {
    z-index: 100;
}

.sticky {
    position: sticky;
    top: 50px;
}

.d-hidden {
    display: none;
}

.hidden {
    visibility: hidden;
}

.hide-overflow {
    overflow: hidden;
}

.text-color {
    color: #d6d6d4;
}

.br-40 {
    border-radius: 40px
}

/* SVGs */
.resource-icons {
    width: 30%;
}

.reading-icon {
    background-color: rgba(255, 255, 255, .7);
    -webkit-mask-image: url("Reading_Icon.svg");
    mask-image: url("Reading_Icon.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-size: contain;
    mask-position: center;
    width: 30px;
}

.interactive-icon {
    background-color: rgba(255, 255, 255, .7);
    -webkit-mask-image: url("InteractiveLearning_Icon.svg");
    mask-image: url("InteractiveLearning_Icon.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-size: contain;
    mask-position: center;
    width: 30px;
}

.certification-icon {
    background-color: rgba(255, 255, 255, .7);
    -webkit-mask-image: url("Certification_Icon.svg");
    mask-image: url("Certification_Icon.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-size: contain;
    mask-position: center;
    width: 30px;
}

.project-icon {
    background-color: rgba(255, 255, 255, .7);
    -webkit-mask-image: url("Project_Icon.svg");
    mask-image: url("Project_Icon.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-size: contain;
    mask-position: center;
    width: 30px;
}

.free-icon {
    background-color: rgba(255, 255, 255, .7);
    -webkit-mask-image: url("FreeStamp_Icon.svg");
    mask-image: url("FreeStamp_Icon.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-size: contain;
    mask-position: center;
    width: 30px;
}

.premium-icon {
    background-color: rgba(255, 255, 255, .7);
    -webkit-mask-image: url("Premium_Icon.svg");
    mask-image: url("Premium_Icon.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-size: contain;
    mask-position: center;
    width: 30px;
}



/* MOBILE NAVIGATION STYLING */
#mobile-navigation {
    display: none;
}

.nav-drawer {
    position: relative;
    z-index: 1;
}

.drawer {
    position: absolute;
    right: 0;
    top: 110%;
    display: grid;
    grid-template-rows: 0fr;
    cursor: pointer;
    width: 100%;
    min-height: 0;
    background-color: #000;
    color: #d6d6d4;
    padding: 0 1rem;
    border-radius: 20px;
    z-index: 2;
    transition: .5s ease;
    overflow: hidden;
}

.drawer.open {
    grid-template-rows: 1fr;
    opacity: 1;
}

.no-opacity {
    opacity: 0;
}

.drawer-links {
    list-style: none;
    font-family: "Google Sans", sans-serif;
    font-weight: 100;
    font-size: 1.25rem;
    padding: 0;
    min-height: 0;
}

.drawer-links>li {
    margin: .5rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
}

.drawer-links>li:first-of-type {
    padding: 1rem;
}

.drawer-links>li:first-of-type,
.drawer-links>li:last-of-type {
    border-bottom: none;
}

.drawer-links>li>a {
    color: #fff;
    text-decoration: none;
}

.drawer.no-opacity .site-link {
    display: none;
}

.drawer.open .site-link {
    display: block;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    padding: .25rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, .7);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open {
    background-color: rgba(255, 255, 255, .7);
    border-radius: 10px;
}

.hamburger.open span {
    background-color: #000000;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* TAGLINE STYLING */
.tagline {
    font-size: clamp(2rem, 6vw, 6rem);
    font-weight: bold;
}

.word-slider {
    display: flex;
    gap: 1rem;
}

.word {
    display: inline-block;
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

.mobile-articles-dashboard {
    display: none;
}



/* TABLET STYLING */
@media (max-width: 1024px) {
    #mobile-navigation {
        display: flex;
    }

    .navigation {
        margin: 2rem auto 0;
        width: 90%;
    }

    .site-link {
        font-size: clamp(2rem, 2.5vw, 2.5rem);
        font-weight: bold;
    }

    #desktop-navigation {
        display: none;
    }

    .hero-wrapper {
        width: 90%;
    }

    .hero-cta {
        padding: 2rem 1rem;
    }

    .hero-cta>h2 {
        width: 100%;
        font-size: clamp(1.5rem, 6vw, 3rem);
        text-align: center;
    }

    .hero-cta>h2>span {
        margin: 0 .35rem;
    }

    .hero-cta>p {
        font-size: clamp(.75rem, 2.5vw, 1rem);
        text-align: center;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .news-cta {
        width: 100%;
        gap: 10px;
    }

    .articles-wrapper {
        width: 90%;
    }

    .filter-bar {
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 1rem;
        border-top: 1px solid rgba(214, 214, 212, 0.3);
        border-bottom: 1px solid rgba(214, 214, 212, 0.3);
        background-color: rgba(0, 0, 0, 0.7);
        color: #d6d6d4;
        z-index: 20;
        transition: .25s ease-in-out;
    }

    .filter-bar>h3 {
        font-size: 1rem;
        margin: 0;
    }

    .drawer {
        padding: 1rem 1rem 2rem;
        z-index: 20;
    }

    .drawer-links {
        z-index: 20;
    }

    .arrow {
        transform: translateY(4px);
        transition: .3s ease-in-out;
    }

    .filter-bar.open .arrow {
        transform: rotate(-180deg);
    }

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

    .mobile-card-wrapper {
        position: relative;
        height: 900px;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        background-color: #447e15;
        border-radius: 20px;
        z-index: 10;
    }

    .article-img-wrapper {
        height: 350px;
        margin-top: 0;
    }

    .paths-wrapper {
        display: none;
    }

    .resource-card-img-wrapper {
        position: relative;
        width: 100%;
        max-width: 150px;
        height: 35%;
        max-height: 150px;
        border-radius: 5px;
        overflow: hidden;
        transition: .5s;
    }

    .mobile-paths-wrapper {
        position: relative;
        z-index: 10;
        display: block;
        width: 90%;
        margin: 0 auto;
    }

    .mobile-resource-card {
        position: relative;
        display: flex;
        gap: 10px;
        width: 100%;
        height: fit-content;
        padding: 1rem;
        margin-bottom: .5rem;
        background-color: rgba(0, 0, 0, .7);
        border: 2px solid rgba(214, 214, 212, 0.3);
        border-radius: 25px;
        color: #000;
        text-decoration: none;
    }

    .mobile-resource-details {
        color: #f9f9f9;
        width: 100%;
        min-width: 0;
    }

    .mobile-resource-card:hover,
    .mobile-resource-card:visited,
    .mobile-resource-card:visited:hover {
        color: #f9f9f9;
        text-decoration: none;
    }

    .mobile-resource-title {
        margin: 0 0 .5rem;
        width: 100%;
        text-wrap: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .mobile-resource-description {
        font-size: .85rem;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .resource-card-img-wrapper>img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .resources-wrapper {
        width: 90%;
    }

    .about-cta-content {
        width: 90%;
        max-height: initial;
    }

    .about-video {
        object-position: 48% 0;
        transform: scale(1);
    }

    .skills-wrapper {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .skills-section-heading {
        flex: 0 1 20%;
    }

}


/* MOBILE PORTRAIT STYLING */
@media (max-width: 767px) {
    .desktop {
        display: none;
    }

    .tablet {
        display: none;
    }

    .mobile {
        display: block;
    }

    .navigation {
        padding: 0 1rem;
    }

    .hero-controls {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 0 0 1rem;
    }

    .hero-controls>a {
        width: 60%;
        max-width: 500px;

    }

    .tagline {
        height: 5rem;
        overflow: hidden;
        font-size: 4rem;
    }

    .word-slider {
        display: flex;
        flex-direction: column;
        animation: slot-machine 6s infinite;
    }

    .word {
        height: 4rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    @keyframes slot-machine {

        0%,
        2% {
            transform: translateY(50%);
        }

        6%,
        28% {
            transform: translateY(0);
        }

        36%,
        58% {
            transform: translateY(-35%);
        }

        66%,
        85% {
            transform: translateY(-72%);
        }

        100% {
            transform: translateY(-110%);
        }
    }

    .suggestions-wrapper,
    .home-suggestions-wrapper,
    .title-bar {
        flex-direction: column;
    }

    .title-bar {
        padding-bottom: 2rem;
    }

    .suggestion-wrapper {
        width: 100%;
    }

    .excerpt-content {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.3s ease;
        overflow: hidden;
    }

    .excerpt-toggle[open] .excerpt-content {
        grid-template-rows: 1fr;
    }

    .excerpt-content p {
        min-height: 0;
        margin: 0.5rem 0 0 0;
    }

    .excerpt-content {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.3s ease;
    }

    .excerpt-toggle[open] .excerpt-content {
        grid-template-rows: 1fr;
    }

    .search-suggestions {
        right: -12.5%;
        top: 30px;
        display: grid;
        grid-template-rows: 0fr;
        width: 125%;
        background-color: #000;
        color: #d6d6d4;
        padding: 1rem;
        border-radius: 20px;
        z-index: 30;
        transition: .5s ease;
        overflow: hidden;
    }

    .articles-dashboard {
        display: none;
    }

    .mobile-articles-dashboard {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 20;
    }

    .mobile-card-wrapper {
        position: relative;
        height: 700px;
        width: 100%;
        display: flex;
        flex-direction: column;
        background-color: rgba(0, 0, 0, .5);
        border-radius: 20px;
        overflow-y: scroll;
        z-index: 10;
    }

    .mobile-article-card,
    .mobile-suggestion-card {
        position: relative;
        display: flex;
        gap: 10px;
        width: 100%;
        height: fit-content;
        padding: 1rem;
        border-bottom: 1px solid rgba(214, 214, 212, 0.3);
        color: #d6d6d4;
        text-decoration: none;
    }

    .mobile-article-card:hover,
    .mobile-suggestion-card:hover {
        color: rgba(214, 214, 212, .7);
        text-decoration: none;
    }

    .mobile-article-card:visited,
    .mobile-suggestion-card:visited {
        color: rgba(214, 214, 212, .7);
        text-decoration: none;
    }

    .mobile-article-card:visited:hover,
    .mobile-suggestion-card:visited:hover {
        color: rgba(214, 214, 212, .7);
        text-decoration: none;
    }

    .mobile-article-card:last-of-type {
        border-bottom: none;
    }

    .card-img-wrapper {
        width: 100px;
        aspect-ratio: 1/1;
        min-width: 100px;
        min-height: 100px;
        max-width: 100px;
        max-height: 100px;
        flex-shrink: 0;
    }

    .resource-card-img-wrapper {
        width: 100px;
        aspect-ratio: 1/1;
        min-width: 100px;
        min-height: 100px;
        max-width: 100px;
        max-height: 100px;
        flex-shrink: 0;
    }

    .card-details {
        flex: 1;
        margin-bottom: 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .article-wrapper {
        width: 90%;
    }

    .go-back-btn {
        font-size: .75rem;
    }

    .article-img-wrapper {
        height: 200px;
        margin-top: 0;
    }

    .article-details {
        font-size: .75rem;
        padding: 0;
    }

    .article-category {
        display: none;
    }

    .suggestions-wrapper {
        display: none;
    }

    .article-suggestions-title {
        margin-bottom: 1.5rem;
    }

    .mobile-suggestions-wrapper {
        position: relative;
        z-index: 10;
        display: block;
        width: 90%;
        height: 550px;
        margin: 0 auto;
        overflow-y: auto;
    }

    .mobile-suggestion-card {
        margin-bottom: .5rem;
        background-color: rgba(0, 0, 0, 0.7);
        border: 2px solid rgba(214, 214, 212, 0.3);
        border-radius: 25px;
    }


    .suggestion-details {
        color: #f9f9f9;
    }

    .about-cta-content {
        width: 90%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1.5fr 3fr;
        grid-template-areas: 
            "title title"
            "space space"
            "skills skills";
        margin: 0 auto;
        container-type: inline-size;
    }

    .about-cta-content > h2 {
        font-size: 3rem;
        display: flex;
        flex-direction: column;
        align-self: flex-end;
    }

    .about-video {
        object-position: 47% 0;
        transform: scale(1.2);
    }

    video {
        overflow: visible;
    }

    .skills-wrapper {
        margin-top: 3rem;
        padding: 2rem;
    }

    .skill {
        margin-left: 0;
    }

    .tos-content-wrapper {
        padding: 0 1rem;
    }

    .footer-socials {
        flex-direction: column;
        align-items: start;
    }

    .navigation-links {
        padding-left: 0;
    }
}


@media (min-width: 768px) and (hover: none) {
    .article-card {
        color: #d6d6d4;
        text-decoration: none;
        height: 300px;
        width: 100%;
        padding: 1rem;
        border-right: 1px solid rgba(214, 214, 212, 0.3);
        border-bottom: 1px solid rgba(214, 214, 212, 0.3);
        overflow: hidden;
    }

    .article-card:hover {
        color: rgba(214, 214, 212, .7);
        text-decoration: none;
    }

    .article-card:visited {
        color: rgba(214, 214, 212, .7);
        text-decoration: none;
    }

    .article-card:visited:hover {
        color: rgba(214, 214, 212, 1);
        text-decoration: none;
    }

    .article-card>p {
        margin: 0;
        padding: 1rem 0;
    }

    .card-title {
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        margin: 0 0 .5rem;
    }

    .card-details {
        display: flex;
        flex-direction: column;
        opacity: .7;
    }

    .card-meta p {
        font-size: .75rem;
        opacity: .8;
        margin: 0 0 .5rem;
    }

    .card-excerpt {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: .75rem;
        margin: 0 0 1rem;
    }

    .card-img-wrapper {
        position: relative;
        width: 100%;
        height: 35%;
        border-radius: 15px;
        overflow: hidden;
        transition: .5s;
    }

    .black-overlay {
        position: absolute;
        height: 100%;
        width: 100%;
        background-color: #000;
        opacity: 0;
        z-index: 10;
        transition: .5s;
    }

    .opacity-90 {
        opacity: 0;
    }

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

    .grow {
        height: 35%;
    }
}