:root {
  --header-height: 3.5rem;
  --first-clr: #1fa85b;
  --first-clr-alt: #2ecc71;
  --text-clr: #fff;
  --text-clr-light: #888888;
  --text-clr-light-alt: #e2ded8;
  --text-clr-dark: #000000;
  --body-clr: rgb(23, 23, 23);
  --body-font: "Roboto Mono", monospace;
  --font-mono: "Roboto Mono", monospace;
  --font-sora: "Sora", sans-serif;
  --biggest-fs: 2.25rem;
  --h1-fs: 1.5rem;
  --h2-fs: 1.25rem;
  --h3-fs: 1rem;
  --normal-fs: 0.938rem;
  --small-fs: 0.813rem;
  --smaller-fs: 0.75rem;
  --regular-fw: 300;
  --medium-fw: 500;
  --bold-fw: 600;
  --z-tooltip: 10;
  --z-fixed: 100;
}
@media screen and (min-width: 968px) {
  :root {
    --biggest-fs: 4rem;
    --h1-fs: 2.25rem;
    --h2-fs: 1.5rem;
    --h3-fs: 1.25rem;
    --normal-fs: 1rem;
    --small-fs: 0.875rem;
    --smaller-fs: 0.813rem;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-mono);
  font-size: var(--normal-fs);
  background-color: var(--body-clr);
  color: var(--text-clr);
}
h1,
h2,
h3 {
  font-weight: var(--bold-fw);
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
button,
input {
  font-family: var(--font-mono);
  outline: none;
  border: none;
}
.container {
  max-width: 1024px;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}
.section {
  padding: 4.5rem 0 2rem;
}
.main {
  overflow: hidden;
}
.grid {
  display: grid;
}
.button {
  display: inline-block;
  background-color: var(--first-clr);
  color: var(--text-clr-dark);
  padding: 1.25rem 2rem;
  font-weight: var(--medium-fw);
  cursor: pointer;
  transition: 0.3s;
}
.button:hover,
.button:focus {
  background-color: var(--first-clr-alt);
}
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -30%;
  background-color: var(--first-clr);
  box-shadow: 0 4px 12px hsla(0, 0%, 20%, 0.1);
  display: inline-flex;
  padding: 0.55rem;
  border-radius: 1rem;
  z-index: var(--z-tooltip);
  opacity: 0.8;
  transition: 0.4s;
}
.scrollup:hover {
  opacity: 1;
}
.scrollup__icon {
  font-size: 1.25rem;
  color: var(--text-clr-dark);
}
.show-scroll {
  bottom: 3rem;
}
::-webkit-scrollbar {
  width: 0.6rem;
  background: var(--body-clr);
}
::-webkit-scrollbar-thumb {
  border-radius: 0.5rem;
  background: var(--first-clr);
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: var(--z-fixed);
  transition: 0.4s;
}
.nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo,
.nav-toggle {
  color: var(--text-clr-light);
}
.nav-logo {
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  font-family: var(--font-sora);
  font-weight: var(--bold-fw);
}
.nav-logo-img {
  width: 1.5rem;
}
.nav-toggle {
  display: inline-flex;
  font-size: 1.25rem;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    background-color: #161616;
    left: 0;
    top: -100%;
    right: 0;
    width: 80%;
    padding: 1.5rem 0;
    margin: 0 auto;
    border-radius: 2rem;
    box-shadow: 0 0 4px rgba(11, 255, 44, 0.466);
    transition: 0.4s;
  }
}
.nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
}
.nav-link {
  color: var(--text-clr-light);
  font-weight: var(--medium-fw);
  text-shadow: 0.2em 0.2em var(--text-clr-dark);
  transition: 0.3s;
}
.nav-link:hover,
.nav-link:focus {
  color: var(--first-clr);
}
.nav-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-clr-light);
}
.show-menu {
  top: calc(var(--header-height) + 0.1rem);
}
.active-link {
  position: relative;
  color: var(--first-clr);
}
.active-link::before {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 45%;
  width: 5px;
  height: 5px;
  background-color: var(--first-clr);
  border-radius: 50%;
}
.scroll-header {
  background-color: var(--body-clr);
  box-shadow: 0 0 4px rgba(11, 255, 44, 0.466);
}
.home-container {
  padding-block: 100px;
  height: 100vh;
  position: relative;
  row-gap: 2.5rem;
}
.home-social {
  position: absolute;
  top: 25%;
  left: -1rem;
  display: grid;
  grid-template-columns: max-content;
  row-gap: 2rem;
}
.home-social-link {
  font-size: 1.5rem;
  color: var(--first-clr);
  transition: 0.3s;
}
.home-social-link:hover {
  color: var(--text-clr-light);
}
.home-data {
  text-align: center;
  margin-top: 1.75rem;
  margin-left: 1rem;
  margin-right: 1rem;
}
.home-greetings {
  font-weight: var(--medium-fw);
  color: var(--text-clr-light);
  letter-spacing: 0.2px;
  text-shadow: 0.2em 0.2em var(--text-clr-dark);
  margin-bottom: 1rem;
}
.home-title {
  font-family: var(--font-sora);
  font-size: var(--biggest-fs);
  color: var(--first-clr);
  text-shadow: 0.1em 0.1em var(--text-clr-dark);
  font-weight: var(--bold-fw);
  margin-bottom: 1rem;
}
.home-subname {
  font-family: var(--font-sora);
  color: var(--text-clr-light);
  letter-spacing: 0.2px;
  text-shadow: 0.2em 0.2em var(--text-clr-dark);
  margin-bottom: 1.5rem;
}
.home-desc {
  color: var(--text-clr-light);
  font-weight: var(--medium-fw);
  margin-bottom: 1.5rem;
}
.home-btns {
  display: flex;
  align-items: center;
  justify-content: center;
}
.button-green {
  background-color: var(--text-clr-light);
  color: var(--text-clr-dark);
}
.button-green:hover {
  background-color: var(--first-clr-alt);
}
.button-small {
  padding: 1rem 1.5rem;
}
.home-button {
  box-shadow: 0 12px 24px hsla(0, 0%, 10%, 0.2);
}
.home-scroll {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--first-clr);
}
.ab1,
.ab2,
.ab3,
.ab4 {
  display: inline-block;
  color: var(--text-clr-light);
  margin-bottom: 1rem;
}
.about-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-title {
  flex-shrink: 0;
  text-align: left;
  font-size: var(--h2-fs);
  font-weight: var(--bold-fw);
  color: var(--first-clr);
  text-shadow: 0.2em 0.2em var(--text-clr-dark);
  letter-spacing: 2px;
}
.about-data {
  width: 100%;
  font-size: var(--normal-fs);
  font-weight: var(--regular-fw);
  max-width: 650px;
  padding-left: 30px;
}
.ab4,
.strong {
  color: var(--text-clr-light-alt);
  text-shadow: 0.2em 0.2em var(--text-clr-dark);
}
.skills {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 200px));
  color: var(--text-clr-light);
}
.project-title {
  position: relative;
  text-align: center;
  font-size: clamp(2rem, 10vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  margin-bottom: 1rem;
}
.project-title::before {
  content: attr(data-outline);
  position: absolute;
  left: -1%;
  top: -20%;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--first-clr);
  z-index: -1;
}
.project-subtitle {
  display: block;
  text-align: center;
  font-size: var(--small-fs);
  font-weight: var(--medium-fw);
  color: var(--text-clr-light);
}
.project-container {
  padding: 5rem 0;
}
.pro-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 5rem;
  gap: 2rem;
}
.pro-box:nth-of-type(even) {
  flex-direction: column;
}
.left {
  width: 100%;
  flex: 1;
}
.right {
  margin-left: 0;
  width: 90%;
  margin-top: -150px;
  flex: 1;
  background-color: #222;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0px 0px 20px #00000028;
  z-index: 2;
}
.pro-box:nth-of-type(even) .right {
  margin-left: 0;
}
.pro-box:nth-of-type(even) .left {
  margin-left: 0;
}
.project-img {
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.project-img::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: transparent;
}
.project-img img {
  height: 100%;
  width: 100%;
  object-position: center;
  object-fit: cover;
  filter: grayscale(1);
  transition: 0.3s;
}
.project-img:hover img,
.project-img:focus img {
  transform: scale(1.1);
  filter: grayscale(0);
  z-index: 1;
}
.pro-title {
  font-size: var(--h2-fs);
  font-family: var(--font-sora);
  color: var(--first-clr);
  text-shadow: 0.2em 0.2em var(--text-clr-dark);
  margin-bottom: 1rem;
}
.pro-subtitle {
  font-size: var(--h3-fs);
  margin-bottom: 2rem;
  color: var(--text-clr-light-alt);
  text-shadow: 0.2em 0.2em var(--text-clr-dark);
}
.pro-desc {
  color: var(--text-clr-light);
  margin-bottom: 2rem;
}
.lang {
  color: var(--text-clr-light-alt);
}
.pro-lang {
  color: var(--text-clr);
  margin-bottom: 0.75rem;
}
.lan-icons {
  font-size: var(--normal-fs);
  color: var(--text-clr-light);
}
.pro-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.project-button {
  display: flex;
  align-items: center;
  padding: 0.7rem 1rem;
}
.project-button .button-icon {
  transition: 0.3s;
}
.project-button:hover .button-icon {
  transform: translateX(0.25rem);
}
.btn-1 {
  border-radius: 0 0.5rem 0 0.5rem;
}
.btn-2 {
  background-color: var(--text-clr-light);
  border-radius: 0.5rem 0 0.5rem 0;
}
.other-container {
  display: grid;
  padding: 0;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}
