body {
    background-color: #0b0503;
    color: #ffffff;

    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 300;
    font-style: normal;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    flex-shrink: 0;
    position: relative;
    z-index: 100;
}

.page-wrapper {
    background-color: #0e0402;
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    border-left: 5px solid #1b0d08;
    border-right: 5px solid #1b0d08;
}

main {
    flex: 1;
    position: relative;
}

.container {
    padding-left: 0;
    padding-right: 0;
}

main .container .row {
    margin-left: 0;
    margin-right: 0;
}

.mini-padding {
    padding-left: 2rem;
    padding-right: 2rem;
}

footer {
    flex-shrink: 0;
    position: relative;
    z-index: 100;
}

.dancing-text {
    font-family: "Dancing Script", cursive;
    font-size: 2.5rem;
    font-weight: 600;
}

#nav .nav-link {
    margin-left: 1rem;
    margin-right: 1rem;
}

.mybg-dark {
    background-color: #1b0d08;
}

a {
    color: #ff4500; /* Link color (e.g., Dodger Blue) */
    text-decoration: none; /* Optional: Remove underline */
}

a:visited {
    color: #ff4500; /* Visited link color (e.g., Dark Purple) */
}

a:hover {
    color: #FFC300; /* Hover color (e.g., Tomato) */
    text-decoration: none; /* Optional: Underline on hover */
}

a:active {
    color: #FFC300; /* Active link color (e.g., Orange Red) */
}

link-icon:hover {
    color: #ff6347;
}

link-icon:active {
    color: #ff6347;
}

@media (min-width: 992px) {
    .image-large {
        width: 70%;
    }
}

.shortcodes-note {
    background-color: #300C0C;
    padding: 1em;
    border-radius: 4px;
    margin: 1em 0;
    /* font-weight: bold; */
    font-style: italic;
    width: 100%;
    box-sizing: border-box;
}

.shortcodes-emphasis {
    background-color: #270a01; /* Background color */
    padding: 1em; /* Add padding for spacing */
    border-radius: 4px; /* Optional: add rounded corners */
    margin: 1em 0; /* Optional: add margin for spacing between elements */
    /* color: #ff6347; /\* Change this to your preferred text color *\/ */
    width: 100%; /* Ensure the div takes full width */
    box-sizing: border-box; /* Include padding and border in element's total width */
}

.hover-border {
    border: 1px solid #ff4500; /* Change the color */
    text-decoration: none; /* Optional: Underline on hover */
    transition: transform 0.2s ease-in-out;
}

.hover-border:hover {
    border: 1px solid #FFC300; /* Change the color */
    text-decoration: none; /* Optional: Underline on hover */
    transform: scaleX(1.02) scaleY(0.98);
}

.mybg-clickable {
    background-color: #120905;
}

.project-image {
    max-height: 400px;
    height: 70%;
}

.project-card {
    transition: transform 0.2s ease-in-out;
}

.project-card:hover {
    transform: scaleX(1.02) scaleY(0.98);
}

.project-thumbnail {
    max-height: 300px;
    width: 100%; /* Ensures the image takes full width of its column */
    object-fit: cover; /* Maintains aspect ratio and crops if necessary */
    border-radius: 8px;
}

.emphasised-emoji {
    background-color: #000000;
    border-radius: 50%;
    border: 6px solid #1b0d08;
    padding: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
}

.profile-picture {
    border-radius: 50%;
    border: 6px solid #1b0d08;
    width: 10rem;
    height: 10rem;
    object-fit: cover;
    display: inline-block;
}

.animated-projects-box {
    display: block;
    width: 120%;
    height: 120vh;
    padding: 0;
    border-radius: 0;
    position: absolute;
    top: -10%;
    left: -10%;
    background: linear-gradient(135deg, #4a1520 0%, #6b2540 50%, #4a2030 100%);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: earthboundWavyMove 20s ease-in-out infinite;
    overflow: hidden;
}

.animated-projects-box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
}

