* {
box-sizing: border-box;
font-family: Roboto, sans-serif;
}
* {
box-sizing: border-box;
margin: 0;
}
a {
text-decoration: none;
color: inherit;
font-weight: bold;
}
body {
max-width: 1300px;
margin: 0 auto;
font-family: Roboto, sans-serif;
font-size: 16px;
background-color: #2d2d3b;
color: #ffffff;
padding-top: 120px; /* Увеличено для навигации */
}
.conteiner {
max-width: 1300px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px;
}
header {
position: fixed;
top: 0;
left: 0;
width: 100%;
background: #201e2c;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
padding: 10px 0;
z-index: 1000;
text-align: center;
}
.header_conatiner {
display: flex;
gap: 10px;
align-items: center;
justify-content: space-between;
margin-bottom: 90px;
}
.header_logo img {
height: 41px;
width: 100%;
object-fit: contain;
}
.header_button {
display: flex;
gap: 20px;
}
/* Навигационное меню */
.navigation {
position: fixed;
top: 60px; /* Под header */
left: 0;
width: 100%;
background: rgba(0, 0, 0, 0.2);
backdrop-filter: blur(10px);
z-index: 999;
padding: 10px 0;
margin-top: 20px;
}
.nav_conteiner {
justify-content: center;
gap: 30px;
flex-wrap: wrap;
}
.nav-link {
color: #ffffff;
padding: 8px 16px;
border-radius: 5px;
transition: all 0.3s ease;
font-size: 14px;
font-weight: 500;
border: 1px solid transparent;
}
.nav-link:hover {
background-color: rgba(255, 255, 255, 0.1);
border-color: #00509b;
}
.nav-link.active {
background-color: #00509b;
border-color: #00509b;
}
@media (max-width: 768px) {
body {
padding-top: 140px; /* Больше места для мобильной навигации */
}
.header_button {
gap: 8px;
}
.nav_conteiner {
gap: 10px;
padding: 10px;
}
.nav-link {
font-size: 12px;
padding: 6px 10px;
}
}
.btn {
border: 1px solid #00509b;
display: inline-block;
padding: 10px 20px;
background-color: #00509b;
color: #ffffff;
border-radius: 5px;
cursor: pointer;
position: relative;
transition: box-shadow 0.3s ease-in-out;
}
@media (max-width: 768px) {
.btn {
width: 100%;
text-align: center;
padding: 10px;
font-size: 14px;
}
}
@keyframes glow {
0% { box-shadow: 0 0 5px #00509b; }
50% { box-shadow: 0 0 20px #00509b; }
100% { box-shadow: 0 0 5px #00509b; }
}
.glowing {
animation: glow 1.5s infinite alternate;
}
.button_1 {
background-color: #00509b;
}
.button_2 {
background-color: transparent;
}
.button_2:hover {
background-color: #00509b;
}
h1 {
font-size: 50px;
text-align: center;
font-weight: bold;
text-transform: uppercase;
line-height: 1.4;
}
@media (max-width: 768px) {
h1 {
font-size: 30px;
}
}
h2 {
font-size: 30px;
font-weight: bold;
}
@media (max-width: 768px) {
h2 {
font-size: 26px;
margin-top: 10px;
}
}
.main_conteiner {
position: relative;
margin-top: 40px;
}
.main_text {
display: flex;
flex-direction: column;
gap: 20px;
}
main img {
display: flex;
align-items: center;
justify-content: center;
}
.main p {
font-size: 14px;
font-weight: 400;
color: #ffffff;
line-height: 1.4;
}
.photo {
margin: 0 auto;
width: 70%;
height: 80%;
object-fit: cover;
border-radius: 10px;
margin-bottom: 40px;
}
@media (max-width: 768px) {
.photo {
width: 100%;
margin-bottom: 20px;
}
}
.main h1 {
margin-bottom: 50px;
}
@media (max-width: 768px) {
.main h1 {
margin-bottom: 20px;
}
}
.popup {
width: 470px;
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background: #201e2c;
color: #ffffff;
border-radius: 20px;
padding: 20px 25px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
display: flex;
align-items: center;
gap: 20px;
opacity: 0;
visibility: hidden;
transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
@media (max-width: 768px) {
.popup {
width: 95%;
padding: 6px;
gap: 10px;
border-radius: 10px;
}
}
.popup_block {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
@media (max-width: 768px) {
.popup_block {
display: flex;
justify-content: space-around;
}
}
.popup.show {
opacity: 1;
visibility: visible;
}
.popup-close {
background: none;
border: none;
color: rgba(255, 255, 255, 0.476);
font-size: 20px;
cursor: pointer;
position: absolute;
right: 10px;
top: 6px;
}
@media (max-width: 768px) {
.popup-close {
font-size: 16px;
right: 6px;
top: 3px;
}
}
.block_txt {
width: 40%;
display: flex;
align-items: center;
flex-direction: column;
text-align: center;
}
.block_txt span {
font-size: 35px;
color: #ffffff;
font-weight: 700;
}
@media (max-width: 768px) {
.block_txt span {
font-size: 24px;
}
}
.block_txt p {
color: #ffffff;
font-size: 18px;
}
@media (max-width: 768px) {
.block_txt p {
font-size: 14px;
}
}
.block_btn {
text-transform: uppercase;
font-weight: bold;
font-size: 18px;
}
@media (max-width: 768px) {
.block_btn {
font-size: 14px;
}
}
/* Дополнительные стили для сгенерированного контента */
h3 {
font-size: 24px;
font-weight: bold;
margin-top: 20px;
margin-bottom: 15px;
}
ul, ol {
padding-left: 20px;
margin-bottom: 15px;
}
li {
font-size: 14px;
margin-bottom: 8px;
line-height: 1.4;
}
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
font-size: 14px;
}
th, td {
border: 1px solid rgba(255, 255, 255, 0.2);
padding: 10px;
text-align: left;
}
th {
background-color: rgba(0, 0, 0, 0.2);
font-weight: bold;
}