@font-face
{
    font-family: "Funnel Sans";
    src: url(assets/fonts/funnel-sans/static/FunnelSans-SemiBold.ttf);
}

@font-face
{
    font-family: "Cormorant Garamond";
    src: url(assets/fonts/cormorant-garamond/CormorantGaramond-SemiBold.ttf);
}

@font-face
{
    font-family: "JetBrains Mono";
    src: url(assets/fonts/jetbrains-mono/fonts/ttf/JetBrainsMono-SemiBold.ttf);
}

@keyframes arrow-down-animation
{
    0%, 100%
    {
        transform: translateY(0);
    }
    50%
    {
        transform: translateY(-1.5vh);
    }
}

body
{
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    margin: 0;
    font-family: "Funnel Sans", sans-serif;    
    font-size: 2vh;
    color: white;
    text-decoration: none;
    text-align: center;
    background-repeat: no-repeat;
    background-position-y: top;
}

.container
{
    position: relative;
    width: 100vw;
    height: 100vh;
    scroll-behavior: smooth;
    overflow: auto;
    scroll-snap-type: y mandatory; /* Disable to keep scroll position on reload */
}

.section
{
    width: 100vw;
    height: 100vh;
    background-size: cover;
    scroll-snap-align: start;
}

.section:nth-child(1)
{
    background: url(assets/pictures/background/background-0.png);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.section:nth-child(2)
{
    background: url(assets/pictures/background/background-1.png);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.section:nth-child(3)
{
    background: url(assets/pictures/background/background-2.jpg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.section:nth-child(4)
{
    background: url(assets/pictures/background/background-3.jpg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.section:nth-child(5)
{
    background: url(assets/pictures/background/background-4.jpg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Section 1 */

.header
{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 2vh;
    margin-left: 2vw;
    margin-right: 2vw;
}

.header img
{
    height: 7vh;
}

.studio-logo img
{
    border-radius: 5px;
}

.social-links a
{
    text-decoration: inherit;
}

.social-links img
{
    transition: all 0.25s ease;
    padding-inline: 2.5px;
}

.social-links img:hover
{
    transition: all 0.25s ease;
    transform: scale(1.1);
}

.section-1-center-element
{
    margin-top: 2vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

.play-button
{
    margin-top: 5vh;
}

.main-artwork img
{
    height: 50vh;
}

.play-button img
{
    transition: all 0.25s ease;
    height: 20vh;
}

.play-button img:hover
{
    transition: all 0.25s ease;
    transform: scale(1.1);
}

.game-information
{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    bottom: 2vh;
    left: 2vh;
    gap: 1vh;
    font-size: 2vh;
}

.legal-links a
{
    color: inherit;
    text-decoration: inherit;
    margin-inline-end: 5px;
}

.game-information img
{
    height: 10vw;
}

.arrow-down
{
    position: absolute;
    bottom: 5vh;
    right: 5vh;
    transform: translateX(-50%);
    animation: arrow-down-animation 2.5s infinite;
}

.arrow-down img
{
    transition: all 0.25s ease;
    transform: rotate(-90deg); /* Temp change */
    width: 3.75vw;
    min-width: 100px;
}

.arrow-down img:hover
{
    transition: all 0.25s ease;
    transform: rotate(-90deg) /* Temp change */
    /* transform: */ scale(1.1);
}

/* Section 2 */

.section-2
{
    display: flex;
    justify-content: center;
}

.screenshot
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.screenshot-main-content
{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.screenshot-frame
{
    z-index: 0;
}

.screenshot-image
{
    position: absolute;
    left: 50%;
    transform: translate(-49.6%, -4%); /* Adjust to frame */
}

.main-screenshot img
{
    height: 65vh; /* Adjust screenshot and frame size */
}

.screenshot-image img
{
    transform: scale(0.707); /* Adjust to frame */
}

.screenshot-frame img
{
    transform: translate(0.09%, -0.9%); /* Adjust to image */
}

.screenshot-arrow-left,
.screenshot-arrow-right
{
    z-index: 1;
}

.screenshot-arrow-left img,
.screenshot-arrow-right img
{
    width: 5vw;
    transition: all 0.25s ease;
}

.screenshot-arrow-left img:hover,
.screenshot-arrow-right img:hover
{
    transition: all 0.25s ease;
    transform: scale(1.1);
}

.image-selector
{
    z-index: 3;
    display: flex;
    flex-direction: row;
    gap: 2vw;
}

.screenshot-thumbnail
{
    transition: all 0.25s ease;
}

.screenshot-thumbnail:hover
{
    transition: all 0.25s ease;
    transform: scale(1.1);
}

.image-selector img
{
    width: 10vw;
}

.screenshot-thumbnail-frame
{
    position: absolute;
    transform: translateX(-0.8vw) translateY(-0.25vh); /* Adjust to image */
}

.screenshot-thumbnail-frame img
{
    width: 11.45vw;
}

.screenshot-thumbnail-image img
{
    border-top-left-radius: 2vw;
    border-bottom-right-radius: 1vw;
}

/* Section 3 */

.section-3
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.picture-top-layer
{
    z-index: 1;
    position: absolute;
}

.picture-top-layer img
{
    width: 100vw;
    height: 100vh;
}

.video
{
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 7.5vw;
}

.video-main-section
{
    display: flex;
    flex-direction: column;
}

.video-player
{
    z-index: 1;
    position: absolute;
    display: flex;
    flex-direction: row;
    gap: 2vw;
}

.main-video img,
.main-video video
{
    width: 30vw; /* Adjust video and frame size */
}

.main-video-audio-control
{
    transition: all 0.25s ease;
    align-self: flex-end;
    background-color: white;
    border-radius: 2.25px;
}

.main-video-audio-control img
{
    margin-top: 0.5vh;
    margin-inline: 0.5vw;
    width: 2vw;
}

.main-video-audio-control:hover
{
    transition: all 0.25s ease;
    transform: scale(1.1);
}

.video-frame img
{
    transform: scale(1.1239) translateX(-0.357%) translateY(-6.23%); /* DO NOT CHANGE */
}

.video-selector
{
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2vw;
    transform: translateY(-7.5%);
}

.video-thumbnail-frame
{
    position: absolute;
}

.video-selector img
{
    transition: all 0.25s ease;
    width: 11vw;
}

.video-thumbnail-frame img
{
    transform: scale(1.2);
}

.video-arrow
{
    z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1vw;
}

.video-arrow-left img,
.video-arrow-right img
{
    transition: all 0.25s ease;
    width: 5vw;
    min-width: 50px;
}

.video-arrow-left img:hover,
.video-arrow-right img:hover
{
    transition: all 0.25s ease;
    transform: scale(1.1);
}

.video-dot img
{
    transition: all 0.25s ease;
    width: 2.5vw;
}

.video-dot img.active
{
    transition: all 0.25s ease;
    transform: scale(1.25);
}

/* Section 4 */

.about-us
{
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: auto;
    margin-top: 10vh;
    width: 80vw;
    height: 80vh;
    background-image: url(assets/pictures/section-4/background-image.png);
    background-size: cover;
    background-position: center;
}

.about-us-section
{
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin: 2vw;
    width: 40vw;
    height: 75vh;
    background-color: rgba(0, 128, 0, 0.541);
}

.about-us-text,
.about-us-link
{
    margin: 2vw;
}

.about-us p
{
    flex-wrap: wrap;
    text-align: left;
}

.about-us-text-paragraph
{
    font-size: 1.75vh;
}

.about-us-link
{
    align-self: flex-end;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    width: auto;
    color: black;
    font-size: 1.80vh;
    border-radius: 5px;
    background-color: #ffde59;
}

.about-us-link img
{
    margin: 0.5vw;
    height: 2.5vh;
}

.about-us-link-text-learn-more,
.about-us-link-image-learn-more
{
    margin: 1vw;
    margin-top: 0.5vw;
    margin-bottom: 0.5vw;
}

.about-us-link-image-learn-more
{
    border-radius: 5px;
    background-color: #004aad;
}

/* Section 5 */

.footer-upper
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 40vh;
    gap: 3vw;
}

.dev-log
{
    display: flex;
    flex-direction: row;
    height: 35vh;
    gap: 2vw;
    margin: 2vw;
}

.post
{
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 25vw;
    height: 35vh;
    background-color: #05408de1;
    border-radius: 5px;
}

.post-link
{
    position: absolute;
    height: 35vh;
    width: 25vw;
}

.post:hover
{
    transition: all 0.25s ease;
    transform: scale(1.1);
}

.post-content
{
    display: flex;
    flex-direction: column;
    align-content: center;
    font-size: 1.75vh;
}

.post-content-featured-image img
{
    margin-top: 2vh;
    margin-bottom: 2vh;
    width: 10vw;
    border-radius: 5px;
}

.post-content-title
{
    text-align: center;
}

.post-content-content
{
    text-align: left;
    margin-left: 2vw;
}

.post-date
{
    align-self: flex-end;
    margin: 1vw;
    text-align: right;
    font-size: 1.5vh;
}

.post-error
{
    font-size: 3vh;
    text-align: left;
}

.post-error a
{
    color: inherit;
    text-decoration: underline;
}

.dev-log-link
{
    transition: all 0.25s ease;
    align-self: flex-end;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 5vw;
    margin-bottom: 5vh;
    width: 7.5vw;
    height: 7.5vh;
    border-radius: 5px;
    background-color: rgba(0, 128, 0, 0.63);
}

.dev-log-link:hover
{
    transition: all 0.25s ease;
    transform: scale(1.1);
}

.dev-log-link-link
{
    cursor: pointer;
    position: absolute;
    width: 7.5vw;
    height: 7.5vh;
}

.dev-log-link-text
{
    border-radius: 5px;
    text-align: center;
    font-size: 1.75vh;
}

.footer
{
    height: 60vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: rgb(182, 182, 182);
    border-radius: 10px;
    margin: 1vw;
    box-shadow: 0px 0px 0.75vw white;
}

.footer-left,
.footer-right
{
    margin: 1.75vw;
    width: 40vw;
    height: 50vw;
    align-items: flex-start;
    flex-direction: column;
}

.footer-left
{
    display: flex;
    justify-content: flex-start;
    gap: 2vh;
}

.footer-left-links
{
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 2.5vh;
}

.footer-left-links a
{
    text-decoration: inherit;
    color: black;
}

.footer-left-studio-logo img
{
    height: 10vw;
    border-radius: 5px;
}

.footer-right
{
    right: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 2vh;
}

.footer-right-links
{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2.5vh;
}

.footer-right-links a
{
    text-decoration: inherit;
}

.footer-right-links img
{
    transition: all 0.25s ease;
    height: 3vh;
}

.footer-right-links img:hover
{
    transition: all 0.25s ease;
    transform: scale(1.1);
}

.footer-right-links-text-image
{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    color: black;
    font-size: 1.75vh;
    gap: 2vw;
}

.footer-right-game-store
{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    color: black;
}

.footer-right-game-store-get-game-text
{
    align-self: center;
}

.footer-right-game-store-game-list
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2vw;
}

.footer-right-game-store-game-list img
{
    transition: all 0.25s ease;
    height: 5vh;
}

.footer-right-game-store-game-list img:hover
{
    transition: all 0.25s ease;
    transform: scale(1.2);
}

/* Mobile view */

@media (max-device-width: 768px)
{
    /* Section 1 */

    .section-1-center-element
    {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .main-artwork img
    {
        height: 30vh;
    }

    .play-button img
    {
        height: 20vh;
    }

    .game-information
    {
        font-size: 27.5px;
    }

    /* Section 2 */

    .screenshot
    {
        margin-top: 50%;
    }

    .main-screenshot img
    {
        width: 80vw; /* Adjust screenshot and frame size */
        height: auto;
    }

    .screenshot-image img
    {
        transform: scale(0.89); /* Adjust to frame */
    }

    .screenshot-frame img
    {
        transform: translateX(0.09%, -0.5%); /* DO NOT CHANGE */
    }

    .screenshot-arrow-left img,
    .screenshot-arrow-right img
    {
        width: 8vw;
    }

    .image-selector
    {
        margin-top: 5vh;
        transform: scale(2.5);
    }

    /* Section 3 */

    .video
    {
        flex-direction: column-reverse;
        align-items: center;
        gap: 17.5vh;
    }

    .video-player
    {
        gap: 5vw;
    }

    .main-video img,
    .main-video video
    {
        width: 70vw; /* Adjust video and frame size */
    }

    .video-frame img
    {
        transform: scale(0.99999999) translateX(-5.95%) translateY(-11.96%); /* DO NOT CHANGE */
    }

    .main-video-audio-control img
    {
        margin-inline: 2vw;
        width: 7.5vw;
    }

    .video-selector
    {
        flex-direction: row;
        gap: 8vw;
    }

    .video-selector img
    {
        width: 25vw;
    }

    .video-frame img
    {
        width: 78.7vw;
    }

    .video-arrow-left img,
    .video-arrow-right img
    {
        transition: all 0.25s ease;
        width: 17.5vw;
        min-width: 50px;
    }

    .video-dot img
    {
        transition: all 0.25s ease;
        width: 8.75vw;
    }

    /* Section 4 */

    .about-us
    {
        justify-content: center;
    }

    .about-us-section
    {
        width: 90%;
        height: 90%;
    }

    /* Section 5 */

    .footer-upper
    {
        flex-direction: column;
        justify-content: flex-end;
        height: 50vh;
        gap: 0vh;
    }

    .footer
    {
        height: 50vh;
    }

    .post,
    .post-link
    {
        height: 32.5vh;
    }

    .post img
    {
        width: 20vw;
    }

    .post-content
    {
        margin: 1.5vw;
        font-size: 1.5vh;
    }

    .post-error
    {
        font-size: 2vh;
        align-self: center;
    }

    .dev-log-link,
    .dev-log-link-link
    {
        width: 17.5vw;
    }

    .footer-right-game-store-game-list img:hover
    {
        transform: scale(1.1);
    }
}