/* ========================================================================= */
/* || Typography */
@font-face {
    font-family: "Cormorant SC";
    src: url("../fonts/CormorantSC-Regular.ttf") format("truetype");
    font-weight: normal;
}

@font-face {
    font-family: "Fira Sans";
    src: url("../fonts/FiraSans-Regular.ttf") format("truetype");
    font-weight: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Cormorant SC", serif; /* Set Cormorant SC for headings */
    font-weight: 700;
    color: #81a9b2; /* Ghostly Blue */
}

/* ========================================================================= */
/* || General styles */

a {
    background-color: #333333;
    color: #8fbc8f; /* Light green */
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
}

a:hover {
    background-color: #555555;
    color: #c0c0c0;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Fira Sans", sans-serif; /* Set Fira Sans for body text */
    color: #ffffff;
    background-color: black;
    background: url("../images/weirdave-background-florida-swamp-1024x1024.webp") no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: flex-start;
}

h1 {
    font-size: 300%;
}

h2 {
    font-size: 250%;
}

h3 {
    font-size: 200%;
}

h4 {
    font-size: 150%;
}

h5 {
    font-size: 120%;
}

h6 {
    font-size: 100%;
}

p {
    font-size: 1em;
    color: #a9a9a9; /* Light gray */
}

blockquote {
    font-size: 1.2em;
    color: #a9a9a9; /* Light gray */
    border-left: 5px solid #8fbc8f; /* Light green */
    padding-left: 10px;
}
/* ========================================================================= */
/* || Lists */
ol,
ul {
    color: #a9a9a9; /* Light gray */
}

li {
    margin-bottom: 5px;
}

/* Links list */
.links-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
    text-align-last: center;
}

.links-list li {
    margin-bottom: 20px;
}

.links-list a {
    font-size: 1.2em;
    color: #8fbc8f; /* Light green */
    text-decoration: none;
    margin-bottom: 5px;
    background-color: #444444;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block; /* Ensures the link only takes up as much space as needed */
    white-space: nowrap; /* Prevents the link from breaking into multiple lines */
}

.links-list a:hover {
    background-color: #666666;
}

.links-list p {
    font-size: 1em;
    color: #a9a9a9; /*  Light gray */
    margin: 5px 0 0 0;
    line-height: 1.5; /* Adjust line height for better readability */
}

/* ------------------------------------------------------------------------- */
/* || Tables */

/* ------------------------------------------------------------------------- */
/* || Forms */

/* ========================================================================= */
/* || Header, Navigation and Footer */

header {
    background-color: #1c1c1c;
    width: 45%;
    /* background: url("../images/weirdave-header-spanish-moss-1024x1024.webp") no-repeat center center; */
    background-size: cover;
    position: relative;
    color: white;
    text-align: center;
    padding: 20px 0; /* Adjust padding as needed */
    border-bottom: 2px solid #505050;
}

.header-content {
    position: relative;
    z-index: 1;
}

header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity for readability */
    z-index: 0;
}

.header-content h1 {
    margin: 0;
}

.header-content p {
    margin: 5px 0 0;
    font-size: 1.2em;
    color: #a9a9a9; /* Light gray */
}

nav {
    width: 45%;
    background-color: #333333;
    border-bottom: 2px solid #505050;
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-list li {
    margin: 0 15px;
}

.nav-list a {
    font-size: 1.2em;
    padding: 15px;
    display: block;
    color: #8fbc8f; /* Light green */
    border-radius: 10px; /* Rounded edges */
}

.nav-list a:hover {
    background-color: #555555;
    color: #c0c0c0; /* Silver */
    border-radius: 10px; /* Rounded edges */
}

footer {
    background-color: #1c1c1c;
    width: 100%;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #444444;
}

.footer-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links li {
    margin: 0 10px;
}

.footer-links a {
    font-size: 0.8em;
    color: #8fbc8f; /* Light green */
    padding: 10px;
    display: block;
    border-radius: 10px; /* Rounded edges */
}

.footer-links a:hover {
    background-color: #555555; /* Same as nav hover */
    color: #c0c0c0; /* Silver */
    border-radius: 10px; /* Rounded edges */
}

/* ========================================================================= */
/* || Utility classes */
.fog {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden; /* Ensure the fog covers the entire viewport */
}

.fog-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 6;
    pointer-events: none; /* Allow clicks to pass through the fog images */
}

