@charset "utf-8";
/* CSS Document */
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Rubik', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: url('http://shakiroff.witch-you.ru/img/92160845_browser_.jpg') no-repeat center center fixed;
            background-size: cover;
            color: #5a2a4a;
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .container {
            width: 90%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px 0;
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Стили для Header */
        header {
            padding: 20px 40px 50px 40px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 20px;
            margin-bottom: 30px;
            box-shadow: 0 8px 32px rgba(154, 74, 124, 0.2);
            backdrop-filter: blur(10px);
            width: 100%;
        }

        .profile-photo {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid #e8b4d9;
            margin: 0 auto 20px;
            display: block;
        }

        h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
            color: #8a3a6d;
            font-weight: 600;
            padding-top: 10px;
            text-align: center;
        }

        .description {
            font-size: 1.2em;
            color: #7a4a6a;
            margin: 0 0 20px 0;
            text-align: justify;
        }

        .center-text {
            text-align: center;
        }

        /* Стили для Main */
        main {
            display: grid;
            grid-template-columns: 1fr;
            gap: 25px;
            margin-bottom: 30px;
            width: 100%;
        }

        .section-block {
            background: rgba(255, 255, 255, 0.8);
            padding: 35px;
            border-radius: 15px;
            box-shadow: 0 6px 25px rgba(154, 74, 124, 0.15);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            width: 100%;
        }

        .section-block:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 35px rgba(154, 74, 124, 0.25);
        }

        .section-title {
            font-size: 1.5em;
            margin-bottom: 25px;
            color: #8a3a6d;
            border-bottom: 2px solid #e8b4d9;
            padding-bottom: 10px;
            font-weight: 500;
        }

        .link-list {
            list-style: none;
        }

        .link-list li {
            margin-bottom: 15px;
            padding: 0;
        }

        .link-item {
            display: block;
            font-size: 0.9em;
            color: #7a4a6a;
            line-height: 1.5;
            font-weight: 400;
        }

        .link-item a {
            font-size: 1em;
            font-weight: 600;
            color: #8a3a6d;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .link-item a:hover {
            color: #9a4a7c;
            text-decoration: underline;
        }

        /* Стили для Footer */
        footer {
            background: rgba(255, 255, 255, 0.8);
            padding: 30px 40px;
            text-align: center;
            border-radius: 15px;
            margin-top: auto;
            box-shadow: 0 -4px 20px rgba(154, 74, 124, 0.1);
            width: 90%;
            max-width: 1400px;
            margin-bottom: 20px;
        }

        .copyright {
            color: #7a4a6a;
            margin-bottom: 10px;
            font-size: 1em;
        }

        /* Адаптивность для мобильных устройств */
        @media (max-width: 768px) {
            .container {
                padding: 15px 0;
                width: 95%;
            }
            
            header, main {
                width: 100%;
            }
            
            footer {
                width: 95%;
                padding: 25px 20px;
            }
            
            header {
                padding: 15px 20px 30px 20px;
            }
            
            .profile-photo {
                width: 150px;
                height: 150px;
            }
            
            h1 {
                font-size: 2em;
                margin-bottom: 5px;
                padding-top: 5px;
            }
            
            .description {
                font-size: 1.1em;
            }
            
            .section-block {
                padding: 25px;
            }
            
            main {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
        }

        @media (max-width: 480px) {
            header {
                padding: 10px 15px 25px 15px;
            }
            
            footer {
                padding: 20px 15px;
            }
            
            .profile-photo {
                width: 120px;
                height: 120px;
            }
            
            h1 {
                font-size: 1.7em;
            }
            
            .description {
                font-size: 1em;
            }
            
            .section-title {
                font-size: 1.3em;
            }
            
            .section-block {
                padding: 20px;
            }
            
            main {
                grid-template-columns: 1fr;
            }
        }

        /* Стили только для десктопной версии */
        @media (min-width: 769px) {
            .container {
                width: 90%;
            }
            
            header, main {
                width: 100%;
            }
            
            footer {
                width: 90%;
            }
            
            main {
                grid-template-columns: 1fr;
            }
            
            .section-block {
                padding: 40px;
            }
        }
