html {
  scroll-behavior: smooth;
}

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

body {
  background-color: #07070d;
  font-family: "Rubik", sans-serif;
  color: #ebebeb;
  height: 100%;
  position: relative;
}

#bg-img {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: 0;
}
#bg-img svg {
  opacity: 0.05;
  width: auto;
  min-width: 100%;
  height: 100%;
}

.links-block {
  position: fixed;
  top: 0;
  left: 64px;
  z-index: 1;
}
.links-block div:first-of-type {
  width: 2px;
  height: 140px;
  margin: 0 auto;
  background-color: #ebebeb;
  margin-bottom: 52px;
}
.links-block div {
  margin-bottom: 32px;
  opacity: 0;
}
.links-block a svg {
  width: 24px;
  height: 24px;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}
.links-block a svg path {
  fill: #ebebeb;
  transition: all 0.2s ease-in-out;
}

nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: 40px;
  z-index: 1;
}
nav div {
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}
nav div:hover {
  opacity: 1 !important;
}
nav div.active #nav-triangle .shape-color, nav div.selected #nav-triangle .shape-color {
  fill: #f500d8;
}
nav div.active #nav-square .shape-color, nav div.selected #nav-square .shape-color {
  fill: #8b00f5;
}
nav div.active #nav-circle .shape-color, nav div.selected #nav-circle .shape-color {
  fill: #006af5;
}
nav div.active #nav-pentagon .shape-color, nav div.selected #nav-pentagon .shape-color {
  fill: #00f5f5;
}
nav div.active #nav-rhombus .shape-color, nav div.selected #nav-rhombus .shape-color {
  fill: #00f56a;
}
nav .shape-color {
  fill: rgba(0, 0, 0, 0);
  transition: all 0.2s ease-in-out;
}
nav #nav-triangle {
  width: 40px;
  height: 35px;
}
nav #nav-triangle path {
  fill: #f500d8;
}
nav #nav-square {
  width: 30px;
  height: 30px;
}
nav #nav-square path {
  fill: #8b00f5;
}
nav #nav-circle {
  width: 36px;
  height: 36px;
}
nav #nav-circle path {
  fill: #006af5;
}
nav #nav-pentagon {
  width: 36px;
  height: 34px;
}
nav #nav-pentagon path {
  fill: #00f5f5;
}
nav #nav-rhombus {
  width: 36px;
  height: 40px;
}
nav #nav-rhombus path {
  fill: #00f56a;
}

section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 120px 240px;
  margin-bottom: 120px;
  width: 100%;
  overflow-x: hidden;
}
section h2 {
  margin-bottom: 96px;
  font-weight: 500;
  padding-right: 40px;
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
}
section h2 span {
  font-size: 48px;
  line-height: 32px;
  display: block;
}
section h2 span.title {
  -webkit-clip-path: polygon(0 -10%, 0 -10%, 0 103%, 0% 103%);
          clip-path: polygon(0 -10%, 0 -10%, 0 103%, 0% 103%);
}
section h2 span.outline {
  position: absolute;
  -webkit-text-stroke: #ebebeb 0.5px;
  color: transparent;
  top: 0;
  left: 0;
  -webkit-clip-path: polygon(100% -10%, 100% -10%, 100% 103%, 100% 103%);
          clip-path: polygon(100% -10%, 100% -10%, 100% 103%, 100% 103%);
}
section h2 svg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 16px;
  height: 16px;
  opacity: 0;
}
section:last-of-type {
  margin-bottom: 0;
}

section#start p {
  font-size: 44px;
  font-weight: 500;
  margin-bottom: 44px;
  width: -moz-fit-content;
  width: fit-content;
  -webkit-clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
          clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}
section#start h1 {
  position: relative;
}
section#start h1 span {
  display: block;
  font-weight: 500;
  -webkit-clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
          clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}
section#start h1 span.name {
  font-size: 64px;
  margin-bottom: 20px;
}
section#start h1 span.dev {
  font-size: 40px;
}
section#start h1 svg {
  fill: #f500d8;
  position: absolute;
  top: -180%;
  left: -30px;
  height: 200px;
  opacity: 0;
}

section#about h2 svg {
  fill: #8b00f5;
}
section#about .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 44px;
       column-gap: 44px;
  margin-bottom: 160px;
}
section#about .steps .steps-item p {
  font-size: 24px;
  line-height: 28px;
  font-weight: 400;
  opacity: 0;
}
section#about .steps .steps-item img {
  opacity: 0;
  height: 76px;
  width: auto;
  margin-bottom: 24px;
}
section#about .quote {
  height: 100px;
  display: flex;
  margin: 0 auto;
}
section#about .quote img {
  height: 44px;
  opacity: 0;
  width: auto;
}
section#about .quote img:last-of-type {
  align-self: flex-end;
}
section#about .quote p {
  opacity: 0;
  font-size: 28px;
  line-height: 20px;
  align-self: center;
  margin-inline: 92px;
}

