@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css");

:root {
  --color: 0;
  --color-1: hsl(var(--color), 0%, 100%);
  --color-1-dark: hsl(var(--color), 0%, 95%);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: hsla(180, 100%, 5%, 100%);
}

header {
  position: fixed;
  top: 0;
  z-index: 999;

  display: flex;

  width: 100%;

  justify-content: center;
}

nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

nav a,
header h1 {
  font-size: 1.2rem;
  font-family: "Roboto", serif;
  font-weight: 400;
  text-transform: capitalize;
  text-decoration: none;
  color: var(--color-1-dark);
}

nav a:hover,
.active {
  text-decoration: underline;
  text-decoration-color: var(--color-1);
  text-decoration-thickness: 2px;
}

header h1 {
  margin: 1rem 0 0 1rem;
}

nav ul {
  display: flex;
  margin: 1rem 1rem 0 0;
  gap: 1rem;
}

nav li {
  list-style-type: none;
}
main {
  background-color: hsla(180, 100%, 5%, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.parallax-container {
  position: relative;
  height: 1415px;
  width: 100%;
  overflow: hidden;
  background-color: hsla(180, 100%, 5%, 100%);
}

[class^="parallax-image"] {
  position: absolute;
  /* /* top: 0; */
  left: -275px;
}

[class^="parallax-image"] img {
  display: block;
  width: 100%;
  /* height: 1080px; */
  /* height: 850px; */
  height: 100vh;
  object-fit: cover;
}

.black-box {
  height: 300px;
  width: 100%;

  position: absolute;
  z-index: 1;
  background-color: hsla(180, 100%, 5%, 100%);
}

section:not(.parallax-container) {
  display: flex;
  width: 100%;
}
p,
li {
  font-size: 1.4rem;
  line-height: 1.5;
  /* line-height: 2; */
  font-family: "Roboto", serif;
  font-weight: 400;
  color: var(--color-1-dark);
}

li {
  margin-left: 2rem;
}

h1,
h2,
h3 {
  font-family: "Roboto", serif;
  font-weight: 600;
  color: var(--color-1-dark);
}

h1 {
  margin-bottom: 0.7rem;

  text-align: center;
  font-size: 2rem;
  /* line-height: 1.2; */
}
h2 {
  margin-top: 1rem;
  font-size: 1.5rem;
  /* line-height: 1.3; */
}

h3 {
  font-size: 24px;
}

section:not(.parallax-container) {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

article {
  display: flex;
}

article > div:first-of-type {
  width: 70%;
}

article > div:last-of-type {
  width: 30%;
}

.inkscape-image-wrapper {
  position: relative;
}

.inkscape-image-wrapper i {
  display: none;

  position: absolute;
  bottom: 1rem;
  right: 1rem;
  color: hsl(180, 100%, 39%);
  cursor: pointer;

  font-size: 20px;
  width: 20px;
  height: 20px;
  /* display: flex; */
  align-items: center;
  justify-content: center;
}

article > img {
  display: block;
  width: 10%;
}

section li a {
  color: hsl(180, 100%, 39%);
}

section li a:hover {
  color: hsl(180, 100%, 24%);
}

section li span.highlight-1 {
  background-color: hsl(180, 100%, 39%);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  color: hsl(180, 100%, 0%);
}

section li span.highlight-2 {
  background-color: hsl(180, 100%, 24%);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  color: hsl(180, 100%, 0%);
}

section li span.highlight-3 {
  color: hsl(124, 100%, 30%);
}

section li span.highlight-4 {
  background-color: hsl(200, 100%, 39%);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  color: hsl(180, 100%, 0%);
}

section li .icon {
  border-radius: 4px;
  aspect-ratio: 1/1;

  font-size: 20px;
  width: 20px;
  height: 20px;
}

section li span.bold-1 {
  font-weight: bold;
  color: hsl(180, 100%, 39%);
}

section li span.bold-2 {
  font-weight: bold;
  color: hsl(200, 100%, 39%);
}

.note {
  list-style-type: none;
  margin: 1rem 0 0 2rem;
}

section li > div {
  display: inline;
}

article img:hover {
  filter: brightness(0.8);
  cursor: pointer;
}

img[src$=".svg"] {
  background-color: rgba(245, 245, 245, 0.141);
  width: 100%;
}

img[src*="inkscape-layer"],
img[src*="inkscape-properties"],
img[src*="inkscape-canvas"] {
  width: 100%;
}

img[src*="inkscape-canvas"] {
  border: 20px solid #d1d1d1;
}

.overlay {
  position: fixed;
  display: flex;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: hsl(0, 0%, 10%, 0.9);
}

.overlay .imageContainer {
  position: relative;
}

.overlay img {
  height: 90vh;
  border-radius: 7px;
  /* aspect-ratio: 1 / 1; */
  width: 100%;
}

.overlay .close-icon {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0.7rem;
  font-size: 55px;
  color: hsl(180, 100%, 39%);
  font-size: 45px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.right-arrow::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 1000;
}

.left-arrow::before {
  content: "\f104";
  font-family: "Font Awesome 6 Free";
  font-weight: 1000;
}

.overlay .right-arrow,
.overlay .left-arrow {
  display: flex;
  transition: 100ms;
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 100%;
  width: 100px;
  cursor: pointer;
}

.overlay .right-arrow img,
.overlay .left-arrow img {
  width: 30px;
  height: 30px;
}

.overlay .right-arrow {
  right: 0;
}

.overlay .left-arrow {
  left: 0;
}
.overlay .left-arrow img {
  transform: scale(-1);
}

.overlay .right-arrow:hover,
.overlay .left-arrow:hover {
  transition: 100ms;
  background-color: #7ea4c8;
}

.overlay .container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (min-width: 768px) {
  nav {
    width: 100%;
  }

  .parallax-container {
    position: relative;
    height: 1415px;
    width: 100%;
    overflow: hidden;
    background-color: hsla(180, 100%, 5%, 100%);
  }

  section:not(.parallax-container) {
    display: flex;
    width: 100%;
  }
  [class^="parallax-image"] img {
    height: 1080px;
  }
  [class^="parallax-image"] {
    left: -310px;
  }
}

@media only screen and (min-width: 1090px) {
  nav {
    width: 1440px;
  }

  .parallax-container {
    position: relative;
    height: 1415px;
    width: 1440px;
    overflow: hidden;
    background-color: hsla(180, 100%, 5%, 100%);
  }

  section:not(.parallax-container) {
    display: flex;
    /* width: 1440px; */
    width: 1000px;
  }
  [class^="parallax-image"] img {
    height: 1080px;
  }
  [class^="parallax-image"] {
    left: 0px;
  }
}
