@font-face {
  font-family: 'Audiowide Local'; /* Use a custom name for your local version */
  src: url('/fonts/Audiowide-Regular.woff2') format('woff2'), /* Fastest loading, WOFF2 first for performance */
       url('/fonts/Audiowide-Regular.woff') format('woff'); /* WOFF for broader compatibility */
  font-weight: 400; /* Regular weight */
  font-style: normal;
  font-display: swap; /* Tells the browser to use a fallback font while the custom font loads */
}


@font-face {
  font-family: 'PermanentMarker'; /* Use a custom name for your local version */
  src: url('/fonts/PermanentMarker-Regular.woff2') format('woff2'), /* Fastest loading, WOFF2 first for performance */
       url('/fonts/PermanentMarker-Regular.woff2') format('woff'); /* WOFF for broader compatibility */
  font-weight: 400; /* Regular weight */
  font-style: normal;
  font-display: swap; /* Tells the browser to use a fallback font while the custom font loads */
}

:root {
    --background-color: #fff;
    --banner-bg-color : #000;
    --banner-text-color : #fff;
    --cta-bg-color : #e020e0;
    --menu-bg-color : #9a9a9a;
    --sign-in-btn-color : #131314;
    --button-color-std: #e0dd20;
    --button-color-hover-std : #f0ed42;
    --button-text-color-std: #811981;
    --list-box-background-color : #9a9a9a;
    --post-text-color : #fff;
    --posts-heading-color : #e020e0;
    --list-box-link-color : #f0ed42;
    --title-action-link-color :#4c4dcd;
    --footer-background-color : #000;
    --footer-text-color : #fff;
    /* --post-content-background-color : #dfe094; */
    --post-content-background-color : #f3f3f3;
    --post-content-foreground-color : #000;
    --info-box-color : #3b84e4;
    --info-box-text-color : #fff;
    /* --card-background-color : #85dfa4; */
    --card-background-color : #ece1a0;
    /* --card-head-color : #375b43; */
    --card-head-color : #323834;
    --card-head-text-color : #fff;
    --card-body-text-color : #000;
    --form-error-color : #9a160a;
    --post-background-mob : #fff;
    --post-foreground-mob : #000;
    --reply-count-color : #9a160a;
    --error-box-color : #ecb5b5;
    --pagination-widget-bg-color : #fea1fa;
    --pagination-widget-fg-color : #000;
    --pagination-disabled-text-color : #9e9e9e;


    --nav-color : #ffef78;
    --header-title-color: #de1173;
    --header-sub-title-color: #f3edc2;
    --main-background-color: #000;
    --h3-background-color: #c1fbaf;
    --nav-link-color : #ffffff;
    --nav-link-color-hover : #e0ffa6;
    --nav-link-color-visited : #fff;
    --menu-link-color : #1758c0;
    --menu-link-hover-color : #367ef0;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 20px;
    background: var(--background-color);
    scroll-behavior: smooth;
    position: relative;
}

body.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

header .banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: var(--banner-bg-color);
    height: 80px;
}

header .banner  img{
    height: 60px;
    margin: 8px 8px;
}

header .banner .home-icon {
    position: absolute;
    left: 0;
    top: 0;
}

/* header .banner .home-icon a {
    position: absolute;
    left: 0;
} */

header .banner .sign-in{
    position: absolute;
    top: 0;
    right: 0;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-family: 'Audiowide Local', sans-serif;
    font-size: 1.5rem;
    color: var(--banner-text-color);
    height: 80px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 10px;
}

header .banner .sign-in a:visited,
header .banner .sign-in a:hover,
header .banner .sign-in a {
    color: var(--banner-text-color);
    text-decoration: none;
}

main {
    min-height: 80vh;
}

textarea {
    resize: none;
    border-radius: 10px;
    padding: 6px;
}

input[type="text"] {
    border-radius: 10px;
    padding: 6px;
    min-height: 30px;
}

.panel img {
    width: 100%;
    height: 100%;
}

.hidden {
    display: none !important;
}

.mobile-only {
    display: none;
}

/* UI  */

.btn {
    background-color: var(--button-color-std);
    border: none;
    border-radius: 10px;
    color: var(--button-text-color-std);
    padding: 10px;
    font-size: 1.2rem;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: background-color 1s, box-shadow 1s;
}


