/* подчеркивание активной страницы */
.nav-links a.active::after {
    width: 100%;
}
* {
    margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', sans-serif;
}



/* оформление главной страницы */
body {
	background: #f5f7fa;
	color: #333;
	line-height: 1.6;
}
.container {
	width: 90%;
	max-width: 1100px;
	margin: auto;
}
.header {
	height: 100vh;
	background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    display: flex;
    align-items: center;
    text-align: center;
}
.header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}
.header p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: #764ba2;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.btn:hover {
    transform: scale(1.05);
    background: #f1f1f1;
}
.features {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}
.features h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.card {
    background: #f5f7fa;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.card:hover {
    transform: translateY(-10px);
}
.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.footer {
    background: #222222;
    color: #aaa;
    text-align: center;
    padding: 20px;
}
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(30, 30, 30, 0.35);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.nav-container {
    max-width: 1100px;
    margin: auto;
    padding: 15px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}
.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: white;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-space {
    height: 69px;
}
.header {
    min-height: calc(100vh - 80px);
    padding-top: 80px;
}
.logo,
.nav-links a {
    color: white;
}
::-webkit-scrollbar {
	width: 12px;
}
::-webkit-scrollbar-track {
	background: #d9fdf5;
}
::-webkit-scrollbar-thumb{
	background: #cbc2ff;
	border-radius: 0px;
}
::-webkit-scrollbar-thumb:hover {
	background: #a494ff;
}
html {
	scroll-behavior: smooth;
}
#main-text {
	font-family: 'Segoe UI', sans-serif;
	width: 95%;
	text-align: center;
	margin-left: 2.5%;
}






/* оформление разделов */
.info-block {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.info-block h1,
.info-block h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.info-block p,
.info-list li {
    font-size: 1.2rem;
    max-width: 800px;
}

/* Variants */
.hero-info {
    background: #dee0df;
}

.light {
    background: #ffffff;
}

.dark {
    background: #1e1e1e;
    color: #ffffff;
}

.gradient {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
}
.new {
	background-color: #003333;
	color: #ffffff;
}
.absolutely-new {
	background-color: #F0F8FF;
}

/* List */
.info-list {
    margin-top: 20px;
    list-style: disc;
    padding-left: 20px;
}


/* === FADE IN ANIMATION === */

/* начальное состояние */
.fade-title,
.fade-text {
    opacity: 0;
    transform: translateY(20px);
}

/* когда блок появился */
.fade-block.show .fade-title {
    animation: fadeUp 0.4s ease forwards;
    animation-delay: 0.3s;
}

.fade-block.show .fade-text {
    animation: fadeUp 0.5s ease forwards;
    animation-delay: 0.4s;
}

/* анимация */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#main_information {
	width: 25%;
	border-radius: 40px;
	padding: 1%;
	margin: 1%;
	font-size: 1.2rem;
    margin-bottom: 15px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.2);
	transition: 0.4s;
}
#main_information:hover {
	transform: translateY(-10px);
}
#text_decoration {
	margin-left: 5%;;
	margin-right: 5%;
}
.left {
	position: relative;
	right: 100%;
	left: 10%;
	color: #ffffff;
	background-color: #000000;
}
.right {
	position: relative;
	left: 60%;
	right: 20%;
	background-color: #ffffff;
}
#information {
	background: linear-gradient(135deg, #dee0df, #ffffff);
}
#headings {
	width: 10%;
	height: 5%;
	margin: 0 auto;
	background-color: #ffffff;
	border-radius: 30px;
}
#list {
	font-size: 15;
}
.link_underline {
	text-decoration: none;
}
.link_underline:hover {
	text-decoration: underline;
}

#right-photo {
	width: 20%;
	height: 60%;
	position: absolute;
	right: 10%;
}
#left-photo {
	width: 20%;
	height: 60%;
	position: absolute;
	left: 3%;
}
#right-text {
	position: relative;
	left: 13%;
}