* { 
    /* apparently for setting default size */
    margin: 0; 
    padding: 0;
    box-sizing: border-box;
}

html {
    height:100%;
    background-color: var(--dark-blue);
    
    font-size: 120%;
    background-image: url('assets/Background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;

    /* scrollbar hiding stuff */
    ::-webkit-scrollbar {
        display: none;
    }
    scrollbar-width: none;
    overflow: auto;
}

/* vars */
:root {
    --orange:          #FFB051;
    --orange-sep:      255, 176, 81;
    --light-orange:    #FFC37F;
    --light-blue:      #C1DDFF;
    --light-blue-sep:  193, 221, 255;
    --dark-blue:       #0E2054;
    --dark-blue-sep:   14, 32, 84;
    --medium-blue:     #5982B2;
    --medium-blue-sep:  89, 130, 178;
    --vivid-blue:      #304C99;
    --vivid-blue-sep:      48, 76, 153;

    --maxwidth:  60rem;
    --spacing:   1rem;

    
    --ring-radius: 6.5rem;
    --icon-size:   2.2rem;
    --img-size:    9rem;
}


@font-face {
    font-family: 'LTSaeada';
    src: url('assets/fonts/LTSaeada-Bold.woff') format('woff');
    font-weight: bold;
}
@font-face {
    font-family: 'LTSaeada';
    src: url('assets/fonts/LTSaeada-Thin.woff') format('woff');
    font-weight: 100;
}
@font-face {
    font-family: 'LTSaeada';
    src: url('assets/fonts/LTSaeada-Regular.woff') format('woff');
    font-weight: normal;
}

/* actual css or something */
body {
    font-family: 'LTSaeada', sans-serif;
    color: #e0e0e0;
    line-height: 1.4;
    padding: 1%;
    margin: 0;
    min-height: 1vh;
    overflow-x: hidden;
}

del {
    text-decoration-thickness: 100%;
}

h1 {
    color: var(--orange);
}

h2 {
    color: var(--light-blue);
    margin-bottom: 0.5rem;
}

h2:after {
    content:"";
    background: -webkit-linear-gradient(left, var(--light-orange) 0%, var(--orange) 12%, var(--vivid-blue) 47%, rgba(var(--light-blue-sep), 0) 100%);
    display: block;
    height:0.1rem;
    width: 50%;
    position: absolute;
    margin-top: -0.2rem;
}

p {
    padding-bottom: 0.5rem;
}

a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
}

nya {
    color: rgba(var(--orange-sep), 0.5)
}

ul{
    list-style-type: square;
    padding-left: 2rem;
    /* padding-bottom: 1rem; */
}

b {
    color: var(--orange);
}

/* left-right splitter */
.split {
    display: flex;
    align-items: flex-start;
    gap: calc(var(--spacing) * 1.25)
}

.left {
    left:0%;
    flex: 1;
}

.right {
    right:0%;
    flex: 1;
}


/* for the top profile part */

.profile-container {
    max-width: var(--maxwidth);
    margin: 0 auto;
    padding-top: var(--spacing);
    padding-bottom: var(--spacing);
    padding-left: calc(var(--spacing) * 3);
    padding-right: var(--spacing);

    background: rgba(var(--dark-blue-sep), 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing);
    flex-wrap: nowrap;

    overflow: hidden;
}


.profile-header {
    flex: 1;
    min-width: 0;
    z-index: 2;
}

.profile-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--orange);
    line-height: 1.1;
}

.profile-header p {
    font-size: 1rem;
    color: var(--light-blue);
    margin-top: 0.25rem;
}


.profile-picture-area {
    position: relative;
    width:  var(--img-size);
    height: var(--img-size);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.profile-image img {
    width:  var(--img-size);
    height: var(--img-size);
    margin-top:    calc(-1 * var(--spacing));
    margin-bottom: calc(-1 * var(--spacing));
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 15px 8px rgba(var(--orange-sep), 0.7);
    position: relative;
    z-index: 2;
    display: block;
}

/* for icon ring part */
.icon-ring {
    position: absolute;
    inset: calc(-1 * (var(--ring-radius) + var(--icon-size)));
    z-index: 3;
    pointer-events: none;
}

.icon {
    pointer-events: all;
    position: absolute;
    left: 50%;
    top:  50%;

    width:  var(--icon-size);
    height: var(--icon-size);

    transform:
        translate(-50%, -50%)
        rotate(var(--angle))
        translateY(calc(-1 * var(--ring-radius)))
        rotate(calc(-1 * var(--angle)));

    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.2);
    transition: background 0.25s, box-shadow 0.25s;
}

.icon:hover {
    background: rgba(var(--medium-blue-sep), 0.7);
    box-shadow: 0 0 12px rgba(var(--medium-blue-sep), 0.6);
}
.icon:hover i, .icon:hover img  { transform: scale(1.2); }
.icon i { transition: transform 0.2s; }