.btn:hover {
    background-color: var(--button-color-hover-std);
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    transition: background-color 1s, box-shadow 1s;
}


.info-box {
    color: var(--info-box-text-color);
    background: var(--info-box-color);
    margin: 6px auto;
    padding: 20px;
    font-size: 1.2rem;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.info-box.vertical {
    flex-direction: column;
    justify-content: space-between;
}

.link-btn:hover,
.link-btn:visited,
.link-btn {
    text-decoration: none;
    display: block;
    text-align: center;
    margin: 10px;
}

/* .info-box input, */
.info-box.vertical label,
.info-box.vertical textarea,
.info-box.vertical button {
    margin: 4px 0;
}

/* .info-box input, */
.info-box textarea {
    height: 60px;
    width: 100%;
}

#signin-reply-box {
    width: 80%;
}

#signin-reply-box input {
    width: 100%;
}

.info-box.hidden {
    display: none;
}

.info-box .icon {
    padding-right: 20px;
}

.info-box img {
    width: 100px;
    height: 100px;
}

/* SECTIONS  */

#title-section .hero-image {
    width: 40%;
}

#title-section .hero-text {
    width: 60%;
    padding: 0 10px;
}

#title-section .hero-text div {
    margin: 10px 0;
}

#title-section .revolution-cta {
    background-color: var(--cta-bg-color);
    color : #fff;
    width: 100%;
    height: 20%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#title-section .revolution-cta a,
#title-section .revolution-cta a:visited,
#title-section .revolution-cta a:hover{
    text-decoration: none;
    color: #fff;
}

.hero-text h1,
.hero-text h2 {
    font-family: 'Audiowide Local', sans-serif;
}


#title-section .menu {
    background-color: var(--menu-bg-color);
    color : #fff;
    width: 100%;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
}


#title-section .menu a,
#title-section .menu a:visited,
#title-section .menu a:hover{
    text-decoration: none;
    color: #fff;
}

#title-section .menu ul {
    list-style-type: none;
}

/* LAYOUT  */

.panel {
    display: flex;
    align-items: flex-start;
    margin: 20px auto;
    width: 80%;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.panel.panel-overlay {
    height: 400px;
    background-image: url('./assets/neuro_pattern.jpg');
    position: relative;
}

.panel.panel-overlay::after {
    content: "";
    background: #FFF;
    background: linear-gradient(90deg,rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 100;
}


.panel.panel-overlay h2 {
    z-index: 200;
}

.panel.panel-overlay h2,
.panel.panel-overlay h3,
.panel.panel-overlay p {
    padding-left: 10px;
    padding-top: 6px;
}

.panel .cyber-text {
    width: 100%;
    padding: 0 10px;
    font-family: 'Audiowide Local', sans-serif;
    text-align: center;
}

.panel.vertical {
    display: flex;
    flex-direction: column;
}

.panel.vertical.no-overlay {
    padding: 10px;
}

.panel .content {
    z-index: 200;
}

.card {
    background-color: var(--card-background-color);
    border-radius: 10px;
    margin: 6px 0;
}

.card .head {
    background-color: var(--card-head-color);
    color: var(--card-head-text-color);
    padding: 4px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card .body {
    padding: 10px;
}

.reply.card {
    width: 100%;
}

.replies-content {
    width: 100%;
}

/* SIGN IN PAGE  */
.sign-in-options .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    border: 0;
    background-color: var(--sign-in-btn-color) ;
    margin: 10px auto;
    padding: 20px;
    cursor: pointer;
    border-radius: 50px;
}

/* terms and conditions dialog  */

.panel.terms-accept {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    height: 70vh;

}

.panel.terms-accept .terms-contents {
    padding: 10px;
    height: 80%;
    overflow-y: scroll;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin: 10px 0;
}

.panel.terms-accept h2.neuro-font {
    font-family: 'Audiowide Local', sans-serif;

}


.panel.terms-accept p {
    margin: 6px 0;

}

.panel.terms-accept.hidden {
    display: none;
}


/* COMMUNITY SECTION  */

.posts-container {
    width: 98%;
    background-color: var(--list-box-background-color);
    margin: 10px auto;
    padding: 10px;
    border-radius: 10px;
}

.posts-container .post-headings p {
    font-weight: bold;
    color: var(--posts-heading-color);
}


.posts-container a.title-link:active,
.posts-container a.title-link:hover,
.posts-container a.title-link:visited,
.posts-container a.title-link {
    display: block;
    color: var(--list-box-link-color);
    background: var(--title-action-link-color);
    text-decoration: none;
    padding: 6px;
    margin: 10px;
    width: 94%;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.posts-container .post,
.posts .post {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    color: var(--post-text-color);
    overflow-wrap: anywhere;
}

.posts-container .post p:nth-child(1),
.post p:nth-child(1) {
    width: 40%;
} 

.posts-container .post p:nth-child(2),
.post p:nth-child(2) {
    width: 20%;
} 

.posts-container .post p:nth-child(3),
.post p:nth-child(3) {
    width: 20%;
} 

.posts-container .post p:nth-child(4),
.post p:nth-child(4) {
    width: 20%;
} 

.post-content {
    width: 98%;
    background-color: var(--post-content-background-color);
    margin: 2px auto;
    padding: 10px;
    border-radius: 10px;
}

.panel.vertical #replies-heading-text {
    margin-left: 20px;
}

#community-forum .panel,
#community .panel {
    p, h3, button {
        text-align: center;
        margin: auto;
    }
}

#community-forum .panel .posts-container,
#community .panel .posts-container{
    p, h3, button {
        text-align: left;
        margin: 0;
    }
}