.fog-img {
    position: absolute;
    height: 100vh;
    width: 300vw;
    z-index: 6;
    pointer-events: none; /* Allow clicks to pass through the fog images */
}

.fog-img-first {
    background: url("../images/fog-1.png");
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center;
    animation: marquee 60s linear infinite;
}

.fog-img-second {
    background: url("../images/fog-2.png");
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-200vw, 0, 0);
    }
}

/* ========================================================================= */
/* || General Container Styles */
.container {
    flex: 1;
    width: 90%;
    max-width: 1104px; /* 80px larger than 1024px images */
    margin: 20px auto;
    background-color: rgba(28, 28, 28, 0.8); /* Semi-transparent background */
    padding: 20px;
    border: 1px solid #333333;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Section for Content */
.page-title {
    margin-top: 20px;
    text-align: center;
    color: #8fbc8f; /* Light green */
}
.image-container {
    position: relative;
    text-align: center;
    margin-top: 20px;
}

.image-container-alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}
.image-container-alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

.image-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.text-content {
    margin-top: 20px;
    text-align: center;
}
.text-content a {
    background-color: transparent; /* Remove background color */
    color: #8fbc8f; /* Keep the light green color */
    padding: 0; /* Remove padding */
    text-decoration: underline; /* Add underline for better visibility */
    border-radius: 0; /* Remove border-radius */
    margin: 0; /* Remove margin */
}

.text-content a:hover {
    background-color: #555555;
    color: #c0c0c0; /* Change color on hover */
}

/* ========================================================================= */
/* || Individual Page Styles */

/* ------------------------------------------------------------------------- */
/* || About Page Styles */

/* ------------------------------------------------------------------------- */
/* || Ancestry Page Styles */

.gallery-header {
    text-align: center;
    margin-top: 40px;
}

.gallery {
    margin-top: 20px;
}

.gallery ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.gallery li {
    margin: 10px;
}

.gallery img {
    border-radius: 8px;
    width: auto;
    height: auto;
}

/* ------------------------------------------------------------------------- */
/* || Education Page Styles */

/* ------------------------------------------------------------------------- */
/* || Gothic Page Styles */

/* ------------------------------------------------------------------------- */
/* || Gothic Clubs Page Styles */

.passing-torch {
    position: relative;
    z-index: 1;
    color: #ffffff; /* Ensures text is readable */
}

.passing-torch .background-image {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 1024px;
    height: 1024px;
    z-index: -1; /* Places the image behind the text */
    opacity: 0.2; /* Adjust opacity as needed */
    margin-top: 300px; /* Adds margin to the top to prevent overlap */
}

.passing-torch p {
    position: relative;
    z-index: 2;
}

/* ------------------------------------------------------------------------- */
/* || Home Page Styles */

/* ------------------------------------------------------------------------- */
/* || Ideology Page Styles */

/* ------------------------------------------------------------------------- */
/* || Index Page Styles */

.absolute-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    background: url("../images/weirdave-background-florida-rainstorm-1024x1024.webp");
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.welcome-sign {
    position: relative;
    z-index: 1; /* Ensure the sign is above the background and behind the fog */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.enter-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative;
    z-index: 1; /* Ensure the sign is above the background and behind the fog */
}

.enter-button a {
    display: inline-block;
    width: 300px;
    height: 100px;
    background: url("../images/weirdave-enter-button-corregated-metal-300x118.webp") no-repeat center center;
    background-size: cover;
    position: relative;
}

