/* Overall site defaults */
html, body, #root {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #131A22;
    color: #EDDBC5;

    font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;

    color-scheme: dark;
    color: #EDDBC5;
    background-color: #131A22;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main app */
.app-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    margin-bottom: 50px;
    padding-bottom: 0px;
}

/* Header banner */
.header-background-image {
    position: relative;
    z-index: 1;
    width: 100vw;
    min-width: 100vw;
    padding: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EDDBC5;
    overflow: hidden;
    margin-bottom: 0px;
    margin-left: calc(-50vw + 50%);
}

.header-background-image .header-img {
    width: 100%;
    min-width: 100%;
    max-width: none;
    min-height: 20vh;
    height: auto;
    display: block;
    margin-bottom: 0px;
}

.header-background-image header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
}

.header-body-container {
    max-width: 1000px;
    min-height: 50vh;
    margin: 0 auto;
    padding: 30px 20px;
    text-align: center;
}

.nav-link {
    color: #131A22;
    font-weight: 700;
    font-style: bold;
    font-size: 1.4em;
    margin-left: 3vw;
    transition: color 0.3s ease;
    text-shadow: 
        -2px -2px 0 #c0593a,
        2px -2px 0 #c0593a,
        -2px 2px 0 #c0593a,
        2px 2px 0 #c0593a,
        -1px -1px 0 #c0593a,
        1px -1px 0 #c0593a,
        -1px 1px 0 #c0593a,
        1px 1px 0 #c0593a;
}

.nav-link:hover {
    color: #EDDBC5;
    transform: translateY(-5px);
}

/* Text headers */
h1 {
    color: #131A22;
    margin: 0;
    padding: 10px;
    margin-top: 10vh;
    text-align: left;
    font-family: "Manufacturing Consent", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 4em;
    z-index: 10;
    text-shadow: 
        -2px -2px 0 #c0593a,
        2px -2px 0 #c0593a,
        -2px 2px 0 #c0593a,
        2px 2px 0 #c0593a,
        -1px -1px 0 #c0593a,
        1px -1px 0 #c0593a,
        -1px 1px 0 #c0593a,
        1px 1px 0 #c0593a;

}

h2 {
    color: #c0593a;
    font-family: "Manufacturing Consent", system-ui;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 30px;
    font-size: 3.5em;
    text-align: left;
    margin-top: 40px;
}

h3 {
    color: #EDDBC5;
    font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
    font-size: 2em;
    margin-bottom: 15px;
}

/* About Section */
.about-section {
    width: 100%;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    font-size: 1.2em;
}

.about-text ul {
    padding-left: 20px;
    list-style-position: outside;
    color: #EDDBC5;
}

.about-text li {
    margin-bottom: 10px;
    color: #EDDBC5;
    font-size: 1.2em;
}

.profile-container {
    position: relative;
    height: 0;
    padding-bottom: 100%;
}

.profile-container .profile-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-social-links {
    text-decoration: none;
}

.about-social-links p {
    font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
    color: #c0593a;
    margin: 0;
    transition: color 0.3s ease;
}

.about-social-links p:hover {
    color: #EDDBC5;
}

.social-list li {
    margin-bottom: 10px;
}

/* Game Portfolio Section */
.game-section {
    width: 100%;
}

.game-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
    background-color: transparent;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.game-card .card-img-top {
    height: 300px;
    object-fit: contain;
}

.game-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    color: #EDDBC5;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-card-overlay {
    opacity: 1;
}

.game-card-overlay .card-title {
    margin-bottom: 8px;
    font-size: 20px;
    color: #EDDBC5;
}

.game-card-overlay .card-text {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 0;
    color: #EDDBC5;
}

/* Art Portfolio Section */
.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    background-color: transparent;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.portfolio-card .card-img-top {
    height: 500px;
    object-fit: contain;
}

.portfolio-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
    opacity: 1;
}

.portfolio-card-overlay .card-title {
    margin-bottom: 8px;
    font-size: 20px;
    color: white;
}

.portfolio-card-overlay .card-text {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 0;
    color: white;
}

/* Footer */
.footer-bg {
    background: #131A22;
    padding: 25px 40px;
    margin-top: 50px;
    border-top: 1px solid #131A22;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.social-links a {
    color: #c0593a;
    font-size: 24px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.social-links a:hover {
    color: #131A22;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.copyright {
    text-align: center;
    font-size: 13px;
    margin-bottom: 10px;
    margin-top: 0;
}

/* Responsive Design - This means how it adjusts for different screen sizes like phones */
@media (max-width: 768px) {

    .main-panel {
        width: 95%;
        height: 90vh;
    }

    .header-background-image {
        padding: 0 !important;
        margin: 0 !important;
        height: auto;
        margin: 0;
        background-position: center top;
    }

    .header-background-image .header-img {
        margin: 0 !important;
    }

    .header-body-container {
        padding: 12px;
    }

    .app-container {
        padding: 12px;
        margin-top: 0;
    }

    .content-scroll {
        padding: 12px;
    }

    h1 {
        font-size: 2.2em;
        padding-top: 0;
        margin-top: 2vh;
    }

    h2 {
        font-size: 1.6em;
    }

    h3 {
        font-size: 1.2em;
    }

    .profile-container {
        width: 120px;
        height: 120px;
        padding-bottom: 0;
    }

    .game-card .card-img-top {
        height: 200px;
    }

    .portfolio-card .card-img-top {
        height: 220px;
    }

    .social-links {
        gap: 12px;
    }
}

/* Loading and Error States */
.loading-container,
.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: white;
    text-align: center;
    padding: 20px;
}