.pagination-widget {
    background: var(--pagination-widget-bg-color);
    color: var(--pagination-widget-fg-color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 200px;
    padding: 6px;
    border-radius: 10px;
    margin: auto;
}

.pagination-widget .last-page,
.pagination-widget .page-back,
.pagination-widget .page-forward,
.pagination-widget .first-page {
    cursor: pointer;
}

.page-back.disabled {
    color: var(--pagination-disabled-text-color);
    cursor: none;
}

.page-forward.disabled {
    color: var(--pagination-disabled-text-color);
    cursor: none;
}

/* search box  */
#search-widget {
    display: flex;
    flex-direction: row;
    width: 50%;
    margin: auto;
}

#search-widget input[type="text"] {
    min-height: 30px;
    padding-left: 22px;
    width: 100%;
}

#search-widget .icon {
    width: 20px;
    height: 20px;
    position: absolute;
    padding: 0 2px;
    margin: 2px;
}

/* SECTION SPECIFIC  */

/* Community Section  */

#community .info-box {
    justify-content: space-around;
}

/* Events  */
#events .info-box p {
    padding: 10px;
}

/* Shop  */

#shop .card {
    padding-bottom: 10px;
    width: 400px;
}

#shop .card .head {
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#shop-items-container {
display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    /* display: grid;
    grid-template-rows: 1fr 1fr 1fr; */
}


/* ERRORS */
#post-form-error {
    color : var(--form-error-color);
    font-size: .9rem;
}

.error-text {
    color: var(--form-error-color);
}

.error-box {
    border-radius: 10px;
    background-color: var(--error-box-color);
    padding: 10px;
    margin: auto;
    border: solid 1px var(--form-error-color);
}

/* IDP SELECT  */

.idp-select .error-box {
    margin: 10px auto;
}


/* OTHER  */

.terms-accept {
    text-align: center;
}

.terms-accept input {
    margin-right: 10px;
}

.terms-container {
    position: absolute;
    top: 100px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
}

.terms-content {
    display: flex;
    flex-direction: column;
    width: 80%;
    height: 80vh;
    padding: 30px;
    border-radius: 10px;
    background: #fff;
    z-index: 300;
}

.terms-content .scroll-content {
    overflow-y: scroll;
    height: 90%;
    margin-bottom: 20px;
}

.back-drop {
    height: 100%;
    display: block;
    color: #000;
    background: #000;
    width: 100vw;
    z-index: 200;
    position: absolute;
}

/* FOOTER STYLES  */

footer {
    background-color:var(--footer-background-color);
    color: var(--footer-text-color);
}

footer .footer-content{
    display: flex;
    flex-direction: row;
    padding: 10px;
}

footer .footer-content .info {
    display: flex;
    flex-direction: column;
    width: 70%;

}

footer .footer-content .info .logo img {
    width: 400px;
}

