body {
    margin: 0 auto;
    background: #dededd;
    color: #2b5a51;
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    text-align: center;
    line-height: 1.6;
    padding: 20px;
}

a, a:visited, a:link, a:active {
    color: #2b5a51;
    transition: color 0.3s, transform 0.3s;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: #18537e;
    transform: scale(1.05);
}

h1, h2 {
    margin: 20px 10px;
}

h1 {
    font-size: 20px;
    color: #18537e;
    margin: 15px 7px;
}

.h1-bar {
    background: linear-gradient(to left, #f0ce7d, #dededd);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    text-align: left;
    margin: 5px;
    padding: 8px 15px;
}

.name, .info, .top-menu, .mysexfoto, .navi, .footer, .nav-bar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    margin: 15px 5px;
    padding: 12px 15px;
}

.navi:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

h2 {
    margin: 7px;
    font-size: 18px;
}

p {
    margin: 6px;
}

.h1-bar, .name, .info, .top-menu, .mysexfoto, .navi, .footer, .nav-bar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.name {
    padding: 12px 16px;
    line-height: 25px;
    font-size: 18px;
    background: #f0ce7d;
    z-index: 3;
}

.info {
    position: absolute;
    padding: 5px 12px;
    line-height: 25px;
    background: rgba(209, 235, 247, 0.8);
    z-index: 3;
    font-weight: bold;
    margin: 2px;
}

.zvonok, .anketa, .proverka, .video, .myprofile {
    color: #ffffff;
}

.zvonok {
    top: 40px;
    background: rgba(240, 206, 125, 0.9);
}

.anketa {
    top: 0;
    right: 0;
    background: #18537e;
    font-size: 19px;
}

.proverka {
    right: 0;
    background: rgba(43, 90, 81, 0.9);
    top: 40px;
    font-size: 15px;
}

.video {
    right: 0;
    background: rgba(43, 90, 81, 0.9);
    top: 80px;
    font-size: 15px;
}

.myprofile {
    top: 110px;
    background: rgba(24, 83, 126, 0.9);
    font-size: 15px;
}

.chas {
    bottom: 8px;
    right: 0;
}

.rost {
    bottom: 8px;
    left: 0;
}

.logo {
    float: left;
}

.logo a {
    font-size: 18px;
    height: 45px;
    display: inline-block;
    line-height: 45px;
    padding: 0 14px;
    box-shadow: inset 0 -15px 15px rgba(0, 0, 0, 0.1);
    margin: 8px;
}

.categories {
    text-align: right;
}

.categories a {
    height: 45px;
    line-height: 45px;
    display: inline-block;
    font-size: 17px;
    padding: 0 14px;
    box-shadow: inset 0 -15px 15px rgba(0, 0, 0, 0.1);
    margin: 8px 3px;
}

.top-menu {
    padding: 12px 16px;
    background: #f0ce7d;
}

.mysexfoto {
    display: inline-block;
    text-align: justify;
    padding: 16px 5px;
    background: #dededd;
    border-radius: 8px;
    margin: 16px 5px;
}

.mysexfoto a {
    text-decoration:underline;
}

.navi {
    padding: 8px 10px;
    background-color: #ffffff;
    display: inline-block;
    margin: 3px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.navi a {
    padding: 8px 12px;
}

.navi:hover {
    background-color: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.banner-footer {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 15px 0;
  background-color: #dededd;
  border-top: 1px solid #ddd;
  flex-wrap: wrap;
}

.banner-footer a {
  display: block;
  margin: 0 5px;
}

.banner-footer a img {
  width: 122px;
  height: 47px;
  display: block;
}

.footer {
    padding: 12px 16px;
    background: #f0ce7d;
    bottom: 0;
}

.nav-bar {
    text-align: center;
    margin: 5px;
}

.scrollup {
    width: 40px;
    height: 40px;
    opacity: 0.7;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background: url("/img/icon_top.png") no-repeat;
    z-index: 6;
}

#mysex {
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

#mysex .gava {
    display: inline-block;
    width: 300px;
    padding: 0;
    height: auto;
    margin: 2px auto;
    position: relative;
    top: 0;
}

#mysex .gava img {
    width: 300px;
    height: 420px;
}

@media screen and (min-width: 1921px) {
    #mysex {
        width: 1850px;
    }
}

@media screen and (max-width: 560px) {
    #mysex .gava {
        position: relative;
        display: inline-block;
        width: 100%;
        height: auto;
        padding: 0;
    }

    #mysex .gava img {
        width: 100%;
        height: 100%;
    }

    #mysex {
        width: 100%;
    }

    .anketa {
        font-size: 22px;
    }

    .mysexfoto {
        display: block;
    }
    body {
        padding: 10px;
    }
    h1, h2 {
        margin: 15px 5px;
    }
}