/* Общие стили */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #121212; 

    /* ДЛЯ ФУТЕРА */
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* ДЛЯ ФУТЕРА */
}

*, ::before, ::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Общие стили */


/* Фиксированная шапка */
.main-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-image: radial-gradient( #00c6ff,  #0072ff, #004e92);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000; 

    /* ЧТО БЫ DIV НЕ ПРОВАЛИВАЛСЯ */
    height: 100px;
}

.main-menu .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    max-width: 70%;
    margin-left: 300px;
    padding: 0 20px;
}

.main-menu .header-content img {
    height: 60px;
    position: static;
    transform: none;
    margin: 0;
    transform: scale(1.3);
}

.logo {
    margin: 0 100px;
}

/* ВХОД РЕГИСТРАЦИЯ ШАПКА */
.login-mainheader {
    margin-right: -250px;
}

.login-header a {
    text-decoration: none;
    color: #fff;

    /* margin-right: -250px; */
    position: relative;
    display: flex;
    justify-content: flex-end;

    font-weight: bold;
    padding: 4px 5px;
    z-index: 1;
    transition: transform 0.4s ease-out, color 0.4s ease-out;
    /* letter-spacing: 0.5px; */
}

.login-header_1 {
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    border-right: none;
}


.login-header a:hover {
    /* transform: translateY(-3px); */
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.login-header a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-image: radial-gradient(circle, #2196f3, #0d47a1);
    border-radius: 10px;
    z-index: -1;
    transition: width 0.4s ease-out;
    opacity: 0.7;
}

.login-header a:hover::after{
    width: 100%;
}
/* ВХОД РЕГИСТРАЦИЯ ШАПКА */
/* Фиксированная шапка */


/* ----- НАВИГАЦИЯ ---- */
.nav-container {
    display: flex;
    gap: 50px; /* Расстояние между левой и правой навигацией */
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 50px; /* Расстояние между ссылками */
}

.nav-left a,
.nav-right a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease-out, color 0.4s ease-out;
    letter-spacing: 0.5px;
}

.nav-left a:hover,
.nav-right a:hover {
    transform: translateY(-3px);
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.nav-left a::after,
.nav-right a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-image: radial-gradient(circle, #2196f3, #0d47a1);
    border-radius: 10px;
    z-index: -1;
    transition: width 0.4s ease-out;
    opacity: 0.7;
}

.nav-left a:hover::after,
.nav-right a:hover::after {
    width: 100%;
}
/* ----- НАВИГАЦИЯ ---- */




/* ---- MAIN ---- */

main {
    flex: 1 0  auto;
    background-color: #1A1A1A;

    /* ЧТО БЫ DIV НЕ ПРОВАЛИВАЛСЯ */
    padding-top: 100px;
}

/* НАДПИСЬ ДОКУМЕНТЫ */
.text-contacts {
    padding: 15px;
    margin-left: 90px;
    margin-top: 50px;

    position: relative;
    text-decoration: none;
}

.text-contacts::before {
  content: ''; 
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 6px;
  background-color: #0072ff; 
  border-radius: 2px; 
} 

.section-contact {
    display: flex;
    flex-direction: column;
}
/* НАДПИСЬ ДОКУМЕНТЫ */





/* Футер */
.footer {
    background-color: #101010; /* Очень темный фон для футера */
    color: #bbb;
    padding: 20px 30px;
    text-align: center;
    border-top: 2px solid #0d47a1;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.footer p {
    font-size: 0.9em;
    margin: 0;
    opacity: 0.8;
}
