@font-face {
    /* font face, more like VOID FACE */
    font-family: 'AbhoFont';
    src: url('abhofont.ttf') format('truetype');
}

html, body {
    overflow-x: hidden;
}

body {
    margin: 0;
    background-color: black;
    color: white;
    font-family: 'AbhoFont', sans-serif;
    position: relative;
}

/* Pixelated image rendering */
img {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    image-rendering: -moz-crisp-edges;
}

h2 {
    font-weight: normal;
    font-size: 28px;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    background-color: black;
    border-bottom: 2px solid white;
    height: 80px;
    margin: 0;
    padding: 0 10px;
    transition: transform 0.3s ease;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-left {
    margin-left: 10px;
    display: flex;
    align-items: center;
}

.header-left img {
    max-height: 60px;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 1001;
}

.header-right {
    margin-left: auto;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.section-btn {
    background: none;
    border: none;
    color: white;
    width: 200px;
    height: 80px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    font-family: 'AbhoFont', sans-serif;
    text-transform: uppercase;
}

.section-btn:hover {
    background: white;
    color: black;
}

.icon-btn {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.icon-btn img {
    width: 50px;
    height: auto;
    display: block;
    transition: all 0.2s cubic-bezier(.05, 1.03, .38, 1);
}

.icon-btn:hover img {
    scale: 1.4;
}

.icon-btn:hover img[src$="socials-youtube.png"] {
    content: url("images/socials-youtube-active.png");
}

.icon-btn:hover img[src$="socials-bluesky.png"] {
    content: url("images/socials-bluesky-active.png");
}

.icon-btn:hover img[src$="socials-x.png"] {
    content: url("images/socials-x-active.png");
}

.icon-btn:hover img[src$="socials-discord.png"] {
    content: url("images/socials-discord-active.png");
}

.icon-btn:hover img[src$="socials-itchio.png"] {
    content: url("images/socials-itchio-active.png");
}

.icon-btn:hover img[src$="socials-soundcloud.png"] {
    content: url("images/socials-soundcloud-active.png");
}

.icon-btn:hover img[src$="socials-website.png"] {
    content: url("images/socials-website-active.png");
}

.icon-btn:hover img[src$="socials-github.png"] {
    content: url("images/socials-github-active.png");
}

/* Footer */
.footer {
    width: 100%;
    height: 60px;
    background-color: black;
    text-align: center;
    padding: 20px 0;
    font-size: 16px;
    position: relative;
    bottom: 0;
    color: gray;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Sections */
.sections-container {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease;
}

.section {
    flex: 0 0 100%;
    width: 100%;
    padding: 80px 0;
}

/* Main content */
.frog-hat-labs-container {
    display: flex;
    width: 100%;
    height: 200px;
    margin-top: 40px;
}

.frog-hat-labs-logo {
    display: flex;
    flex: 1;
}

.frog-hat-labs-description {
    flex: 1;
    padding: 1rem;
}

.logo-container {
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container img {
    width: 500px;
}

.cover-art {
    width: 100%;
    display: block;
}

.tagline-container {
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    gap: 20px;
}

.voidface-bullet {
    height: 30px;
    animation: cycle 0.5s infinite;
}

@keyframes cycle {
    0%, 100% { content: url("images/bullet-0.png"); }
    50%      { content: url("images/bullet-1.png"); }
}

.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    font-size: 20px;
}

.steam-widget,
.youtube-trailer {
    display: block;
    margin: 10px auto;
}

.highlight {
    color: #FD2E58;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: white;
    margin: 40px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.team-card {
    text-align: center;
}

.team-icon {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    animation: move 1s ease-in-out infinite alternate;
}

.team-socials {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 5px 0;
}

.team-socials .icon-btn {
    width: 30px;
    height: 30px;
}

@keyframes move {
    from {
        transform: rotate(-4deg);
    }

    to {
        transform: rotate(4deg);
    }
}

.team-card h3 {
    margin: 5px 0;
    font-size: 20px;
    font-weight: normal;
    color: white;
}

.team-card p {
    margin: 0;
    font-size: 16px;
    color: gray;
}

/* Responsive based on screen size - for better support on smaller screens */
@media (max-width: 1100px) {
    .header-right .icon-btn {
        width: 60px;
    }

    .section-btn {
        font-size: 20px;
        width: 150px;
    }
}

@media (max-width: 900px) {
    .header {
        flex-wrap: wrap;
        height: auto;
        padding: 10px;
        width: 100vw;
    }

    .header-left img {
        max-height: 40px;
    }

    .header-center {
        position: static;
        transform: none;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }
    
    .section {
        padding: 130px 0;
    }

    .section-btn {
        width: auto;
        font-size: 18px;
        padding: 10px 20px;
        height: auto;
    }

    .header-left {
        display: none;
    }

    .header-right {
        justify-content: center;
        width: 100%;
        margin-top: 10px;
        margin-right: 0px;
    }

    .icon-btn {
        width: 50px;
        height: 50px;
    }

    .icon-btn img {
        width: 35px;
    }

    .frog-hat-labs-container {
        flex-direction: column;
        height: auto;
    }

    .frog-hat-labs-logo img {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .frog-hat-labs-description {
        text-align: center;
    }

    .logo-container img {
        width: 80%;
        max-width: 300px;
    }

    .tagline-container {
        font-size: 18px;
        gap: 10px;
    }

    .youtube-trailer,
    .steam-widget {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .team-icon {
        width: 100px;
        height: 100px;
    }

    .content {
        font-size: 16px;
        padding: 10px;
    }
}