:root {
  --color-accent: #277c00;
  --color-background: #1b1b1b;
  --color-text: #e2e2e2;
  --page-width: 900px;
}

@font-face {
  font-family: Raleway;
  src: url("Raleway.ttf");
}
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: Raleway;
  background-image: url("img/bckg.svg");
  background-size: cover;
  background-attachment: fixed;
  background-color: var(--color-background);
  color: var(--color-text);
  padding-top: 120px;
  font-size: 20px;
  background: linear-gradient(90deg, rgb(0, 0, 0) 0%, rgb(1, 61, 0) 100%);
}

main {
  width: var(--page-width);
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.dot {
  background-color: rgba(207, 207, 207, 0.13);
  width: 2px;
  height: 2px;
  border-radius: 3px;
  position: absolute;
  transition: all 300ms;
}

#background {
  width: 100vw;
  height: 100dvh;
  position: fixed;
  z-index: -100;
  --gridGap: 30px;
  display: none;
}

mark {
  background-color: transparent;
  color: var(--color-accent);
  font-weight: 800;
}

time {
  font-size: 0.75em;
}

.card {
  transition: all 250ms;
}
.card:hover {
  /*transform: scale(1.1);
  box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.37);*/
}

#title {
  position: sticky;
  top: 0px;
  z-index: 9999;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(1, 61, 0, 0.9) 100%);
}
#title::before {
  content: "";
  background-color: var(--color-accent);
  position: absolute;
  width: var(--header-width);
  height: 100%;
  transition: all 300ms;
  display: none;
}

h1 {
  font-size: 64px;
  margin: 0;
  width: var(--page-width);
  margin: auto;
  position: relative;
  cursor: pointer;
}
h1 span:nth-child(1) {
  position: relative;
  z-index: 11;
  font-weight: 900;
  --color-background: var(--color-text);
  /* text-shadow: 2px 0px 0 var(--color-accent), -2px 0px 0 var(--color-accent),
    0px 2px 0 var(--color-accent), 0px -2px 0 var(--color-accent),
    -2px -2px 0 var(--color-accent), 2px 2px 0 var(--color-accent),
    -2px 2px 0 var(--color-accent), 2px -2px 0 var(--color-accent);*/
  color: var(--color-background);
}
h1 span:nth-child(2) {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10;
  color: var(--color-accent);
  font-size: 1.2em;
  font-weight: 900;
}

h2 {
  font-size: 48px;
  position: relative;
  color: var(--color-text);
  transition: all 300ms;
  /* text-shadow: 2px 0px 0 var(--color-accent), -2px 0px 0 var(--color-accent),
    0px 2px 0 var(--color-accent), 0px -2px 0 var(--color-accent),
    -2px -2px 0 var(--color-accent), 2px 2px 0 var(--color-accent),
    -2px 2px 0 var(--color-accent), 2px -2px 0 var(--color-accent);*/
}
h2::before {
  content: "";
  position: absolute;
  width: 128px;
  height: 24px;
  background-color: var(--color-accent);
  top: 30px;
  left: -40px;
  z-index: -1;
}
h2:hover {
  text-shadow: none;
}

h3 {
  margin: 12px 0;
}

.row {
  display: flex;
}
.row > * {
  flex: 1;
}
.row img {
  width: 100%;
}

.col {
  display: flex;
  flex-direction: column;
}

.link-icon {
  color: white;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  text-decoration: none;
  width: fit-content;
  position: relative;
}
.link-icon img {
  filter: invert(1);
  height: 24px;
}
.link-icon:hover::after {
  width: 100%;
}
.link-icon::after {
  content: "";
  position: absolute;
  height: 1px;
  background-color: var(--color-text);
  bottom: -5px;
  transition: all 200ms;
  width: 0;
}

.btn {
  border: 2px solid var(--color-accent);
  text-decoration: none;
  padding: 8px 24px;
  margin: 8px 0;
  color: var(--color-text);
  display: inline-block;
  position: relative;
  z-index: 0;
}
.btn::before {
  content: "";
  position: absolute;
  background-color: var(--color-accent);
  width: 0;
  left: 0;
  top: 0;
  bottom: 0;
  transition: all 200ms;
  z-index: -1;
}
.btn:hover::before {
  width: 100%;
}

#contact {
  margin: 20px 0;
  gap: 16px;
  align-items: flex-end;
}

#aboutme p {
  flex: 1.5;
}

.gap {
  gap: 16px;
}

#popup {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  z-index: 99999;
  width: 100%;
  height: 100dvh;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: all 250ms;
  cursor: pointer;
}
#popup img {
  box-shadow: 0 0 30px 0 var(--color-accent);
  width: var(--page-width);
}

.img-preview {
  transition: all 200ms;
  cursor: pointer;
}
.img-preview:hover {
  transform: scale(1.1);
}

div:has(> .img-preview) {
  overflow: hidden;
}

#projects {
  gap: 24px;
  display: flex;
  flex-direction: column;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.4);
  margin-top: 64px;
}

@media screen and (max-width: 980px) {
  :root {
    --page-width: calc(100vw - 80px);
  }
  body {
    font-size: 18px;
  }
  h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 32px;
  }
  h2::before {
    height: 16px;
    top: 20px;
  }
  #aboutme {
    flex-direction: column;
  }
  #aboutme > div {
    flex-direction: row;
    gap: 32px;
  }
}
@media screen and (max-width: 720px) {
  :root {
    --page-width: calc(100vw - 32px);
  }
  #projects .row {
    flex-direction: column;
  }
  #projects .row > div:has(> img) {
    order: -1;
  }
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
  #aboutme > div {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
.tech {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.tech > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tech > div img {
  height: 32px;
  width: 48px;
  object-fit: contain;
}

.network-preview {
  display: flex;
  flex-direction: row;
  padding: 32px;
}

.warning {
  color: red;
  margin: 0;
}

#input {
  max-width: 150px;
  width: 150px;
}

video {
  width: 100%;
}

/*# sourceMappingURL=style.css.map */

a {
  color: var(--color-text);
}