
:root {
      --main: #f4e9d0;
    --accent: #8b0000;
    --second-accent: #d4af37;
}

/* ===== ОБЩИЕ НАСТРОЙКИ СТРАНИЦЫ ===== */
body {
    
    margin: 0;
    min-height: 100vh;
    background: url("foto/Vov/vov-bg.png") no-repeat center center fixed;
    background-size: cover;
}

/* ===== АЛФАВИТ ===== */
.alphabet {
    position: sticky;
    top: 0;
    background: var(--second-accent);
    padding: 10px;
    text-align: center;
    z-index: 3;
}

.nah {
    color: #8b000070;
    text-decoration: none;
    margin: 0 6px;
    font-weight: bold;
}
/* ПРОГРЕСС-БАР */
.scroll-progress {
 
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: #8b0000; /* красная полоска */
    transition: width 0.1s linear;
}
.yep {
    color: var(--accent);
    text-decoration: none;
    margin: 0 6px;
    font-weight: bold;
}

.alphabet a:hover {
   color: #8b000070;}



.section-intro {  
  width: 85%;
    max-width: 1000px;
    margin: 20px auto;
    text-align: center;
    background: #fff7e3;
    border-left: 6px solid var(--accent);
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
     
}


/* ===== КОНТЕЙНЕР ===== */
.container {
        animation: fadeUp 0.8s ease forwards;

    width: 85%;
    max-width: 1000px;
    margin: 30px auto;
justify-content: center;
}

/* ===== ЗАГОЛОВОК БУКВЫ ===== */
.letter {
    font-size: 30px;
    margin: 40px 0 15px;
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    text-align: center;
}

/* ===== КАРТОЧКА ===== */
.card {
    
    max-width: 1200px;
    margin: 0 auto 25px;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    align-items: flex-start;
    gap: 20px;

    background: #fff7e3;
    border-left: 6px solid var(--accent);
    padding: 18px;

    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

/* ===== ФОТО ===== */
.photo {
    width: 150px;
    flex-shrink: 0;
}

.photo img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
}

/* ===== ТЕКСТ ===== */
.content {
    flex: 1;
    text-align: left;
}

/* ===== ИМЯ ===== */
.name {
    font-size: 22px;
    font-weight: 700;
    color: var(--second-accent);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.name::after {
    content: "";
    display: block;
    width: 60%;
    height: 3px;
    background: var(--accent);
    margin-top: 5px;
    border-radius: 2px;
}

/* ===== ТЕКСТ ===== */
.content p {
    margin: 6px 0;
    line-height: 1.5;
     font-size: 15px;
    text-align: justify;
}

.content b {
    color: var(--second-accent);
}

/* ===== НАГРАДЫ ===== */
.awards {
    width: 190px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.awards img {
    width: 100%;
    max-height: 190px;
    object-fit: contain;
    opacity: 0.9;
}

/* ===== СКРОЛЛ ===== */
html {
    scroll-behavior: smooth;
}

/* анимация */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== АДАПТИВ ===== */
 