section#tech h2 svg {
  fill: #006af5;
}
section#tech ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
section#tech ul li {
  display: flex;
  align-items: center;
  height: 44px;
  margin-bottom: 36px;
  opacity: 0;
}
section#tech ul li img {
  height: 44px;
  width: 44px;
  margin-right: 32px;
  -o-object-fit: contain;
     object-fit: contain;
}
section#tech ul li span {
  font-size: 24px;
  line-height: 24px;
}

section#projects h2 svg {
  fill: #00f5f5;
}
section#projects .project-card {
  display: grid;
  -moz-column-gap: 64px;
       column-gap: 64px;
  margin-bottom: 140px;
  align-items: center;
}
section#projects .project-card img {
  height: 100%;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0;
}
section#projects .project-card .project-info {
  height: -moz-fit-content;
  height: fit-content;
}
section#projects .project-card .project-info .project-tech {
  font-size: 18px;
  font-weight: 500;
  opacity: 0;
  line-height: 1.3;
}
section#projects .project-card .project-info .project-desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0;
  margin: 32px 0 40px;
}
section#projects .project-card .project-info .project-card-buttons {
  display: grid;
  -moz-column-gap: 28px;
       column-gap: 28px;
  grid-template-columns: repeat(2, 1fr);
  opacity: 0;
  align-self: center;
}
section#projects .project-card .project-info .project-card-buttons a {
  text-decoration: none;
  color: #ebebeb;
  font-size: 18px;
  display: block;
  padding-block: 16px;
  text-align: center;
  border: 1px solid rgba(0, 245, 245, 0.8);
  transition: all 0.3s ease-in-out;
}
section#projects .project-card .project-info .project-card-buttons a:hover {
  border-color: #00f5f5;
  background-color: rgba(0, 245, 245, 0.2);
}
section#projects .project-card:last-of-type {
  margin-bottom: 0px;
}
section#projects .project-card-left {
  grid-template-columns: 1fr 50%;
}
section#projects .project-card-right {
  grid-template-columns: 50% 1fr;
}

section#contact h2 {
  margin-bottom: 52px;
}
section#contact h2 svg {
  fill: #00f56a;
}
section#contact .form-wrapper {
  display: grid;
  -moz-column-gap: 120px;
       column-gap: 120px;
  grid-template-columns: 60% 1fr;
  position: relative;
}
section#contact form {
  width: 100%;
}
section#contact form > * {
  opacity: 0;
}
section#contact form div.wrapper {
  position: relative;
  margin-bottom: 20px;
  border-bottom: 1px solid #00f56a;
}
section#contact form div.wrapper.textarea {
  margin-bottom: 32px;
}
section#contact form label {
  font-size: 20px;
  font-weight: 500;
  position: absolute;
  top: 16px;
  padding-left: 12px;
}
section#contact form input,
section#contact form textarea {
  font-size: 20px;
  line-height: 1.2;
  background: none;
  border: none;
  width: 100%;
  transition: all 0.3s ease;
  color: #ebebeb;
}
section#contact form input {
  height: 52px;
  padding-left: 96px;
}
section#contact form textarea {
  margin-top: 64px;
  height: 136px;
  padding-left: 12px;
  scrollbar-width: 0;
  resize: vertical;
}
section#contact form textarea::-webkit-scrollbar {
  display: none;
}
section#contact form .wrapper:focus-within label {
  opacity: 0;
}
section#contact form input:focus,
section#contact form textarea:focus {
  background-color: rgba(0, 245, 106, 0.04);
  outline: none;
  padding-left: 12px;
}
section#contact form textarea:focus {
  padding-block: 16px;
  margin-top: 0;
  height: 200px;
}
section#contact form button {
  font-size: 18px;
  font-weight: 500;
  background: none;
  color: #ebebeb;
  border: 1px solid rgba(0, 245, 106, 0.8);
  padding: 16px 80px;
}
section#contact form button:hover {
  border-color: #00f56a;
  background-color: rgba(0, 245, 106, 0.1);
}
section#contact div.color-block {
  background-color: rgba(0, 245, 106, 0.2);
  opacity: 0;
}
section#contact .form-message {
  position: absolute;
  inset: 0;
  background-color: #07070d;
  -webkit-clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
          clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
  transition: -webkit-clip-path 0.9s ease-in-out;
  transition: clip-path 0.9s ease-in-out;
  transition: clip-path 0.9s ease-in-out, -webkit-clip-path 0.9s ease-in-out;
}
section#contact .form-message #success-message,
section#contact .form-message #error-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 245, 106, 0.2);
}
section#contact .form-message #success-message p,
section#contact .form-message #error-message p {
  padding-inline: 20px;
  font-size: 24px;
  line-height: 1.4;
  text-align: center;
}
section#contact .form-message #error-message {
  background-color: rgba(139, 0, 245, 0.2);
}

a.hover-pink:hover svg path {
  fill: #f500d8;
}

a.hover-violet:hover svg path {
  fill: #8b00f5;
}

