@font-face {
    font-family: 'JetBrains Mono';
    src: url('font/JetBrainsMono-Bold.ttf') format('truetype');
    font-weight: bold;
    font-display: swap;
}

body {
    margin: 0;
    min-height: 100svh;
    font: 14px/1.5 'JetBrains Mono', monospace;
    color: #fff;
    text-align: center;
    background: black url(images/bg.jpg) center/cover fixed;
    flex-direction: column;
    gap: 22px;
}

header, 
.webring,
main {
    background-color: rgba(34, 34, 34, 0.3);
    backdrop-filter: blur(10px);
}

body,
.webring,
.buttons,
.spec {
    display: flex;
}

.webring {
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: auto;
    text-decoration: underline;
}

a {
    text-decoration: none;
}

a,
.webring {
    color: orange;
}

main {
    max-width: 800px;
    width: calc(100% - 20px); 
    margin: 0 auto;
    padding: 20px;
    border-radius: 15px;
    box-sizing: border-box;
}

.buttons {
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.buttons img {
    transition: transform 0.3s ease;
}

.buttons img:hover {
    transform: scale(1.3);
}

.spec {
    justify-content: center;
}

.newpc {
    margin-left: 100px;
}

iframe {
  border: 2px solid orange;
}

@media (max-width: 600px) {
    body {
        gap: 15px;
        padding: 0 10px;
    }
    
    main {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2, h3 {
        font-size: 1.1rem;
        margin: 12px 0;
    }

    .webring {
        width: calc(100% - 20px);
        margin: 10px auto 0;
        padding: 8px 12px;
        box-sizing: border-box;
        border-radius: 15px;
    }
}
