/* Базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Шапка */
.header {
    background: #ffffff;
    color: #800000;
    text-align: center;
    padding: 0.5rem;
	border-bottom-style: solid;
	border-color: #800000;	
	border-bottom-width: 2px;
}

.header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.nav {
   /* display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem; */
   justify-content: center;
}

.nav a {
    color: #800000;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.5rem;
    border-radius: 4px;
    transition: background 0.3s;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

a {
   text-decoration: none;
   outline: none; 
   color: #0000FF;
}

a:hover {
   color: #FF0000;
}

/* Основной контент */
.content {
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    min-height: calc(100vh - 200px);
}

.content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.content p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.content ul {
   font-size: 1rem;
   margin: 0px 0px 0.3em 15px; 
}

.content ol {
   font-size: 1rem;
   margin: 0px 0px 0.3em 15px;
}

.content li {
	box-sizing: border-box;	
	font-size: 1rem;
	margin: 0px 0px 0.3em 15px;
}


h1, h2, h3 {
   color: #800000;
   }
 
h1, h2, h3, h4  {
  line-height: 1.5;
  font-weight: 500;
  font-style: normal;
  letter-spacing: normal;
  text-decoration-style: initial; 
  text-decoration-color: initial;
	}    
     
h1 {
  font-size: 1.5em;
  margin: 20px 0px 20px 0;  
  }
h2 {
  font-size: 1.4em;
  margin: 30px 0px 20px 0;
  }
h3 {
  font-size: 1.3em;
  margin: 40px 0px 10px 0;
  }
h4 {
  font-size: 1.2em;
  margin: 10px 0px 20px 0;  
  }

/* Подвал */
.footer {
    background: #ffffff;
    color: #800000;
    text-align: center;
    padding: 1rem;
	border-top-style: solid;
	border-color: #800000;	
	border-top-width: 2px;
    font-size: 0.9rem;
}


.veka {
	line-height: 150%;
	padding: 15px;
	text-decoration: none;
	outline: none;
	font-size: 1em;
	font-famyli: Arial;
	color: #000;
}
.veka a {
	line-height: 150%;
	padding: 15px;
	text-decoration: none;
	outline: none;
	font-size: 1em;
	font-famyli: Arial;
	color: #0000FF;
}
.veka a:hover {
	line-height: 150%;
	padding: 15px;
	text-decoration: none;
	outline: none;
	font-size: 1em;
	font-famyli: Arial;
	color: #FF0000;
}  

.tzar {
margin-top:10px;;
margin-bottom:0;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.5rem;
    }
    
    .nav {
        flex-direction: column;
        align-items: center;
    }
    
    .content {
        padding: 1rem;
    }
    
    .content h2 {
        font-size: 1.3rem;
    }
    
    .content p {
        font-size: 0.95rem;
    }
	
	.content ul {
		font-size: 0.95rem;
		margin: 0px 0px 0.3em 15px; 
	}

	.content ol {
		font-size: 0.95rem;
		margin: 0px 0px 0.3em 15px;
}

	.content li {
		box-sizing: border-box;	
		font-size: 0.95rem;
		margin: 0px 0px 0.3em 15px;
}
}

/* Для очень маленьких экранов (смартфоны) */
@media (max-width: 480px) {
    .header {
        padding: 0.8rem;
    }
    
    .header h1 {
        font-size: 1.3rem;
    }
    
    .content {
        padding: 0.8rem;
    }
    
    .content h2 {
        font-size: 1.2rem;
    }
    
    .footer {
        font-size: 0.85rem;
        padding: 0.8rem;
    }
}
