h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: currentColor;
  font-style: normal;
}

button {
  font-family: inherit;
  color: currentColor;
  cursor: pointer;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", sans-serif;
  color: #c7c7c7;
  letter-spacing: 0.02em;
  background-color: #0a0a0a;
  transition: background-color 0.3s, color 0.3s;

  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #c7c7c7;
}

a,
button,
input,
input::placeholder {
  transition-duration: 250ms;
  transition-property: color, background-color, border, box-shadow, visibility,
    opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

a,
button {
  cursor: pointer;
}

button {
  padding: 0px;
}

.container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
  max-width: 375px;
  padding: 0px 16px;
}

section {
  padding: 64px 0px;
}

/* @media screen and (min-width: 768px) {
  .container {
    padding: 0px 20px;
    max-width: 768px;
  }

  section {
    padding: 40px 0px;
  }

  .burger-menu {
    display: none;
  }
} */

@media screen and (min-width: 1440px) {
  .container {
    min-width: 1390px;
    padding-left: 25px;
    padding-right: 25px;
  }

  section {
    padding: 50px 0px;
  }

  button:hover,
  .about-me-a:hover,
  a.button:hover,
  .modal-button:hover {
    transform: scale(1.025);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
}
/* хеадер початок */

.header-container {
  display: flex;
  justify-content: space-between;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #1b1a1a;
}

.navigation {
  display: flex;
  flex-direction: row;
  gap: 5px;
  /* justify-content: space-between;
  gap: 100px; */
  /* position: sticky;
  top: 0; */
}

.header-ul {
  display: flex;
  gap: 10px;
  display: none;
}

.logo {
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #c7c7c7;
  padding: 20px 0;
}

.burger-menu {
  background-color: transparent;
}

.burger-menu-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  stroke-width: 2px;
  stroke: #c7c7c7;
}

@media screen and (min-width: 1440px) {
  .header-ul {
    display: flex;
    gap: 26px;
  }

  .burger-menu {
    display: none;
  }

  .navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .header-li {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    color: #c7c7c7;
  }
}

/* хеадер кінець */

/* about-me початок */

.about-me-container {
  flex-direction: column;
  gap: 12px;
  text-align: left;
  align-items: flex-start;
  color: #fff;
}

.about-me-h {
  text-align: left;
  margin-bottom: 4px;
  font-weight: 400;
  font-size: 57px;
  line-height: 1;
}

.about-me-p {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 28px;
}

.about-me-p-two {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #c7c7c7;
  margin-bottom: 28px;
}

