
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f3eee9;
    color: #4a3b2a;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

}
#osa3{
    width: 70%;
    margin: 50px auto 30px;
    text-align: center;
    font-size: 18px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.menu {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}
.osa
{
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    width: 250px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.osa:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.osa a {
    text-decoration: none;
    color: #6b4f3a;
    font-size: 18px;
}
a{
    color: black;
}
a:hover{
    color: blue;
}

h1 {
    text-align: center;
    padding: 25px 0;
    margin: 0;
    background: #6b4f3a;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    font-size: 32px;
}


nav {
    background: #c7a17a;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover {
    background: #b08867;
    transform: translateY(-2px);
}
nav ul li p{
    color:black;
    font-weight: bold ;
}


.main-content {
    display: flex;
    gap: 10px;
    padding: 20px;
    flex-grow: 1;
}

#menu {
    width: 250px;
    background: #fff;
    padding: 20px;
    border-right: 2px solid #d9c7b3;
    min-height: calc(100vh - 130px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow-y: auto;
    text-decoration: none;
}

#menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-decoration: none;
}

#menu ul li {
    margin-bottom: 12px;
    text-decoration: none;
}

#menu ul li a  {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    background: #c7a17a;
    color: #fff;
    border-radius: 6px;
    transition: 0.3s;
    font-weight: bold;
}

#menu ul li a:hover {
    background: #b08867;
    transform: translateX(5px);
}

#menu .submit {
    display: block;
    text-align: center;
    padding: 12px;
    background: #8c6c4e;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

#menu .submit:hover {
    background: #7b5e43;
}

#sisukiht {
    flex-grow: 1;
    padding: 30px;
    background: #fefaf5;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#sisukiht img {
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.submit {
    display: inline-block;
    padding: 10px 18px;
    background: #c08457;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    margin-right: 10px;
    font-weight: bold;
    transition: 0.3s;
}

.submit:hover {
    background: #a66e48;
}


form {
    width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

form label {
    font-weight: bold;
    color: #6b4f3a;
}

form input[type="text"],
form textarea {
    width: 250px;
    padding: 10px;
    border: 1px solid #c7b6a4;
    border-radius: 6px;
    margin-top: 5px;
    font-size: 15px;
}

form textarea {
    height: 80px;
}

form input[type="submit"] {
    margin-top: 15px;
    background: #8c6c4e;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

form input[type="submit"]:hover {
    background: #7b5e43;
}


.check img {
    width: 300px;
    height: 250px;
    border-radius: 10px;
    margin-left: 10px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #6b4f3a;
    color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}


#menu1 {
    width: 250px;
    background: #fff;
    padding: 20px;
    border-right: 2px solid #d9c7b3;
    min-height: calc(100vh - 130px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow-y: auto;
    text-decoration: none;
}

#menu1 ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-decoration: none;
}

#menu1 ul li {
    margin-bottom: 12px;
    text-decoration: none;
}

#menu1 ul li a {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    background: #c7a17a;
    color: #fff;
    border-radius: 100%;
    transition: 0.3s;
    font-weight: bold;
}

#menu1 ul li a:hover {
    background: #b08867;
    transform: translateX(5px);
}

#menu1 .submit {
    display: block;
    text-align: center;
    padding: 12px;
    background: #8c6c4e;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

#menu1 .submit:hover {
    background: #7b5e43;
}


.login-wrapper {
    display: flex;
    justify-content: center;   /* по горизонтали */
    align-items: flex-start;   /* сверху */
    padding-top: 80px;         /* отступ от верха */
}

.login-form {
    width: 360px;
    padding: 30px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 8px 0 16px 0;
    border: 1px solid #c7b6a4;
    border-radius: 6px;
    font-size: 15px;
}
.btn {
    display: inline-flex;
    align-items: center;
    width: 370px;
    height: 48px;
    background: #8c6c4e;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    font-size: 14px;
    text-align: center;
}

.btn:hover {
    background: #7b5e43;
}


#login
{
    display: inline-flex;
    align-items: center;
    width: 370px;
    height: 48px;
    background: #8c6c4e;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    font-size: 14px;
    text-align: center;
}

#login:hover {
    background: #7b5e43;
}

.btn2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 48px;
    background: #8c6c4e;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    font-size: 14px;
    text-align: center;
}

.btn2:hover {
    background: #7b5e43;
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 5px;
}
