html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-image: url(/images/background.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    background-color:#b7ffcb;
    background-blend-mode:multiply;
}
.center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0px;
    z-index: 11;
}

.logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
}
.links-icons {
    height:80%;
}
.logo {
    height: auto;
    width: 100%;
    max-width: 700px; 
    display: block;
    margin: 0 auto;
}
.hv {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3rem;
}

.page-border {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    border: 150px solid transparent;
    border-image: url('../images/Border.webp') 220 / 150px stretch;
    pointer-events: none;
    z-index: 10;
}
.image-border {
    border: 150px solid transparent;
    border-image: url('../images/Border.webp') 220 / 150px stretch;
}
.art-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
    width: 100%;
    padding-bottom:10%
}
.width-limiter {
    display: flex;
    justify-content: center;
    width: 90vw;
    margin: 0 auto;
    box-sizing: border-box;
}
.artcontent {
    display: block;
    height:100%;
    max-height: 200px; 
    width: auto;

    border: 20px solid transparent;
    border-image: url('/images/ArtBorder.webp') 9% fill stretch;
}
.gamecontent {
    display: block;
    height: 100%;
    max-height: 300px;
    width: auto; 

    border: 40px solid transparent;
    border-image: url('/images/ArtBorder.webp') 8.9% fill stretch;
}
.maincontent {
    width: 100vw;
    height: calc(100vh - 150px);
    display: flex;
    box-sizing: border-box;
}

.left-section {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction:column;
    margin-top:-5%;
}


.right-section {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: right;
    align-items: flex-end;
}

.character-container {
    position: relative;
    width: 75%;
    display:flex;
    justify-content:center;
    padding-right:10%;

}

.portrait {
    width: 100%;
    height: auto;
    display: block;
}



.eye {

    width: 10%;
    height: 11%;
    border-radius: 50%;
    position: absolute;
    left: 48.5%;
    top:37.5%;
    margin-left: -10%;
    margin-top: -14%;

}

.pupil {
    position: absolute;
    top: 50%;
    left: 50%;

    --move-x: 0%;
    --move-y: 0%;

    transform: translate(calc(-50% + var(--move-x)), calc(-50% + var(--move-y))); 

    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eye1 {
    margin-left: -25.5%;
}

.eye2 {
    margin-left:1%;
}
@media (max-width: 768px) {

    
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }


    .page-border {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        box-sizing: border-box;
        border: 150px solid transparent;
        border-image: url('../images/Border.webp') 220 / 50px stretch;
        pointer-events: none;
        z-index: 10;
    }

    
    .logo {
        width: 80%;
        max-width: 300px;
        height: auto;
        text-align: center;
    }
    .links-icons {
        height: 50%;
    }

    .maincontent {
        display: flex;
        flex-direction: column;
        flex: 1; 
        height: auto;
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .center-wrapper {
        display: flex;
        justify-content: center;
        position: sticky;
        width: 100vw;
        top: 0px;
        z-index: 11;
    }

    
    .left-section {
        width: 100%;
        order: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 20px 0;
        gap: 10px;
    }

        .left-section img {

            max-width: 280px;
            margin-bottom: 15px;
        }


    .right-section {
        width: 100%;
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        margin-top: -20%;
    }

 
    .character-container {
        width: 80%;
        max-width: 300px;
        padding-right: 0;
        position: relative;
    }

   
    .eye {

        width: 10%;
        height: 11%;
        border-radius: 50%;
        position: absolute;
        left: 55.5%;
        top: 37.5%;
        margin-left: -10%;
        margin-top: -14%;
    }

    .pupil {
        position: absolute;
        top:40%;
        left: 50%;
        --move-x: 0%;
        --move-y: 0%;
        transform: translate(calc(-50% + var(--move-x)), calc(-50% + var(--move-y)));
        width: 90%;
        height: 90%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .eye1 {
        margin-left: -25.5%;
    }

    .eye2 {
        margin-left: 1%;
    }
}
