* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}
body {
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  gap: 5rem;
  color: #fff;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue",
    Arial, sans-serif;
  transform-origin: center;
  animation: load 0.8s ease forwards;
}
@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
    transition: none;
  }
}
@keyframes load {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  50% {
    opacity: 0.7;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}
h1, h2, h3, .title {
  font-family: "Playfair Display", Georgia, serif;
}
a {
  position: relative;
  color: #000000bc;
  text-decoration: none;
}
a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: opacity 0.3s ease;
  opacity: 0;
}
a:hover::after {
  opacity: 1;
}
main {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.hero_section {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero_section::after {
  content: "";
  position: absolute;
  top: -35%;
  height: 115dvh;
  width: 100%;
  z-index: -1;
  background: linear-gradient(
    78deg,
    #029452a9,
    #8000ff8a,
    #0065a4b9
  );
  transform: skewY(-12deg);
}
.hero_content {
  display: flex;
  width: 90dvw;
  flex-wrap: wrap;
  align-items: center;
  padding: 2rem 0;
  z-index: 2;
}
.hero_image_and_title {
  position: relative;
  flex: 2.5;
}
.hero_image_and_title picture {
  display: block;
  width: 100%;
  height: 85dvh;
  min-width: 250px;
  min-height: 300px;
}
.hero_image_and_title picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero_image_and_title p.title {
  position: absolute;
  bottom: 6%;
  left: 10%;
  font-size: 2.6rem;
  color: #fff;
}
.hero_text {
  flex: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fff;
  box-shadow: 0 2px 15px #b0b0b0;
  padding: 0.8em 2em;
  gap: 1em;
}
.hero_text h1 {
  color: #000;
  font-size: 2.5rem;
}
.hero_text > p.about_description {
  font-size: 1.3rem;
  color: #565555;
  font-family: "Roboto", sans-serif;
}
ul.hero_socials {
  display: flex;
  gap: 0.5em;
  align-self: flex-end;
  padding: 2em 0.5em 0 0;
}
ul.hero_socials li {
  font-size: 2rem;
}
.project_section {
  display: flex;
  flex-direction: column;
  align-self: center;
  gap: 1em;
}
.project_section h2 {
  font-size: 3rem;
  color: #000;
}
ul.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  z-index: 2;
  width: 80dvw;
}
ul.projects li {
  display: flex;
  flex-direction: column;
  z-index: 2;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  list-style: none;
}
ul.projects li:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
ul.projects > li > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
ul.projects .project_info_section {
  flex: 1;
  box-shadow: 0 0 5px #858585;
  padding: 2em 1em 3em;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
ul.projects .project_info_section h3 {
  color: #000;
}
ul.projects .project_description {
  font-family: "Roboto";
  color: #565555;
}
.project_title_and_links {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.project_title_and_links > .links {
  flex: 2;
  display: flex;
  justify-content: flex-end;
  gap: 1em;
}
.project_title_and_links > .links li {
  font-size: 1.5rem;
}
.project_title_and_links > .links svg {
  height: 30px;
  width: 30px;
}
footer {
  display: flex;
  flex-wrap: wrap;
  background: linear-gradient(
    78deg,
    #029452a9,
    #8000ff8a,
    #0065a4b9
  );
  padding: 4em 0;
}
footer > section.contacts {
  flex: 0.7;
  display: flex;
  flex-direction: column;
  gap: 1em;
  font-size: 1.5rem;
  padding: 2em;
}
footer > section.contacts > div.contact_info {
  display: flex;
  flex-direction: column;
  gap: 1em;
  color: #fff;
}
footer > section.contacts > div.contact_info p,
footer > section.contacts > div.contact_info a {
  width: 30ch;
  font-family: "Roboto";
  font-weight: 100;
}
footer .contact_info div {
  display: flex;
  align-items: center;
  gap: 0.4em;
}
footer .contact_info div > svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
footer .footer_socials {
  display: flex;
  gap: 1em;
}
footer .footer_socials > li {
  font-size: 2.5rem;
  list-style: none;
}
footer > section.contact_picture {
  flex: 1;
  padding: 2em;
}
footer picture {
  display: block;
  width: 100%;
}
footer picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1000px) {
  .hero_content {
    flex-direction: column;
  }
  .hero_image_and_title {
    width: 100%;
  }
  .hero_image_and_title p.title {
    bottom: 1%;
    font-size: 5rem;
  }
}
@media (max-width: 600px) {
  .hero_image_and_title {
    width: 90%;
    flex: 0.5;
  }
  .hero_text {
    box-shadow: none;
    width: 100%;
  }
  .hero_image_and_title p.title {
    font-size: 3.5em;
  }
  ul.hero_socials {
    width: 100%;
    justify-content: center;
  }
  footer {
    flex-direction: column;
    padding: 0;
  }
  footer > section.contacts {
    padding: 0;
    width: 100%;
    align-items: center;
  }
  footer > section.contacts > div.contact_info {
    width: 100%;
    align-items: center;
  }
  footer > section.contacts > div.contact_info p,
  footer > section.contacts > div.contact_info a {
    font-size: 1.16rem;
  }
  footer > section.contact_picture {
    width: 100%;
    padding: 0;
  }
  footer picture {
    width: 100%;
  }
}