* 
{
    margin: 0;
    padding: 0;
}
html 
{
min-height: 100%;
}
body 
{
     position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    -webkit-background-image: url("https://ja69.ru/img/gb.jpg");
    -moz-background-image: url("https://ja69.ru/img/gb.jpg");
    -ms-background-image: url("https://ja69.ru/img/gb.jpg");
    -o-background-image: url("https://ja69.ru/img/gb.jpg");
background-image: url("https://ja69.ru/img/gb.jpg");
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    background-color: #030;
    font-family: Arial, sans-serif;
    font-size: 14px;
    
}
header 
{
    position: relative;
    /*position: sticky;*/
    width: 100%;
    height: 100%;
    top: -4px;
    left: 0;
    
}
h1 
{

    margin-top: -10em;
    margin-bottom: 10em;
    text-align: center;
    font-size: 2.5em;
    color: #fff;
    text-shadow:#000 1px 2px 0;
    font-family:
    Georgia, serif;
    lzetter-spacing:3px;
}
h2 
{
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    text-align: center;
    color: #534B4F;
}
h3
{
    padding-top: 0.4em;
    padding-bottom: 0.4em;
    text-align: center;
    color: #7B917B;
}
h4
{
    padding-top: 0.5em;
    padding-bottom: 0.8em;
    
    text-align: center;
    color: #6C7059;
}
a
{
    color: #8B0000;
    text-decoration:none;
}
#qu
{
    float:right;
    text-align: right;
    font-size: 0.7em;
    font-family: Georgia, serif;
    font-style: italic;
    max-width:70%;
}
#top
{
    position: absolute;
    width: 100%;
    padding-bottom: 2em;
    background-color: rgba(0, 0, 0, 0.5);

}
#name
{        
 max-width:45%;
    text-shadow:#000 1px 2px 2px;
    margin-left: 2em;
    padding-top: 2em;
    color: #c90;
    font-family:
    Georgia, serif;
}
#name a
{
    color: #c90;
    text-decoration:none;
}
#rmn
{
    max-width:45%;
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 1em;
    cursor:hand;
    cursor:pointer;
    padding:0.6em;
    color:#c90;
    font-size:2em;
    text-decoration:none;
    text-shadow:#000 1px 2px 2px;
    outline: none;
}
#voz 
{
    max-width:100vw;
    max-height: 100vh;
    position: absolute;
    padding: 10em 1em 22em 1em;
    color:#fff;
    font-size:1.5em;
    text-align: center;
    text-decoration:none;
    text-shadow:#000 1px 2px 2px;
    background-color: rgba(0, 0, 0, 0.9);
}
p 
{
    padding-top: 0;
    text-indent: 1em;
}
nav 
{
    max-width: 20%;
    float: right;
    padding: 1em 2em 1em 2em;
    margin: 3em;
    margin-right: 1em;
    margin-top: 5.17em;
background-color: rgba(0, 0, 0, 0.7);
    text-align: center;
    border-radius: 1em;
}
nav ul , ul 
{
    list-style-type: none;
    padding: 1em 0 1em 0;
}
nav ul li 
{
    /*display: inline;
    margin-right: 10px;*/
}
nav ul li a 
{
    color: #fff;
    text-shadow: #000 1px 2px 2px;
    font-family: sans-seri, froman;
    font-size: 1.2em;
    text-decoration: none;
}
nav ul li a:hover /*, nav ul li a:visited*/
{
color: #f00;
}
section 
{
  /* margin:0;*/
  /* padding:0; */
    padding-bottom: 4em;
    border:0; 
    max-width: 100%;
    color: #010;
    letter-spacing: 0.1em;
    text-shadow: #ccc 1px 2px 2px;
    font-family: Arial, sans-seri, froman;
    font-size: 1.1em;
}
article 
{ 
    text-align: justify;
     margin:0 5em 0 4em ;
    background-color: #fffff0;
    padding:0.7em 1em 1em 1em;
    padding-bottom: 1em;
    border-radius: 0.5em;
    box-shadow:1px 4px 4px #27302b;
} 
@media only screen and (max-width: 768px) {
article  
{
   margin:0;
   border-radius: 0;
}
}
img 
{
  max-width: 100%;
  height: auto; 
}
.r_img 
{
    margin: 0.5em 0 0.5em 0.5em;
    width: 300px;
    height: auto;
    float: right;
    box-shadow:1px 4px 4px #27302b;
}
.l_img 
{
    margin: 0.5em 0.5em 0.5em 0;
    width: 300px;
    height: auto;
    float: left;
     box-shadow:1px 4px 4px #27302b;
}
.red
{
  color: #65000B;    
}
.toggler
{
    cursor: hand;
    cursor: pointer;
    text-align: center;
    margin-top: 0.5em;
    background-color: rgba(0, 30, 0, 0.07);
    border-radius: 15%;
    padding: 0.4em;
    font-weight: bold;
    color: #500;
}
.content
{
    padding-top: 1em;
}
footer 
{
    position: relative;
    top: 20%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #999;
    text-align: center;
    padding: 50px 0;
}
footer a
{
    color: #999;
    text-align: center;
    text-decoration:none;
}
/* СТИЛИ ОЗВУЧКИ */
        .speaking {
            background-color: rgba(00, 30, 00, 0.05);
    border-radius: 10px;
        }
        
        .voice-controls {
    display: none;
    justify-content: center; /* Центрирование по горизонтали */
    align-items: center;     /* Центрирование по вертикали */
    gap: 10px;
    margin-top: 15px;
    width: 100%;            /* Занимает всю ширину контейнера */
}
        .supports-speech .voice-controls {
            display: flex;
        }
        
        .voice-btn {
            padding: 6px 14px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s;
        }
        
        .voice-btn.play, .voice-btn.stop {
            background: rgba(0, 30, 0, 0.2);
            color: black;
        }
        
        .speaking-loading::after {
            content: "Подготовка речи...";
            display: block;
            font-size: 12px;
            color: #666;
            margin-top: 5px;
        }