/*======================================================
    KATMON ART DUMP
    STYLE.CSS
======================================================*/



/*======================================================
    VARIABLES
======================================================*/

:root{

    /*========== COLORS ==========*/

    --background:#F8F7F9;

    --panel:#FFFFFF;

    --line:#8DA9C4;

    --text:#3E2C75;

    --accent:#8DA9C4;

    --checker:#161A822E;

    --shadow:rgba(62,44,117,.08);



    /*========== TYPOGRAPHY ==========*/

    --font:"Pixelify Sans",sans-serif;

    --title:34px;

    --heading:26px;

    --subheading:20px;

    --body:17px;



    /*========== SIZING ==========*/

    --width:980px;

    --radius:12px;

    --padding:24px;

    --gap:28px;



    /*========== BORDERS ==========*/

    --outerBorder:2px dashed var(--line);

    --innerBorder:1px solid var(--line);

    --imageBorder:1px solid var(--line);



    /*========== EFFECTS ==========*/

    --transition:.25s;

}

/*======================================================
    RESET
======================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}



/*======================================================
    BODY
======================================================*/

body{

    font-family:var(--font);

    font-size:var(--body);

    color:var(--text);

    line-height:1.7;



    background-color:#F8F7F9;

    background-image:

    linear-gradient(45deg,var(--checker) 25%,transparent 25%),

    linear-gradient(-45deg,var(--checker) 25%,transparent 25%),

    linear-gradient(45deg,transparent 75%,var(--checker) 75%),

    linear-gradient(-45deg,transparent 75%,var(--checker) 75%);

    background-size:64px 64px;

    background-position:

    0 0,

    0 32px,

    32px -32px,

    -32px 0;

}



/*======================================================
    CONTAINER
======================================================*/

.container{

    width:var(--width);

    margin:60px auto;

    background:var(--background);

    border:var(--outerBorder);

    border-radius:var(--radius);

    overflow:hidden;



    box-shadow:

    0 0 0 4px rgba(141,169,196,.15),

    8px 8px 0 var(--shadow);

}



/*======================================================
    HEADER
======================================================*/

header{

    padding:var(--padding);

}



/*======================================================
    TOP BAR
======================================================*/

.topBar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding-bottom:18px;

    border-bottom:var(--innerBorder);

}



/*======================================================
    LOGO
======================================================*/

.logo img{

    height:45px;

    width:auto;

    display:block;

}



/*======================================================
    SITE TITLE
======================================================*/

.siteTitle{

    display:flex;

    gap:10px;

    align-items:center;

    font-size:18px;

    font-weight:bold;

}



/*======================================================
    NAVIGATION
======================================================*/

.navBar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding-top:18px;

}



.searchText{

    font-weight:bold;

}



.navLinks{

    display:flex;

    align-items:center;

    gap:10px;

}



.navLinks a{

    color:var(--text);

    text-decoration:none;

    transition:var(--transition);

}



.navLinks a:hover{

    color:var(--accent);

}



.navLinks a.activeLink{

    color:var(--accent);

}



/*======================================================
    MAIN
======================================================*/

main{

    border-top:var(--innerBorder);

    padding:35px;

    min-height:650px;

}



/*======================================================
    PAGE SYSTEM
======================================================*/

.page{

    display:none;

    animation:fade .25s;

}



.page.active{

    display:block;

}



