/* ---------- Background ---------- */

body{
    margin:0;
    padding:0;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    color:white;
}

.home{
    background-image:url("egg.png");
    background-repeat:repeat;
    background-size:220px;
}

.diary{
    background-image:url("cat.png");
    background-repeat:repeat;
    background-size:220px;
}

.art{
    background-image:url("star.png");
    background-repeat:repeat;
    background-size:220px;
}


/* ---------- Navigation ---------- */

nav{
    background:#1d1d1d;

    text-align:center;

    padding:15px;

    border-bottom:3px solid white;
}

nav a{

    color:white;

    text-decoration:none;

    font-weight:bold;

    margin:0 20px;

    font-size:18px;

    transition:.2s;
}

nav a:hover{

    color:#ffb6d9;

}


/* ---------- Main Banner ---------- */

.banner{

    width:70%;

    max-width:800px;

    margin:80px auto;

    padding:40px;

    background:rgba(20,20,20,.80);

    border:4px solid white;

    border-radius:10px;

    text-align:center;

    box-shadow:0px 0px 20px rgba(0,0,0,.5);

}

.banner h1{

    margin-top:0;

    font-size:42px;

}

.banner p{

    font-size:18px;

    line-height:1.8;

}

/* Character layout */

.character-container{

    display:flex;

    gap:35px;

    align-items:flex-start;

    margin-top:30px;

}

/* Clickable square */

.character-card{

    width:220px;

    text-decoration:none;

    color:white;

    background:#111;

    transition:.2s;

    flex-shrink:0;

}

.character-card:hover{

    transform:scale(1.05);

    box-shadow:0 0 15px hotpink;

}

.character-card img{

    width:100%;

    height:220px;

    object-fit:cover;

    display:block;

}

/* Name */

.character-name{

    background:#222;

    padding:12px;

    text-align:center;

    font-size:24px;

    font-weight:bold;

}

/* Description */

.character-description{

    flex:1;

    min-height:400px;

    background:white;

    color:black;

    padding:25px;

    border:3px solid #222;

    line-height:1.7;

}

.character-description h2{

    margin-top:0;

}

/* Character selection page */

.character-grid{
    display:flex;
    gap:30px;
    margin-top:40px;
    justify-content:center;
    flex-wrap:wrap;
}

.character-square{

    width:180px;
    height:180px;

    background:#222;

    text-decoration:none;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.2s;

}

.character-square:hover{

    transform:scale(1.05);

    background:#444;

    box-shadow:0 0 20px hotpink;

}

.square-name{
    color:white;
    font-size:36px;
    font-weight:bold;
}

/* ===========================
   LYS PAGE
=========================== */

 .lys-page{
    margin:0;
    padding:0;
    background:#ecd487;
    color:black;
}

.profile{
    width:95%;
    max-width:1400px;
    margin:30px auto;
    background:white;
    display:flex;
    min-height:700px;
}

.left-column{
    width:300px;
    min-width:300px;
    border-right:2px solid black;
    padding:20px;
    box-sizing:border-box;
    display:flex;
    justify-content:center;
    align-items:flex-start;
}

.left-column img{
    width:220px;
    height:auto;
    display:block;
}

.right-column{
    flex:1;
    padding:35px;
    box-sizing:border-box;
    color:black;
}

.right-column h1{
    margin-top:0;
    font-size:42px;
}

.right-column h2{
    margin-top:10px;
    font-size:28px;
}

.right-column p{
    font-size:18px;
    line-height:1.8;
}