:root { --bg-gradient-jet: linear-gradient( to bottom right, hsla(240, 84%, 42%, 0.251) 0%, hsla(240, 80%, 46%, 0) 100% ), hsl(240, 14%, 7%); --bg-gradient-yellow-1: linear-gradient( to bottom right, hsl(35, 90%, 51%) 0%, hsla(36, 80%, 47%, 0) 50% ); --bg-gradient-yellow-2: linear-gradient( 135deg, hsla(45, 100%, 71%, 0.251) 0%, hsla(35, 85%, 43%, 0) 59.86% ), hsl(240, 2%, 13%); --border-gradient-onyx: linear-gradient( to bottom right, hsla(0, 86%, 45%, 0.838) 0%, ); --text-gradient-yellow: linear-gradient( to right, hsl(45, 100%, 72%), hsl(35, 100%, 68%) ); /* solid */ --jet: hsl(35, 74%, 47%); --onyx: hsl(39, 96%, 50%); --eerie-black-1: hsl(240, 11%, 2%); --eerie-black-2: hsl(240, 17%, 6%); --smoky-black: hsl(0, 0%, 3%); --white-1: hsl(0, 0%, 100%); --white-2: hsl(0, 0%, 98%); --orange-yellow-crayola: hsl(45, 95%, 44%); --vegas-gold: hsl(45, 93%, 47%); --light-gray: hsl(0, 0%, 84%); --light-gray-70: hsla(0, 0%, 84%, 0.7); --bittersweet-shimmer: hsl(0, 43%, 51%); /* font-family */ --ff-poppins: 'Poppins', sans-serif; /* font-size */ --fs-1: 24px; --fs-2: 18px; --fs-3: 17px; --fs-4: 16px; --fs-5: 15px; --fs-6: 14px; --fs-7: 13px; --fs-8: 11px; /* font-weight */ --fw-300: 300; --fw-400: 400; --fw-500: 500; --fw-600: 600; /** * shadow */ --shadow-1: -4px 8px 24px hsla(35, 92%, 42%, 0.474); --shadow-2: 0 16px 30px hsla(35, 92%, 48%, 0.396); --shadow-3: 0 16px 40px hsla(29, 88%, 44%, 0.25); --shadow-4: 0 25px 50px hsla(35, 92%, 42%, 0.453); --shadow-5: 0 24px 80px hsla(37, 87%, 46%, 0.359); --shadow-10: -4px 8px 24px hsla(0, 0%, 0%, 0.25); /** * transition */ --transition-1: 0.25s ease; --transition-2: 0.5s ease-in-out; } /*-----------------------------------*\ #RESET \*-----------------------------------*/ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } a { text-decoration: none; } li { list-style: none; } img, ion-icon, a, button, time, span { display: block; } button { font: inherit; background: none; border: none; text-align: left; cursor: pointer; } input, textarea { display: block; width: 100%; background: none; font: inherit; } ::selection { background: var(--orange-yellow-crayola); color: var(--smoky-black); } :focus { outline-color: var(--orange-yellow-crayola); } html { font-family: var(--ff-poppins); } body { background: var(--smoky-black); } /*-----------------------------------*\ #REUSED STYLE \*-----------------------------------*/ .sidebar, article { background: var(--eerie-black-2); box-shadow: var(--shadow-1); border: 1px solid var(--jet); border-radius: 20px; padding: 15px; box-shadow: var(--shadow-10); /* Или любая другая тень: var(--shadow-2), var(--shadow-3), и т.д. */ z-index: 1; } .icon-box { position: relative; background: var(--border-gradient-onyx); width: 30px; height: 30px; border-radius: 8px; display: flex; justify-content: center; align-items: center; font-size: 16px; color: var(--orange-yellow-crayola); box-shadow: var(--shadow-1); z-index: 1; } .icon-box::before { content: ""; position: absolute; inset: 1px; background: var(--eerie-black-1); border-radius: inherit; z-index: -1; } .icon-box { display: inline-block; font-size: 24px; /* Размер иконки */ color: #333; /* Цвет иконки */ margin-right: 10px; /* Отступ справа от иконки */ } .icon-box { display: inline-block; font-size: 24px; /* Размер иконки */ color: #333; /* Цвет иконки */ margin-right: 10px; /* Отступ справа от иконки */ color: #ff8c00; /* Цвет иконки */ font-size: 24px; /* Размер иконки */ } .contact-item { margin-bottom: 10px; display: flex; align-items: center; /* Выравнивание иконки и текста по центру вертикально */ } .move-down { margin-top: 40px; /* Перемещение иконки вниз */ } .icon-box ion-icon { --ionicon-stroke-width: 35px; } article { display: none; } article.active { display: block; animation: fade 0.5s ease backwards; } @keyframes fade { 0% { opacity: 0; } 100% { opacity: 1; } } .h2, .h3, .h4, .h5 { color: var(--white-2); text-transform: capitalize; } .h2 { font-size: var(--fs-1); } .h3 { font-size: var(--fs-2); } .h4 { font-size: var(--fs-4); } .h5 { font-size: var(--fs-7); font-weight: var(--fw-500); } .article-title { position: relative; padding-bottom: 7px; transform: translateX(-300px); } /*-----------------------------------*\ #MAIN \*-----------------------------------*/ main { margin: 15px 12px; margin-bottom: 75px; min-width: 259px; transition: opacity 0.5s ease-in-out; /* Плавная анимация */ } /*-----------------------------------*\ #SIDEBAR \*-----------------------------------*/ .avatar-box { background: var(--bg-gradient-onyx); border-radius: 100px; margin-top: 30px; margin-left: 30px; } .avatar-box { position: relative; display: inline-block; border-radius: 50%; /* Для создания круглой обводки */ overflow: hidden; } .avatar-box img { display: block; border-radius: 500%; /* Для создания круглой обводки */ } .info-content .name { color: var(--white-2); font-size: var(--fs-3); font-weight: var(--fw-500); letter-spacing: -0.25px; margin-bottom: 15px; margin-right: 930px; } .info-content .title { color: var(--white-5); background: var(--onyx); font-size: var(--fs-8); font-weight: var(--fw-300); width: max-content; padding: 3px 12px; border-radius: 10px; transform: translateX(-470px); } .info_more-btn { position: absolute; top: -15px; right: -15px; border-radius: 0 15px; font-size: 13px; color: var(--orange-yellow-crayola); background: var(--border-gradient-onyx); padding: 10px; box-shadow: var(--shadow-2); transition: var(--transition-1); z-index: 1; } .info_more-btn::before { content: ""; position: absolute; inset: 1px; border-radius: inherit; background: var(--bg-gradient-jet); transition: var(--transition-1); z-index: -1; } .sidebar.active .sidebar-info_more { opacity: 1; visibility: visible; box-shadow: var(--shadow-1); } /* Основные стили для блока sidebar-info */ .sidebar-info { display: flex; align-items: center; margin-top: 30px; padding: 10px; border-radius: 10px; background-color: #262525; box-shadow: var(--shadow-1); / } .avatar-box { margin-right: 15px; } .avatar-box img { border-radius: 50%; display: block; } .info-content { flex: 1; } .name { font-size: 24px; font-weight: bold; margin: 0; } .contact-list { list-style: none; padding: 0; margin: 0; } .contact-item { display: flex; align-items: center; padding: 17px 0; } .contact-item:last-child { border-bottom: none; } .icon-box { margin-right: 10px; color: #dd8513; } .icon-box ion-icon { font-size: 24px; } .contact-info { display: flex; flex-direction: column; } .contact-title { font-weight: bold; margin: 0; color: #b0a2a2bc; } .contact-info time, .contact-info address { font-size: 14px; color: #dcd6d6; } /*-----------------------------------*\ #ABOUT \*-----------------------------------*/ .about { width: 100%; /* Увеличиваем ширину блока */ max-width: 1200px; /* Максимальная ширина, чтобы не было слишком широко */ margin: 0 auto; /* Центрируем блок */ } .about-text { color: var(--light-gray); font-size: var(--fs-6); font-weight: var(--fw-300); line-height: 1.6; margin-top: -450px; margin-left: 200px; } @media (max-width: 768px) { .about-text { margin: 0; padding: 10px; order: -1; /* Перемещение вверх */ } } .about-text p { margin-bottom: 15px; margin-top: -40px; } /** * #service */ .service { margin-bottom: 35px; } .service-title { margin-bottom: 20px; } .service-list { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 7px; margin-left: 300px; } .service-list { margin-right: 200px; /* Отступ справа по умолчанию */ list-style: none; /* Убираем маркеры списка */ padding: 0; /* Убираем отступы по умолчанию */ } .service-item { position: relative; background: var(--border-gradient-onyx); padding: 10px; border-radius: 18px; box-shadow: var(--shadow-2); z-index: 1; transition: transform 0.3s, box-shadow 0.3s; /* Плавная анимация */ width: 290px; /* Ширина элемента */ height: 100px; /* Высота элемента */ left: 60px; /* Отступ слева по умолчанию */ display: flex; align-items: center; } @media (max-width: 1200px) { .service-item { margin-left: -800px; /* Сдвиг влево для экранов меньше 1200px */ width: 900px !important; } } @media (max-width: 992px) { .service-item { margin-left: 750px; /* Сдвиг влево для экранов меньше 992px */ width: 700px !important; } } @media (max-width: 768px) { .service-item { margin-left: -980px; /* Сдвиг влево для экранов меньше 768px */ width: 500px !important; } } @media (max-width: 576px) { .service-item { margin-left: -900px; /* Сдвиг влево для экранов меньше 576px */ width: 300px !important; } } @media (max-width: 1080px) and (max-height: 2400px) and (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { .service-item { margin-left: -900px; /* Переместить элемент влево */ left: 0; /* Сбросить отступ */ } } .service-item { transition: transform 0.3s ease, box-shadow 0.3s ease; /* Плавный переход для эффекта */ } .service-item:hover { transform: scale(1.09); /* Увеличение при наведении */ box-shadow: 0 12px 24px rgb(245, 208, 0); /* Изменение тени при наведении */ } .service-item::before { content: ""; position: absolute; inset: 1px; background: var(--bg-gradient-jet); border-radius: inherit; z-index: -1; } .service-icon-box img { display: block; } .service-content-box { margin-left: 10px; /* Отступ между иконкой и контентом */ } .status { display: flex; align-items: center; margin-top: 5px; /* Отступ сверху статуса */ } .dot { width: 10px; height: 10px; background-color: green; /* Цвет точки статуса */ border-radius: 50%; /* Скругление точки */ margin-right: 5px; /* Отступ между точкой и текстом */ } @media (max-width: 768px) { .service-list { margin-left: 70px; /* Убираем отступ справа на мобильных устройствах */ padding-left: -40px; /* Добавляем отступ слева на мобильных устройствах */ } .service-item { flex-direction: column; /* Располагаем элементы списка вертикально на мобильных */ align-items: flex-start; /* Выравниваем элементы по левому краю */ left: 0; /* Убираем отступ слева на мобильных устройствах */ width: calc(100% - 20px); /* Ширина элемента 100% минус отступы */ max-width: 300px; /* Максимальная ширина элемента */ margin-bottom: 20px; /* Расстояние между элементами на мобильных устройствах */ margin-left: 0; /* Убираем отступ слева на мобильных устройствах */ } .service-content-box { margin-left: 0; /* Убираем левый отступ на мобильных устройствах */ } } .service-icon-box { margin-bottom: 5px; } .service-icon-box img { margin: auto; } .service-content-box { text-align: center; } .service-item-title { margin-bottom: 7px; } .service-item-text { color: var(--light-gray); font-size: var(--fs-6); font-weight: var(--fw-3); line-height: 1.6; } @media (min-width: 580px) { } :root { --fs-1: 32px; --fs-2: 24px; --fs-3: 26px; --fs-4: 18px; --fs-6: 15px; --fs-7: 15px; --fs-8: 12px; } .sidebar, article { width: 520px; margin-inline: auto; padding: 30px; box-shadow: var(--shadow-1); } .article-title { font-weight: var(--fw-600); padding-bottom: 15px; } .article-title::after { width: 400px; height: 5px; } .icon-box { width: 48px; height: 48px; border-radius: 12px; font-size: 18px; } main { margin-top: 60px; margin-bottom: 100px; } .info_more-btn span { display: block; font-size: var(--fs-8); } .info_more-btn ion-icon { display: none; } .separator { margin: 32px 0; } .contacts-list { gap: 20px; } .contact-info { max-width: calc(100% - 64px); width: calc(100% - 64px); } .navbar { border-radius: 20px 20px 0 0; } .navbar-list { gap: 20px; } .navbar-link { --fs-8: 14px; } .service-item { display: flex; justify-content: flex-start; align-items: flex-start; gap: 18px; padding: 20px; } .service-icon-box { margin-bottom: 0; margin-top: 10px; } .service-content-box { text-align: left; } @media (min-width: 768px) { .sidebar, article { width: 700px; } .has-scrollbar::-webkit-scrollbar-button { width: 100px; } .sidebar, article { width: 950px; box-shadow: var(--shadow-5); } .navbar { position: absolute; bottom: auto; top: 0; left: auto; right: 0; width: max-content; border-radius: 0 20px; padding: 0 20px; box-shadow: none; } .navbar-list { gap: 30px; padding: 0 20px; } .service-list { grid-template-columns: 1fr 1fr; gap: 20px 25px; width: 50px; } .sidebar { position: sticky; top: 60px; max-height: max-content; height: 100%; margin-bottom: 0; padding-top: 60px; z-index: 1; } .sidebar-info { flex-direction: column; } .avatar-box img { width: 150px; } .info-content .name { white-space: nowrap; text-align: center; } .info-content .title { margin: auto; } .info_more-btn { display: none; } .sidebar-info_more { opacity: 1; visibility: visible; } .contact-info :is(.contact-link, time, address) { --fs-7: 14px; font-weight: var(--fw-300); } } #clock { font-size: 1em; color: #ffff; text-align: 20px; margin-top: 3px; right: -360px; } .button-container { display: flex; margin-left: 30px; color: gray; } .custom-button { color: #ffff; /* Цвет текста */ border: none; margin-left: 480px; padding: 10px 20px; font-size: 16px; cursor: pointer; margin-top: -5px; transition: background-color 0.3s ease; border-radius: 14px; /* Закругленные углы */ } @media (max-width: 768px) { .button-container { justify-content: flex-start; /* Выравнивание кнопок по левому краю на мобильных устройствах */ margin-left: -480px; /* Добавляем отступ слева для перемещения влево */ } .custom-button, .custom-buttons { width: 100%; /* Ширина кнопок 100% на мобильных устройствах */ max-width: 300px; /* Максимальная ширина кнопки */ margin-bottom: 10px; /* Расстояние между кнопками на мобильных устройствах */ } } .custom-buttons { color: #fff; /* Цвет текста */ border: none; padding: 10px 20px; font-size: 16px; cursor: pointer; margin-top: -5px; transition: background-color 0.3s ease; border-radius: 14px; /* Закругленные углы */ } .custom-button:not(:last-child) { margin-right: 10px; /* Отступ между кнопками */ } .custom-button:hover { background-color: #333; /* Цвет кнопки при наведении */ } .custom-buttons:hover { background-color: #333; /* Цвет кнопки при наведении */ } #clock { padding-left: 14px; /* Задайте нужное значение */ font-weight: bold; color: #c5b5b5; } .ukraine { padding-left: 20px; /* Установите нужное значение */ color: #c5b5b5; font-weight: bold; } .birthday{ padding-left: 12px; /* Установите нужное значение */ color: #c5b5b5; font-weight: bold; } .service-item { list-style-type: none; margin: 20px 0; } .service-icon-box { display: inline-block; vertical-align: top; } .service-content-box { display: inline-block; vertical-align: top; margin-left: 10px; } .status { display: flex; align-items: center; font-family: monospace; color: #00ff00; /* Зеленый цвет текста */ margin-top: 10px; } .status .dot { width: 10px; height: 10px; background-color: #00ff00; /* Зеленый цвет круга */ border-radius: 50%; margin-right: 8px; animation: blink 1.5s infinite; } .nocopy{ margin-top: -150px; margin-left: 100px; text-align: center; color: #746d6d; } .statusx { display: flex; align-items: center; font-family: monospace; color: #b90c0ce1; /* Зеленый цвет текста */ margin-top: 10px; } .statusx .dots { width: 10px; height: 10px; background-color: #c00d0de1; /* Зеленый цвет круга */ border-radius: 50%; margin-right: 8px; animation: blink 1.5s infinite; } .statuspx { display: flex; align-items: center; font-family: monospace; color: #fcb00c; /* Зеленый цвет текста */ margin-top: 10px; } .statuspx .dots { width: 10px; height: 10px; background-color: #fc8c0c; /* Зеленый цвет круга */ border-radius: 50%; margin-right: 8px; animation: blink 1.5s infinite; } @keyframes blink { 0%, 100% { opacity: 7; } 70% { opacity: 0; } } @media (max-width: 576px) { header h2 { margin-top: 50px; /* Установите нужное значение */ } } @media (max-width: 768px) { header h2 { /* Убедитесь, что элемент имеет нужное позиционирование, если используете top */ position: relative; /* Если элемент не имеет позиционирования */ top: 40px; /* Установите нужное значение */ } } @media (max-width: 992px) { header h2 { position: relative; /* Если элемент не имеет позиционирования */ top: 30px; /* Установите нужное значение */ } } @media (max-width: 1200px) { header h2 { position: relative; /* Если элемент не имеет позиционирования */ top: 480px; /* Установите нужное значение */ left: -100px; } } /* */ /* Стили для мобильных устройств */ @media (max-width: 576px) { .about-text { margin-top: 460px; /* Установите нужное значение */ } } @media (max-width: 768px) { .about-text { top: 400px; /* Установите нужное значение */ } } @media (max-width: 992px) { .about-text { top: 300px; /* Установите нужное значение */ } } @media (max-width: 1200px) { .about-text { margin-top: 50px; } } @media (max-width: 600px) { h2.article-title { font-size: 1.2em; line-height: 1.3em; } } @media (max-width: 768px) { .service-item-title { margin-left: 50px; margin-top: -50px; } } @media (max-width: 768px) { .dot { margin-left: 40px; margin-top: 3px; } } @media (max-width: 768px) { /* Здесь можно настроить ширину, соответствующую вашему экрану */ .info-content .title { transform: translateX(26px); /* Или любое другое значение для смещения влево */ } } @media (max-width: 768px) { /* Здесь можно настроить ширину, соответствующую вашему экрану */ .info-content .name { transform: translateX(37px); /* Или любое другое значение для смещения влево */ } } @media (max-width: 768px) { .avatar-box img { margin-left: 0px; } } @media (max-width: 1200px) { .service-item { margin-left: -800px; width: 900px !important; } } @media (max-width: 992px) { .service-item { margin-left: -100px; width: auto; } } @media (max-width: 768px) { .about-text { margin: 0; padding: 10px; order: -1; /* Перемещение вверх */ } .service-list { grid-template-columns: 1fr; margin-left: 0; margin-right: 0; } .service-item { margin-left: 0; width: 100%; } .avatar-box img { width: 80px; height: 80px; } .info-content .name { margin-right: 0; } .info-content .title { transform: none; margin-right: 0; } .contact-item { flex-direction: column; align-items: flex-start; } .sidebar-info { flex-direction: column; align-items: center; width: 100%; } .sidebar-info_more { width: 100%; } .navbar-link { padding: 10px 5px; } } @media (max-width: 576px) { .about-text p { margin-top: 0; margin-bottom: 10px; } .service-item { height: auto; } .navbar { padding: 10px 0; } .navbar-link { font-size: var(--fs-7); } } @media (max-width: 480px) { .sidebar-info { height: auto; } .avatar-box img { width: 60px; height: 60px; } .contact-info time, .contact-info address { font-size: 12px; } .service-item { padding: 5px; } } @media only screen and (max-width: 768px) { .contact-title { margin-left: 60px; margin-top: -40px; } } @media only screen and (max-width: 768px) { .birthday { margin-left: 60px; } } @media only screen and (max-width: 768px) { .ukraine { margin-left: 70px; } } @media only screen and (max-width: 768px) { #clock { margin-left: 30px; } } @media only screen and (max-width: 768px) { .statusx { margin-left: 46px; margin-top: -7px; } } @media only screen and (max-width: 768px) { .status { margin-left: 3px; margin-top: -7px; } } @media only screen and (max-width: 768px) { .statuspx { margin-left: 46px; margin-top: -7px; } } @media only screen and (max-width: 768px) { .nocopy { margin-left: 6px; } } @media only screen and (max-width: 768px) { .title { margin-left: 60px; } } @media only screen and (max-width: 768px) { .name { margin-left: 30px; } } @media only screen and (max-width: 768px) { .avatar { margin-left: 60px !important; height: 10px; } } @media only screen and (max-width: 768px) { .pnicon { margin-left: 15px !important; margin-top: 10px !important; } } @media only screen and (max-width: 768px) { .service-content-box { margin-top: -10px !important; margin-left: 25px !important; } } .animgiff img { width: 150px; /* Установите желаемую ширину */ height: auto; /* Сохраняет пропорции */ margin-top: -150px; /* Устанавливает отрицательный верхний отступ для всех устройств */ } @media (max-width: 768px) { .animgiff img { transform: translateY(-1500px); /* Перемещение изображения вверх */ margin-left: -40px; } }