.enter-button a:hover {
    background: url("../images/weirdave-enter-button-corregated-rusted-metal-300x118.webp") no-repeat center center;
    background-size: cover;
}

.enter-button:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    background: url("../images/weirdave-enter-button-corregated-rusted-metal-300x118.webp") no-repeat center center;
    background-size: cover;
    position: absolute;
    top: -9999px;
    left: -9999px;
}

/* ------------------------------------------------------------------------- */
/* || Gothic Clubs Page Styles */

.sort-options {
    margin-bottom: 20px;
}

.sort-options label {
    margin-right: 10px;
}

#clubs-list {
    list-style: none;
    padding: 0;
}

#clubs-list li {
    margin: 5px 0;
}

/* ------------------------------------------------------------------------- */
/* || MTV Page Styles */

/* ------------------------------------------------------------------------- */
/* || Portfolio Page Styles */

/* ------------------------------------------------------------------------- */
/* || Poetry Page Styles */
.poetry-table {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    text-align: center;
    padding: 0 20px;
}

/* ========================================================================= */
/* || Resume Page Styles */

.resume-content h3 {
    font-size: 1.5em;
    margin-top: 20px;
}

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

.resume-content ul li {
    margin-bottom: 10px;
}

.resume-content .experience {
    margin-bottom: 20px;
}

.resume-content .work-history ul {
    columns: 2; /* To make the list of jobs more compact */
}

.resume-content .work-history ul li {
    break-inside: avoid;
}

/* ========================================================================= */
/* || Video Page Styles */

.video-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.video-item {
    margin: 10px;
    text-align: center;
}

.video-item img {
    width: 100%;
    max-width: 420px;
    border: 2px solid #8fbc8f; /* Light green */
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.video-item img:hover {
    transform: scale(1.05);
}

.video-description {
    margin-top: 10px;
    font-size: 1.1em;
    color: #a9a9a9; /* Light gray */
}

/* ========================================================================= */
/* || Responsive Design Adjustments */

@media (max-width: 480px) {
    header,
    nav {
        width: 100%;
        margin: 0;
    }

    .header-content h1 {
        font-size: 200%; /* Adjust as needed */
    }

    .nav-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-list li {
        flex: 1 0 50%;
        text-align: center;
        box-sizing: border-box;
    }

    .nav-list a {
        display: block;
        padding: 10px;
    }

    .footer-links a {
        flex-basis: 100%;
    }

    .poetry-table {
        grid-template-columns: repeat(1, 1fr);
    }

    .page-title h2 {
        font-size: 1.2em;
    }

    .text-content p {
        font-size: 0.9em;
        padding: 0 5px;
    }

    .text-content a {
        padding: 0;
        margin: 0;
    }
}

@media (max-width: 768px) {
    header,
    nav {
        width: 60%;
    }

    .header-content h1 {
        font-size: 250%; /* Adjust as needed */
    }
    .nav-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-list li {
        flex: 1 0 40%; /* Each item will take up 50% of the width for two columns */
        text-align: center;
        box-sizing: border-box;
    }

    .nav-list a {
        display: block;
        padding: 10px;
    }

    .footer-links a {
        flex-basis: 50%;
        text-align: center;
    }

    .poetry-table {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-title h2 {
        font-size: 1.5em;
    }

    .text-content p {
        font-size: 1em;
        padding: 0 10px;
    }

    .text-content a {
        padding: 0;
        margin: 0;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    header,
    nav {
        width: 45%;
    }

    .nav-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-list li {
        flex: 1 0 50%; /* Each item will take up 50% of the width for two columns */
        text-align: center;
        box-sizing: border-box;
    }

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

@media (min-width: 1200px) {
    header,
    nav {
        width: 45%;
    }

    .poetry-table {
        grid-template-columns: repeat(4, 1fr);
    }
}
