@font-face {
    font-family: jetbrain;
    src: url(jetbrains-mono.ttf);
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: jetbrain;
}

*::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

*::-webkit-scrollbar-track {
    background: #1100c859;
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
    background: #0040ff52;
    border-radius: 10px;
    transition: 0.3s;
}

*::-webkit-scrollbar-thumb:hover {
    background: #1600ff;
}

a {
    text-decoration: none;
    color: #0040ff;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: #000010;
    color: white;
    overflow-y: hidden;
}

main {
    width: 100%;
    height: 100%;
    max-width: 500px;
    max-height: 300px;
    position: fixed;
    z-index: 1;
    background-color: #0000aa10;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: dashed 2px #0000aa;
    border-radius: 16px;
    backdrop-filter: blur(2px);
    padding: 10px;
    user-select: none;
    display: flex;
    flex-direction: column;
}

main .top {
    width: 100%;
}

main .top .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    gap: 5px;
}

main .top .nav h4 {
    color: #a0a0a0;
    font-weight: 100;
    float: right;
    cursor: default;
    transition: 0.3s;
}

main .top .nav .active {
    color: #f8f8f8;
}

main .top .nav h4[click="1"]:hover {
    cursor: pointer;
    color: #cfcfcf;
}

main .ctn {
    /* background-color: #0000aa; */
    width: 100%;
    height: 100%;
    overflow-y: auto;
    margin-top: 5px;
}

main .ctn .tab {
    /* word-break: break-all; */
    min-height: 100%;
    display: none;
}

main .ctn .tab.home {
    display: block;
}

.tab.home .age {
    width: 100%;
    max-width: 300px;
    height: 60px;
    background-color: #0000aa30;
    border-radius: 50px;
    margin: 20px auto;
    display: flex;
    gap: 10px;
}

.tab.home .age .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #0000aa60;
    border-radius: 50%;
    animation: rtt 2s linear infinite;
}

.tab.home .age .text {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.tab.home .btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.tab.home .btn .item {
    height: 45px;
    border: solid 1px #0000aa;
    width: fit-content;
    padding: 0 10px;
    display: flex;
    gap: 10px;
    border-radius: 10px;
}

.tab.home .btn .item .icon {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
}

.tab.home .btn .item .text {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    user-select: text;
}

.tab.home .btn .item .text a {
    color: white;
}

.tab.project .item {
    width: 100%;
    height: 60px;
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    animation: showing2 1s;
}

.tab.project .item .text {
    display: flex;
    /* flex-wrap: wrap; */
    flex-direction: column;
    justify-content: center;
}

@keyframes showing2 {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes showing {
    from {
        margin-top: 10px;
        opacity: 0;
    }
    to {
        margin-top: 0;
        opacity: 1;
    }
}

@keyframes rtt {
    from {
        rotate: 0deg;
    }
    to {
        rotate: 360deg;
    }
}