.icon img  {
    transition: transform 0.2s;
    width: 100%;
    object-fit: cover;
    position: relative;
    display: block;
}

/* icons -55 to -125 on left */
.icon.youtube   { --angle: -55deg; }
.icon.discord   { --angle: -77.5deg; }
.icon.osu   { --angle: -100deg; }

.icon.youtube:hover   { 
    background: rgba(255, 0,   0,   0.7);
    box-shadow: 0 0 12px rgba(255, 0,   0,   0.6);
}
.icon.discord:hover   { 
    background: rgba(88,  101, 242, 0.7); 
    box-shadow: 0 0 12px rgba(88,  101, 242,   0.6);
}
.icon.osu:hover   { 
    background: rgba(255,  66, 170, 0.7); 
    box-shadow: 0 0 12px rgba(255,  66, 170,   0.6);
}


/* tab barrrrrrrrr */
.tab-bar {
    max-width: var(--maxwidth);
    margin: calc(var(--spacing) * 0.75) auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: 'LTSaeada', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: var(--light-blue);
    background: rgba(var(--dark-blue-sep), 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 0.35rem 1.2rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.tab-btn:hover {
    background: rgba(var(--dark-blue-sep), 0.55);
    color: var(--orange);
}

.tab-btn.active {
    background: rgba(var(--medium-blue-sep), 0.7);
    color: var(--light-orange);
    border-color: rgba(var(--light-blue-sep), 0.4);
}

/* tabsssssssss :3 */
.tab-panels {
    max-width: var(--maxwidth);
    margin: 0.5rem auto 0;
    overflow: visible;
}

.tab-panel {
    display: none;
    flex:1;

    padding: calc(var(--spacing) * 1.25) calc(var(--spacing) * 2);
    background: rgba(var(--dark-blue-sep), 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    animation: panelIn 0.2s ease;
    line-height: 1.8;
    color: var(--light-blue);
}

.tab-panel.active {
    display: block;
}

.tab-panel.hidemeow {
    display: block;
    animation: panelOut 0.2s ease;
}

.tab-panel p {
    text-align: justify;
    text-justify: auto;
}

@keyframes panelIn {
    from { opacity: 0; transform: translateX(15%); }
    to   { opacity: 1; transform: translateX(0);   }
}

@keyframes panelOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(-15%);   }
}

/* stuff inside tab panels */
.tab-img {
    width:  100%;
    height: auto;
    border-radius: 1.5rem;
    object-fit: cover;
    /* box-shadow: 0 0 15px 8px rgba(var(--orange-sep), 0.7); */
    position: relative;
    z-index: 2;
    display: block;
}

.rfloat {
    width: 33%;
    float:right;
    margin-left: 1rem;
}

.floatcontain p{
    text-wrap: pretty;
}

/* regular tab panel iamges */
.imgbox {
    background-color: rgba(var(--dark-blue-sep), 0.7);
    border-radius: 1.5rem;

    line-height: 1;
    padding: 0;
    margin-bottom: 1.5rem;
}

.imgbox img{
    width:100%;
    border-radius: 1.5rem;
}

.imgbox p, .imgbox a{
    padding: 0.6rem 1rem;
    padding-bottom: 0.8rem;
    text-align: center;
    text-justify: none;
    text-decoration: none;
}

.caption {
    padding: 0.6rem 1rem;

    /* margin-top: -3rem; */
    /* margin-bottom: 1rem; */
}

.caption p{
    text-align: center;
    text-justify: none;
}

/* LORE PANEL SPECIFIC STUFF */

/* ART PANEL SPECIFIC STUFF */

@keyframes artIn {
    from { opacity: 0;}
    to   { opacity: 1;}
}

@keyframes artOut {
    from { opacity: 1 }
    to   { opacity: 0}
}

#tab-art {
    padding-top: 0;
}

.art-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.art-btn{
    font-family: 'LTSaeada', sans-serif;
    font-size: 1rem;
    font-weight: normal;
    color: var(--light-blue);
    background: rgba(0, 0, 0, 0);
    cursor: pointer;
    transition: color 0.2s;
    border:none;
}

.art-btn.active {
    color: var(--light-orange);
}

#secretbutton {
    opacity: 0;
    animation: artOut 0.2s ease-out;
}
#secretbutton:hover {
    opacity: 1;
    animation: artIn 0.2s ease-out;
}
#secretbutton.active{
    opacity: 1;
    animation: none;
}

.gallery {
    display:none;
    column-count: 3;
    column-gap: 1rem;
    margin: 0 auto;
    animation: artIn 0.2s ease-in;
}

.gallery.active {
    display: block;
}

.gallery.hidemeow {
    display: block;
    animation: artOut 0.2s ease-out;
}

.gallery div.imgbox{
    padding:0rem;
    display:flex;
    flex-direction: column;
    break-inside: avoid;
    margin-bottom: 1rem;
}