a.hover-blue:hover svg path {
  fill: #006af5;
}

a.hover-turquoise:hover svg path {
  fill: #00f5f5;
}

a.hover-green:hover svg path {
  fill: #00f56a;
}

.hidden {
  display: none !important;
}

.show {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%) !important;
          clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%) !important;
}

@media (max-width: 1199px) {
  .links-block {
    left: 44px;
  }
  section {
    padding: 120px 140px;
  }
}
@media (max-width: 1023px) {
  section {
    padding: 120px 120px;
  }
  section#about .steps {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 44px;
    margin-bottom: 160px;
  }
  section#about .steps .steps-item {
    display: grid;
    grid-template-columns: 30% 1fr;
  }
  section#about .quote p {
    line-height: 36px;
    text-align: center;
    margin-inline: 32px;
  }
  section#tech ul {
    grid-template-columns: repeat(2, 1fr);
  }
  section#projects .project-card {
    display: flex;
  }
  section#projects .project-card img {
    margin-bottom: 40px;
  }
  section#projects .project-card-left {
    flex-direction: column;
  }
  section#projects .project-card-right {
    flex-direction: column-reverse;
  }
  section#contact h2 {
    margin-bottom: 96px;
  }
  section#contact .form-wrapper {
    display: block;
  }
  section#contact form div.wrapper {
    margin-bottom: 32px;
  }
  section#contact form div.wrapper.textarea {
    margin-bottom: 52px;
  }
  section#contact form button {
    width: 100%;
  }
  section#contact div.color-block {
    display: none;
  }
}
@media (max-width: 767px) {
  .links-block {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    top: 0;
    left: 0;
    right: 0;
    background-color: #07070d;
    padding-block: 24px;
  }
  .links-block div:first-of-type {
    height: 2px;
    width: 100%;
    margin-right: 44px;
    margin-left: 0;
    margin-bottom: 0;
  }
  .links-block div {
    margin-bottom: 0;
    margin-right: 44px;
  }
  nav {
    background-color: #07070d;
    padding-block: 24px;
    height: auto;
    width: 100%;
    right: 0;
    bottom: 0;
    top: unset;
    display: flex;
    justify-content: space-around;
    transform: translateY(0);
  }
  nav div {
    margin-bottom: 0;
  }
  section {
    padding: 120px 20px;
  }
  section h2 {
    padding-right: 32px;
  }
  section h2 span {
    font-size: 32px;
    line-height: 24px;
    display: block;
  }
  section h2 svg {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 16px;
    height: 16px;
    opacity: 0;
  }
  section#start p {
    font-size: 36px;
  }
  section#start h1 span.name {
    font-size: 44px;
  }
  section#start h1 span.dev {
    font-size: 32px;
  }
  section#start h1 svg {
    fill: #f500d8;
    position: absolute;
    top: -180%;
    left: -30px;
    height: 200px;
    opacity: 0;
  }
  section#about .steps {
    row-gap: 52px;
  }
  section#about .steps .steps-item {
    display: block;
  }
  section#about .steps .steps-item p {
    font-size: 18px;
    line-height: 22px;
  }
  section#about .quote {
    flex-direction: column;
    height: auto;
  }
  section#about .quote img {
    height: 32px;
    align-self: flex-start;
  }
  section#about .quote p {
    line-height: 36px;
    text-align: center;
    margin-inline: 20px;
    margin-block: 20px;
  }
  section#tech ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  section#tech ul li span {
    font-size: 20px;
    line-height: 22px;
  }
  section#projects .project-card .project-info .project-tech {
    font-size: 16px;
  }
  section#projects .project-card .project-info .project-desc {
    font-size: 18px;
  }
  section#projects .project-card .project-info .project-card-buttons {
    display: grid;
    row-gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
  section#contact .form-message #success-message,
  section#contact .form-message #error-message {
    align-items: flex-start;
  }
  section#contact .form-message #success-message p,
  section#contact .form-message #error-message p {
    text-align: left;
    font-size: 18px;
  }
}
@media (max-width: 420px) {
  section#contact .form-message #error-message p.email-text {
    font-size: 16px;
  }
}
@media (min-width: 1920px) {
  .links-block {
    left: 92px;
  }
  nav {
    right: 60px;
  }
  section {
    padding: 200px 320px;
  }
  section#contact h2 {
    margin-bottom: 96px;
  }
}
@media (min-width: 2400px) {
  section {
    padding: 200px 15%;
  }
}
@media (hover: hover) and (pointer: fine) and (min-width: 1200px) {
  #nav-triangle:hover .shape-color {
    fill: #f500d8;
  }
  #nav-square:hover .shape-color {
    fill: #8b00f5;
  }
  #nav-circle:hover .shape-color {
    fill: #006af5;
  }
  #nav-pentagon:hover .shape-color {
    fill: #00f5f5;
  }
  #nav-rhombus:hover .shape-color {
    fill: #00f56a;
  }
}/*# sourceMappingURL=styles.css.map */