/* 
  Styles for name header
  Author: Oksana S
  Last updated: 11.07.2025
  Purpose: CV presentation styling
*/
:root {
  --page-bg: #f8f6f7;
  --surface: #ffffff;
  --sidebar-bg: rgb(231 231 231 / 75%);
  --text: #161d2a;
  --muted: #555555;
  --dark-surface: #27232a;
  --magenta-cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M4 2l7 25 5-9 9-5L4 2z' fill='%23ed3278' stroke='white' stroke-width='2'/%3E%3C/svg%3E")
      4 2,
    pointer;
}

body {
  box-sizing: border-box;
  border-radius: 25px;
  padding-left: 40px;
  padding-top: 20px;
  padding-right: 40px;
  padding-bottom: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  cursor: var(--magenta-cursor);
  background:
    radial-gradient(circle at 92% 4%, rgb(237 50 120 / 10%), transparent 24%),
    var(--page-bg);
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 0;
}

.wrapper {
  background: var(--surface);
  display: flex;
  flex-direction: row-reverse;
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 14px 32px rgb(237 50 120 / 12%);
}

/* Maincontent */
.main-content {
  padding-left: 88px;
  padding-top: 80px;
  padding-right: 40px;
  padding-bottom: 80px;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
}

/* Sitebar */
.sidebar {
  background: var(--sidebar-bg);
  padding-top: 40px;
  padding-bottom: 40px;
  padding-right: 40px;
  box-sizing: border-box;
  flex: 0 0 400px;
  width: 400px;
  max-width: 400px;
  overflow: hidden;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: inset -1px 0 rgb(255 255 255 / 70%);
}

