@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wdth,wght@0,75..100,100..900;1,75..100,100..900&display=swap');

:root {
	--bg: #030014;
	--bg_header: rgba(3, 0, 20, 0.7);
	--bg_sidebar: rgba(3, 11, 31, 0.8);
	--bg_sidebar_overlay: rgba(3, 0, 20, 0.4);
	--bg_2: #0a0a1f;
	--border: rgba(255, 255, 255, 0.05);
	--text: #ffffff;
	--text_2: rgba(149, 164, 185, 1);

	--width: 1200px;
	--radius: 7px;

	--c-accent-cyan: #00f0ff;
	--c-accent-purple: #7000ff;
	--c-accent-pink: #ff00aa;
}

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

html {
	scroll-behavior: smooth;
	min-width: 350px;
}

body{
	background: var(--bg);
	background-image: radial-gradient(circle at 15% 50%, rgba(112, 0, 255, 0.08) 0%, transparent 25%), radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.08) 0%, transparent 25%);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	color: var(--text);
	font-family: "Roboto", sans-serif;
	font-size: 14px;
	font-weight: 400;
	min-width: 350px;
}

header{
	position: fixed;
	width: 100%;
	background: var(--bg_header);
	border-bottom: 1px solid var(--border);
	backdrop-filter: blur(12px);
}
header > div{
	width: var(--width);
	height: 65px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}
@media (max-width: 1250px) {
    header > div{
		max-width: 100%;
		padding: 0 10px;
	}
}
@media (max-width: 700px) {
    header > div{
		height: 60px;
	}
}
header > div a{
	color: var(--text_2);
	text-decoration: none;
	transition: 0.3s;
}
header > div a:hover{
	color: var(--text);
}

.logo img{
	display: block;
	margin: 0;
	padding: 0;
	height: 31px;
}

.dropdown{
    position: relative;
}
.dropbtn{
	cursor: pointer;
	opacity: 1;
}
.dropbtn > div{
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text_2);
	transition: 0.3s;
}
.dropbtn > div svg{
	display: block;
	margin: 0;
	padding: 0;
	fill: var(--text_2);
}
.dropbtn > div:hover{
	color: var(--text);
}
.dropbtn > div:hover svg{
	fill: var(--text);
}
.dropdown-content{
    display: none;
    position: absolute;
    float: right;
    right: 0px;
    min-width: 70px;
    z-index: 99999;
    padding-top: 7px;
}
.drop_content_left{
	float: left;
    left: 0px;
}
.dropdown:hover .dropdown-content{display: block;}
.dropdown:hover .dropbtn{opacity: 1;}
.dropdown:hover .dropbtn > div{
	color: var(--text);
}
.dropdown:hover .dropbtn > div svg{
	fill: var(--text);
}

.drop_content{
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 13px;
	background: var(--bg_2);
	border-radius: var(--radius);
	border: 1px solid var(--border);
	backdrop-filter: blur(12px);
	padding: 10px;
}
.drop_content a{
	padding: 5px 10px;
	border-radius: var(--radius);
}

.drop_content_menu{
	width: 300px;
}



.menu_line{
	display: flex;
	align-items: center;
	gap: 20px;
	margin-right: 25px;
}
@media (max-width: 700px) {
    .menu_line{display: none;}
}



.burger{
	display: block;
	margin-left: 10px;
	transition: 0.3s;
}
.burger svg{
	display: block;
	padding: 0;
	margin: 0;
	fill: var(--text_2);
	transition: 0.3s;
}
.burger:hover svg{
	fill: var(--text);
}



.sidebar-overlay {
    position: fixed;
	width: 100%;
	height: 100vh;
    inset: 0;
    background: var(--bg_sidebar_overlay);
	backdrop-filter: blur(9px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 998;
}
.sidebar {
    position: fixed;
    top: 0;
    right: -80%;
    width: 80%;
	max-width: 400px;
    height: 100vh;
    background: var(--bg_sidebar);
	backdrop-filter: blur(9px);
    color:  var(--text);
    transition: 0.3s ease;
    padding: 20px;
    z-index: 999;
	overflow-y: auto;
    -webkit-overflow-scrolling: touch; 
	border-left: 1px solid var(--border);
}

.sidebar.active {
    right: 0;
}
.sidebar-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.sidebar-close {
    background: none;
    border: none;
    font-size: 32px;
    color:  var(--text);
    cursor: pointer;
    margin-bottom: 20px;
}
.sidebar-menu a {
    display: block;
    padding: 12px 0;
    color:  var(--text);
    font-size: 18px;
    text-decoration: none;
}
.sidebar-menu a:hover {
    opacity: 0.7;
}
body.no-scroll {
    overflow: hidden;
}

.sidebar_menu{
	display: flex;
	flex-direction: column;
	font-size: 15px;
	gap: 10px;
}
.sidebar_menu a{
	color: var(--text);
	font-size: 15px;
	border: 1px solid var(--border);
	padding: 10px;
}

.mobile{display: none;}
.desctop{display: flex;}
@media (max-width: 700px) {
    .mobile{display: flex;}
	.desctop{display: none;}
}

main{
	padding-top: 80px;
}
main > div{
	width: var(--width);
	margin: 0 auto;
}
@media (max-width: 1250px) {
    main > div{
		max-width: 100%;
		padding: 0 10px;
	}
}

/* Снежинки */
.snowflake {
    position: fixed;
    top: -20px;
    left: 0;
    pointer-events: none;
    z-index: 1; /* поставь 1–2, чтобы они были за контентом или перед фоном */
    border-radius: 50%;
    background: rgba(255, 255, 255, var(--alpha, 0.25));
    width: var(--size, 4px);
    height: var(--size, 4px);
    filter: blur(1px);

    animation-name: snow-fall;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-duration: var(--duration, 12s);
    will-change: transform, opacity;
}

@keyframes snow-fall {
    to {
        transform: translate3d(var(--x-move, 0), 110vh, 0);
        opacity: 0;
    }
}
