@font-face {
  font-family: "ArchivoBlack";
  src:
    url("/fonts/ArchivoBlack-Regular.woff") format("woff"),
    url("/fonts/ArchivoBlack-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "OpenSans";
  src:
    url("/fonts/OpenSans-Bold.woff") format("woff"),
    url("/fonts/OpenSans-Bold.woff2") format("woff2"),
    url("/fonts/OpenSans-Regular.woff") format("woff"),
    url("/fonts/OpenSans-Regular.woff2") format("woff2"),
    url("/fonts/OpenSans-SemiBold.woff") format("woff"),
    url("/fonts/OpenSans-SemiBold.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: #111111;
  margin: 0;
}

.header__container {
  display: flex;
  gap: 20px;
  padding: 0 5%;
}

.header__container::before {
  content: "";
  position: fixed;
  width: 300px;
  height: 300px;
  background: #6c5ce7;
  border-radius: 50%;
  filter: blur(200px);
  top: 240px;
  left: 933px;
  z-index: -1;
}

.header__title {
  color: #ffffff;
  font-family: "ArchivoBlack", arial, sans-serif;
  font-size: clamp(32px, 6vw, 72px);
}

.header__subtitle {
  color: #ffffff;
  font-family: "OpenSans-regular", arial, sans-serif;
  font-size: clamp(14px, 2vw, 18px);
  opacity: 0.5;
}

.header__content {
  display: flex;
  max-width: 800px;
  width: 100%;
  font-family: "OpenSans-Regular", Arial, sans-serif;
  color: #ffffff;
}

.header__links_container li a {
  text-decoration: none;
  color: #ffffff;
  font-family: "OpenSans-SemiBold", Arial, sans-serif;
  font-size: 18px;
}

.header__links {
  list-style-type: none;
  display: flex;
  padding: 0;
  list-style: none;
  gap: 30px;
  flex-direction: row;
}

.header__links a {
  position: relative;
  display: inline-block;
}

.header__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #6c5ce7, #00ff7b);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.header__links li a:hover::after {
  transform: scaleX(1.2);
}

.header__image {
  display: flex;
  width: 387px;
  height: 500px;
  margin-top: 40px;
  margin-right: 63px;
}

.skills__and_portfolio {
  display: flex;
  padding: 0 5%;
  flex-direction: column;
}

.skills__title {
  display: flex;
  font-family: "ArchivoBlack", Arial, sans-serif;
  font-size: 40px;
  color: #ffffff;
}

.icons__list {
  margin-top: 40px;
  display: flex;
  list-style: none;
  justify-content: center;
  justify-content: space-between;
}

.projects__title {
  margin-top: 157px;
  font-family: "ArchivoBlack", Arial, sans-serif;
  color: #ffffff;
  font-size: 40px;
}

.projects__container {
  margin-top: 94px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(259px, 1fr));
  gap: 20px;
}

.project__card {
  display: flex;
  background-color: #1c1c1c;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 590px;
  min-height: 600px;
  flex-direction: column;
}

.project {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__image {
  position: relative;
}

.image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.image__icons {
  position: absolute;
  bottom: 10px;
  left: 10px;
  gap: 10px;
  display: flex;
}

.card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

.card__info {
  color: #ffffff;
  padding: 40px;
  margin-top: -25px;
  flex: 1;
}

.card__title {
  font-family: "OpenSans", Arial, sans-serif;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: bold;
}

.card__description {
  font-size: clamp(14px, 2vw, 18px);
  font-family: "OpenSans-Regular", Arial, sans-serif;
}

.card__links {
  display: flex;
  gap: 20px;
  padding: 0 40px 20px 40px;
}

.footer {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 124px;
}

.footer__title {
  font-family: "ArchivoBlack", Arial, sans-serif;
  font-size: 40px;
  color: #ffffff;
}

.email {
  font-family: "OpenSans-Regular", Arial, sans-serif;
  color: #6d6dff;
  font-size: 18px;
  margin-top: 0px;
}

.footer__list {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 400px;
  width: 100%;
  padding: 0;
}

.footer__container::before {
  content: "";
  position: fixed;
  width: 300px;
  height: 300px;
  background: #6c5ce7;
  border-radius: 50%;
  filter: blur(200px);
  top: 300px;
  left: 570px;
  z-index: -1;
}

@media (max-width: 767px) {
  .header__container {
    justify-content: center;
    margin: 40px;
  }

  .header__content {
    height: auto;
    max-width: 450px;
  }

  .header__image {
    width: 216px;
    height: 280px;
  }

  .skills__title {
    align-items: center;
  }
}

@media (max-width: 320px) {
  .header__container {
    justify-content: center;
    flex-direction: column-reverse;
    margin: 0;
  }
  .header__image {
    width: 280px;
    height: 280px;
  }
  .header__links {
    flex-direction: column;
    justify-content: center;
  }

  .projects__title {
    margin-top: 50px;
    justify-content: center;
  }

  .icons__list {
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
    justify-content: left;
  }

  .projects__container {
    margin-top: 40px;
  }

  .footer__list {
    margin: 0;
    padding: 0;
  }
}
