/* Main stylesheet for api2.yegor-tsygankov.ru */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Header Styling */
.site-header {
    background-color: rgb(1, 122, 38);
    padding: 15px 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Main Content Section */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px; /* Offset for fixed header */
    background: radial-gradient(circle at center, #2a2a2a 0%, #111111 100%);
}

.text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Impact', 'Arial Black', sans-serif;
    letter-spacing: 4px;
    user-select: none;
}

.hollow-word {
    font-size: 12vw;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px #ffffff;
    text-stroke: 2px #ffffff;
    cursor: default;
    transition: color 0.3s ease, -webkit-text-stroke-color 0.3s ease, text-shadow 0.3s ease;
}

/* Hover effect with the requested RGB color */
.hollow-word:hover {
    color: rgb(1, 122, 38);
    -webkit-text-stroke-color: rgb(1, 122, 38);
    text-shadow: 0 0 20px rgba(1, 122, 38, 0.5);
}

/* Footer styling */
.site-footer {
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: #555555;
    background-color: #111111;
}

@media (max-width: 768px) {
    .hollow-word {
        font-size: 16vw;
    }
    .site-header {
        justify-content: center;
    }
}