/* css/style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #1475c5;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #a12cac;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #1c1cc2;
}

.auth {
    margin-left: 40px;
}

footer {
    background: #333;
    color: #fff;
    padding: 40px 5%;
    text-align: center;
    margin-top: 50px;
}

footer p {
    margin: 10px 0;
}

footer a {
    color: #4a9eff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Дополнительные общие стили (по необходимости) */
.btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    background: #4a4a9e;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    background: #3a3a7e;
}

.message {
    text-align: center;
    margin: 10px 0;
    font-size: 0.9em;
    min-height: 20px;
}

.error {
    color: red;
}

.success {
    color: green;
}

.message a {
    color: #d9534f;
    font-weight: 600;
    text-decoration: underline;
}
.message a:hover {
    color: #c9302c;
}

/* Заголовок для секций */
.section-title {
    text-align: center;
    color: #770799;
    margin-bottom: 30px;
    font-size: 1.8em;
    font-weight: 600;
}