
@font-face {
    font-family: "RondaSeven";
        src: url("https://kaidusk.neocities.org/fonts/pf_ronda_seven.ttf") format("truetype");
}

body {
    margin: 0;
    background: linear-gradient(to bottom, #3243d0, #141d6e);
    font-family: "RondaSeven", monospace;
}


.banner {
    background: #000;
    text-align: center;
}

.banner img {
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Top Navigation */

.navbar {
    background: #000;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    color: white;
    
}

.navbar ul {
    margin: 0;
    padding: 8px 0;
    list-style: none;

    display: flex;
    justify-content: center;
    gap: 14px;
}

.navbar a {
    color: white;
    text-decoration: underline;
    font-size: 14px;
}


.layout {
    max-width: 950px;
    margin: 12px auto;
    display: flex;
    gap: 12px;
}


.sidebar {
    width: 250px;
}


.box {
    background: white;
    border: 4px solid black;
    border-radius: 14px;
    padding: 12px;
    box-sizing: border-box;
}



.menu-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-box li {
    margin-bottom: 10px;
}

.menu-box a {
    color: black;
    font-size: 10px;
    text-decoration: underline;
}



.news-box {
    margin-top: 10px;
    padding: 0;
    overflow: hidden;
}

.news-title {
    background: black;
    color: white;
    text-align: center;
    font-size: 18px;
    padding: 3px;
}

.news-content {
    padding: 5px;
    line-height: 1.5;
    font-size: 12px;
}



.content {
    flex: 1;
}

.content-box {
    background: white;
    border: 4px solid black;
    border-radius: 14px;
    min-height: 642px;
    padding: 20px 40px;
}

.content-box h1 {
    text-align: center;
    font-size: 52px;
    margin-top: 0;
}

.content-box p {
    font-size: 14px;
}

.post h2 {
    margin-bottom: 5px;
}

.post h2 a {
    color: black;
    text-decoration: underline;
}

.date {
    margin-bottom: 20px;
}

h1 {
    text-align: center;
    font-size: 48px;
    margin: 0 0 10px 0;
}

.project {
    display: flex;
    gap: 0px;
    padding-bottom: 10px;

}

.project:last-child {
    border-bottom: none;
}

.project-image {
    width: 400px;
    flex-shrink: 0;
}

.project-image img {
    width: 380px;
    display: block;
}

.project-info {
    flex: 1;
}

.project-info h2 {
    margin: 0;
    font-size: 24px;
    text-decoration: underline;
}

.meta {
    color: #999;
        font-size: 12px;
    margin-top: 4px;
}

.project-info h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 20px;
}

.description-box {
    height: 220px;
    overflow-y: auto;

    padding: 8px;

    border: 2px solid #000;
    background: #ffffff;
}

footer {
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 5px;
}

.neocities-badge {
    display: flex;
    align-items: center; 
    gap: 6px;            
}

.neocities-badge img {
    width: 32px;         
    height: auto;
    text-align: center
}

.neocities-badge span {
    line-height: 1;
    text-align: center
}

.wave-text span {
    display: inline-block;
    animation: wave 1.5s ease-in-out infinite;
}

.wave-text span:nth-child(1) { animation-delay: 0s; }
.wave-text span:nth-child(2) { animation-delay: 0.1s; }
.wave-text span:nth-child(3) { animation-delay: 0.2s; }
.wave-text span:nth-child(4) { animation-delay: 0.3s; }
.wave-text span:nth-child(5) { animation-delay: 0.4s; }
.wave-text span:nth-child(6) { animation-delay: 0.5s; }
.wave-text span:nth-child(7) { animation-delay: 0.6s; }
.wave-text span:nth-child(8) { animation-delay: 0.7s; }

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hover-image {
    transition: transform 0.2s ease;
  outline: 2px solid black;

} 

.hover-image:hover {
    transform: scale(1.1);
outline: 2px solid black;
}





#loading-screen {
    position: fixed;
    inset: 0;

    background: #000000;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    z-index: 9999;

    transition: opacity 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 48px;
    height: 48px;
}

.dots::after {
    content: "";
    animation: loadingDots 1.5s steps(4, end) infinite;
}

@keyframes loadingDots {
    0%   { content: ""; }
    25%  { content: "."; }
    50%  { content: ".."; }
    75%,
    100% { content: "..."; }
}