.animated-projects-box::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        repeating-linear-gradient(
            30deg,
            transparent 0px,
            transparent 20px,
            rgba(255, 100, 0, 0.08) 20px,
            rgba(255, 100, 0, 0.08) 40px
        ),
        repeating-linear-gradient(
            120deg,
            transparent 0px,
            transparent 20px,
            rgba(255, 50, 0, 0.08) 20px,
            rgba(255, 50, 0, 0.08) 40px
        ),
        repeating-linear-gradient(
            60deg,
            transparent 0px,
            transparent 25px,
            rgba(255, 69, 0, 0.06) 25px,
            rgba(255, 69, 0, 0.06) 50px
        ),
        repeating-linear-gradient(
            150deg,
            transparent 0px,
            transparent 25px,
            rgba(255, 140, 0, 0.06) 25px,
            rgba(255, 140, 0, 0.06) 50px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 30px,
            rgba(220, 20, 0, 0.05) 30px,
            rgba(220, 20, 0, 0.05) 60px
        ),
        repeating-linear-gradient(
            180deg,
            transparent 0px,
            transparent 30px,
            rgba(255, 120, 0, 0.05) 30px,
            rgba(255, 120, 0, 0.05) 60px
        );
    background-size: 200% 200%, 200% 200%, 250% 250%, 250% 250%, 300% 300%, 300% 300%;
    animation: earthboundWavyLines1 24s linear infinite, earthboundWavyLines2 32s linear infinite reverse;
}

.animated-projects-box a {
    color: #0b0503;
    font-weight: 600;
    font-size: 1.3rem;
    text-decoration: none;
}

.animated-projects-box a:hover,
.animated-projects-box a:visited {
    color: #0b0503;
}

@keyframes colorShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes earthboundWavyMove {
    0% {
        background-position: 0% 0%, 10% 20%, 30% 50%, 50% 70%, 70% 30%, 90% 60%, 20% 80%, 80% 40%, 0% 0%;
    }
    25% {
        background-position: 15% 30%, 25% 60%, 45% 20%, 65% 85%, 85% 45%, 5% 75%, 35% 15%, 95% 55%, 0% 0%;
    }
    50% {
        background-position: 30% 60%, 40% 90%, 60% 40%, 80% 10%, 100% 60%, 20% 30%, 50% 50%, 10% 70%, 0% 0%;
    }
    75% {
        background-position: 45% 85%, 55% 25%, 75% 65%, 95% 35%, 15% 75%, 35% 95%, 65% 85%, 25% 15%, 0% 0%;
    }
    100% {
        background-position: 0% 0%, 10% 20%, 30% 50%, 50% 70%, 70% 30%, 90% 60%, 20% 80%, 80% 40%, 0% 0%;
    }
}

@keyframes earthboundFloatingShapes {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 25% 75%, 75% 25%;
        transform: scale(1);
        opacity: 0.6;
    }
    33% {
        background-position: 100% 50%, 0% 50%, 75% 25%, 50% 100%, 25% 0%;
        transform: scale(1.3);
        opacity: 0.8;
    }
    66% {
        background-position: 50% 100%, 50% 0%, 25% 75%, 0% 25%, 100% 75%;
        transform: scale(0.8);
        opacity: 0.5;
    }
}

@keyframes earthboundWavyLines1 {
    0% {
        background-position: 0% 0%, 0% 0%;
        transform: rotate(0deg);
    }
    25% {
        background-position: 40% 60%, 0% 0%;
        transform: rotate(5deg);
    }
    50% {
        background-position: 80% 20%, 0% 0%;
        transform: rotate(-3deg);
    }
    75% {
        background-position: 30% 90%, 0% 0%;
        transform: rotate(7deg);
    }
    100% {
        background-position: 0% 0%, 0% 0%;
        transform: rotate(0deg);
    }
}

@keyframes earthboundWavyLines2 {
    0% {
        background-position: 0% 0%, 0% 0%;
        transform: rotate(0deg);
    }
    20% {
        background-position: 0% 0%, 70% 30%;
        transform: rotate(-6deg);
    }
    45% {
        background-position: 0% 0%, 20% 80%;
        transform: rotate(4deg);
    }
    70% {
        background-position: 0% 0%, 90% 40%;
        transform: rotate(-8deg);
    }
    100% {
        background-position: 0% 0%, 0% 0%;
        transform: rotate(0deg);
    }
}
