#buffbuff-cover {
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#buffbuff-cover .buffbuff-cover-logo {
    width: 450px;
    max-width: 80%;
    animation: frog-jump 2s ease-in-out infinite;
    transform-origin: bottom center;
}

#buffbuff-cover .buffbuff-cover-motto {
    font-size: 45px;
    font-family: 'Dongle';
    max-width: 75%;
    text-align: center;
    line-height: 0.75;

    margin: 40px 0px;
}

@keyframes frog-jump {
    0% {
        transform: scale(1) translateY(0);
    }

    20% {
        transform: scale(1.1, 0.9) translateY(0);
    }

    40% {
        transform: scale(0.95, 1.15) translateY(-20px);
    }

    60% {
        transform: scale(1.05, 0.95) translateY(0);
    }

    80% {
        transform: scale(0.98, 1.02) translateY(-5px);
    }

    100% {
        transform: scale(1) translateY(0);
    }
}

#about-us {
    background-color: var(--color-bg-dark-alpha);
    color: var(--color-text-light);
    padding: 30px;
}

#team {
    padding: 30px;
}

#team .team-group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

#team .team-group .team-group-empty {
    font-size: 24px;
    animation: team-card-swing 2s cubic-bezier(0.55, 0, 0.45, 1) infinite;
}

#team .team-card {
    width: 220px;
    padding: 10px 10px 0px 10px;
    box-sizing: border-box;
    background: var(--color-bg);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    text-align: center;
    animation: team-card-swing 2s cubic-bezier(0.55, 0, 0.45, 1) infinite;
    transition: scale 0.25s;
}

#team .team-card:has(.team-card-photo:hover) {
    scale: 1.05;
}

#team .team-card .team-card-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

#team .team-card .team-card-mail {
    position: absolute;
    top: 175;
    left: 15;
    font-size: 18px;
    padding: 6px 18px;
}

#team .team-card.artist .team-card-mail {
    background-color: var(--color-green);
}

#team .team-card.game_designer .team-card-mail {
    background-color: var(--color-blue);
}

#team .team-card.programmer .team-card-mail {
    background-color: var(--color-yellow);
}

#team .team-card .team-card-info {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

#team .team-card .team-card-info .team-card-info-name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

#team .team-card .team-card-info .team-card-info-role {
    display: inline-block;
    padding: 10px 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-light);
    width: 105%;
}

#team .team-card.artist .team-card-info .team-card-info-role {
    background: var(--color-green);
}

#team .team-card.game_designer .team-card-info .team-card-info-role {
    background: var(--color-blue);
}

#team .team-card.programmer .team-card-info .team-card-info-role {
    background: var(--color-yellow);
}

#team .team-card:nth-child(1) {
    animation-delay: 0s;
}

#team .team-card:nth-child(2) {
    animation-delay: -0.6s;
}

#team .team-card:nth-child(3) {
    animation-delay: -1.1s;
}

#team .team-card:nth-child(4) {
    animation-delay: -1.7s;
}

@keyframes team-card-swing {
    0% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }

    100% {
        transform: rotate(-3deg);
    }
}

#projects {
    background-color: var(--color-bg-dark-alpha);
    color: var(--color-text-light);
    padding: 30px;
}

#projects .project-group {
    color: var(--color-bg-dark-alpha);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px;
}

#projects .project-group .project-card-appendix {
    flex: 1 1 800px;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#projects .project-group .project-card-appendix .project-card-appendix-content {
    flex: 1 1 300px;
    min-width: 300px;
    color: var(--color-text-light);
}

#projects .project-group .project-card-appendix .project-card-appendix-content:first-child {
    text-align: right;
}

#projects .project-group .project-card {
    flex: 1 1 200px;
    min-width: 200px;
    max-width: 350px;
    aspect-ratio: 268/200;
    border-radius: 12px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.25s ease-in-out, scale 0.25s ease-in-out;
    overflow: hidden;
}

#projects .project-group .project-card.inverted {
    background-color: var(--color-bg);
}

#projects .project-group .project-card:hover {
    scale: 1.05;
    border-color: white;
}

#projects .project-group .project-card .project-background {
    width: 100%;
    filter: blur(1.5px) brightness(0.75);
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

#projects .project-group .project-card:hover .project-background {
    opacity: 1;
}

#projects .project-group .project-card .project-thumbnail {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translate(0%, -50%);
    transition: opacity 0.25s ease-in-out;
}

#projects .project-group .project-card:hover .project-background+.project-thumbnail {
    opacity: 0.25;
}

#projects .project-group .project-card .project-buttons {
    position: absolute;
    bottom: 5px;
    left: 5px;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

#projects .project-group .project-card:hover .project-buttons {
    opacity: 1;
}

#projects .project-group .project-card .project-buttons .style-button {
    font-size: 18px;
    padding: 6px 18px;
}

#projects .project-group .project-card .project-buttons .style-button.steam {
    background-color: #1B2838;
}

#projects .project-group .project-card .project-buttons .style-button.epic-games {
    background-color: #313131;
}

#projects .project-group .project-card .project-buttons .style-button.nintendo {
    background-color: #E60012;
}

#projects .project-group .project-card .project-buttons .style-button.app-store {
    background-color: #000000;
}

#projects .project-group .project-card .project-buttons .style-button.google-play {
    background-color: #3DDC84;
}

#projects .project-group .project-card .project-buttons .style-button.itch-io {
    background-color: #FF5A5F;
}

#projects .project-group .project-card .project-buttons .style-button.github {
    background-color: #24292e;
}

#projects .project-group .project-card .project-buttons .style-button.website{
    background-color: #59cc00;
}

@media (max-width: 768px) {
    #projects .project-group .project-card {
        background-color: #FFFFFF22;
        max-width: 800px;
    }

    #projects .project-group .project-card:not(:hover) {

        border: 0px solid transparent
    }

    #projects .project-group .project-card .project-background {
        opacity: 1
    }

    #projects .project-group .project-card .project-buttons {
        opacity: 1
    }

    #projects .project-group .project-card-appendix .project-card-appendix-content {
        text-align: justify;
    }

    #projects .project-group .project-card-appendix .project-card-appendix-content:first-child {
        text-align: justify;
    }
}

#partners {
    padding: 30px;
}

#partners .partner-group
{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

#partners .partner-group img.round
{
    border-radius: 50%; 
}

@media (max-width: 700px) {
    #about-us {
        text-align: justify;
    }
}