/**************БАЗОВЫЕ НАСТРОЙКИ****************/
body {
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    margin: 0;
    padding: 0;
    background-color: #11111c;
    color: #dcb38c;
    background-image: linear-gradient(90deg, #08080c, #11111c, #08080c);
}
h1, h2{
    font-weight: bold;
    text-align: center;
}
header {
    /*background-color: #0c0c14;*/
    background-image: linear-gradient(90deg, #11111c, #08080c, #11111c);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6em;
    font-weight: bold;
    margin-left: 1em;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #dcb38c;
    text-decoration: none;
    font-weight: bold;
}

a:link{
    font-weight: bold;
    color: #dcb38c;
    text-decoration: none;
    font-style: italic
}
a:visited{
    font-weight: bold;
    color: #dcb38c;
    text-decoration: none;
}
/*li{
    list-style-type: none;
}*/
.maincontent li::marker {
    content: "- ";
   }
img{
    border: 1px solid #dcb38c;
    box-shadow: 0px 0px 5px #000;
}

/*************БАННЕР, МЕНЮ***************/

.menu-toggle {
    display: none;
    font-size: 1.5em;
    background: none;
    border: none;
    color: #dcb38c;
    cursor: pointer;
    position: absolute;
    left: 2vw;
    top: 2vh;
    z-index: 1001;
}

/*************ОСНОВА*******************/

.maincontent{
    padding: 1em;
}
section{
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 1em auto;
    font-size: 1.3vw;
    border-top: 1px solid #dcb38c;
    border-bottom: 1px solid #dcb38c;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1em;
}
section img{
    width: 25vw;
}
li{
    margin: 0.3em;
}
.image-container {
    position: relative;

    max-width: 600px;
}

.image-container img {
    height: auto;
    display: block;
    border: 1px solid #dcb38c;
    box-shadow: 0px 0px 5px #000;
}
.buttonOverlayRight {
    position: absolute;
    bottom: -5%;
    right: -5%;
    padding: 0.5em 1em;
    background-color: #dcb38c;
    color: #11111c;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 10;
}
.buttonOverlayRight:hover {
    background-color: #bd9a78;
}
.buttonOverlayRight a:link{
    font-weight: bold;
    color: #11111c;
    text-decoration: none;
    font-style: normal;
}
.buttonOverlayRight a:visited{
    font-weight: bold;
    color: #11111c;
    text-decoration: none;
    font-style: normal;
}
.buttonOverlayLeft {
    position: absolute;
    bottom: -5%;
    left: -5%;
    padding: 0.5em 1em;
    background-color: #dcb38c;
    color: #11111c;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 10;
}
.buttonOverlayLeft:hover {
    background-color: #bd9a78;
}
.buttonOverlayLeft a:link{
    font-weight: bold;
    color: #11111c;
    text-decoration: none;
    font-style: normal;
}
.buttonOverlayLeft a:visited{
    font-weight: bold;
    color: #11111c;
    text-decoration: none;
    font-style: normal;
}

/*************АДАПТАЦИЯ*******************/

@media (max-width: 735px){

    .menu-toggle {
        display: block; /* Показываем кнопку на мобильных */
    }
    nav {
        position: fixed;
        top: 0;
        left: -100%; /* Прячем за экраном */
        width: 70%;
        height: 100%;
        background: #11111c;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
        transition: left 0.3s ease-in-out; /* Анимация появления */
        z-index: 1000;
        padding-top: 50px;
    }
    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    nav ul li {
        margin: 15px 0;
    }
    nav.active {
        left: 0;
    }
    .logo {
        text-align: center;
        flex-grow: 1; /* Позволяет логотипу занять центр */
        font-size: 1.4em; /* Можно уменьшить для мобильной версии */
    }
    section{
        width: 90%;
        display: block;
        font-size: 5vw;
    }
    section img{
        margin: 0 auto;
        width: 70vw;
    }
}