/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body style for full-screen layout */
body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7; /* Light gray background */
    color: #333; /* Dark gray text */
    position: relative;
    
    
}

/* Container for layout */
/* From Uiverse.io by jeremyssocial */ 
.container {
  /* Basic dimensions and centering */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  width: 100%;
  min-height: 100vh;

  /* Dark mode colors and gradient */
  background: #121212; /* Fallback for browsers that don't support gradients */
  background: linear-gradient(
    135deg,
    #121212 25%,
    #1a1a1a 25%,
    #1a1a1a 50%,
    #121212 50%,
    #121212 75%,
    #1a1a1a 75%,
    #1a1a1a
  );
  background-size: 40px 40px;

  /* Animation */
  animation: move 4s linear infinite;
}

@keyframes move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 40px;
  }
}


/* Header with portfolio title */
header h1 {
    font-size: 4em;
    color: #333;
    margin-bottom: 40px;
    letter-spacing: 3px;
}

/* Intro section */
.intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #fff; /* White background for content area */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    width: 40%;
    flex-wrap: wrap;
    
}

.content {
    max-width: 600px;
    text-align: left;
}

.content h2 {
    font-size: 3em;
    color: #333;
    margin-bottom: 15px;
}

.content .title {
    font-size: 1.8em;
    color: #666;
    margin-bottom: 25px;
}

.content .description {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Profile picture styling */
.profile-pic {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
    border: 5px solid #333;
    margin-left: 20px;
}
.profile-img {
    width: 100%; /* Занимает всю ширину родительского контейнера */
    height: 100%;
    object-fit: cover;
} 
.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 15px;
}

.button {
    text-decoration: none;
    color: #fff;
    background-color: #333; /* Dark gray button */
    padding: 15px 25px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #555; /* Slightly lighter gray on hover */
}

footer {
    margin-top: 50px;
    font-size: 1em;
    color: #777;
    opacity: 0.8;
    position: absolute;
    top: 62%;
    flex-wrap: wrap;

    


}

.loader {
  --path: #f9f9f9;
  --dot: #9f9f9f;
  --duration: 3s;
  width: 44px;
  height: 44px;
  position: relative;

}

.loader:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: absolute;
  display: block;
  background: var(--dot);
  top: 37px;
  left: 19px;
  transform: translate(-18px, -18px);
  animation: dotRect var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
    infinite;
}

.loader svg {
  display: block;
  width: 100%;
  height: 100%;
}

