@font-face {
    font-family: Montserrat-Black;
    src: url(Montserrat-Black.ttf) format('truetype');
    font-weight: 400;
    font-display: fallback;
    font-style: normal
}

@font-face {
    font-family: Montserrat;
    src: url(Montserrat.ttf) format('truetype');
    font-weight: 400;
    font-display: fallback;
    font-style: normal
}

:root {
    --primary-color: #5e60ce;
    --secondary-color: #64dfdf;
    --accent-color: #ff5e78;
    --dark-color: #2b2d42;
    --light-color: #f8f9fa;
    --transition: all 0.3s ease
}

* {
    margin: 0;
    padding: 0;
	list-style: none;
    box-sizing: border-box
}

body {
    font-family: 'Montserrat',sans-serif;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden
}

a {
    text-decoration: none;
    color: inherit
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 70px
}

.nomerstr {
    font-size: 20px;
    color: #616366;
}


.logo {
	transition: all 0.3s ease;
    width: 62px
}

.logo:hover {
    transform: scale(1.05)
}

.logo svg {
    margin-right: 10px;
    width: 30px;
    height: 30px
}

.top-menu {
    display: flex;
    gap: 1.5rem
}

.top-menu-link {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition)
}

.top-menu-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition)
}

.top-menu-link:hover {
    color: var(--accent-color)
}

.top-menu-link:hover:after {
    width: 100%
}

.search-button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-color);
    transition: var(--transition);
    display: flex;
	margin-top: 5px;
    margin-left: 5px;
    align-items: center
}

.search-button:hover {
    color: var(--primary-color);
    transform: scale(1.1)
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10
}

.hamburger span {
    width: 2rem;
    height: 0.25rem;
    background: var(--primary-color);
    border-radius: 10px;
    transition: var(--transition);
    position: relative
}

.container {
    display: flex;
	background: #f3f3f3;
    margin-top: 70px;
    min-height: calc(100vh - 140px);
    flex-direction: row-reverse
}

.side-menu {
    width: 220px;
    background: linear-gradient(to bottom,var(--primary-color),#38c6c6);
    padding: 2rem 0;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    color: white;
    transition: var(--transition);
    overflow-y: auto;
    overflow-x: clip;
    scrollbar-width: thin;
    scrollbar-color: #1e90ff transparent
}

.side-menu::-webkit-scrollbar {
    width: 4px
}

.side-menu::-webkit-scrollbar-thumb {
    background-color: #1e90ff;
    border-radius: 2px
}

.side-menu::-webkit-scrollbar-track {
    background: transparent
}

.side-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none
}

.side-menu-links a {
    padding: 0.7rem 1.2rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
    position: relative;
    font-size: 18px;
}

.side-menu-links a:hover {
    background-color: rgba(255,255,255,0.15);
    transform: translateX(5px);
    border-left: 2px solid rgba(255,255,255,0.25)
}

.side-menu-links a i {
    margin-right: 10px;
    width: 20px;
    text-align: center
}

.podsvet {
    font-weight: 900
}

.content {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto
}

.page-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
	padding-top: 0.5rem;
    position: relative;
    padding-bottom: 1.5rem;
    font-family: Montserrat-Black
}

.page-title:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right,var(--primary-color),var(--accent-color));
    bottom: 0;
    left: 0;
    border-radius: 2px
}

.page-description {
    line-height: 1.6;
    font-size: 19px;
	margin-top: 2rem;
    margin-bottom: 1rem;
    color: #555;
}


#bread-crumbs ol {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
  font-size: 15px;
}


#bread-crumbs li {
  display: flex;
  align-items: center;
}


#bread-crumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: #999;
}


#bread-crumbs a {
  color: #0066cccc;
  text-decoration: none;
  transition: color 0.2s;
}

#bread-crumbs a:hover {
  color: #004499;
  text-decoration: underline;
}


#bread-crumbs li[aria-current="page"] a {
  color: #666;
  font-weight: bold;
  pointer-events: none; 
  cursor: default;
}

.two-title {
	font-size: 2.0rem;
    color: #4c4db9;
    margin-bottom: 1rem;
	margin-top: 30px;
    position: relative;
    padding-bottom: 1.5rem;
    font-family: Montserrat-Black;
}

.page-text {
	line-height: 1.6;
    font-size: 19px;
    margin-bottom: 1rem;
    color: #555;
}

.navigat-top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    width: 90%;
    margin-bottom: 40px;
    margin-top: 50px;
}

