@import url("style.css");

body{
    overflow-x:hidden;
    overflow-y:auto;
}

.notice-row{
    width:min(90vw, 900px);
    margin:24px auto 16px;
    display:flex;
    align-items:center;
    gap:12px;
}

.notice-box{
    flex:1;
    padding:12px 18px;
    background-color: rgba(247, 247, 242, 0.074);
    border: 1px solid rgba(247, 247, 242, 0.222);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius:18px;
    text-align:center;
    font-weight:bold;
    box-sizing:border-box;
    color:#f7f7f2;
    transition: all ease 0.3s;
}

.scroll-box{
    width:min(90vw, 900px);
    height:calc(100vh - 180px);
    min-height:520px;
    margin:0 auto 24px;
    background-color: rgba(247, 247, 242, 0.074);
    border: 1px solid rgba(247, 247, 242, 0.222);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius:24px;
    overflow:auto;
    box-sizing:border-box;
    padding:20px;
    transition: all ease 0.3s;
}

.scroll-content{
    min-height:100%;
    display:flex;
    flex-wrap:wrap;
    align-items:flex-start;
    justify-content:center;
    gap:40px;
    padding:40px 20px;
    box-sizing:border-box;
}

.folder-section{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:240px;
    height:260px;
}

.file {
    position: relative;
    width: 240px;
    height: 160px;
    cursor: pointer;
    transform-origin: bottom;
    perspective: 1500px;
    z-index: 50;
}

.work-5 {
    width: 100%;
    height: 100%;
    background: #d97706;
    position: relative;
    border-radius: 18px;
    border-top-left-radius: 0;
    transition: all ease 0.3s;
}

.work-5::after {
    content: "";
    position: absolute;
    bottom: 99%;
    left: 0;
    width: 80px;
    height: 16px;
    background: #d97706;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.work-5::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 75px;
    width: 16px;
    height: 16px;
    background: #d97706;
    clip-path: polygon(0 35%, 0% 100%, 50% 100%);
}

.work-4,
.work-3,
.work-2 {
    position: absolute;
    inset: 4px;
    border-radius: 18px;
    transition: all ease 0.3s;
    transform-origin: bottom;
}

.work-4 { background: #a1a1aa; }
.work-3 { background: #d4d4d8; }
.work-2 { background: #e4e4e7; }

.work-1 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 156px;
    background: linear-gradient(to top, #f59e0b, #fbbf24);
    border-radius: 18px;
    border-top-right-radius: 0;
    transform-origin: bottom;
    display:flex;
    align-items:flex-end;
    transition: all ease 0.3s;
}

.work-1::after {
    content: "";
    position: absolute;
    bottom: 99%;
    right: 0;
    width: 146px;
    height: 16px;
    background: #fbbf24;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.work-1::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 142px;
    width: 12px;
    height: 12px;
    background: #fbbf24;
    clip-path: polygon(100% 14%, 50% 100%, 100% 100%);
}

.folder-section:hover .work-4,
.file.hover .work-4{ transform: rotateX(-20deg); }

.folder-section:hover .work-3,
.file.hover .work-3{ transform: rotateX(-30deg); }

.folder-section:hover .work-2,
.file.hover .work-2{ transform: rotateX(-38deg); }

.folder-section:hover .work-1,
.file.hover .work-1{
    transform: rotateX(-46deg) translateY(1px);
    box-shadow: inset 0 20px 40px #fbbf24, inset 0 -20px 40px #d97706;
}

.folder-hint{
    color:#f7f7f2;
    margin:16px 0 0;
    font-size:24px;
}

.folder-tooltip{
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%);
    margin-top:12px;
    width:220px;
    padding:12px 14px;
    background:#f7f7f2;
    color:#272933;
    border-radius:12px;
    border:1px solid rgba(39,41,51,.15);
    box-shadow:0 10px 24px rgba(0,0,0,.18);
    opacity:0;
    visibility:hidden;
    pointer-events:auto;
    transition:opacity .2s ease, visibility .2s ease;
    z-index:100;
    text-align:center;
}

.folder-section.show-tooltip .folder-tooltip{
    opacity:1;
    visibility:visible;
}

.part-btn{
    display:block;
    width:100%;
    border:none;
    border-radius:10px;
    background:#272933;
    color:#f7f7f2;
    padding:8px 10px;
    margin-bottom:8px;
    cursor:pointer;
    font-size:14px;
    font-weight:700;
    text-decoration:none;
    box-sizing:border-box;
}

.part-btn:last-child{
    margin-bottom:0;
}

.home-btn,
.light-bulb-btn{
    width:44px;
    height:44px;
    min-width:44px;
    min-height:44px;
    padding:0;
    border:none;
    border-radius:50%;
    background-color: rgba(247, 247, 242, 0.074);
    border: 1px solid rgba(247, 247, 242, 0.222);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    cursor:pointer;
    flex:0 0 44px;
    position:relative;
    box-shadow:none;
    display:flex;
    align-items:center;
    justify-content:center;
    transition: all ease 0.3s;
    overflow:hidden;
}

.home-btn::before{
    content:"⌂";
    color:#f7f7f2;
    font-size:34px;
    font-weight:900;
    line-height:1;
    transform:translateY(-1px);
}

.home-btn{
    text-decoration:none;
}

.notice-box:hover,
.scroll-box:hover,
.home-btn:hover,
.light-bulb-btn:hover{
    box-shadow: 0px 0px 20px 1px rgba(247, 247, 242, 0.24);
    border: 1px solid rgba(247, 247, 242, 0.454);
}

button,input,label,option,select,table,textarea,ul.tree-view{
    -webkit-font-smoothing:none;
    font-family:"Myriad Pro";
    font-size:11px
}
button,input[type=reset],input[type=submit]{
    border:none;
    border-radius:0;
    box-sizing:border-box;
    color:transparent;
    min-height:23px;
    min-width:75px;
    padding:0 12px;
    text-shadow:0 0 #222
}
.vertical-bar,button,input[type=reset],input[type=submit].vertical-bar{
    height:20px;
    width:4px
}

@font-face {
    font-family: "Myriad Pro";
    src: url("https://dl.dropbox.com/scl/fi/z8hqw29h8a9i3a3cbbxkt/MYRIADPRO-REGULAR.OTF?rlkey=begwqxljs2gzyw26h00oeovzi&st=px0mbeax&dl=0") format("woff");
}

@media (max-width: 700px) {
    .notice-row{ width:92vw; }

    .scroll-box{
        width:92vw;
        min-height:560px;
        height:calc(100vh - 150px);
    }

    .scroll-content{
        padding:20px 0;
        gap:28px;
    }

    .folder-section{
        transform:scale(.9);
    }

    .folder-tooltip{
        width:200px;
    }
}