:root {
  --bg: black;
  --text-color: antiquewhite;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

::-webkit-scrollbar {
  display: none;
}

.scroll-container {
  position: fixed;
  top: 50%;
  left: 10px;
  width: 6px;
  height: 100px;
  background-color: #181818;
  border-radius: 3px;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 9999;
  transform: translateY(-50%);
}

.scroll-progress {
  width: 100%;
  height: 0;
  background-color: #4b4b4b;
  border-radius: 3px;
  position: absolute;
  bottom: 0;
  transition: height 0.2s ease;
}

.scroll-container.visible {
  opacity: 1;
}

.scroll-container.visible .scroll-progress {
  opacity: 1;
}

::selection {
  background-color: rgba(249, 112, 0, 0.99);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: antiquewhite;
  font-family: 'Lexend','Roboto', sans-serif;
  font-optical-sizing: auto;
}

.main-container {
  overflow-x: hidden;
}

.navbar {
  height: 5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: fixed;
  width: 100%;
  z-index: 9999;
  top: 0;
  text-shadow: 2px 2px 4px black;
}

.navbar .menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar .menu li {
  display: inline;
}

.navbar .menu li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
}

.vertical-section-container-top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
}

.l1-container {
  font-size: clamp(2em, 12vw, 13vw);
  text-align: center;
}

.l2-container {
  font-size: clamp(1.2em, 3vw, 100px);
  text-align: center;
}

.l2-1-container {
  font-size: clamp(1em, 1.7vw, 1.2em);
  text-align: center;
  font-weight: lighter;
  margin-top: 0.5em;
}

.l2-1:hover {
  text-decoration: underline;
}

.separator {
  margin: 0 0.5em;
}

.horizontal-section {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.horizontal-section-child {
  text-wrap: nowrap;
  font-size: 6rem;
  padding: 0 1em;
}

.spinner {
position: absolute;
top: -20vh;
left: 20vw;
}

.l3-container * {
  display: inline-block;
}

.l3together {
  position: relative;
  background-image: linear-gradient(45deg, rgb(255, 73, 103), rgb(255, 155, 54));
  border-radius: 20px;
  padding: 0em .5em .2em;
}

.l3quote1 {
  font-size: 2em;
}
.curly-container {
  position: absolute;
  left: 45%;
  height: 8rem;
  display: flex;
  font-size: 1rem;
  align-items: center;
}

.curly-bracket-text {
  width: 30rem;
  text-wrap: wrap;
  text-align: center;
}

.curly-bracket {
  height: 100%;
}

.curly-bracket-fill {
  fill: var(--text-color);
}

.software-container {
  display: flex;
  gap: 4%;
  position: absolute;
  right: 8.5%;
  height: 8rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.project-heading-container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.project-heading-container-child {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 4rem;
}

.curly-bracket-project-2 {
  transform: scaleX(-100%);
}

.project-container-parent {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 2vh;
  overflow: hidden;
  width: 100%;
  height: auto;
  background-color: var(--bg);
}

.project-container {
  display: flex;
  gap: 0.2rem;
  cursor: grab;
  user-select: none;
  height: 100%;
}

.project {
  min-width: 400px;
  width: 80vw;
  height: 100vh;
  background-color: rgb(27, 27, 27);
  font-size: 18px;
  color: white;
  filter: grayscale(100%) brightness(20%);
  transition: 0.3s ease;
}

.project:hover {
  filter: grayscale(0%);
}

.project-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
}

.grab {
  position: absolute;
  bottom: 3vh;
  text-align: center;
  z-index: 9999;
  width: 100%;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s ease-in-out;
}

.contact-footer {
  height: 140vh;
}

.contact-container-child {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-container {
  background-image: url(Assets/pattern.png);
  text-align: center;
}

.contact-container button {
  height: 3.5rem;
  padding: 1rem;
  background-color: white;
  border-radius: 10px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  text-wrap: nowrap;
}

.contact-container button:hover {
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

footer {
  background-color: var(--text-color);
  height: 40vh;
  width: 100vw;
  background-image: url(Assets/Pattern2.png);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 0;
}

footer .top {
  position: absolute;
  bottom: 8%;
  right: 2rem;
  text-decoration: none;
  color: inherit;
  font-size: 0.8rem;
}

footer .top:hover {
  text-decoration: underline;
}