@keyframes fade{

    from{

        opacity:0;

        transform:translateY(10px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}



/*======================================================
    TYPOGRAPHY
======================================================*/

h1{

    font-size:var(--title);

    margin-bottom:18px;

}



h2{

    font-size:var(--heading);

    margin-bottom:16px;

}



h3{

    font-size:var(--subheading);

    margin-bottom:10px;

}



p{

    margin-bottom:16px;

}



hr{

    border:none;

    border-top:var(--innerBorder);

    margin:24px 0;

}



/*======================================================
    LINKS
======================================================*/

a{

    cursor:pointer;

}



img{

    display:block;

    max-width:100%;

}

/*======================================================
    HOME
======================================================*/

.homeLayout{

    display:grid;

    grid-template-columns:280px 1fr;

    gap:40px;

    align-items:start;

}



.homeSidebar{

    display:flex;

    flex-direction:column;

    gap:20px;

}



.homeImage{

    width:100%;

    background:var(--panel);

    border:var(--imageBorder);

    padding:8px;

}



.statusBox{

    background:var(--panel);

    border:var(--imageBorder);

    padding:18px;

}



.statusBox h3{

    margin-bottom:15px;

    padding-bottom:8px;

    border-bottom:var(--innerBorder);

}



.statusBox p{

    margin-bottom:14px;

}



.homeContent{

    display:flex;

    flex-direction:column;

}



.homeContent h1{

    margin-bottom:20px;

}



/*======================================================
    PROFILE
======================================================*/

.profileGrid{

    display:grid;

    grid-template-columns:280px 1fr;

    gap:40px;

}



.profileLeft{

    display:flex;

    flex-direction:column;

    gap:20px;

}



.profilePic{

    width:100%;

    background:var(--panel);

    border:var(--imageBorder);

    padding:8px;

}



.profileLeft h3{

    padding-bottom:8px;

    border-bottom:var(--innerBorder);

}



.profileLeft ul{

    padding-left:20px;

}



.profileLeft li{

    margin-bottom:8px;

}



.profileRight{

    display:flex;

    flex-direction:column;

}


/*======================================================
    YEAR SECTIONS
======================================================*/

.yearSection{

    margin-bottom:50px;

}



.yearSection h2{
  
    padding-top:10px;
    
    padding-bottom:10px;

    margin-bottom:25px;
    
    border-top:var(--innerBorder);

    border-bottom:var(--innerBorder);

}



/*======================================================
    GALLERY
======================================================*/

.galleryGrid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(220px,1fr));

    gap:25px;

}



.galleryCard{

    background:var(--panel);

    border:var(--imageBorder);

    padding:10px;

    transition:var(--transition);

}



.galleryCard:hover{

    transform:translateY(-4px);

}



.galleryCard img{

    width:100%;

    aspect-ratio:1/1;

    object-fit:cover;

    margin-bottom:12px;

}



.galleryCard h3{

    margin-bottom:6px;

}



.galleryCard p{

    margin-bottom:0;

    font-size:15px;

}



/*======================================================
    ANIMATION
======================================================*/

.videoCard{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:30px;

    margin-bottom:35px;

    padding-bottom:35px;

    border-bottom:var(--innerBorder);

}



.videoCard:last-child{

    margin-bottom:0;

    padding-bottom:0;

    border:none;

}



.videoCard iframe{

    width:100%;

    aspect-ratio:16/9;

    border:var(--imageBorder);

}



.videoCard h3{

    margin-bottom:15px;

}



/*======================================================
    COMMON PANELS
======================================================*/

.homeImage,

.profilePic,

.galleryCard,

.statusBox,

.videoCard iframe{

    box-shadow:

    3px 3px 0 rgba(62,44,117,.05);

}



/*======================================================
    FOOTER
======================================================*/

footer{

    border-top:var(--innerBorder);

    text-align:center;

    padding:20px;

    font-size:14px;

}



/*======================================================
    SMALL RETRO DETAILS
======================================================*/

::selection{

    background:var(--line);

    color:white;

}



.navLinks a{

    position:relative;

}



.navLinks a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-3px;

    width:0;

    height:1px;

    background:var(--line);

    transition:var(--transition);

}



.navLinks a:hover::after,

.navLinks a.activeLink::after{

    width:100%;

}



.galleryCard img,

.profilePic,

.homeImage{

    transition:var(--transition);

}



.galleryCard:hover img{

    transform:scale(1.02);

}



.homeImage:hover,

.profilePic:hover{

    transform:scale(1.02);

}

/*======================================================
    RESPONSIVE
======================================================*/

