﻿body {
    background: url('background.jpg') no-repeat center center fixed;
    background-size: 100% 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
.body2{
    background-color: rgb(145, 173, 179);
    color: aliceblue;
    width: 80%;
    margin: auto;
    padding: 30px;
    background: rgb(99,45,139);
    background: linear-gradient(180deg, rgba(99,45,139,1) 0%, rgba(9,9,121,1) 51%, rgba(0,255,223,1) 100%);
}

header {
    background-color: orange;
    
    padding: 2px;
    margin-bottom: 10px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background: rgb(2,0,36);
    
}


.class_ul {
    display: flex;
}
.class_ulli {
    padding: 20px;
    margin-right: 30px;
    text-align: center;
    transition: flex;
    transition-duration: 0.2s;
    flex-grow: 1;
    list-style-type: "⭐";
    font-family: 'Comic Sans MS', Helvetica, sans-serif;
    color: black;
    text-shadow: 1px 1px white, -1px 1px white, 1px -1px white, -1px -1px white;
}
.class_ulli:hover {
    
    border-bottom: solid 3px #2DD4BF;
    flex-grow: 3;
}
.icon_mp{
    list-style-type: "💎";
}
.icon_char{
    list-style-type: "👾";
}
.icon_sm{
    list-style-type: "🎮";
}
.icon_link{
    list-style-type: "💻";
}
.icon_comm{
    list-style-type: "⭐";
}

.fancybox{
    background-color: #000055;
border-color: #ff0055;
border-width: 10px;
    border-radius: 30px;
    width: fit-content;
    color: lightgray;
padding: 20px 30px;
}

.fancybox li {
margin: 5px 0px;
}

.screenshotbox{
    background-color: lightgray;
    border-radius: 20px;
    width: 1000px;
    height: 580px;
    margin: auto;
}

#wrapper{
    margin: auto;
    flex-direction: row;
    display: flex;
    flex: auto;
    justify-content: center;
    border-radius: 2px;
    align-items: center;
    padding-top: 20px;
}


.newbox1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #0055aa;
    border-radius: 2px;
    width: fit-content;
    margin: auto;
    gap: 10px; /* Optional spacing between boxes */
}


.newbox15 {
    flex-direction: row;
    display: flex;
    flex: auto;
    justify-content: center;
    background-color: lightgray;
    border-radius: 2px;
    align-items: center;
    width: fit-content;
    margin: auto;
}

.newbox2 {
    padding-top: 5px;
    padding-bottom: 55px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 5px;
    flex-direction: column;
    display: flex;
    flex: auto;
    background-color: white;
    border-radius: 5px;
    align-items: center;
    text-align: center;
    width: 150px;
    height: 150px;

    background: radial-gradient(circle, rgba(255,200,255,1) 0%, rgba(99,128,255,1) 100%);
    line-height: 1.1; /* allow normal readable spacing */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.newbox2 a {
margin: 4px 0;
}

.newbox2 h2 {
    font-size: 0.9rem;         /* slightly smaller to fit long names */
    margin: 4px 0;
    max-width: 100%;
    word-wrap: break-word;
    text-align: center;
    line-height: 1.2;
}

.newbox2:hover{
    color: red;
}
.boxtext {
    color: white;
font-family: Exo;
font-size:1.25em;
font-weight: bold;
-webkit-text-fill-color: white;
-webkit-text-stroke: 0.5px black;
    line-height: 1;
}


.fischl {
    flex-direction: row;
    display: flex;
    flex: auto;
    justify-content: center;
    background-color: white;
    border-radius: 30px;
    align-items: center;
    width: 60%;
    margin: auto;
}

.fischl_desc {
    
    text-align: left;
    color: black;
    text-shadow: 1px 1px white, -1px 1px white, 1px -1px white, -1px -1px white;
    font-size: 20px;
    border-radius: 30px;
    margin: 5px;
    line-height: 0.1;
}
.characterbox {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;

    background-color: aliceblue;
    border-radius: 30px;
    padding: 20px;
    margin: 30px auto;
    width: 75%;
    color: darkslategray;
    overflow: hidden;
}

/* Text block stays fixed width */
.characterbox > div:first-child {
    flex: 0 0 45%; /* Fixed width, does not stretch */
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    z-index: 2;
}

/* Render block — allow full-size image with no scaling */
.characterbox > div:last-child {
    flex: 0 0 auto;
    margin-left: auto;
    z-index: 1;
}

.characterbox img {
    image-rendering: pixelated;
    display: block;
    max-width: none;
    max-height: none;
    height: auto;
    width: auto;
}
