@font-face {
    font-family: 'Menlo';
    src: url('../ttf/menlo.woff') format('woff');
    src: url('../ttf/menlo.otf') format('otf');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Menlo', monospace;
}

:root { --primary-color: #1a237e; --accent-color: #283593 ; }

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    51% { opacity: 0; }
}
    
body { background: #f4f7f6; heigth: 100vh; }
nav { background-color: var(--primary-color); }
nav {
    position: sticky!important;
    top: 0px;
    z-index: 1000;
}
.hero { background: linear-gradient(45deg, #1a237e 30%, #283593 90%); color: white; padding: 100px 0; clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); }
.terminal { background: #263238; color: #c3e88d; padding: 20px; border-radius: 5px; font-family: 'Fira Code', monospace; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.card { border-radius: 12px; transition: 0.3s; height: 100px; margin: 0; }
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 20px rgba(0,0,0,0.1); }
.section-title { font-weight: 700; margin-bottom: 40px; border-left: 5px solid var(--accent-color); padding-left: 15px; }
.skill-tag { background: #e0e0e0; padding: 5px 15px; border-radius: 20px; display: inline-block; margin: 5px; font-size: 0.9rem; }
.blink {
    animation: blink 1s step-end infinite;
}
footer { background: #1a237e; color: white; padding: 0 }
/* SEO: Скрытый заголовок для структуры */
.visually-hidden { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
main.front #portfolio .card {
    box-shadow: none;
}
.hero .terminal {
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%)!important;
}
nav {
    background-color: var(--primary-color) !important;
}
@media only screen and (max-width: 992px) {
    .nav-wrapper {
        display: flex;
        width: 100%;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
    }
    nav .brand-logo {
        right: -45%;
        width: 100%;
        font-size: 1.7rem;
        right: 0;
        position: relative;
    }
}

@media only screen and (min-width: 993px) {
    .container {
        width: 95%;
    }
    .terminal p {
        margin: 0 10px;
    }
}

@media only screen and (max-width: 768px) {
    .container {
        width: 95%;
    }
    .terminal p {
        margin: 0 10px!important;
    }
}