@media screen and (max-width:1000px){

    .container{

        width:95%;

        margin:30px auto;

    }

    .homeLayout,

    .profileGrid{

        grid-template-columns:1fr;

    }

    .homeSidebar{

        align-items:center;

    }

    .homeImage,

    .profilePic{

        max-width:280px;

    }

    .videoCard{

        grid-template-columns:1fr;

    }

    .galleryGrid{

        grid-template-columns:repeat(auto-fill,minmax(180px,1fr));

    }

}



@media screen and (max-width:700px){

    .topBar{

        flex-direction:column;

        gap:15px;

        text-align:center;

    }

    .siteTitle{

        justify-content:center;

        flex-wrap:wrap;

    }

    .navBar{

        flex-direction:column;

        align-items:flex-start;

        gap:15px;

    }

    .navLinks{

        flex-wrap:wrap;

        line-height:2;

    }

    main{

        padding:25px;

    }

    h1{

        font-size:28px;

    }

    h2{

        font-size:22px;

    }

}



/*======================================================
    SCROLLBAR
======================================================*/

::-webkit-scrollbar{

    width:12px;

}

::-webkit-scrollbar-track{

    background:var(--background);

}

::-webkit-scrollbar-thumb{

    background:var(--line);

    border:3px solid var(--background);

}

::-webkit-scrollbar-thumb:hover{

    background:var(--text);

}



/*======================================================
    IMAGE EFFECTS
======================================================*/

.galleryCard img,

.homeImage,

.profilePic{

    image-rendering:auto;

}

.galleryCard:hover{

    box-shadow:

    6px 6px 0 rgba(62,44,117,.10);

}

.videoCard iframe:hover{

    transform:scale(1.01);

    transition:var(--transition);

}



/*======================================================
    LINKS
======================================================*/

a{

    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);

}

a:visited{

    color: var(--text);

}

a:hover{

    color: var(--accent);

}

a:active{

    color: var(--accent);

}

.navLinks a.activeLink{

    color: var(--accent);

}

.navLinks a::after{

    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;

    width: 0;
    height: 1px;

    background: var(--line);

    transition: var(--transition);

}

.navLinks a:hover::after,
.navLinks a.activeLink::after{

    width: 100%;

}



/*======================================================
    LISTS
======================================================*/

ul{

    line-height:1.8;

}



/*======================================================
    PARAGRAPHS
======================================================*/

p{

    max-width:70ch;

}



/*======================================================
    IMAGES
======================================================*/

img{

    user-select:none;

}



/*======================================================
    RETRO TOUCHES
======================================================*/

.statusBox,

.galleryCard,

.profilePic,

.homeImage{

    background-image:

    linear-gradient(

        rgba(255,255,255,.25),

        rgba(255,255,255,0)

    );

}



.galleryCard h3{

    color:var(--text);

}



.yearSection:first-child{

    margin-top:10px;

}



/*======================================================
    OPTIONAL CLASSES
======================================================*/

.center{

    text-align:center;

}

.right{

    text-align:right;

}

.small{

    font-size:14px;

}

.large{

    font-size:20px;

}

.hidden{

    display:none;

}

/*======================================================
    LIGHTBOX
======================================================*/

.lightbox{

    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.9);

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.lightbox.active{

    display:flex;

}

#lightboxImage{

    max-width:90%;

    max-height:90%;

}

/*======================================================
    END OF FILE
======================================================*/

.profileImageContainer{

    position: relative;
    display: inline-block;

}

.imageTooltip{

    position: absolute;

    bottom: 110%;
    left: 50%;

    transform: translateX(-50%);

    background: #1a1a1a;
    color: white;

    padding: 6px 10px;
    border-radius: 6px;

    font-size: 12px;
    white-space: nowrap;

    opacity: 0;
    pointer-events: none;

    transition: opacity .25s ease;

}

.profileImageContainer:hover .imageTooltip{

    opacity: 1;

}

.imageTooltip::after{

    content: "";

    position: absolute;

    top: 100%;
    left: 50%;

    transform: translateX(-50%);

    border: 6px solid transparent;
    border-top-color: #1a1a1a;

}