@keyframes spiner {
    0% {transform: rotateZ(0deg);}
    100% {transform: rotateZ(360deg);}
}
::-webkit-scrollbar{
    display: none;
}
html {
    overflow: hidden;
}
:root {
    --bg: rgb(255, 241, 214);
    --ink: black;
    --wit: white;
    --red: red;
    --yelo: rgb(255, 190, 0);
    --blu: blue;
    --red-soft: rgb(255, 140, 140);
    --blue-soft: rgb(150, 150, 255);
    --yelo-soft: rgb(160, 120, 0);
    --green: rgb(0, 159, 48);
    --green-soft: rgb(163, 216, 168);
}
body {
    display: flex;
    background: var(--bg);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    color: black;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color linear 0.2s;
}
.arrow {
    position: absolute;
    top: 0;
    left: 0;
    margin: 50px;
    transition: filter ease-in-out 0.1s;
    clip-path: inset(0 8px 0 0);
    z-index: 20;
}
.arrow:hover, .arrow:active {
    filter: invert(100%);
}
.social {
    position: absolute;
    text-align: right;
    font-size: 12px;
    right: 50px;
    top: 0;
    margin-top: 48px;
    z-index: 20;
}
.social a:hover, .social a:active {
    color: black;
}
.contact {
    position: absolute;
    text-align: right;
    font-size: 12px;
    right: 50px;
    bottom: 0;
    margin-bottom: 50px;
    padding-bottom: 4px;
    border-bottom: 1px solid black;
    width: 100%;
    clip-path: inset(0 0 0 100px);
    z-index: 20;
}
.about {
    position: absolute;
    text-align: left;
    font-size: 12px;
    left: 50px;
    bottom: 50px;
    padding-bottom: 4px;
    z-index: 20;
}
.pagetitle {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    color: black;
    pointer-events: none;
    z-index: 20;
}
.network {
    position: relative;
    width: var(--network-w, 700px);
    height: var(--network-h, 480px);
    flex-shrink: 0;
    transform: scale(var(--network-scale, 1));
    transform-origin: center;
}
.lines {
    position: absolute;
    inset: 0;
    overflow: visible;
    z-index: 0;
}
.lines line {
    stroke: black;
    stroke-width: 1.4px;
    stroke-linecap: round;
    stroke-dasharray: 0.5 6;
}
.node-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
}
.node-wrap.open {
    z-index: 10;
}
.node-wrap.workshop {
    cursor: pointer;
}
.node-wrap.workshop.open {
    cursor: default;
}
.dot-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity ease 0.2s;
}
.node-wrap.open .dot-label {
    opacity: 0;
}
.node {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--w, 60px);
    height: 26px;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    overflow: hidden;
    transition:
        width ease 0.42s,
        height ease 0.42s,
        box-shadow ease 0.25s;
}
.node-wrap.open .node {
    width: var(--sq-w, 580px);
    height: var(--sq-h, 370px);
}
.node-wrap.tech .node {
    background: rgb(30, 30, 30);
}
.node-wrap.workshop:hover .node {
    box-shadow: 0 0 16px var(--dotcolor);
}
.node-wrap.workshop.open .node {
    box-shadow: 0 0 60px var(--dotcolor);
}
.node-wrap.red { --dotcolor: var(--red); }
.node-wrap.red .node { background: var(--red); }
.node-wrap.red .dot-label { color: var(--wit); }
.node-wrap.red h2 { color: var(--red-soft);}
.node-wrap.yelo { --dotcolor: var(--yelo); }
.node-wrap.yelo .node { background: var(--yelo); }
.node-wrap.yelo .dot-label { color: var(--ink); }
.node-wrap.yelo h2 {color: var(--yelo-soft);}
.node-wrap.blue { --dotcolor: var(--blu); }
.node-wrap.blue .node { background: var(--blu); }
.node-wrap.blue .dot-label { color: var(--wit); }
.node-wrap.blue h2 {color: var(--blue-soft);}
.node-wrap.green { --dotcolor: var(--green); }
.node-wrap.green .node { background: var(--green); }
.node-wrap.green .dot-label { color: var(--wit); }
.node-wrap.green h2 { color: var(--green-soft); }
.node-wrap.tech .dot-label { color: var(--wit); }
.square-inner {
    position: relative;
    display: flex;
    width: var(--sq-w, 580px);
    height: var(--sq-h, 370px);
    opacity: 0;
    visibility: hidden;
    transition: opacity ease 0.25s;
}
.node-wrap.open .square-inner.show {
    opacity: 1;
    visibility: visible;
}
.photo {
    flex: 0 0 33.333%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.08);
    background-image: var(--photo-desktop);
    background-size: cover;
    background-position: center;
}
.info {
    position: relative;
    flex: 1;
    min-height: 0;
    height: 100%;
    box-sizing: border-box;
    padding: 30px 34px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.info h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}
