body,
html {
    height: 100%;
    margin: 0;
    font-family: Helvetica, sans-serif;
    background: url("images/efglogo.png") center/cover no-repeat fixed;
    color: #f0f0f0;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 15px 50px;
    background: rgba(0, 0, 0, 0.7);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: #f0f0f0;
    margin-left: 20px;
    text-decoration: none;
}

nav a:hover {
    color: #ff4500;
    /* Change color on hover */
    transition: color 0.3s;
    /* Smooth transition */
}

/* Default link style */
a {
    color: #f0f0f0;
    /* Light gray color */
    text-decoration: none;
    /* Remove underline */
    transition: color 0.3s, border-bottom 0.3s;
    /* Smooth transition for color and underline */
    border-bottom: 2px solid #ff4500;
    /* Solid underline */
    padding-bottom: 2px;
    /* Small padding for spacing */
}

/* Hover state style */
a:hover {
    color: #ff4500;
    /* Orangish color for hover */
    border-bottom: 2px solid #f0f0f0;
    /* Change underline color on hover */
}

/* Visited link style */
a:visited {
    color: #aaa;
    /* Darker gray color for visited links */
}

.intro-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0, 0, 0, 0.6);
    margin: 20px 50px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.intro-content {
    flex: 1;
    padding-right: 20px;
}

.intro-image {
    flex-shrink: 0;
    /* prevent the image container from shrinking */
}

.intro-section h1 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.intro-section blockquote {
    font-style: italic;
    color: #f0f0f0;
}

.panel {
    display: flex;
    justify-content: space-between;
    padding: 50px;
    background: rgba(0, 0, 0, 0.6);
    margin: 20px 50px;
    border-radius: 5px;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Adds a subtle shadow */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    /* Smooth hover effect */
}

.panel:hover {
    transform: translateY(-5px);
    /* Slight raise effect on hover */
}

.panel-content {
    flex: 1;
    /* This will ensure both the image and the text content take up equal space */
    padding: 0 10px;
    /* Add some padding to space them out a bit */
}

.game-intro {
    font-weight: 500;
    margin: 10px 0;
}

/* Common styles for all buttons */
.button-common {
    display: inline-block;
    /* Makes the button inline */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    margin-top: 10px;
    margin-right: 10px;
    /* Spacing between buttons */
    transition: background-color 0.3s;
    width: auto;
    text-align: center;
}

.play-button {
    background-color: #ff4500;
    /* Play Game button color */
}

.play-button:hover {
    background-color: #ff6700;
    /* Hover color for Play Game button */
}

.visit-button {
    background-color: #008080;
    /* Visist Site button color */
}

.visit-button:hover {
    background-color: #009999;
    /* Hover color for Visist Site button */
}

.learn-button {
    background-color: #6A5ACD;
    /* Learn More button color */
}

.learn-button:hover {
    background-color: #7B68EE;
    /* Hover color for Learn More button */
}

.twitter-button {
    background-color: #1DA1F2;
    /* Twitter button color */
}

.twitter-button:hover {
    background-color: #0D95E8;
    /* Hover color for Twitter button */
}

.discord-button {
    background-color: #7289DA;
    /* Discord button color */
}

.discord-button:hover {
    background-color: #677BC4;
    /* Hover color for Discord button */
}

.button-icon {
    margin-right: 5px;
}

/* Modal Stuff */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
    margin: 10% auto;
    padding: 20px;
    max-width: 800px;
    background-color: #fff;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 25px;
    cursor: pointer;
}

#gameContainer {
    width: 100%;
    height: 500px;
    /* Adjust as per your game's requirements */
}

/* FOOTER STUFF */
.footer-panel {
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    background: rgba(0, 0, 0, 0.7);
    margin-top: 40px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-contact a,
.social-links a {
    margin-right: 15px;
    font-size: 1.2em;
}

.skills-panel {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: stretch;
    /* Ensures all children stretch to the same height */
}

.skills-section {
    flex-basis: 24%;
    /* 100% divided by 4 sections minus some for the gaps */
    flex-grow: 1;
    /* Allows the section to grow and take up available vertical space */
    margin: 0.5%;
    /* Adjust as needed for gaps */
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    /* This ensures padding and borders are included in the width */
    display: flex;
    flex-direction: column;
    /* Column direction for the content within */
}

.skills-section i {
    font-size: 2em;
    margin-bottom: 10px;
}

.skills-section h2 {
    margin: 10px 0;
    flex-grow: 1;
    /* Allows the title to grow and ensures even spacing */
}

.skills-section ul {
    list-style-type: circle;
    padding: 10px;
    flex-grow: 2;
    /* Gives more growing room for the list so it takes up more space */
}

.skills-section li {
    margin-bottom: 5px;
}

h1,
h2,
h3,
h4 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

h1,
h3 {
    font-family: 'Oswald', sans-serif;
}

h2 {
    font-family: 'Bebas Neue', sans-serif;
}

@media (max-width: 600px) {
    /* Changed breakpoint to 600px */
    .panel {
        flex-direction: column;
        padding: 15px 0;
        margin: 15px 2px;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        margin-bottom: 10px;
    }

    .panel>div {
        max-width: 95%;
        /* Make children of panel take up almost full width, with a small margin */
        margin: 10px auto;
        /* Center the child divs */
    }

    .panel-content {
        max-width: 90%;
    }

    .right-panel {
        flex-direction: column !important;
        /* Ensure it overrides any inline styles */
    }

    .intro-section {
        flex-direction: column;
        padding: 15px;
        margin: 15px 10px;
    }

    .intro-section h1 {
        font-size: 1.5em;
    }

    .intro-content,
    .intro-image {
        margin: 10px 0;
        text-align: center;
    }

    .intro-image img {
        margin: 0 auto;
    }

    .footer-panel {
        flex-direction: column;
        align-items: center;
    }

    .footer-contact,
    .social-links {
        margin: 10px 0;
        display: flex;
        justify-content: center;
    }

    .social-links a {
        font-size: 1.5em;
        margin: 0 10px;
    }

    .skills-section {
        flex-basis: 98%;
        /* Full width minus margins */
        margin-bottom: 2%;
        width: 100%;
        /* Adjust as needed for gaps between rows */
    }
}

.bg {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("images/efglogo.png");
    /* Gradient overlay */
}

/* Filter Button Styles */
.filter-btn:hover {
    background: #ff4500 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 69, 0, 0.3);
}

/* Skill Bar Styles */
.skill-bars {
    margin-top: 15px;
}

.skill-item {
    margin-bottom: 15px;
}

.skill-name {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #f0f0f0;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-in-out;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Panel Filter Animation */
.panel {
    transition: all 0.5s ease-in-out;
    opacity: 1;
    transform: scale(1);
    max-height: 1000px;
    overflow: hidden;
}

.panel.hidden {
    opacity: 0;
    transform: scale(0.8);
    max-height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.panel.visible {
    opacity: 1;
    transform: scale(1);
    max-height: 1000px;
} 