.sidebar h3 {
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.sidebar p,
.sidebar li {
  margin-bottom: 7px;
}

.sidebar .professional-skills-list li,
.sidebar .language-skills-list .skills-list-item {
  margin-bottom: 7px;
}

.foto {
  display: block;
  width: 340px;
  height: 340px;
  object-fit: cover;
  margin: 0 auto;
}

/* Contacts */

.contacts-title {
  color: #161d2a;
  font-size: 22px;
  font-weight: 700;
  line-height: normal;
  margin-top: 0px;
  margin-bottom: 8px;
  padding-top: 40px;
}

.sidebar-content {
  padding-left: 40px;
  padding-right: 40px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.contacts-type {
  color: #161d2a;
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  margin-right: 8px;
  vertical-align: baseline;
  display: inline-block;
}

.contacts-link {
  color: #8aa5ff;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  text-decoration-line: underline;
}

.contacts-item {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 16px;
  padding-right: 8px;
}

.contacts-container {
  margin-bottom: 40px;
  margin-bottom: 8px;
}
.timeline-content {
  margin-bottom: 24px; /* або 20px, якщо треба менше */
}

/* TECH Skills CONTAINER */

.skills-container {
  margin-bottom: 40px;
  margin-top: 40px;
}

.sidebar .skills-container {
  position: relative;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.sidebar .sidebar-summary,
.sidebar .skills-list {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.sidebar .skills-container > .skills-title {
  position: relative;
  padding-right: 32px;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.sidebar .skills-container > .skills-title::after {
  content: '\2212';
  position: absolute;
  right: 4px;
  top: 50%;
  color: #ed3278;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.sidebar .skills-container > .skills-title:hover {
  color: #ed3278;
}

.sidebar .skills-container.is-collapsed > .skills-title::after {
  content: '\002B';
}

.sidebar .skills-container.is-collapsed > :not(.skills-title) {
  display: none !important;
}

.skills-title {
  color: #161d2a;
  font-size: 22px;
  font-weight: 700;
  line-height: normal;
  margin-top: 0;
  margin-bottom: 8px;
}

.my-projects-title,
.skills-title,
.contacts-title,
.work-experience-title {
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 27px;
}

.my-projects-title .material-symbols-outlined,
.skills-title .material-symbols-outlined,
.contacts-title .material-symbols-outlined,
.work-experience-title .material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  line-height: 1;
  vertical-align: -3px;
  margin-right: 6px;
}

.sidebar .skills-title {
  font-size: 20px;
  line-height: 24px;
}

.sidebar .skills-title .material-symbols-outlined {
  font-size: 20px;
}

.skills-list {
  padding-left: 16px;
}

.skills-list-item {
  color: #161d2a;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

.professional-skills-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.professional-skills-list li {
  color: #161d2a;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.professional-skills-list li:last-child {
  margin-bottom: 0;
}

.professional-skills-list strong {
  display: block;
  color: #b51652;
  margin-bottom: 2px;
}

.sidebar-summary {
  color: #161d2a;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.language-skills-list .skills-list-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  margin-bottom: 8px;
}

.language-skills-list .flag-icon {
  display: block;
  width: 24px;
  height: 18px;
  object-fit: cover;
}

/* Main content */

.my-proffesion {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 17px;
  margin-top: 0;
  margin-bottom: 8px;
}

.my-descr {
  color: #1a1818;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  padding-bottom: 25px;
}

.my-info {
  margin-bottom: 40px;
}

.my-name {
  color: #ed3278;
  font-size: 45px;
  font-weight: 700;
  line-height: 55px;
  margin: 20px 0 12px 0;
  text-align: center;
}

/* My projects */

.my-projects-title {
  color: #000;
  font-size: 22px;
  font-weight: 700;
  line-height: 27px;
  margin-top: 0;
  margin-bottom: 29px;
  padding-top: 3px;
}

.my-project-item {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
}

.my-projects-list {
  padding-left: 16px;
}

.my-projects-item-link {
  color: #8aa5ff;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  text-decoration-line: underline;
}

.my-project-item-tech {
  color: #595959;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

.my-projects-container {
  margin-bottom: 40px;
}

/* Work Experience */

.work-experience-title {
  color: #000;
  font-size: 22px;
  font-weight: 700;
  line-height: 27px;
  margin-top: 0;
  margin-bottom: 8px;
}

.work-experience-company {
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  margin-top: 0;
  margin-bottom: 12px;
}

.company-name {
  color: #8aa5ff;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.work-experience-period {
  color: #555555;
  font-size: 15px;
  font-weight: 400;
  line-height: 15px;
  margin-bottom: 8px;
  font-style: italic;
}

.experience-date {
  filter: blur(3px);
  user-select: none;
}

.experience-years {
  filter: blur(3px);
  user-select: none;
}

.work-experience-period-separator {
  color: #000;
}

.work-experience-dueties-list {
  margin-left: 16px;
  margin-bottom: 12px;
  padding-left: 10px;
}

.work-experience-dueties-item {
  color: #595959;
  font-size: 14px;
  font-weight: 400;
  line-height: 28px;
  padding-top: 10px;
  font-style: normal;
}

.work-experience-dueties-item1 {
  color: #555555;
  font-size: 14px;
  font-weight: 400;
  line-height: 28px;
  padding-top: 10px;
  font-style: italic;
}

.work-experience-dueties {
  color: #333; /* темніший, базовий колір тексту */
  font-size: 15px;
  font-weight: 400;
  font-style: normal;
  line-height: 26px;
  padding-top: 8px;
}

.work-experience-container {
  margin-bottom: 12px;
}

/* Education */

.my-education-container {
  margin-top: 20px;
  margin-bottom: 20px;
}

.my-education-title {
  color: #000;
  font-size: 22px;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 0;
}

.my-education-univer {
  color: #ed3278;
  font-size: 20px;
  line-height: normal;
  margin-top: 8px;
  margin-bottom: 0;
}

.my-education-management {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  margin-top: 8px;
  margin-bottom: 0;
}

.education-period {
  color: #555555;
  font-family: Montserrat;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 8px;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.skill-label-title {
  color: #454545;
  font-style: italic;
}

.lanyard-badge {
  position: absolute;
  top: 20px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.lanyard-string {
  width: 2px;
  height: 50px;
  background-color: #ed3278;
  animation: bounce 2s infinite ease-in-out;
}

.badge-label {
  background-color: #ed3278;
  color: white;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: rotate(-5deg);
  margin-top: 5px;
  white-space: nowrap;
}
.open-to-work-banner {
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  text-align: center;
  padding: 7px 8px;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.35;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  margin-top: 5px;

  /* Заокруглення тільки з правого боку */
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 360px;
  max-width: calc(100vw - 32px);
  background-color: #000;
  color: #fff;
  text-align: left;
  border-radius: 5px;
  padding: 12px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Піднімаємо тултіп над іконкою */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;

  /* Додаємо уніфікований текстовий стиль */
  font-size: 14px;
  line-height: 1.6;
  font-family: Arial, sans-serif;
  white-space: normal;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}
.tooltip .tooltiptext::after {
  content: '';
  position: absolute;
  top: 100%; /* Стрілка внизу тултіпа */
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.education-info-tooltip .tooltiptext {
  right: 0;
  left: auto;
  max-width: min(360px, calc(100vw - 32px));
  box-sizing: border-box;
  transform: none;
}

.education-info-tooltip .material-icons.md1::before {
  color: #000;
}

.education-info-tooltip:hover .material-icons.md1::before {
  color: #ed3278;
}

.contacts-info-tooltip .tooltiptext {
  top: calc(100% + 8px);
  bottom: auto;
  left: 0;
  transform: none;
  font-weight: 400;
}

.Expirience-possition {
  color: #ed3278;
}

a {
  color: rgb(16, 17, 17);
  text-decoration: none;
}

/* mouse over link */
a:hover {
  color: rgb(83, 79, 79);
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: underline;
}

a:hover {
  color: #ed3278;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

label {
  padding-right: 10px;
  font-size: 1rem;
}

progress[value] {
  /* Reset the default appearance */
  -webkit-appearance: none;
  appearance: none;
  width: 250px;
  height: 15px;
}

progress[value]::-webkit-progress-bar {
  background-color: #8b8b8f;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}

progress[value]::-webkit-progress-value {
  background-image:
    -webkit-linear-gradient(
      -45deg,
      transparent 33%,
      rgba(0, 0, 0, 0.1) 33%,
      rgba(146, 8, 8, 0.1) 66%,
      transparent 66%
    ),
    -webkit-linear-gradient(
        top,
        rgba(119, 106, 106, 0.25),
        rgba(209, 12, 12, 0.25)
      ),
    -webkit-linear-gradient(left, rgb(196, 45, 115), rgb(187, 27, 147));

  border-radius: 2px;
  background-size:
    35px 20px,
    100% 100%,
    100% 100%;
}

.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  float: none;
  padding-right: 12px;
}

.centered-hr {
  width: 80%; /* або 200px, як хочеш */
  margin-block: 20px;
  margin-inline: auto;
  border: none;
  border-top: 1px solid rgb(237 50 120 / 28%);
}

.section-with-lines {
  text-align: center;
  margin: 20px 0;
}

.text-between-lines {
  font-style: italic;
  font-size: 14px;
  color: #444;
  margin: 10px 0;
}

.accordion {
  background-color: rgb(231 231 231 / 75%);
  color: #130606;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
  position: relative; /* Додаємо для абсолютного позиціонування псевдоелементу */
}

.accordion::after {
  content: '\002B'; /* Юнікод для + */
  color: #777;
  font-weight: bold;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%); /* Центрує по вертикалі */
}

.accordion-section {
  position: relative;
  overflow: visible;
  z-index: 1; /* Щоб тултіп був поверх */
}

.active::after {
  content: '\2212'; /* Юнікод для − */
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  padding-bottom: 10px;
}

.panel.panel-open {
  overflow: visible;
}

.wpapper {
  width: 1170px;
  margin: 0 auto;
  height: 100%;
  position: relative;
}
.headerDevNote {
  display: inline;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.info-icon {
  position: relative;
  display: inline-block;
  color: #ed3278;
  cursor: pointer;
  user-select: none;
}

.info-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  width: max-content;
  max-width: 220px;
  padding: 5px 8px;
  border-radius: 4px;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.info-icon:hover::after,
.info-icon:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

.info-icon:hover {
  color: #ff4f91; /* трохи яскравіший рожевий при наведенні */
}

.logo-text {
  margin-left: 18pt;
}

.banderogus-container {
  background: #fff;
  padding: 60px 56px 60px 56px;
  align-self: center;
}

.banderogus-title {
  font-family: 'Montserrat';
  font-weight: 600px;
  font-size: 64px;
  line-height: 72px;
  color: #000000;
}

.banderogus-greeting {
  font-weight: 600px;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px;
}

.banderogus-start-text {
  color: #ff6b0a;
  font-weight: 600px;
  font-size: 30px;
}

.banderogus-description {
  font-size: 16px;
  font-weight: 600px;
  line-height: 24px;
  color: #000000;
  margin-top: 24px;
  margin-bottom: 48px;
}

.banderogus-launch {
  background: #ed3278;
  border-radius: 8px;
  padding: 12px 24px;
  min-width: 140px;
  box-sizing: border-box;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  border: 0;
  box-shadow: 0 4px 10px rgb(0 0 0 / 20%);
}

.main-page-row {
  display: flex;
  justify-content: space-between;
  height: 100%;
}

.banderogus-image {
  align-self: flex-end;
}

.gus-facts {
  padding: 52px 0 72px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gus-title {
  line-height: 100px;
  font-weight: 600;
  font-size: 48px;
  color: black;
  margin: 16px;
}

.gus-description {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: black;
  width: 875px;
}

.gus-facts-container {
  width: 1400px;
  display: flex;
  justify-content: space-between;
}

.gus-fact-item {
  width: 30%;
}

.gus-fact-title {
  font-weight: 600;
  font-size: 24px;
  color: #000000;
  text-align: center;
  margin: 12px 0 32px 0;
}

.gus-fact-description {
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  line-height: 24px;
  text-align: center;
}

.victory-title {
  font-weight: 600;
  font-size: 48px;
  line-height: 100px;
  margin: 16px 0;
  color: #000000;
}

.victory-description {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  width: 875px;
  text-align: center;
}

.victory-bgd {
  width: 1170px;
  background: linear-gradient(270deg, #48b4cc 0%, rgba(98, 148, 158, 0) 94.19%);
  padding: 72px 0;
  margin-bottom: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  padding: 28px 28px 20px;
  box-sizing: border-box;
}

.modal-form-container {
  position: relative;
  width: min(700px, calc(100% - 32px));
  max-width: 700px;
  box-sizing: border-box;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.modal-form img {
  display: block;
  width: 40px;
  height: auto;
  margin: 0 auto 8px;
}

.modal-form-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 24px;
  color: #ed3278;
  margin: 32px 0 12px 0;
}

.modal-form-description {
  color: #000000;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 24px;
}

.modal-bgd {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 29, 31, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
  z-index: 50;
}

.modal-form-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.modal-field-name {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 8px;
  color: #000000;
  text-align: left;
}

.modal-field-input,
.modal-field-message {
  border: 1px solid #d7d7d7;
  box-sizing: border-box;
  border-radius: 8px;
  min-height: 44px;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  padding: 10px 12px;
  width: 100%;
  background-color: #fff;
  cursor: text;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

a,
button,
select,
[role='button'] {
  cursor: var(--magenta-cursor);
}

.modal-field-input:focus,
.modal-field-message:focus {
  outline: none;
  border-color: #ed3278;
  box-shadow: 0 0 0 3px rgba(237, 50, 120, 0.12);
}

.modal-form-btn {
  background: #ed3278;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 400px;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  cursor: pointer;
  border: 0;
  margin-top: 24px;
  min-width: 44px;
  min-height: 44px;
}

.close-btn {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #000000;
  cursor: pointer;
  border: 0;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 50%;
}

.modal-form-description {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 8px;
  color: #56687a;
}

.modal-active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.modal-field-message {
  border: 1px solid #d7d7d7;
  box-sizing: border-box;
  border-radius: 12px;
  min-height: 180px;
  resize: vertical;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  background-color: #fff;
  text-align: left;
}

@-webkit-keyframes animate-stripes {
  100% {
    background-position: -100px 0px;
  }
}

@keyframes animate-stripes {
  100% {
    background-position: -100px 0px;
  }
}

@media screen and (max-width: 960px) {
  body {
    padding: 20px 20px 20px 20px;
    background:
      radial-gradient(circle at 92% 4%, rgb(237 50 120 / 10%), transparent 24%),
      #f8f6f7;
  }

  .main-content {
    padding: 40px;
  }
}

@media screen and (max-width: 800px) {
  .sidebar {
    width: 300px;
    flex-basis: 300px;
  }
  .foto {
    width: 280px;
    height: 280px;
  }
  .sidebar-content {
    padding: 20px;
  }
}

@media screen and (max-width: 600px) {
  body {
    padding: 0;
  }
  .sidebar {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
  }
  .foto {
    width: 200px;
    height: 200px;
  }
  .sidebar-content {
    padding: 20px;
  }
  .main-content {
    padding: 20px;
  }
}

@media screen and (max-width: 510px) {
  .wrapper {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
    font-size: 14px;
  }
  .foto {
    width: 75%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
  }

  .main-content {
    font-size: 20px;
  }
}

.StepProgress {
  position: relative;
  padding-left: 45px;
  padding-top: px;
  list-style: none;
}
.StepProgress::before {
  content: ''; /* створюємо псевдоелемент */
  position: absolute; /* абсолютне позиціонування */
  top: 0;
  bottom: 0; /* тягнеться від верху до низу */
  left: 16px; /* точне вирівнювання під кружками */
  width: 2px; /* ширина лінії */
  background-color: #ed3278; /* рожевий колір */
}

.StepProgress-item {
  position: relative;
  counter-increment: list;
  font-size: 15px;
  line-height: 1.5;
  padding-bottom: 24px;
}
.StepProgress-item:last-child {
  padding-bottom: 0;
}
.StepProgress-item::before {
  /*  display: inline-block;
            content: '';
            position: absolute;
            left: -73px;
            height: 300%;
            width: 10px;*/
}
.StepProgress-item::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 21px;
  left: -36px;
  width: 13px;
  height: 13px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background-color: #fff;
}
.StepProgress-item.is-done::before {
}
.StepProgress-item.is-done::after {
  content: '';
  font-size: 13px;
  color: #fff;
  text-align: center;
  border: 2px solid #ed3278;
  background-color: #f6f6fa;
}

.StepProgress-item.current::after {
  content: counter(list);
  top: -9px;
  padding-top: 1px;
  width: 23px;
  height: 23px;
  left: -41px;
  font-size: 14px;
  text-align: center;
  color: #ed3278;
  border: 2px solid #ed3278;
  background-color: #ed3278;
}

.StepProgress strong {
  display: block;
}

.footer {
  padding-top: 0;
  line-height: 1;
  text-align: center;
  justify-content: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  text-align: center;
}
.change {
  display: none;
}
.container:hover + .change {
  display: block;
  color: blue;
  font-size: 14px;
}

.material-icons.md1::before {
  content: 'info_outline';
  padding-right: 8px;
  color: #000;
}

.material-icons.md1:hover::before {
  content: 'info';
  color: #ed3278;
}

.fa {
  padding-right: 8px;
}

.divWithBoarder {
  text-align: center;
  margin: 18px;
  border-left: 6px solid #ed3278;
  background: lightgray;
  box-shadow: 10px 10px;
  border-radius: 10px;
  padding-top: 21px;
  padding-bottom: 21px;
}

.divSelectUIlanguage {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  height: 18px;
  padding: 0 8px 0 0;
  box-sizing: border-box;
  text-align: right;
}

.divSelectUIlanguage label {
  padding: 0;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 2px 6px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 10px;
}

.theme-toggle:hover {
  background: #ed3278;
  color: #fff;
}

.theme-toggle-icon {
  font-size: 14px;
}

.standalone-theme-toggle {
  float: right;
}

html[data-theme='dark'] body {
  --page-bg: #17151a;
  --surface: #242127;
  --sidebar-bg: rgb(46 42 51 / 92%);
  --text: #f6f1f4;
  --muted: #c8bcc4;
  color: var(--text);
}

html[data-theme='dark'] .main-content,
html[data-theme='dark'] .panel,
html[data-theme='dark'] .accordion {
  background: var(--surface);
  color: var(--text);
}

html[data-theme='dark'] .contacts-title,
html[data-theme='dark'] .skills-title,
html[data-theme='dark'] .my-projects-title,
html[data-theme='dark'] .my-education-title,
html[data-theme='dark'] .my-education-management,
html[data-theme='dark'] .my-education-univer,
html[data-theme='dark'] .contacts-item,
html[data-theme='dark'] .sidebar-summary,
html[data-theme='dark'] .skills-list-item,
html[data-theme='dark'] .professional-skills-list li,
html[data-theme='dark'] .language-skills-list .skills-list-item {
  color: var(--text);
}

html[data-theme='dark'] .my-descr,
html[data-theme='dark'] .my-proffesion,
html[data-theme='dark'] .my-project-item-tech,
html[data-theme='dark'] .education-period,
html[data-theme='dark'] .work-experience-period,
html[data-theme='dark'] .work-experience-dueties,
html[data-theme='dark'] .work-experience-dueties-item,
html[data-theme='dark'] .work-experience-dueties-item1 {
  color: var(--muted);
}

html[data-theme='dark'] .professional-skills-list strong {
  color: #ff6b9f;
}

html[data-theme='dark'] .modal-form,
html[data-theme='dark'] .modal-field-input,
html[data-theme='dark'] .modal-field-message {
  background: #302b33;
  color: #fff;
}

html[data-theme='dark'] .wrapper,
html[data-theme='dark'] .main-content,
html[data-theme='dark'] .sidebar,
html[data-theme='dark'] .panel,
html[data-theme='dark'] .accordion,
html[data-theme='dark'] .banderogus-container,
html[data-theme='dark'] .divWithBoarder {
  background-color: var(--surface);
}

html[data-theme='dark'] .sidebar {
  background-color: var(--sidebar-bg);
}

html[data-theme='dark'] a,
html[data-theme='dark'] .my-project-item,
html[data-theme='dark'] .work-experience-company,
html[data-theme='dark'] .work-experience-title,
html[data-theme='dark'] .accordion,
html[data-theme='dark'] .modal-field-name {
  color: var(--text);
}

html[data-theme='dark'] .contacts-link,
html[data-theme='dark'] .my-projects-item-link,
html[data-theme='dark'] .company-name {
  color: #ff6b9f;
}

html[data-theme='dark'] a:hover {
  color: #ff8ab3;
}

html[data-theme='dark'] .centered-hr {
  border-top-color: rgb(237 50 120 / 45%);
}

html[data-theme='dark'] .modal-field-input,
html[data-theme='dark'] .modal-field-message {
  border-color: #625866;
}

html[data-theme='dark'] .modal-field-input::placeholder,
html[data-theme='dark'] .modal-field-message::placeholder {
  color: #c8bcc4;
}

html[data-theme='dark'] #langs {
  background: #302b33;
  color: #fff;
}

#langs {
  height: 16px;
  padding: 0 2px;
  border: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 10px;
  line-height: 1;
}

.languageswitcher {
  text-align: center;
  margin: 30px;
  border-left: 6px solid #ed3278;
  height: 70px;
  background: lightgray;
  box-shadow: 10px 10px;
  border-radius: 10px;
  width: 400px;
  padding-top: 21px;
  padding-left: 100px;
  padding-right: 0px;
}
.div {
  text-align: center;
  margin: 18px;
  border-left: 6px solid #ed3278;
  width: 630px;
  height: 70px;
  background: lightgray;
  box-shadow: 10px 10px 5px 12px lightblue;
  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 0px;
}

#rcorners1 {
  border-radius: 25px;
  background: #73ad21;
  padding: 20px;
  width: 200px;
  height: 150px;
}

#rcorners2 {
  border-radius: 25px;
  border: 2px solid #ed3278;
  padding: 20px;
  width: 200px;
  height: 150px;
}

#rcorners3 {
  border-radius: 25px;
  background: url(paper.gif);
  background-position: left top;
  background-repeat: repeat;
  padding: 20px;
  width: 200px;
  height: 150px;
}

button:hover {
  background-color: rgb(13, 14, 13);
  color: white;
  box-shadow:
    0 8px 16px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Page loader styles */
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 100px;
  height: 100px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #ed3278;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Animation property for send email button */
.shakeanimation {
  animation: wiggle 2s linear infinite;
}

/* Keyframes */
@keyframes wiggle {
  0%,
  7% {
    transform: rotateZ(0);
  }
  15% {
    transform: rotateZ(-15deg);
  }
  20% {
    transform: rotateZ(10deg);
  }
  25% {
    transform: rotateZ(-10deg);
  }
  30% {
    transform: rotateZ(6deg);
  }
  35% {
    transform: rotateZ(-4deg);
  }
  40%,
  100% {
    transform: rotateZ(0);
  }
}
.badge-base.LI-profile-badge {
  min-width: 50px; /* або 300px, якщо хочеш */
}

.wanttoconnect {
  padding-left: 40px;
  padding-top: 1px;
  padding-right: 40px;
  padding-bottom: 10px;
  text-align: center;
}

.message-count {
  margin: 10px 0 0;
  color: #555;
  font-size: 13px;
  text-align: center;
}

.message-count strong {
  color: #ed3278;
}

.policy-page,
.not-found-page {
  width: min(760px, calc(100% - 32px));
  margin: 40px auto;
  padding: 40px;
  box-sizing: border-box;
  background: var(--surface);
  box-shadow: 0 14px 32px rgb(237 50 120 / 12%);
}

.policy-page h1,
.not-found-page h1 {
  margin: 24px 0 16px;
  color: #ed3278;
}

.policy-page h2 {
  margin: 24px 0 8px;
  color: var(--text);
  font-size: 20px;
}

.policy-page p,
.not-found-page p {
  color: var(--muted);
  line-height: 1.7;
}

.policy-back,
.not-found-link {
  color: #ed3278;
  font-weight: 600;
}

.form-privacy-note {
  margin: 4px 0 0;
  color: #777;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.form-privacy-note a {
  color: #ed3278;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border: 1px solid #ed3278;
  border-radius: 6px;
  background: var(--surface);
  color: #ed3278;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #ed3278;
  color: #fff;
}

.privacy-modal-content {
  max-height: min(620px, calc(100vh - 32px));
  overflow-y: auto;
}

.privacy-modal-content p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

html[data-theme='dark'] .privacy-modal-content p {
  color: #c8bcc4;
}

.not-found-page {
  text-align: center;
}

.not-found-code {
  margin: 0;
  color: #ed3278 !important;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
}

.not-found-link {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 18px;
  border-radius: 6px;
  background: #ed3278;
  color: #fff;
}

.standalone-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgb(237 50 120 / 28%);
  font-size: 12px;
}

html[data-theme='dark'] .policy-page,
html[data-theme='dark'] .not-found-page {
  background: #242127;
}

.profile-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  text-align: center;
}
.profile-badge-wrapper {
  margin-left: 15px; /* або більше — тестуєш в live preview */
}

.profile-badge-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 20px;
}

.linkedin-custom-badge {
  display: grid;
  justify-items: center;
  gap: 5px;
  width: min(260px, 100%);
  margin: 0 auto;
  padding: 18px 16px 16px;
  box-sizing: border-box;
  border: 1px solid #ed3278;
  border-radius: 12px;
  background: #26384a;
  color: #fff;
  text-align: center;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.linkedin-custom-badge:hover {
  color: #fff;
  text-decoration: none;
  background: #ed3278;
  transform: translateY(-2px);
}

.linkedin-custom-photo {
  width: 72px;
  height: 72px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.linkedin-custom-action {
  color: #fff;
  margin-top: 6px;
  padding: 10px 16px;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.linkedin-custom-action:hover {
  color: #fff;
  text-decoration: none;
}

.linkedin-custom-badge .copy-linkedin-btn {
  margin-top: 10px;
  padding: 3px 6px;
  border-color: transparent;
  background: transparent;
  color: rgb(255 255 255 / 80%);
  font-size: 10px;
  font-weight: 500;
}

.linkedin-custom-badge .copy-linkedin-btn:hover {
  background: transparent;
  color: #fff;
  box-shadow: none;
  text-decoration: underline;
}

html[data-theme='dark'] .linkedin-custom-badge {
  background: #302b33;
}

.copy-linkedin-btn {
  display: block;
  margin: 12px auto 0;
  padding: 8px 12px;
  border: 1px solid #ed3278;
  border-radius: 6px;
  background: #fff;
  color: #ed3278;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
}

.copy-linkedin-btn:hover {
  background: #ed3278;
  color: #fff;
}

.copy-linkedin-status {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: #555;
  font-size: 12px;
  text-align: center;
}

.linkedin-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #26384a;
  border-radius: 8px;
  background: #26384a;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.linkedin-profile-link:hover {
  background: #ed3278;
  color: #fff;
  transform: translateY(-2px);
}

.linkedin-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background: #fff;
  color: #26384a;
  font-size: 16px;
  font-weight: 700;
}

.badge-base.LI-profile-badge {
  width: fit-content;
  margin: 0 auto;
}

div.scroller {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: #ed3278 #cec4c8;
  scrollbar-width: thin;
}

div.scroller::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

div.scroller::-webkit-scrollbar-thumb {
  background: #ed3278;
  border-radius: 999px;
}

div.scroller::-webkit-scrollbar-track {
  background: #cec4c8;
}

.flag-button {
  cursor: pointer;
  border: none;
  background: none;
}
.flag-button img {
  width: 30px;
  height: 20px;
}

#navbar {
  background-color: #333;
  position: fixed;
  top: 0;
  width: 100%;
  display: block;
  transition: top 0.3s;
}

#navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 25px;
  text-decoration: none;
  font-size: 17px;
}

#navbar a:hover {
  background-color: #ddd;
  color: black;
}

blink {
  display: inline;
  animation: blink 1s steps(1) infinite;
  -webkit-animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@-webkit-keyframes blink {
  50% {
    opacity: 0;
  }
}

/* === MOBILE STYLES === */
@media screen and (max-width: 768px) {
  body {
    padding: 10px;
    border-radius: 0;
    background: #fff;
  }

  .wrapper {
    flex-direction: column;
    width: 100%;
  }

  .sidebar,
  .main-content {
    width: 100% !important;
    flex: 0 0 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .my-name {
    font-size: 32px;
    line-height: 40px;
  }

  .my-proffesion,
  .my-descr,
  .contacts-type,
  .contacts-link,
  .skills-list-item,
  .work-experience-company,
  .work-experience-dueties-item,
  .work-experience-dueties-item1,
  .work-experience-dueties,
  .education-period,
  .my-education-univer,
  .my-education-management,
  .my-project-item,
  .my-projects-item-link {
    font-size: 16px;
    line-height: 1.6;
  }

  .tooltip .tooltiptext {
    width: 90vw;
    font-size: 13px;
    padding: 10px;
    bottom: 110%;
  }

  .headerDevNote {
    background-color: rgba(0, 0, 0, 0.75);
    font-size: 12px;
    padding: 4px 6px;
    text-align: center;
  }

  img.foto,
  .foto {
    width: 100%;
    height: auto;
  }

  .timeline::before {
    left: 8px;
  }

  .StepProgress {
    padding-left: 30px;
  }

  .StepProgress-item::after {
    left: -20px;
  }

  .StepProgress-item.current::after {
    left: -25px;
  }

  .gus-description,
  .victory-description {
    width: 100%;
    font-size: 14px;
  }

  .languageswitcher {
    width: auto;
    padding-left: 20px;
  }

  .div {
    width: auto;
    margin: 12px;
    height: auto;
  }

  .modal-form {
    width: 90%;
    max-width: 400px;
  }

  .modal-form-container {
    width: 90%;
    max-width: 400px;
    padding: 64px 20px 28px;
  }

  .modal-field-input,
  .modal-field-message {
    width: 100%;
  }

  .gus-facts-container {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .gus-fact-item {
    width: 100%;
  }
}
@media screen and (max-width: 1024px) {
  .wrapper {
    flex-direction: column;
    width: 100%;
  }

  .sidebar {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .main-content {
    padding: 20px;
  }

  .foto {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .my-name {
    font-size: 36px;
    line-height: 44px;
  }

  .my-descr {
    font-size: 15px;
    line-height: 22px;
  }

  .languageswitcher {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .gus-description,
  .victory-description {
    width: 100%;
    padding: 0 20px;
  }

  .gus-facts-container {
    flex-direction: column;
    align-items: center;
  }

  .gus-fact-item {
    width: 80%;
    margin-bottom: 20px;
  }
}