.navigat-top > * {
    order: 1
}

.navigat-top > a {
	height: 40px;
	color: #333;
	font-size: 16px;
    padding: 10px 20px;
    background: #c6dfee;
	display: inline-block;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.navigat-top > a:nth-child(n+5) {
    display: none;
    order: 2
}

.navigat-top > a:hover {
    color: #fff;
    background: #6083d3;
    transform: translateY(-1px)
}

.navnav {
    display: none
}

.show-all {
	padding: 10px 20px;
	background: #5a6bce;
    color: #fff;
    border-radius: 12px;
	display: none;
    cursor: pointer;
    transition: all 0.8s ease;
}

.show-all:hover {
    background: #46a1c9;
    color: #fff;
    transform: translateY(-1px)
}

.navigat-top > a:nth-child(5) ~ .show-all {
    display: inline-block
}

.navnav:checked ~ a {
    display: inline-block !important;
    order: 1
}

.navnav:checked ~ .show-all {
    display: none !important
}


.text-blocks {
    margin-left: 2%;
    margin-right: 5%;
}

.block {
    background-color: white;
	margin-top: 22px;
	margin-bottom: 22px;
    margin-right: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: var(--transition);
    position: relative
}

.block:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15)
}

.block-header {
    padding: 10px;
    background: linear-gradient(to right,var(--primary-color),var(--secondary-color));
}

.block-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem
}

.block-content {
    padding: 1.6rem;
    position: relative
}

.block-text {
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 17px;
}

.copy-button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.5rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition)
}

.copy-button:hover {
    background-color: #ff375a;
    transform: scale(1.05)
}

.copy-button i {
    margin-right: 6px
}

.copy-notification {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: var(--dark-color);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    transform: translateY(100%);
    opacity: 0;
    transition: var(--transition)
}

.copy-notification.show {
    transform: translateY(0);
    opacity: 1
}

.copy-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    text-align: center;
    min-width: 200px
}

.copy-popup.show {
    opacity: 1
}

.copy-popup .countdown {
    font-size: 24px;
    margin: 10px 0;
    color: #4CAF50
}

.nav-next {
    margin: auto;
	display: flex;
}

.nav-next p {
    font-size: 30px;
    margin-top: 5px;
    margin-left: 20px;
    margin-right: 20px;
}

.nav-next a {
	font-size: 24px;
	padding: 10px 20px;
    background: linear-gradient(to bottom, var(--primary-color), #38c6c6);
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.8s ease;
}

.nav-next a:hover {
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.nav-pages {
    margin: auto;
    padding-top: 60px;
    padding-bottom: 35px;
}

.nav-pages a {
    background: #cfe5e5;
    padding: 18px;
    font-size: 20px;
    border-radius: 15px;
    margin-right: 1px;
    margin-left: 1px;
}

.nav-pages a:hover {
    background: #a0cbcb;
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column
}

footer p {
    margin-bottom: 8px
}

footer ul {
    list-style: none;
    display: flex;
    flex-direction: row
}

footer a {
    margin-left: 20px;
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600
}

@media (max-width: 768px) {
	
	.block-content {
    padding: 1.6rem;
}
	
.text-blocks {
    margin-left: 1%;
    margin-right: 1%;
}

.block {
    background-color: white;
    margin-top: 22px;
    margin-bottom: 22px;
    margin-right: 0px;
}	
	
	
	.page-title {
    font-size: 2.0rem;
}	

    .top-menu {
        display:none
    }

    .hamburger {
        display: flex
    }

    header {
        padding: 1rem;
        justify-content: space-between
    }

    .container {
        flex-direction: column
    }

    .side-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        padding-top: 1rem;
        z-index: 99;
        transition: left 0.3s ease
    }
	
    .close-menu {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        display: none;
        z-index: 101
    }

    .side-menu.active {
        left: 0
    }
	
	.side-menu-links a {
    padding: 0.8rem 3rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
    position: relative;
    font-size: 25px;
}


    .content {
        padding: 1rem
    }

    .text-blocks {
        grid-template-columns: 1fr
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg)
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg)
    }

.fade-in {
    animation: fadeIn 0.6s ease forwards
}

.delay-1 {
    animation-delay: 0.2s
}

.delay-2 {
    animation-delay: 0.4s
}

.delay-3 {
    animation-delay: 0.6s
}

.hover-effect {
    transition: var(--transition)
}

.hover-effect:hover {
    transform: scale(1.05)
}

.close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: none
}

footer a {
    font-size: 16px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}
	
}
