html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'VT323', monospace;
    font-size: 18px;
    background: #e0e0e0;
    color: #1a1a1a;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

.banner {
    background: linear-gradient(180deg, #1a4480, #0d2240);
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 20px;
    border-bottom: 3px solid #c41e3a;
}

header {
    background: #fff;
    text-align: center;
    padding: 30px 16px;
    border-bottom: 3px solid #999;
}

header h1 {
    font-size: 48px;
    color: #1a4480;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

header p {
    color: #666;
    font-size: 20px;
}

nav {
    background: #c0c0c0;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #555;
    padding: 8px;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}

.nav-btn {
    background: linear-gradient(180deg, #e8e8e8, #c0c0c0);
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #555;
    border-right: 2px solid #555;
    padding: 6px 16px;
    font-family: 'VT323', monospace;
    font-size: 18px;
    color: #1a1a1a;
    cursor: pointer;
    text-decoration: none;
}

.nav-btn:hover {
    background: linear-gradient(180deg, #f0f0f0, #d0d0d0);
}

.nav-btn:active,
.nav-btn.active {
    border-top: 2px solid #555;
    border-left: 2px solid #555;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    background: #b0b0b0;
}

main {
    padding: 24px 0;
}

section {
    margin-bottom: 32px;
}

.card {
    background: #fff;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #666;
    border-right: 2px solid #666;
    box-shadow: 3px 3px 0 #888;
    padding: 20px;
}

.card h2 {
    color: #c41e3a;
    font-size: 28px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.card h3 {
    color: #1a4480;
    font-size: 22px;
    margin-bottom: 8px;
}

.card p {
    line-height: 1.5;
    margin-bottom: 12px;
}

.divider {
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #f39c12, #2ecc71, #3498db, #9b59b6, #e74c3c);
    margin: 32px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 600px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.service-box {
    background: #f0f0f0;
    border: 2px solid #999;
    padding: 16px;
}

.service-box h4 {
    color: #1a4480;
    margin-bottom: 8px;
}

.service-box p {
    color: #555;
    font-size: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gallery-item {
    background: #d0d0d0;
    border: 2px solid #888;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.link-list {
    list-style: none;
}

.link-list li {
    margin-bottom: 8px;
}

.link-list a {
    color: #1a4480;
    text-decoration: underline;
    font-size: 20px;
}

.link-list a:hover {
    color: #c41e3a;
}

.link-list a:visited {
    color: #6a3093;
}

input,
textarea {
    width: 100%;
    padding: 8px;
    font-family: 'VT323', monospace;
    font-size: 18px;
    border: 2px inset #999;
    background: #fff;
    margin-bottom: 12px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #1a4480;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.webring {
    text-align: center;
    margin: 32px 0;
}

.webring-box {
    display: inline-block;
    background: #fff;
    border: 2px solid #888;
    padding: 16px 24px;
}

.webring-box p {
    color: #666;
    margin-bottom: 8px;
}

.webring-box h4 {
    color: #c41e3a;
    margin-bottom: 12px;
}

.webring-btns {
    display: flex;
    gap: 8px;
    justify-content: center;
}

footer {
    background: #fff;
    border-top: 3px solid #999;
    padding: 24px 16px;
    text-align: center;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.badge {
    background: #f0f0f0;
    border: 2px solid #888;
    padding: 4px 12px;
    font-size: 14px;
}

footer p {
    color: #666;
    margin-bottom: 8px;
}

#visitor-count {
    font-weight: bold;
    color: #1a4480;
}

.contact-info p {
    margin-bottom: 6px;
}
.ads {
    align-items: center;
    margin-left: 20px;
    display: flex;
    scale: 1.1;
}
.ads:hover {
    
   transform: scale(1.1);
}