@font-face {
    font-family: "UltraFont";
    src: url("assets/fonts/UltraFont.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

html {
    background-color: #000000;
    font-family: "UltraFont", sans-serif;
}

* {
    box-sizing: border-box;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

body {
    margin: 0;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
}

main {
    width: min(calc(100vw - 40px), 1400px);
    height: min(calc(100vh - 180px), 900px);

    border: 3px solid white;
    background: #222;
    padding: 15px;
}

.top-header,
main,
.terminal-box {
    border: 3px solid white;
    box-shadow:
        inset 0 0 0 3px #222222,
        inset 0 0 0 6px white;
}

.top-header {
    box-sizing: border-box;
    width: 100%;

    color: white;
    font-size: 60px;
    text-align: center;

    margin-top: 30px;
    margin-bottom: 30px;

    background-color: #313030;
}

.sub-terminal {
    width: 100%;
    height: 20px;

    background-color: black;
    color: white;

    font-size: 20px;
    line-height: 20px;

    position: relative;
    overflow: hidden;

    user-select: none;
}

.terminal-header {
    width: 100%;
    height: 20px;

    background-color: black;
    color: white;

    font-size: 20px;
    line-height: 20px;

    position: relative;
    overflow: hidden;

    user-select: none;
}

.terminal-box {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 15px;

    width: 100%;
    height: 100%;
    min-height: 0;
    background-color: #222222;

    color: white;
    padding: 15px;
}

.terminal-ins {
    width: 100%;
    height: auto;
    min-height: 0;

    background-color: #222222;
    color: white;
    padding: 15px;

    box-sizing: border-box;
}

.links {
    height: 100%;

    border: 3px solid white;
    padding: 10px;

    text-align: center;

    display: flex;
    flex-direction: column;

    overflow-y: auto;
    overflow-x: hidden;
}

.links a {
    color: white;
    text-decoration: none;

    display: block;

    font-size: 25px;
    margin: 25px 0;
}

.links a:hover {
    color: yellow;
}

.profile-container {
    margin-top: auto;
}

.jerky {
    display: inline-block;
    animation: jerky 0.5s infinite;
}

.neocitify {
    width: 88px;
    height: 31px;
    display: inline-block;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    object-fit: fill;
    transform: scale(2);
    transform-origin: center;
    vertical-align: middle;
}

.profile-image {
    width: 120px;
    height: 120px;

    object-fit: cover;

    border: 12px solid white;
    border-image-source: url(assets/images/pfpBorder.png);
    border-image-slice: 15;

    image-rendering: pixelated;

    margin-bottom: 5px;
    transition: .2s;
}

.profile-image:hover {
    border-color: yellow;
}

.content {
    border: 3px solid white;
    padding: 10px;

    overflow-y: auto;
    min-height: 0;

    text-align: center;
}

.ch-2 {
    text-align: center;
    font-size: 50px;
    margin-top: 20px;
}

.v2-gif {
    width: 40%;
    height: auto;

    display: block;

    margin: 20px auto;
}

#terminal-text {
    position: relative;
    width: 100%;
    height: 100%;
}

.terminal-letter {
    position: absolute;
    top: 0;

    white-space: pre;
}

.neoButtons {
    width: 20%;
    height: 10%;
}

.home-list {
    font-size: 30px;
    width: fit-content;
    margin-left: 20px;
    text-align: left;
}

.shakeEffect {
    display: inline-block;
    padding: 4px;
    animation: shake 0.5s infinite;
}

.about-container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
}

.about-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 3px solid white;
}

.about-text {
    white-space: nowrap;
    text-align: left;
    font-size: 25px;
}

.gallery-conveyor {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.artgallery {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.artgallery {
    width: auto;
    height: 200px;
}

.friend_card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 40px 0;
}

.friend_card.reverse {
    flex-direction: row-reverse;
}

.friends_ref {
    width: 300px;
    height: auto;

    border: 20px solid transparent;
    border-image: url("assets/images/pfpBorder.png") 20 stretch;
}

.button88x31 {
    width: 150px;
    height: auto;
    image-rendering: pixelated;
}

.friend_info {
    display: flex;
    flex-direction: column;
}

.friend_info h1 {
    margin: 0;
}

.friend_info p {
    margin-top: 10px;
}

.bouncy {
    position: relative;
    top: 0;
    animation: bounce 0.3s ease infinite alternate;
}

.wavey {
    font-weight: 600;
    font-size: 32px;
    line-height: 1.1;
    font-family: "JetBrains Mono", monospace;
    letter-spacing: .1em;
}

.wavey span {
    display: inline-block;
    animation: wavey 1.3s ease-in-out infinite;
    animation-delay: calc(var(--i) * -.14s);
}

@keyframes wavey {
    0%, 100% {
        transform: translateY(7px);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes bounce {
    100% {
        top: -0.5rem;
    }
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }
    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }
    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }
    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }
    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }
    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }
    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }
    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }
    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }
    100% {
        transform: translate(1px, -2px) rotate(0deg);
    }
}

@keyframes jerky {
    0% {
        transform: rotate(2deg);
    }

    50% {
        transform: rotate(2deg);
    }

    51% {
        transform: rotate(-2deg);
    }

    100% {
        transform: rotate(-2deg);
    }
}

.guestbook-container{
    width: 90%;
    margin: auto;
}

.guest-input,
.guest-textarea{
    width: 100%;
    box-sizing: border-box;

    background: #000;
    color: white;

    border: 3px solid white;

    padding: 10px;

    font-family: "UltraFont", sans-serif;
    font-size: 25px;

    margin-bottom: 12px;
}

.guest-input::placeholder,
.guest-textarea::placeholder{
    color: #777;
}

.guest-textarea{
    height: 180px;
    resize: vertical;
}

.guest-submit{
    font-family: "UltraFont", sans-serif;
    font-size: 28px;

    background: black;
    color: white;

    border: 3px solid white;

    padding: 10px 30px;

    cursor: pointer;

    transition: .15s;
}

.guest-submit:hover{
    background: white;
    color: black;
}

.guest-submit:active{
    transform: scale(.96);
}

.guest-post{
    margin-top: 20px;

    border: 3px solid white;

    padding: 15px;

    background: #050505;

    box-shadow: 0 0 10px rgba(255,255,255,.15);
}

.guest-post h3{
    margin: 0;
    color: #ffd000;
    font-size: 32px;
}

.guest-post p{
    margin: 12px 0;
    font-size: 24px;
    white-space: pre-wrap;
}

.guest-post small{
    color: #999;
    font-size: 18px;
}

.guest-file {
    display: inline-block;
    font-family: "UltraFont", sans-serif;
    color: white;
    background: black;
    border: 2px solid white;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 20px;
    box-shadow: inset 0 0 0 2px black;
    transition: 0.2s;
}

.guest-file:hover {
    background: white;
    color: black;
}

.guest-file input {
    display: none;
}

.guest-image-container {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.guest-image {
    max-width: 300px;
    max-height: 300px;
    border: 2px solid white;
    image-rendering: pixelated;
}