footer .footer-content .social {
    display: flex;
    flex-direction: column;
    width: 30%;
}


footer .footer-content .social .media-icon-container img {
    width: 100px;
    height: 100px;
    margin: 6px;
}



/* MEDIA QUERIES  */

@media (max-width: 1200px) {
    .panel {
        width: 98%;
    }

    /* header .banner {
        justify-content: space-between;
    } */

    /* header .banner .sign-in {
        display: none;
        
    } */

    header .banner .sign-in {
        font-size: .75rem;
    }

    .logo.mobile-only {
        display: inline;
        width: 70px;
    }
}


@media (max-width: 950px) {
    .posts-container .post-headings.post {
        display: none;
    }

    .posts-container .post {
        /* display: grid;
        grid-template-rows: 1fr 1fr 1fr 1fr; */
        flex-direction: column;
        align-items: flex-start;
        background-color: var(--post-background-mob);
        color: var(--post-forground-mob);
        border-radius: 10px;
        margin: 10px;
        padding: 10px;
    }

    .mobile-only {
        display: inline;
        width: 100%;
    }

    .mobile-only.preview {
        padding: 8px 0;
    }

    .mobile-only.reply-count {
        color: var(--reply-count-color);
    }

    .wide-display {
        display: none;
    }


    .posts-container .post p:nth-child(3), .post p:nth-child(3) {
        width: 100%;
    }

    .posts-container .post p:nth-child(1) {
        width: 100%;
    }

    .posts-container.replies .post {
        display: grid;
        grid-template-rows: 1fr 1fr 1fr 1fr;
    }

    /* .posts-container.replies {
        display: grid;
        grid-template-columns: 1fr 1fr;
    } */

    .posts-container.replies {
        display: none;
    }

    .posts-container.replies .post p:nth-child(3), .post p:nth-child(3) {
        width: 100%;
    }

    #shop .card {
        padding-bottom: 10px;
        width: 100%;
    }

}

@media (max-width: 800px) {
    #title-section .panel {
        flex-direction: column;
    }

    #title-section .hero-image,
    #title-section .hero-text {
        width: 100%;
    }

    /* .posts-container {
        display: flex;
        flex-direction: row;
    }


    .posts-container .post, .posts .post {
        flex-direction: column;
        align-items: flex-start;
    }

    .posts-container .post, .posts .post p {
        width: 50% !important;
    }

    .posts-container .post-headings p {
        width: 50% !important;;
    } */

    /* .posts-container.replies {
        display: grid;
        grid-template-columns: 1fr 1fr;
    } */


    /* .posts-container.replies .post {
        display: grid;
        grid-template-rows: 1fr 1fr 1fr 1fr;
    } */

    .posts-container.replies .post-headings .posts {
        display: grid;
        grid-template-rows: 1fr 1fr 1fr 1fr;
    }


    /* .posts-container.replies .post p:nth-child(3), .post p:nth-child(3) {
        width: 100%;
    } */

    .panel {
        width: 100%;
        margin: 10px;
        box-shadow: none;
    }

    .info-box {
        flex-wrap: wrap;
        justify-content: center;
    }

    .panel.panel-overlay {
        height: 100%;
        padding-right: 10px;
    }

    .panel .content {
        padding-right: 10px;
    }

    /* .posts-container .post {
        display: grid;
    } */

}

@media (max-width: 600px) {
    footer .footer-content {
        flex-direction: column;
    }

    footer .footer-content .social {
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
    }

    footer .footer-content .info {
        align-items: center;
        width: 100%;
        padding-bottom: 10px;
    }

    header .banner .sign-in {
        width: 100px;
        overflow-wrap: anywhere;
    }
}


@media (max-width: 420px) {
    footer .footer-content .info .logo img {
        width: 300px;
    }

    footer .footer-content .social .media-icon-container img {
        width: 60px;
        height: 60px;
    }

    .posts-container.replies .post-headings {
        display: none;
    }

    header .banner {
        height: 80px;
    }

    header .banner .sign-in {
        font-size: .75rem;
    }

    header .banner img {
        height: 60px;
    }

    header .banner .home-icon img {
        height: 40px;
        margin: 20px 6px;
    }

    header .banner {
        height: 80px;
    }

    .posts-container.replies {
        grid-template-columns: 1fr;
    }

}



