html, body {
    background-color: #221205;
    background-image: linear-gradient(to right, #20170a, #221205);
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    /*background: #3A3A3A;*/
}

footer {
    height: auto;
    background: #787878;
    display: flex;
    justify-content: space-around;
    padding:  0px 0px 0px 0px;
}
footer h4 {
    margin-bottom: -10px;
    text-align: right;
    color: #fff;
}
.f-column li{
    list-style-type: none;
    text-align: right;
}

.f-column a{
    margin: auto auto;
    color: #ddd;
    text-decoration: none;
}
.f-column a:hover {
    color: #eee;

}

.logo-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper {
    min-height: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content {
    position: relative;
    flex: 1 0 auto;
    margin: auto;
    padding: 20px;
    text-align: center;
    width: 826px;
}

/* - TODO: - разобраться с лейаутами */
.card-container {
    background-color: transparent;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
    flex-direction: column-reverse;
}

.card {
    border: 0.5px solid rgba(221, 221, 221, 0.29);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}

.card h2 {
    text-align: left;
    color: #ffffff;
}

.card p {
    text-align: left;
    color: #ffffff;
}

.card img {
    height: 320px;
    width: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

.card img.loaded {
    opacity: 1;
}

.card-head {
    color: rgba(255, 255, 255, 0.42);
    display: flex;
    align-items: flex-end;
    margin-bottom: 12px;
}

.card-head span {
    margin-right: 12px;
    font-size: 1.01rem;
    font-weight: 100;
    color: rgba(246, 246, 246, 0.6);
}

.card-head img {
    margin-right: 12px;
    border-radius: 40%;
    width: 28px;
    height: 28px;
}

.card-foot {
    color: rgba(255, 255, 255, 0.42);
    display: flex;
    align-items: flex-end;
    margin-bottom: 12px;
}

.card-foot span {
    margin-right: 6px;
    font-size: 1.01rem;
    font-weight: 100;
    color: rgba(246, 246, 246, 0.6);
}

.card-foot svg {
    height: 18px;
    width: 14px;
    margin-right: 5px;
}

.s-card {
    height: 100%;
    border: 0.5px solid rgba(221, 221, 221, 0.33);
    padding: 20px;
    margin: 0px;
    border-radius: 10px;
    text-align: left;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}

.s-card h2 {
    text-align: left;
    color: #ffffff;
}

.s-card p {
    text-align: left;
    color: #ffffff;
}

.s-card img {
    height: 320px;
    width: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

.s-card img.loaded {
    opacity: 1;
}

.s-card pre {
    background: #081b4b;
    color: #fff;
    border-radius: 16px;
    display: block;
    margin: 1em 0;
    overflow: auto;
    overflow-wrap: normal;
    padding: 1em;
    white-space: normal;
    word-wrap: normal;
}

/* - */
.c-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 0.5px solid rgba(178, 178, 178, 0.42);
    border-radius: 10px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    max-width: 500px;
    margin: 0 auto;
}

.c-card h2 {
    color: white;
}

.c-card p {
    color: white;
}

.c-profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
}

.c-info {
    width: 60%;
    display: flex;
    flex-direction: column;
    text-align: right;
}

p {
    margin-top: 10px;
}

.section-info {
    margin-top: 85px;
}

.section-info h1 {
    text-align: left;
    color: #fff;
}

.section-info p {
    text-align: left;
    color: #fff;
}

.section-info li {
    text-align: left;
    color: #fff;
}

.section-info a {
    text-decoration: none;
    color: #81b2ff;
}

/* --------------- */

.unique-sidebar-menu {
    position: fixed;
    top: 110px;
    left: 161px;
    width: 160px;
    height: 100%;
    background-color: transparent;
    overflow-y: auto;
}

.unique-sidebar-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.unique-sidebar-menu li {
    display: flex;
    align-items: center;
}

.unique-sidebar-menu li:hover {
    background-color: rgba(255, 255, 255, 0.10);
    border-radius: 5px;
}

.unique-sidebar-menu .icon {
    margin-right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
}

.unique-sidebar-menu a {
    display: block;
    color: rgba(236, 240, 241, 0.64);
    padding: 10px 0px;
    text-decoration: none;
    flex-grow: 1;
    text-align: left;
}

/*.unique-sidebar-menu a:hover {*/
/*    background-color: #34495e;*/
/*}*/

/* --------------- */
@media (max-width: 1366px) {
    .unique-sidebar-menu {
        left: 17px;
    }

    .content {
        width: 70%;
    }
}

@media (max-width: 1023px) {
    .unique-sidebar-menu {
        display: none;
    }

    .content {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .unique-sidebar-menu {
        display: none;
    }

    nav .nav-center {
        width: 100%;
        margin: auto;
    }

    .section-info {
        margin-bottom: 19px;
    }

    .section-info h1 {
        width: 90%;
        margin: auto auto 19px;
    }

    .section-info p {
        width: 90%;
        margin: auto;
    }

    .content {
        padding: 0;
        width: 100%;
    }

    .card-container {
        margin: auto auto 19px;
    }

    .s-card {
        margin-bottom: 19px;
    }

    .card-head {
        margin-left: 19px;
    }
}

/*  ----------  header ---------- */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/** {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    box-sizing: border-box;*/
/*}*/

/*body {*/
/*    font-family: "Poppins", sans-serif;*/
/*}*/

.text-logo {
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-size: 1.2em;
}

.h-container {
    max-width: 1050px;
    width: 90%;
    margin: auto;
}

.navbar {
    width: 100%;
    box-shadow: 0 1px 30px rgba(146, 161, 176, 0.05)
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 62px;
}

.navbar .menu-items {
    display: flex;
}

.navbar .nav-container li {
    list-style: none;
}

.navbar .nav-container a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bolder;
    font-size: 1.2rem;
    padding: 0.7rem;
}

.navbar .nav-container a:hover {
    /*font-weight: bolder;*/
}

.nav-container {
    display: block;
    position: relative;
    height: 60px;
}

.nav-container .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 12px;
    right: 16px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

.nav-container .hamburger-lines {
    /*display: block;*/
    height: 26px;
    width: 32px;
    position: absolute;
    top: 17px;
    right: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #ffffff;
}

.nav-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
}

.navbar .menu-items {
    padding-top: 120px;
    background-color: rgb(0, 0, 0);
    height: 25vh;
    width: 100%;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -24px;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    text-align: center;
}

.navbar .menu-items li {
    margin-left: -50px;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.logo {
    font-weight: bolder;
    position: absolute;
    top: 17px;
    left: 15px;
    font-size: 1.2rem;
    color: #ffffff;
}

.site-desc {
    font-size: 1.1rem;
    font-weight: initial;
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked ~ .logo {
    display: none;
}

/*.adv{*/
/*    height: 170px;*/
/*    color: #B0B0B0;*/
/*    background: #F5F5F5;*/
/*    text-align: center;*/
/*    font-family: Inter;*/
/*    font-size: 48px;*/
/*    font-style: normal;*/
/*    font-weight: 400;*/
/*    line-height: normal;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

/* Общий стиль */
/*body {*/
/*    font-family: Arial, sans-serif;*/
/*    line-height: 1.6;*/
/*    padding: 20px;*/
/*    background-color: #f6f6f6;*/
/*}*/

.card-container p {
    font-size: 16px;
    color: #878787;
    margin-bottom: 20px;
}

.card-container ol {
    text-align: left;
    list-style-type: decimal;
    font-size: 16px;
    color: #b2b2b2;
    margin-bottom: 30px;
    padding-left: 20px;
}

.card-container ul {
    color: white;
}

.card-container ul a {
    color: white;
    text-decoration: none;
}

.s-card h1, h2, h3 {
    color: white;
}

.card-container li {
    margin-bottom: 15px;
}

.card-container li strong {
    color: #007BFF;
    font-size: 18px;
}

.portrait {
    height: 679px;
    width: 320px;
}

.card-container pre {
    background-color: #2c3e50;
    padding: 15px;
    border-radius: 5px;
    color: #ecf0f1;
    font-size: 14px;
    margin-bottom: 30px;
}

.card-container code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #2d3e50;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 15px;
}

.card-container code.language-bash {
    background-color: transparent;
    color: inherit;
}

body {
    height: 2000px;
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
}

.menu {

    position: fixed;
    top: 50%;
    left: 10px; /* Переместим меню на левую сторону */
    transform: translateY(-50%);
    border: 0.5px solid #ffffff;
    border-radius: 10px;
    backdrop-filter: blur(5px); /* Эффект размытия */
    background-color: transparent;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    position: relative;
}

.menu li > ul {
    display: none;
    position: absolute;
    top: 0;
    left: 100%; /* Подменю будет отображаться справа от основного пункта */
    border: 0.5px solid #ffffff;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    background-color: transparent;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: background-color 2s ease-in-out;;
}

.submenu {
    display: none;
}

.menu a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
}

.menu a:hover {
    backdrop-filter: blur(10px);
    background-color: #ffffff;
}