.info h2 {
    margin: 6px 0 18px;
    font-size: 12px;
    font-weight: 100;
}
.info p {
    margin: 0;
    font-size: 13px;
    line-height: 19px;
    flex: 1;
}
.info .corner-note {
    position: absolute;
    font-size: 10px;
    right: 34px;
    bottom: 30px;
    flex: none;
    text-align: right;
}
.info a {
    margin-top: 16px;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    width: fit-content;
}
.close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: var(--dotcolor);
    border: none;
    font-size: 16px;
    font-family: inherit;
    color: inherit;
    cursor: pointer;
    padding: 0px 4px;
}
.close:hover {
    opacity: 0.7;
}
.spiner {
    display: inline-block;
    animation : spiner 3s linear infinite;
    margin-left: 3px;
}
.node-wrap.red .info h1, .node-wrap.red .close { color: var(--wit); }
.node-wrap.red .info p { color: var(--wit); }
.node-wrap.red .info a { color: var(--wit); }
.node-wrap.red .info a:hover { color: var(--ink); }
.node-wrap.blue .info h1, .node-wrap.blue .close { color: var(--wit); }
.node-wrap.blue .info p { color: var(--wit); }
.node-wrap.blue .info a { color: var(--wit); }
.node-wrap.blue .info a:hover { color: var(--ink); }
.node-wrap.yelo .info h1, .node-wrap.yelo .close { color: var(--ink); }
.node-wrap.yelo .info p { color: var(--ink); }
.node-wrap.yelo .info a { color: var(--ink); }
.node-wrap.yelo .info a:hover { color: var(--wit); }
.node-wrap.green .info h1, .node-wrap.green .close { color: var(--wit); }
.node-wrap.green .info p { color: var(--wit); }
.node-wrap.green .info a { color: var(--wit); }
.node-wrap.green .info a:hover { color: var(--ink); }
@media (max-width: 700px) {
    .arrow {
        margin: 10px;
        width: 20px;
        height: 20px;
        clip-path: inset(0 6px 0 0);
    }
    .social {
        right: 10px;
        margin-top: 8px;
    }
    .contact {
        right: 10px;
        margin-bottom: 10px;
        clip-path: inset(0 0 0 20px);
    }
    .about {
        left: 10px;
        bottom: 10px;
    }
    .pagetitle {
        top: 14px;
        font-size: 10px;
    }
    .node {
        height: 25px;
    }
    .dot-label {
        font-size: 12px;
    }
    .square-inner {
        flex-direction: column;
    }
    .photo {
        flex: 0 0 190px;
        width: 100%;
        height: 190px;
        background-image: var(--photo-mobile, var(--photo-desktop));
    }
    .info {
        padding: 18px 20px;
    }
    .info h1 {
        font-size: 26px;
    }
    .info h2 {
        font-size: 14px;
        margin: 6px 0 14px;
    }
    .info p {
        font-size: 15px;
        line-height: 21px;
    }
    .info a {
        font-size: 15px;
    }
    .info .corner-note {
        font-size: 12px;
        right: 20px;
        bottom: 18px;
    }
    .close {
        font-size: 20px;
    }
}
