
@font-face {
  font-family: "Hack";
  src: url("assets/font/Hack-Regular.ttf");
}

* {
  color: var(--text-color);
  background-color: var(--bg-color);
  font-family: "Hack", BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    "Helvetica", "Arial", sans-serif !important;
}

body {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  min-width: fit-content;
  overflow-x: hidden;
  overflow-y: scroll;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

::-webkit-scrollbar {
  display: none;
}

/* custom text highlight starts */
::-moz-selection {
  background-color: var(--accent2);
  color: white;
}

::selection {
  background-color: var(--accent2);
  text-decoration-color: var(--accent2);
  color: white;
}

/* custom text highlight ends */

/* Color variables per theme */
:root {
  /* Ligth theme */
  color-scheme: light dark;
  --text-color: black;
  --bg-color: hsl(0, 0%, 100%);
  --bg-color2: #7D7D7D;
  --bg-box: #C3C3C3;
  --accent2: #746452;
  /* --accent2: #706054; */
  --accent: #462A71;
  --box-shadow: rgb(0 0 0 / 20%);
  --box-opaque-bg: #2D2D2D;
  --box-box-bg: hsla(0, 0%, 23%, 0.9);
  --box-box-light: hsla(240, 0%, 42%, 0.3);
}

/* @media (prefers-color-scheme: dark) { */
/*   :root { */
    /* Dark theme */
    /* --text-color: white; */
    /* --bg-color: hsl(240, 15%, 13%); */
    /* --bg-color2: hsl(267, 23%, 9%); */
    /* --box-shadow: rgb(255 255 255 / 50%); */
/*   } */
/* } */

.fg {
  background-color: transparent;
}

/* img { */
/*   height: auto; */
/*   width: 100%; */
/* } */

img.logo {
  width: 56px;
  background-color: transparent;
}
a {
  text-decoration: none;
  color: white;
  background-color: inherit;
}

a:hover, .address > a:hover, .link:hover {
  /* color: var(--accent); */
  color: white;
  text-decoration: underline;
}

.crow > img {
  position: fixed;
  bottom: 35vh;
  /* top: -4vh; */
  left: 20px;
  z-index: 20;
  width: calc(500px + 15vw);
  background-color: transparent;
  pointer-events: none;
}

.birds > img {
  z-index: 1;
  position: fixed;
  bottom: -100px;
  left: -220px;
  /* width: 700px; */
  height: 100lvh;
  background-color: transparent;
  pointer-events: none;
  filter: blur(0.7px)
}

.background-inset {
  position: fixed;
  z-index: 0;
  pointer-events: none;
}
.background-inset > img {
  height: 100vh;
  width: 100vw;
}

main {
  z-index: 10;
}

.cards {
  display: grid;
  /* grid-template-columns: auto auto auto; */
  grid-template-rows: auto auto;
  width: min-content;   /* calc(17rem*3 + 12px*6); */
  position: relative;
  left: calc(100vw - 17rem * 3 - 12px * 6 - 5vw);
  top: 12vh;
  row-gap: 70px;
  /* column-gap: 12px; */
  background-color: transparent;
  z-index: 10;
}

.content {
  padding: 10px;
}

/* .content > p { */
/*   text-align: justify; */
/* } */
/* .about > p { */
/*   text-align: center; */
/* } */
/**/
/* .contact > ul:nth-child(2), .projects > ul:nth-child(2) { */
/*   text-align: right; */
/* } */
/**/
.wrapper > div > *, .wrapper > * {
  background-color: var(--bg-box);
}

ul {
  padding-left: 20px;
}

li {
  background-color: inherit;
}

h3 {
  font-size: 1.35rem;
  margin: 16px 0px;
}

.wrapper > div, .wrapper > img, .screen > img {
  height: 17rem;
  width: 17rem;
  margin: 12px;
}

.wrapper:nth-child(1) {
  display: grid;
  grid-template-columns: auto auto auto;
  /* column-gap: 12px; */
  transform: rotate(-0.3deg);
  /* filter: none; */
}

.wrapper:nth-child(2) {
  display: grid;
  grid-template-columns: auto auto auto;
  /* column-gap: 12px; */
  transform: rotate(0.5deg);
  /* filter: none; */
}

.wrapper {
  background-color: var(--box-opaque-bg);
  width: fit-content;
}


.wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  /* background-color: var(--box-box-bg); */
  /* background: */
  /*   conic-gradient(from 188deg at -3% 66%, var(--box-box-bg), var(--box-box-light)), */
  /*   linear-gradient(to bottom, var(--box-box-bg), var(--box-box-light)), */
  /*   url(./assets/noise.svg); */
  /* filter: contrast(200%) brightness(90%); */
}

.overlay {

  /* background: moccasin; */
  /* mix-blend-mode: multiply; */
}

.wrapper > * {
}

.screen {
  background-image: url("assets/computer.avif");
  background-size: 17rem;
  background-color: transparent;
}

.credit {
  font-size: 0.86rem;
  background-color: transparent !important;
  color: white;
  margin-top: 3rem;
  margin-left: 4.7rem;
  transform: skew(1deg, -15deg);
}

* {
  box-sizing: border-box;
}

.container {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  /* vertical-align: middle; */
}
li.social-item:nth-child(1) > a:nth-child(1) > img:nth-child(1) {
  width: 68px;
}

.social-list {
  display: flex;
  justify-content: space-evenly;
  list-style: none;
  margin: 0;
  padding: 0;
  width: calc(17rem - 24px);
}

.social-item {
  background-color: transparent;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

a.icons {
  display: inline-block;
  color: var(--text-color);
  transition: all 150ms;
  filter: grayscale(1);
}

a.icons:hover {
  opacity: 0.9;
  transform: scale(1.05);
  filter: none;
  transition: ease 100ms;
}

img::selection {
  background-color: transparent;
}

.copyright {
  margin: 0 0.25rem;
}
.address {
  font-style: normal;
  color: var(--text-color);
  background-color: inherit;
}
.address > a, li > a, a.link {
  color: var(--accent);
  text-decoration: 1px solid underline;
}

@media (max-width: 940px) {
  .cards {
    row-gap: 2rem;
    margin: 10vh 0;
    left: calc(50vw - (17rem + 24px) / 2 );
    top: 0rem;
  }
  .wrapper {
    grid-template-columns: auto !important;
    /* row-gap: 2rem; */
    position: relative;
    /* transform: none !important; */
  }
  .background-inset {
    top: 0;
    left: 0;
  }
  .background-inset > img {
    /* width: 100vh; */
    /* height: 100vw; */
    /* transform: rotate(90deg); */
  }
  ::-webkit-scrollbar {
    display: block;
  }
  ::-webkit-scrollbar-thumb {
    height: 56px;
    border-radius: 8px;
    border: 4px solid transparent;
    background-clip: content-box;
    background-color: var(--bg-color);
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--box-opaque-bg);
    height: 56px;
    border-radius: 8px;
    border: 4px solid transparent;
    background-clip: content-box;
  }

  ::-webkit-scrollbar-track {
    background-color: var(--bg-color2);
  }
}

@media (max-width: 1750px) {
  .crow > img {
    z-index: 9;
  }

}
@media (max-width: 450px) {
  .crow > img {
    display: none;
  }
}