.gallery div img{
    width:100%;
    height:auto;
}

.gallery img + p, .gallery img + a {
    margin-top: 0.5rem;
}

.gallery p, .gallery a{
    padding:0.5rem 0.75rem;
    padding-top:0rem;
}

.author{
    color:var(--orange);
}

/* HOME PANEL SPECIFIC STUFF */
#tab-home {
    width: 65%;
    margin: 0 17.5%;

    text-align: center;
    line-height:1.2;
}

/* CREDITS PANEL SPECIFIC STUFF */


#tab-credits p, #tab-credits a{
    line-height: 1.3;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

#tab-credits a{
    /* color: var(--light-orange); */
    text-decoration: underline dashed;
    font-size: larger;
}

#tab-credits h1{
    padding-bottom: 0rem;
}

#tab-credits h2 {
    margin-top: 0.5rem;
}

#tab-credits h2::after{
    margin-top:-.5rem;
    /* margin-bottom: .5rem; */
}

/* links for the 1 time i was using those (there were more before) */
.linky {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.linky a {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    background: rgba(var(--dark-blue-sep), 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--light-blue);
    font-family: 'LTSaeada', sans-serif;
    font-size: 0.9rem;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.linky a img{
    height: 2rem;
}

.linky a:hover {
    background: rgba(var(--light-blue-sep), 0.2);
    color: var(--orange);
    
}

/* feet */
footer {
    display:flex;
    margin-top: calc(var(--spacing) * 1.5);
    justify-content: center;
    width: 100%;
    padding-bottom: calc(var(--spacing) * 1.5);
}

footer div#feetcontainer{
    display:flex;
    overflow: hidden;

    height: 2rem;
    width:fit-content;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;

    gap: 0.5rem;
    padding: 0 1rem;

    color: var(--light-blue);
    background: rgba(var(--dark-blue-sep), 0.5);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

#pleaseverticallycentre {
	vertical-align: middle;
	text-align: center;
}

footer p {
    display: flex;
    text-wrap: none;
	height: 100%;
    flex: 1 1 70%;
    font-size: 0.75rem;
	text-align: center;
	vertical-align: middle;
}

footer img{
    display:flex;
    flex: 0;
    padding: 0.2rem 0;
    height:100%;
    width:auto;
    max-width: min-content;
    object-fit: contain;
}

/* MY PANEL SPECIFIC STUFF :3 */

#tab-meow {
    background: rgba(0,0,0,0);
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;

    column-count: 2;
    column-gap: 1rem;

    flex-direction: row;
    flex-wrap: wrap;

    margin: 0 0;
    padding: 0 0;
}

#tab-meow.active {
    display:flex;
}

.meow-panel {
    display: flex;
    flex-direction: column;
    flex: 0 2 30%;

    padding: calc(var(--spacing) * 1.25) calc(var(--spacing) * 2);
    background: rgba(var(--dark-blue-sep), 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    line-height: 1.8;
    color: var(--light-blue);

    margin-bottom: 1rem;
}

.meow-wide {
    flex:2 2 35%;
}

.meow-thin {
    flex:1 2 15%;
}
.meow-thin p {
    text-align: left;
    text-justify: none;
}

.meow-img {
    object-fit: cover;
    padding: 0;
}
.meow-img img {
    border-radius: 1.5rem;
}

#tab-meow img{
    max-width: 100%;
}

ul#foodlist li:nth-last-child(5) {opacity:0.8;}
ul#foodlist li:nth-last-child(4) {opacity:0.7;}
ul#foodlist li:nth-last-child(3) {opacity:0.4;}
ul#foodlist li:nth-last-child(2) {opacity:0.1;}
ul#foodlist li:nth-last-child(1) {opacity:0.05;}

meowtiny {
    font-size: small;
    font-weight: normal;
}


/* for mobile */

@media (max-width: 650px) {
    html {
        font-size: 90%;
        overflow-x: hidden;
    }

    .profile-container {
        flex-direction: column-reverse;
        border-radius: 1rem;
        padding: calc(var(--spacing) * 1.5) var(--spacing);
        text-align: center;
    }

    p { 
        text-justify: auto !important;
    }

    h1 {font-size:1.5rem}
    h2 {font-size:1rem}

    .profile-header h1 { font-size: 2rem; }

    /* icons owo */
    .icon.youtube   { --angle: -55deg; }
    .icon.discord   { --angle: -77.5deg; }

    .tab-btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.9rem;
    }

    .tab-panel {
        border-radius: 1rem;
        padding: var(--spacing);
    }

    .tab-img {
        border-radius: 1rem;
    }

    .gallery {
        column-count: 2;
    }

    .meow-panel {
        flex: 1 0 max(30%, min(20rem, 100%));
    }
}


@media (max-width: 400px) {
    .rfloat {
        width: 40%;
        float:right;
    }
    .gallery {
        column-count: 1;
    }
}