.loader svg rect,
.loader svg polygon,
.loader svg circle {
  fill: none;
  stroke: var(--path);
  stroke-width: 10px;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.loader svg polygon {
  stroke-dasharray: 145 76 145 76;
  stroke-dashoffset: 0;
  animation: pathTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
    infinite;
}

.loader svg rect {
  stroke-dasharray: 192 64 192 64;
  stroke-dashoffset: 0;
  animation: pathRect 3s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.loader svg circle {
  stroke-dasharray: 150 50 150 50;
  stroke-dashoffset: 75;
  animation: pathCircle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
    infinite;
}

.loader.triangle {
  width: 48px;
}

.loader.triangle:before {
  left: 21px;
  transform: translate(-10px, -18px);
  animation: dotTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
    infinite;
}

@keyframes pathTriangle {
  33% {
    stroke-dashoffset: 74;
  }

  66% {
    stroke-dashoffset: 147;
  }

  100% {
    stroke-dashoffset: 221;
  }
}

@keyframes dotTriangle {
  33% {
    transform: translate(0, 0);
  }

  66% {
    transform: translate(10px, -18px);
  }

  100% {
    transform: translate(-10px, -18px);
  }
}

@keyframes pathRect {
  25% {
    stroke-dashoffset: 64;
  }

  50% {
    stroke-dashoffset: 128;
  }

  75% {
    stroke-dashoffset: 192;
  }

  100% {
    stroke-dashoffset: 256;
  }
}

@keyframes dotRect {
  25% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(18px, -18px);
  }

  75% {
    transform: translate(0, -36px);
  }

  100% {
    transform: translate(-18px, -18px);
  }
}

@keyframes pathCircle {
  25% {
    stroke-dashoffset: 125;
  }

  50% {
    stroke-dashoffset: 175;
  }

  75% {
    stroke-dashoffset: 225;
  }

  100% {
    stroke-dashoffset: 275;
  }
}

.loader {
  display: inline-block;
  margin: 0 16px;
}
.adaptive {
  max-width: 1200px; /* Максимальная ширина */
  width: 100%; /* Занимает всю ширину экрана */
  padding: 0 20px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px; /* Две колонки */
  gap: 20px;
}
.adaptive > * {

}

@media (max-width: 1200px) {
  .adaptive {
    width: 1000px;
    grid-template-columns: 1fr 280px;
  }
}

@media (max-width: 1000px) {
  .adaptive {
    width: 80%;
    grid-template-columns: 1fr 280px;
  }
}

@media (max-width: 768px) {
  .adaptive {
    grid-template-columns: 1fr; /* Одна колонка */
    gap: 10px;
    footer{
      position: relative;
      top: 80%;
    }
  }

  .profile-pic {
    max-width: 200px;
    margin: 0 auto; /* Центрируем изображение */

  }

  .buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .button {
    width: 100%;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .profile-pic {
    max-width: 150px;
  }

  .content h2 {
    font-size: 1.8rem;
  }

  .container {
    padding: 10px;
  }

  .button {
    width: 100%;
    padding: 10px;
  }

  footer {
    font-size: 0.9em;

  }
}
/* Базовый сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    
     /* Временное отключение горизонтальной прокрутки */
     /* Отладочная граница для всех элементов */
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;

     /* Отключаем горизонтальную прокрутку */
     body {
    overflow-x: hidden; /* Убирает горизонтальную прокрутку */
    overflow-y: hidden; /* Убирает вертикальную прокрутку */
}
}

body {
    font-size: 1vw;
    overflow: hidden;
}

/* Контейнер */
.container {
    width: 100%; /* Убираем max-width */
    padding: 2vw;
    margin: 0 auto;
    
    
}

/* Секция с контентом */
.intro {
    width: 50%;
    padding: 2vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    
}

/* Заголовки и текст */
.content h2 {
    font-size: 4vw;
}

.content .description {
    font-size: 2vw;
    margin-bottom: 2%;
}

/* Кнопки */
.button {
    padding: 1vw 2vw;
    font-size: 1.5vw;
    text-decoration: none;
    color: #fff;
    background-color: #333;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #555;
}

/* Изображение профиля */
.profile-pic {
    width: 100%;
    height: 100%;
    
    border-radius: 50%;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Футер */
footer {
    font-size: 1.5vw;
    padding: 2vw;
    text-align: center;
    width: 100%;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    body {
        font-size: 4vw;
    }

    .content h2 {
        font-size: 6vw;
    }

    .content .description {
        font-size: 3vw;
    }

    .button {
        padding: 2vw 3vw;
        font-size: 3vw;
    }

    .profile-pic {
        width: 30vw;
    }
}

/* Адаптация для больших экранов */
@media (min-width: 1200px) {
    body {
        font-size: 1vw;
    }

    .container {
        width: 100%; /* Убрали max-width */
    }

    .content h2 {
        font-size: 2vw;
    }

    .content .description {
        font-size: 1vw;
    }

    .button {
        padding: 0.8vw 1.5vw;
        font-size: 1.2vw;
    }

    .profile-pic {
        width: 11vw;
        height: 11vw;
    }
}

/* Футер */
footer {
    font-size: 1.5vw;
    padding: 2vw;
    text-align: center;
    width: 100%;
}


ul {
  list-style: none;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}
.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 15px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}
.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}
.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 20%;
  color: #4d4d4d;
  background-color: #ffff;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 50%);
}
.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}
.example-2 .icon-content a:hover {
  color: white;
}
.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover .filled {
  height: 100%;
}
.example-2 .icon-content a[data-social="spotify"] .filled,
.example-2 .icon-content a[data-social="spotify"] ~ .tooltip {
  background-color: #1db954;
}
.example-2 .icon-content a[data-social="pinterest"] .filled,
.example-2 .icon-content a[data-social="pinterest"] ~ .tooltip {
  background-color: #bd081c;
}
.example-2 .icon-content a[data-social="dribbble"] .filled,
.example-2 .icon-content a[data-social="dribbble"] ~ .tooltip {
  background-color: #ea4c89;
}
.example-2 .icon-content a[data-social="telegram"] .filled,
.example-2 .icon-content a[data-social="telegram"] ~ .tooltip {
  background-color: #0088cc;
}
/* From Uiverse.io by wilsondesouza */ 
ul {
  list-style: none;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
}
.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}
.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}
.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}
.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}
.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}
.example-2 .icon-content a:hover {
  color: white;
}
.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled,
.example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
  background-color: #0274b3;
}

.example-2 .icon-content a[data-social="github"] .filled,
.example-2 .icon-content a[data-social="github"] ~ .tooltip {
  background-color: #24262a;
}
.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
  background: linear-gradient(
    45deg,
    #405de6,
    #5b51db,
    #b33ab4,
    #c135b4,
    #e1306c,
    #fd1f1f
  );
}
.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
  background-color: #ff0000;
}