.button-a-a {
  display: flex;
  justify-content: space-between;
  /* gap: 12px; */
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.about-me-button {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 100px;
  padding: 0px 4px 0px 16px;
  width: 212px;
  height: 48px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  color: #0a0a0a;
  background-color: #d3e97a;
}

.about-me-svg {
  border-radius: 100%;
  width: 30px;
  height: 30px;
  fill: #fff;
  background-color: #0a0a0a;
}

.about-me-a {
  border-radius: 100px;
  width: 48px;
  height: 48px;
  background-color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-me-svg-link {
  fill: #d3e97a;
}

@media screen and (min-width: 1440px) {
  .about-me-container {
    flex-direction: row;
  }

  .about-me-h {
    min-width: 50%;
  }

  .button-a-a {
    justify-content: flex-start;
    gap: 16px;
  }

  .about-me-h {
    font-weight: 400;
    font-size: 101px;
    line-height: 0.9;
    margin-bottom: 0px;
  }

  .about-me-p {
    font-size: 32px;
  }

  .about-me-p-two {
    font-size: 18px;
    line-height: 1.5;
  }

  .about-me-button {
    border-radius: 100px;
    padding: 20px 6px 20px 24px;
    width: 244px;
    height: 54px;
    font-size: 16px;
  }

  .about-me-svg-link {
    transition: transform 0.25s ease;
  }

  .about-me-a:hover .about-me-svg-link {
    transform: scale(1.15);
  }
}

/* about-me кінець */

/* foto початок */

.about-me-text {
  display: none;
}

.my-foto {
  border-radius: 8px;
  width: 100%;
}

@media screen and (min-width: 1440px) {
  .about-me-text {
    display: block;
  }

  .my-foto {
    max-width: 700px;
    /* max-height: 700px; */
  }

  .foto-container {
    display: flex;
    gap: 100px;
  }

  .about-me-text {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    gap: 30px;
    text-align: left;
    align-self: flex-start;
  }

  .about-me-text-h {
    font-weight: 700;
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 28px;
    color: #fff;
  }

  .about-me-text-p {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: #c7c7c7;
  }
}

/* foto кінець */

/* capabilitier початок */

.capabilities {
  font-family: "Bebas Neue", sans-serif;
  color: #fff;
}

.capabilities-container {
  flex-direction: column;
  gap: 12px;
  text-align: left;
  align-items: flex-start;
}

.capabilities-p {
  margin-bottom: 12px;
}

.capabilities-h {
  font-weight: 400;
  font-size: 43px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.capabilities-p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #c7c7c7;
}

.capabilities-ul {
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  display: flex;
  gap: 20px;
}

.capabilities-li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid #484848;
  border-radius: 100px;
  padding: 16px 24px;
}

@media screen and (min-width: 1440px) {
  .capabilities-container {
    flex-direction: row;
    gap: 24px;
    justify-content: space-between;
  }

  .capabilities-h {
    font-size: 76px;
  }

  .capabilities-p {
    font-size: 18px;
    line-height: 1.5;
    max-width: 600px;
    font-family: "Manrope", sans-serif;
    margin-bottom: 32px;
  }

  .capabilities-li {
    padding: 20px 40px;
    font-size: 16px;
  }

  .capabilities-ul {
    gap: 16px;
  }
}

/* capabilities кінець */

/* experience початок */

.experience {
  font-weight: 400;
  font-size: 43px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.experience-section {
  text-align: left;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
}

.experience-h {
  margin-bottom: 32px;
  color: #fff;
  font-size: 43px;
}

.experience-p {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 4px;
}

.experience-p-two {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #c7c7c7;
  margin-bottom: 12px;
}

.experience-p-two-two {
  margin-bottom: 40px;
}

.experience-p-three {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
}

.experience-p-three {
  margin-bottom: 4px;
}

.experience-p-four {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #c7c7c7;
}

.experience-p-four-four {
  margin-bottom: 4px;
}

.experience-p-five {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.6;
  color: #d3e97a;
  margin-bottom: 12px;
}

@media screen and (min-width: 1440px) {
  .experience-section {
    flex-direction: row;
    justify-content: space-between;
  }

  .experience-right {
    max-width: 600px;
  }

  .experience-right-top,
  .experience-right-down {
    display: flex;
    justify-content: space-between;
  }

  .experience-p {
    margin-bottom: 16px;
  }

  .experience-p-two-two {
    margin-bottom: 80px;
  }

  .experience-h {
    font-size: 76px;
  }
}

/* experience кінець */

/* portfolio початок */

.portfolio-container {
  flex-direction: column;
  gap: 30px;
  font-weight: 400;
  font-size: 43px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.container-section-four-ul-project {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.project-list-h3,
.container-section-four-p {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: #fff;
}

.project-list-p-opis,
.container-section-four-li,
.container-section-four-a {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #c7c7c7;
  margin-bottom: 12px;
}

.container-section-four-a {
  display: flex;
  align-items: center;
  gap: 30px;
}

.img {
  border-radius: 8px;
}

.site {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  font-weight: 700;
  /* width: 10%; */
  font-size: 14px;
  line-height: 1;
  background-color: #d3e97a;
  text-transform: uppercase;
  color: #383737;
  border: 1px solid #484848;
  border-radius: 100px;
  padding: 16px 24px;
  margin-bottom: 0px;
}

@media screen and (min-width: 1440px) {
  .portfolio-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px; /* відступ між елементами */
    justify-content: flex-start;
  }

  .container-section-four-ul-project {
    flex: 0 0 calc((100% / 3) - 20px); /* 3 в ряд, мінус половина гапу */
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    border-radius: 8px;
  }

  .container-section-four-ul-project:hover {
    background-color: #141414; /* трохи світліший */
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  }

  .img {
    height: 280px;
  }

  .project-list-p-opis {
    height: 100px;
  }

  .about-me-svg-link-connect {
    transition: transform 0.25s ease;
  }

  .about-me-svg-link-connect:hover {
    transform: scale(1.15);
  }
}

/* portfolio кінець */

/* connect початок */

.connect-container {
  flex-direction: column;
  gap: 20px;
  font-family: "Bebas Neue", sans-serif;
}

.connect-container-one {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 8px;
}

.connect-container-one-h {
  font-weight: 400;
  font-size: 43px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.connect-container-one-p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #c7c7c7;
}

.connect-svg {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.connect-span-resume,
.connect-span-a {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #fff;

  text-decoration-line: underline;
  text-decoration-color: #d3e97a;
  text-decoration-thickness: 2px; /* товщина */
  text-underline-offset: 1px; /* відстань від тексту */
}

.about-me-svg-link-connect {
  fill: #d3e97a;
}

.connect-container-two {
  width: 100%;
}

.modal-form {
  display: flex;
  flex-direction: column;
  text-align: left;

  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: #c7c7c7;
  font-family: "Manrope", sans-serif;
}

.div-comment {
  display: flex;
  flex-direction: column;
}

.modal-input {
  margin-bottom: 14px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  border-radius: 4px;
  padding: 10px 16px;
  width: 343px;
  height: 46px;
  background-color: #1a1a1a;
}

.modal-textarea {
  margin-bottom: 24px;
  border-radius: 4px;
  padding: 10px 16px;
  width: 343px;
  height: 148px;
  background-color: #1a1a1a;
  color: #fff;
}

.modal-button {
  border-radius: 100px;
  padding: 20px 40px;
  width: 140px;
  height: 54px;
  background: #d3e97a;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  color: #0a0a0a;
}

@media screen and (min-width: 1440px) {
  .connect-container {
    flex-direction: row;
  }

  .connect-container-one {
    align-self: flex-start;
  }

  .connect-container-one-h {
    font-size: 76px;
  }

  .connect-container-one-p {
    font-size: 18px;
  }

  .connect-span-resume,
  .connect-span-a {
    font-size: 18px;
  }

  .about-me-svg-link-connect {
    width: 32px;
    height: 32px;
  }

  .modal-input {
    border-radius: 4px;
    padding: 12px 16px;
    width: 600px;
    height: 51px;
  }

  .modal-textarea {
    border-radius: 4px;
    padding: 12px 16px;
    width: 600px;
    height: 156px;
  }
}

/* connect кінець */
/* footer початок */
.container_footer-p {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: #c7c7c7;
  padding: 20px 0px;
}

footer {
  background-color: #1b1a1a;
}

/* footer кінець */

/* мобільне меню початок */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 80%; /* або скільки потрібно */
  height: 100%;
  background-color: #0a0a0a;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  overflow-y: auto;
}

/* Клас для показу меню */
.mobile-menu.open {
  display: block;
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
  align-items: flex-start;
  padding: 0px 20px;
  font-family: "Manrope", sans-serif;
  color: #c7c7c7;
  letter-spacing: 0.02em;
}

.mobile-menu-btn {
  position: absolute;
  top: 16px;
  right: 16px;
}

.close-mobile-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; /* клікабельна зона */
  height: 24px;
  border-radius: 50%;
  background-color: #d3e97a;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0;
  cursor: pointer;
}

.mobile-menu-btn-svg {
  display: block;
  fill: #736a6a;
}

.connect-svg-mobile {
  margin: 0px;
  padding: 20px;
}

/* мобільне меню кінець */
