body{
    font-family: Arial, Helvetica, sans-serif;
    margin:0;
    background:#111;
    color:white;
    text-align:center;
}

header{
    background:#cc0000;
    padding:25px;
}

section{
    padding:40px;
    max-width:1000px;
    margin:auto;
}

.profile{
    width:200px;
    border-radius:50%;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-top:20px;
}

.grid img{
    width:100%;
    border-radius:10px;
    transition:0.3s;
}

.grid img:hover{
    transform:scale(1.05);
}

blockquote{
    background:#222;
    padding:20px;
    border-left:5px solid red;
}

.quote-author{
    text-align:right;
    font-style:italic;
}

ul{
    list-style:none;
    padding:0;
}

ul li{
    margin:10px 0;
}

a{
    color:#ff4c4c;
    text-decoration:none;
}

a:hover{
    text-decoration:underline;
}

footer{
    background:#000;
    padding:30px;
}

.copyright{
    margin-top:20px;
    font-size:14px;
}

.navbar{
    background:#000;
    padding:10px;
}

.navbar ul{
    display:flex;
    justify-content:center;
    gap:25px;
    list-style:none;
    margin:0;
    padding:0;
}

.navbar a{
    color:white;
    font-weight:bold;
    text-decoration:none;
    padding:8px 12px;
}

.navbar a:hover{
    background:red;
    border-radius: 5px;
}

html{
    scroll-behavior:smooth;
}

#subcount{
    text-align:center;
    margin:40px 0;
}


#subcount iframe{
    max-width:115%;
}

#fanart {
    background: #1a1a1a; /* Slightly different dark grey to separate the section */
    border-top: 2px solid #cc0000;
}

.fanart-item p {
    font-size: 14px;
    margin-top: 5px;
    color: #bbb;
}

.fanart-item img:hover {
    box-shadow: 0 0 15px #cc0000; /* Red glow on hover */
    transform: scale(1.05);
}

.grid2 {
    display: grid;
    /* Changed 250px to 150px so more columns can fit side-by-side */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 20px;
    margin-top: 20px;
    justify-items: center; /* Ensures the items stay centered in their boxes */
}

.grid2 img {
    /* Set this back to 100% so the image fills the smaller grid box */
    width: 100%; 
    max-width: 300px; /* Limits how big the fan art can get on huge screens */
    border-radius: 5px;
    transition: 0.3s;
}

.grid2 img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #cc0000; /* Adds a horror-themed glow on hover */
}

@media (max-width: 400px){
    body{
    font-family: Arial, Helvetica, sans-serif;
    margin:0;
    background: rgb(194, 193, 193);
    color:black;
    text-align:center;
}

header{
    background: lightcoral;
    padding:25px;
}

section{
    padding:40px;
    max-width:1000px;
    margin:auto;
}

.profile{
    width:200px;
    border-radius:50%;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:10px;
    margin-top:10px;
}

.grid img{
    width:70%;
    border-radius:5px;
    transition:0.3s;
}

.grid img:hover{
    transform:scale(1.05);
}

blockquote{
    background:lightcoral;
    color: black;
    padding:0px;
    border-left:5px solid darkblue;
    border-bottom:5px solid darkblue;
}

.quote-author{
    text-align:right;
    font-style:italic;
}

ul{
    list-style:none;
    padding:0;
}

ul li{
    margin:10px 0;
}

a{
    color: darkblue;
    text-decoration:none;
}

a:hover{
    text-decoration:underline;
}

footer{
    background:gray;
    padding:30px;
}

.copyright{
    margin-top:20px;
    font-size:14px;
}

.navbar{
    background: lightgray;
    padding:0px;
}

.navbar ul{
    display:flex;
    justify-content:center;
    gap:25px;
    list-style:none;
    margin:0;
    padding:0;
}

.navbar a{
    color:black;
    font-weight:bold;
    text-decoration:none;
    padding:8px 12px;
}

.navbar a:hover{
    background: darkblue;
    border-radius: 5px;
}

html{
    scroll-behavior:smooth;
}

#subcount{
    text-align:center;
    margin:0 0;
}


#subcount iframe{
    max-width:150%;
}

#fanart {
    background: #1a1a1a; /* Slightly different dark grey to separate the section */
    border-top: 2px solid #cc0000;
}

.fanart-item p {
    font-size: 14px;
    margin-top: 5px;
    color: #bbb;
}

.fanart-item img:hover {
    box-shadow: 0 0 15px #cc0000; /* Red glow on hover */
    transform: scale(1.05);
}

.grid2 {
    display: grid;
    /* Changed 250px to 150px so more columns can fit side-by-side */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 20px;
    margin-top: 20px;
    justify-items: center; /* Ensures the items stay centered in their boxes */
}

.grid2 img {
    /* Set this back to 100% so the image fills the smaller grid box */
    width: 100%; 
    max-width: 300px; /* Limits how big the fan art can get on huge screens */
    border-radius: 5px;
    transition: 0.3s;
}

.grid2 img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #cc0000; /* Adds a horror-themed glow on hover */
}
}