.other-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  border-radius: 5px;
  background-color: #222;
  box-shadow: 0px 0px 20px #00000028;
  padding: 2rem 1.7rem;
  height: 100%;
}
.other-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.other-links {
  margin-bottom: 0.75rem;
}
.other-link {
  font-size: 1.65rem;
  color: var(--first-clr);
}
.other-link:hover,
.other-link:focus {
  color: var(--text-clr-light);
}
.other-title {
  color: var(--text-clr-light-alt);
  font-size: var(--h3-fs);
  text-shadow: 0.2em 0.2em var(--text-clr-dark);
  margin-bottom: 1rem;
}
.other-desc {
  color: var(--text-clr-light);
  font-size: var(--small-fs);
  margin-bottom: 2.5rem;
}
.other-bottom {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  color: var(--text-clr-light-alt);
  gap: 17px;
}
.other-p {
  font-size: var(--small-fs);
  color: var(--text-clr-light-alt);
}
.container-container {
  background: transparent;
  border: 1px solid var(--first-clr);
  border-radius: 1rem 0 1rem 0;
  text-align: center;
}
.contact-title {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.contact-title {
  position: relative;
  text-align: center;
  font-size: clamp(2rem, 10vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  margin-bottom: 1rem;
}
.contact-title::before {
  content: attr(data-outline);
  position: absolute;
  left: -1%;
  top: -20%;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--first-clr);
  z-index: -1;
}
.contact-desc {
  color: var(--text-clr-light);
  margin-bottom: 1rem;
}
.contact-social {
  margin: 1rem;
}
.con {
  font-size: var(--h1-fs);
}
.footer-container {
  row-gap: 5rem;
}
.footer-rights {
  position: relative;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
  text-align: center;
}
.footer-rights:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to left,
    transparent,
    rgba(11, 255, 44, 0.466),
    transparent
  );
}
.footer-copy {
  font-size: var(--small-font-size);
  color: var(--text-clr-light);
}
.rights-link {
  color: var(--first-clr);
  font-weight: var(--bold-fw);
}
@media screen and (max-width: 320px) {
  .home-container {
    padding-block: 80px;
  }
  .pro-btns {
    gap: 0.75rem;
  }
}
@media screen and (min-width: 568px) {
}
@media screen and (min-width: 768px) {
  .section {
    padding: 6rem 0 2rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
    column-gap: 1.2rem;
  }
  .nav-close,
  .nav-toggle {
    display: none;
  }
  .nav-menu {
    margin-left: auto;
  }
  .nav-list {
    flex-direction: row;
    column-gap: 2.5rem;
  }
  .home-social {
    left: 0;
  }
  .home-data {
    margin-top: 0.75rem;
  }
  .about-container {
    flex-direction: row;
  }
  .about-title {
    text-align: right;
    width: 150px;
    margin-right: 70px;
  }
  .about-data {
    padding-left: 50px;
  }
  .pro-box {
    flex-direction: row;
  }
  .right {
    margin-left: -150px;
  }
  .pro-box:nth-of-type(even) {
    flex-direction: row-reverse;
  }
  .pro-box:nth-of-type(even) .left {
    margin-left: -150px;
  }
  .other-container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}
@media screen and (min-width: 968px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  .about-title {
    width: 200px;
  }
  .scrollup {
    right: 2rem;
  }
}
@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  .about-container {
    padding: 0 50px;
  }
  .about-title {
    margin-right: 70px;
  }
}
@media screen and (min-width: 1200px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
}
