@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Space+Grotesk:wght@300..700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Major+Mono+Display&display=swap');

:root {
  --neutral-bg: #fff;
  --neutral-bg-hover: #fff;
  --neutral-text: #000;
  --neutral-border: #000;
  --accent-1: #ff2aad;
  --accent-2: #ff8521;
  --accent-3: #FACC15;
  --accent-4: #45ff3c;
  --accent-5: #2487ff;
  --accent-6: #a44aff;
  --accent-7: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;  
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: "Space Grotesk", monospace;
}

::selection {
  background-color: #000;
  color: #fff;
}

a {
  text-decoration: none;
  color: #000;
}

a:hover {
  color: #a44aff;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

.img-element {
  max-width: 450px;
  width: 100%;
}

p {
  line-height: 1.2;
  padding: 5px 10px;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1 {
  color: #45ff3c;
  font-weight: 500;
  font-family: "Major Mono Display", monospace;
  font-size: 4em;
  padding-bottom: 15px;
}

.element h1 {
  color: #45ff3c;
  font-weight: 500;
  font-family: "Major Mono Display", monospace;
  font-size: 4.6em;
  padding-bottom: 15px;
}

.element h2 {
  color: #000;
  font-weight: 500;
  font-family: "Major Mono Display", monospace;
  font-size: 4.6em;
  padding-bottom: 15px;
}

h2 {
  font-size: 4.5em;
  font-weight: 900;
  line-height: 0.9;
  color: #000;
  padding: 10px 25px;
  margin-bottom: 20px;
  text-align: center;
  font-family: "Major Mono Display", monospace;
}

h3 {
  font-size: 3em;
}

h4 {
  font-size: 2em;
}

h5 {
  font-size: 1.5em;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: "Major Mono Display", monospace;

}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.hero-span {
  letter-spacing: 0.2em;
  color: #ff8521;
  font-weight: 500;
}

.dgrey {
  color: var(--accent-7);
}

.highlight {
  background: url(//s2.svgbox.net/pen-brushes.svg?ic=brush-1&color=45ff3c);
  display: inline-block;
  margin: -2px -6px;
  padding: 2px 6px;
}

.highlight-2 {
  background: url(//s2.svgbox.net/pen-brushes.svg?ic=brush-2&color=45ff3c);
  display: inline-block;
  margin: -2px -6px;
  padding: 2px 6px;
}

.headings {
  font-size: 4.5em;
  font-weight: 900;
  line-height: 0.9;
  color: #000;
  padding: 10px 25px;
  margin-bottom: 10px;
  text-align: center;
}

.row .headings {
  margin-bottom: 30px;
  margin-top: 20px;
  text-align: center;
  transform: rotate(-4deg);
  padding: 10px 25px;
}

.services-section .headings {
  transform: rotate(-4deg);
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  padding: 20px;
  max-width: 1200px;
}

.hero-container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 25px;
  display: flex;
  justify-content: center;

  align-items: center;    
}

.hero-container-sm .element {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
  
.hero-container-sm p {
  max-width: 60ch;
  margin: 0 auto;
  text-align: center;
}

.row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  padding-bottom: 30px;
}

.element {
  max-width: 700px;
  margin: 0 auto;
}

.row .element {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.container .element:first-of-type {
  padding-right: 15px;
}

.container .row .element:nth-of-type(2) h2 {
  width: 70%;
  margin: 0 auto;
  margin-bottom: 25px;
  padding: 10px 25px;

}

/* TERMINAL HEADING */

.terminal-heading {
  font-family: "Major Mono Display", monospace;
  text-transform: lowercase;
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 1em;
  background: black;
  margin-left: 4px;
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

/* OPENING POPUP */

#site-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999999;
  padding: 20px;
}

.popup-box {
  background: #fff;
  border: 4px solid #000;
  box-shadow: 8px 8px 0 #000;
  width: 100%;
  max-width: 520px;
  padding: 40px;
  text-align: center;
  animation: popupFade .35s ease;
}

.popup-box h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.popup-box p {
  margin-bottom: 30px;
  line-height: 1.6;
}

#popup-close {
  background: #ff2aad;
  color: #fff;
  border: 4px solid #000;
  padding: 12px 24px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 4px 4px 0 #000;
  transition: .2s ease;
}

#popup-close:hover {
  transform: rotate(-2deg) scale(1.05);
}

/* SECTION DIVIDER */

.section-divider {
  width: 100%;
  overflow: hidden;
  overflow-x: hidden;
  background-color: #ff2a86;
  color: #fff;
  border-top: 3px solid black;
  border-bottom: 3px solid black;
  display: flex;
  align-items: center;
  transform: rotate(1deg);
}

.scroll-track {
  display: flex;
  width: max-content;
  animation: scrollLoop 16s linear infinite;
}

.scroll-track:hover {
  animation-play-state: paused;
}

.scroll-group {
  display: flex;  
  gap: 80px;
}

.scroll-group span {
  font-family: "Major Mono Display", monospace;
  font-size: 60px;
  white-space: nowrap;  
  line-height: 1;
  padding: 10px 0;
}

@keyframes scrollLoop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* SERVICE GRID ITEMS */

.services-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.services-section h2 {
  margin-bottom: 40px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 25px;
  padding-top: 80px;
  margin: 0 auto;
  max-width: 1000px;
}

.grid-container p{
  max-width:60ch;
}

.service-card {
  background:#fff;
  color:#000;
  padding:20px;
  text-align:left;
  font-size:1.2rem;
  border:2px solid #000;
  transition:transform .3s ease;
  position:relative;
}

.service-card p{
  max-width:55ch;
}

.service-card::after{
  content:"";
  position:absolute;
  right:-6px;
  bottom:-6px;
  width:100%;
  height:100%;
  border:2px solid var(--accent);
  z-index:-1;
}

.pink { 
  box-shadow:4px 4px 0 var(--accent-1);
}

.yellow { 
  box-shadow:4px 4px 0 var(--accent-3);
}

.green { 
  box-shadow:4px 4px 0 var(--accent-4);
}

.purple {
  box-shadow:4px 4px 0 var(--accent-6);
}

.orange { 
  box-shadow:4px 4px 0 var(--accent-2);
}

.blue { 
  box-shadow:4px 4px 0 var(--accent-5);
}

.service-card:hover{
  transform:rotate(3deg) scale(1.05);
}

/* HERO BUTTON */

.hero-button {
  background-color: #2487ff;
  font-family: "Space Grotesk", sans-serif;
  color: #fff;
  border: 4px solid #000;
  padding: 10px 25px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 4px 4px 0 #000;
  transform: rotate(-4deg);
  transition: background-color 0.3s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-button:hover {
  background-color: #facc15;
  color: #000;
  box-shadow: 1px 1px 0 #000;
  transform: translate(2px, 2px) rotate(-4deg);
}

/* SLIDE ANIMATIONS */

.slide-left,
.slide-right {
  opacity: 0;
  transition: opacity 0.5s, transform 1.5s;
}

.slide-down {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  transform: translateX(-50px);
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slide-right {
  transform: translateX(50px);
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
}

/* SCROLLBAR */

html {
  scrollbar-width: auto;
  scrollbar-color: #fff #000;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 10px;
  border: 2px solid #fff;
}

::-webkit-scrollbar-thumb:hover {
  background: #fff;
}

::-webkit-scrollbar-button {
  background: #000;
  width: 16px;
  height: 16px;
}

::-webkit-scrollbar-button:hover {
  background: #fff;
}

/* PACKAGE ELEMENTS */

.card-section {
  background-color: #fff;
  padding: 30px 20px;
  font-family: "Space Grotesk", monospace;
  text-align: center;
}

.card-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
  max-width:960px;
  margin:0 auto;
}

.card {
  background-color: #fff;
  border: 4px solid #000;
  padding: 30px 20px;
  text-align: left;
  box-shadow: 6px 6px 0 #000;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.card:hover {
  transform: scale(1.03) rotate(-1deg);
  background-color: #e0f2fe;
}

.card-badge {
  position: absolute;
  top: -12px;
  left: -12px;
  background: #000;
  color: #fff;
  font-family: "Space Grotesk", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
  transform: rotate(-5deg);
  z-index: 3;
}

.badge-pink {
  background-color: #ff2aad;
  color: #000;
}
.badge-green {
  background-color: #45ff3c;
  color: #000;
}
.badge-orange {
  background-color: #ff8521;
  color: #000;
}
.badge-yellow {
  background-color: #FACC15;
  color: #000;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #000;
  text-transform: uppercase;
}

.card p {
  font-size: 1rem;
  color: #000;
  margin-bottom: 20px;
}

.card-btn {
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
  padding: 10px 20px;
  font-family: "Space Grotesk", monospace;
  font-size: 0.9rem;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 4px 4px 0 #000;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.card-btn:hover {
  color: #000;
  transform: scale(1.05);
}

.card:nth-child(1):hover {
  transform: rotate(2deg) scale(1.03);
  background-color: #ff2aad;
}

.card:nth-child(2):hover {
  transform: rotate(-3deg) scale(1.03);
  background-color: #45ff3c;
}

.card:nth-child(3):hover {
  transform: rotate(4deg) scale(1.03);
  background-color: #ff8521;
}

.card:nth-child(4):hover {
  transform: rotate(-2deg) scale(1.03);
  background-color: #facc15;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  border: 4px solid #000;
  box-shadow: 8px 8px 0 #000;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  font-family: "Space Grotesk", monospace;
  text-align: left;
  position: relative;
  animation: popIn 0.3s ease;
}

.modal-content li::before {
  content: "▣";
  padding-right: 8px;
  color: #a44aff;
}

.modal-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: #000;
}

@keyframes popIn {
  from { transform: scale(0.8) rotate(-3deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}


/* PROCESS SECTION */

.process {
  padding: 4rem 2rem;
  background: #fff;
  max-width: 1300px;
  margin: 0 auto;
}

.process h2 {
  width: 50%;
  margin-bottom: 30px;
  margin: 0 auto;
  text-align: center;
  padding: 10px 25px;
}

.process .headings {
  transform: rotate(-4deg);
  margin-bottom: 30px!important;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 2rem;
}

.process-card {
  background: #fff;
  border: 3px solid #000;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 4px 0 #000;
  color: #000;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.process-card:hover {
  background: #fff;
  border-color: #000;
  color: #000;
  transform: rotate(-4deg) scale(1.05);
  box-shadow: 8px 8px 0 #000;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: #000;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
  text-shadow: 3px 4px 4px #000;
}

.step-desc {
  font-size: 1rem;
  line-height: 1.2;
  max-width: 60ch;
}

.process-card:nth-child(1) {
  background: #ff2aad;
  border-color: #000;
}
.process-card:nth-child(2) {
  background: #ff8521;
  border-color: #000;
}
.process-card:nth-child(3) {
  background: #FACC15;
  border-color: #000;
}
.process-card:nth-child(4) {
  background: #45ff3c;
  border-color: #000;
}
.process-card:nth-child(5) {
  background: #2487ff;
  border-color: #000;
}
.process-card:nth-child(6) {
  background: #a44aff;
  border-color: #000;
}

@media (max-width: 992px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */

.filetree-footer {
  background-color: #fff;
  font-family: "Space Grotesk", monospace;
  padding: 40px 20px;
  color: #000;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid li {
  color: #000 !important;
}

.filetree-footer .grid-item-pink {
  color: #000 !important;
  border: 4px solid #000;
  box-shadow: 4px 4px 0 #ff2aad;
  padding: 20px;
  transition: transform 0.4s ease;
  transform: rotate(0deg);
}

.filetree-footer .grid-item-yellow {
  color: #000 !important;
  border: 4px solid #000;
  box-shadow: 4px 4px 0 #FACC15;
  padding: 20px;
  transition: transform 0.4s ease;
  transform: rotate(0deg);
}

.filetree-footer .grid-item-blue {
  color: #000 !important;
  border: 4px solid #000;
  box-shadow: 4px 4px 0 #2487ff;
  padding: 20px;
  transition: transform 0.4s ease;
  transform: rotate(0deg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  transition: all 0.4s ease;
}

.toggle-btn {
  background-color: #ff2aad;
  color: #fff;
  border: 2px solid #000;
  padding: 6px 12px;
  font-family: "Space Grotesk", monospace;
  box-shadow: 2px 2px 0 #000;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.footer-grid .toggle-btn {
  background-color: #000;
}

.file-list {
  margin-top: 10px;
  margin-left: 20px;
  list-style: none;
  padding: 0;
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.file-list.collapsed {
  max-height: 0;
  padding: 0;
  margin: 0;
}

.file-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
  color: #ff2aad;
  font-size: 1rem;
}

.file-list i {
  color: #ff2aad;
  transition: transform 0.3s ease;
}

.footer-block:hover i {
  transform: scale(1.2) rotate(-5deg);
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 800px) {

  .footer-block {
    transform: translateY(20px);
    opacity: 0;
    animation: stackFade 0.6s ease forwards;
  }

  .footer-block:nth-child(1) {
    animation-delay: 0.1s;
  }
  .footer-block:nth-child(2) {
    animation-delay: 0.2s;
  }
  .footer-block:nth-child(3) {
    animation-delay: 0.3s;
  }
  .footer-block:nth-child(4) {
    animation-delay: 0.4s;
  }
}

@keyframes stackFade {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* WHY HIRE ME */

.why-hire-me {  
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 30px;
  margin: 0 auto;
  max-width: 1200px;
}

.l-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

.headline {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.9;
  transform: rotate(-3deg);
  background: #000;
  color: #fff;
  padding: 20px;
  border: 4px solid #000;
  text-align: center;
}

.r-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  gap: 1rem;
}

.reason {
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1rem;
  transition: all 0.2s ease;
}

.reason:hover {
  color: #a44aff;
  transform: translateX(5px) rotate(-3deg);
}

@media (max-width: 1020px) {
  .why-hire-me {
    grid-template-columns: 1fr;
  }

  .l-side {
    margin: 0 auto;
    text-align: center;
    padding: 20px;
  }

  .r-side {
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
  }

  .headline {
    font-size: clamp(1.8rem, 8vw, 6rem);
    transform: rotate(4deg);
    white-space: nowrap;
    display: inline-block;
    padding: 20px;
    border: 4px solid #000;
    background: #000;
    color: #fff;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
  }

  .reason {
    font-size: 1.7rem;
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 800px) {
  .reason {
    font-size: 1.4rem;
  }
}

@media (max-width: 550px) {
  .reason {
    font-size: 1.1rem;
  }
}

@media (max-width: 450px) {
  .reason {
    font-size: 0.9rem;
  }
}

/* RESPONSIVE NAVIGATION */

nav {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: 100vw;
  background: #fff;
  box-shadow: 0 1px 2px rgba(255, 255, 255, 0.882);
  z-index: 999;
}

nav .navbar {
  min-height: 135px;
  max-width: 90vw; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 50px;
}

.navbar .logo a {
  font-size: 42px;
  color: #000;
  text-decoration: none;
  font-family: "Major Mono Display", monospace;
  font-weight: 800;
  margin-top: 20px;
  margin-bottom: 20px;
}

nav .navbar .nav-links {
  line-height: 70px;
}

nav .navbar .links {
  display: flex;
}

nav .navbar .links li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: left;
  list-style: none;
  padding: 0 8px;
}

nav .navbar .links li a {
  text-decoration: none;
  white-space: nowrap;
  color: #000;
  font-size: 14px;
  font-weight: 400;
}

.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow {
  transform: rotate(180deg);
}

nav .navbar .links li .arrow {
  height: 100%;
  width: 22px;
  line-height: 70px;
  text-align: center;
  display: inline-block;
  color: #000;
  transition: all 0.3s ease;
}

nav .navbar .links li .sub-menu {
  position: absolute;
  top: 70px;
  left: 0;
  line-height: 40px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  z-index: 2;
}

.sub-menu {
  border: 1px solid #000;
  display: none;
}

nav .navbar .links li:hover .htmlCss-sub-menu,
nav .navbar .links li:hover .js-sub-menu {
  display: block;
}

.navbar .links li .sub-menu li {
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .links li .sub-menu a {
  color: #000;
  font-size: 12px;
  font-weight: 400;
}

.navbar .links li a:hover {
  color: #a44aff;
  transition: color 0.3s ease;
}

.navbar .links li .sub-menu .more-arrow {
  line-height: 40px;
}

.navbar .links li .htmlCss-more-sub-menu {
  line-height: 40px;
}

.navbar .links li .sub-menu .more-sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  border-radius: 0 4px 4px 4px;
  z-index: 1;
  display: none;
}

.links li .sub-menu .more:hover .more-sub-menu {
  display: block;
}

.navbar .nav-links .sidebar-logo {
  display: none;
}

.navbar .bx-menu {
  display: none;
}

#logo {
  max-width: 300px;
}


@media (max-width: 920px) {
  nav .navbar {
    max-width: 100%;
    padding: 0 25px;
  }

  nav .navbar .links li {
    padding: 0 8px;
    white-space: nowrap;
  }

  nav .navbar .links li a {
    font-size: 15px;
  }

  .sub-menu {
    border: none;
  }
}

@media (max-width: 800px) {
  nav {
    position: relative;
  }

  .navbar .bx-menu {
    display: block;
  }

  nav .navbar .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    display: block;
    max-width: 270px;
    width: 100%;
    background: #ffffff;
    line-height: 40px;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    z-index: 999;
  }

  nav .nav-links {
    margin-left: 3px;
  }

  .nav-links {
    border: 1px solid #000;
  }

  .navbar .nav-links .sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo-name {
    font-family: "Major Mono Display", monospace;
    font-size: 30px;
    color: #000;
    font-weight: 600;
  }

  .sidebar-logo i,
  .navbar .bx-menu {
    font-size: 25px;
    color: #000;
  }

  nav .navbar .links {
    display: block;
    margin-top: 20px;
  }

  nav .navbar .links li .arrow {
    line-height: 40px;
  }

  nav .navbar .links li {
    display: block;
  }

  nav .navbar .links li .sub-menu {
    position: relative;
    top: 0;
    box-shadow: none;
    display: none;
  }

  nav .navbar .links li .sub-menu li {
    border-bottom: none;
  }

  .navbar .links li .sub-menu .more-sub-menu {
    display: none;
    position: relative;
    left: 0;
  }

  .navbar .links li .sub-menu .more-sub-menu li {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .links li:hover .htmlcss-arrow,
  .links li:hover .js-arrow {
    transform: rotate(0deg);
  }

  .navbar .links li .sub-menu .more-sub-menu {
    display: none;
  }

  .navbar .links li .sub-menu .more span {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .links li .sub-menu .more:hover .more-sub-menu {
    display: none;
  }

  nav .navbar .links li:hover .htmlCss-sub-menu,
  nav .navbar .links li:hover .js-sub-menu {
    display: none;
  }

  .navbar .nav-links.show1 .links .htmlCss-sub-menu,
  .navbar .nav-links.show3 .links .js-sub-menu,
  .navbar .nav-links.show2 .links .more .more-sub-menu {
    display: block;
  }

  .navbar .nav-links.show1 .links .htmlcss-arrow,
  .navbar .nav-links.show3 .links .js-arrow {
    transform: rotate(180deg);
  }

  .navbar .nav-links.show2 .links .more-arrow {
    transform: rotate(90deg);
  }

  .grid-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 370px) {
  nav .navbar .nav-links {
    max-width: 100%;
  }
}

/* CONTACT PAGE */
/* Layout container */
.layout-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.contact-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 450px;
}

.contact-info {
  background-color: #000;
  color: #fff;
  padding: 40px 30px;
  box-shadow: 6px 6px 0 #45ff3c;
  border: 3px solid #000;
  font-family: "Space Grotesk", monospace;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-weight: bold;
  text-align: left;
}

.project-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  text-shadow: 3px 4px 6px #000;
}

.info-block p {
  margin: 6px 0;
  font-size: 0.95rem;
  text-align: left;
}

.info-block p strong {
  display: block;
  margin-top: 16px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.social-box {
  background-color: #fff;
  padding: 30px;
  box-shadow: 6px 6px 0 #000;
  border: 3px solid #000;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.social-btn {
  position: relative;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 #000;
  font-family: "Space Grotesk", monospace;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-btn::after {
  content: "Follow Me!";
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 4px 8px;
  font-size: 0.75rem;
  white-space: nowrap;
  border: 2px solid #fff;
  box-shadow: 4px 4px 0 #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  font-family: "Space Grotesk", monospace;
}

.social-btn:hover::after {
  opacity: 1;
}

.social-btn:hover {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 6px 6px 0 #000;
  animation: glitchFlicker 0.4s ease-in-out;
  box-shadow: 6px 6px 0 #000;
}

.facebook {
  background-color: #3b82f6;
  color: #fff;
}

.linkedin {
  background-color: #0a66c2;
  color: #fff;
}

.codepen {
  background-color: #111827;
  color: #fff;
}

.instagram {
  background-color: #ff2aad;
  color: #fff;
}

.contact-form input#subject {
  margin-bottom: 24px;
}

.contact-section {
  padding-top: 60px;
  text-align: center;
}

.form-wrapper {
  width: 450px;
  margin-bottom: 110px;
  padding: 30px;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
  background-color: #fff;
  text-align: left;
  overflow: hidden;
}

.form-wrapper h2 {
  font-size: 2rem;
  color: #000;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-weight: bold;
  text-align: left;
}

.contact-info h2 {
  color: #45ff3c;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group {
  flex: 1 1 0;
  min-width: 0;
}

.form-group label,
.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #000;
}

.form-group input,
.form-group select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 3px solid #000;
  background-color: #fff;
  font-size: 0.95rem;
  box-shadow: 4px 4px 0 #000;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  font-family: "Space Grotesk", monospace;
}

.form-group input,
.form-group select {
  width: 100%;
  box-sizing: border-box;
}

.form-row,
.form-group,
.contact-form input,
.contact-form select,
.contact-form textarea,
.submit-btn {
  max-width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 4px 4px 0 #2487ff;
  transform: scale(1.02) rotate(-1deg);
}

.contact-form textarea {
  background-color: #fff;
  box-shadow: 6px 6px 0 #000;
  margin-bottom: 24px;
}

.submit-btn {
  background-color: #ff2aad;
  color: #fff;
  border: 2px solid #000;
  padding: 14px 28px;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 6px 6px 0 #000;
  transition: transform 0.2s ease, background-color 0.2s ease;
  font-family: "Space Grotesk", monospace;
  width: 100%;
}

.submit-btn:hover {
  background-color: #f472b6;
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 17, 17, 0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal-box {
  background-color: #fff;
  border: 3px solid #000;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 6px 6px 0 #000;
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
  max-width: 500px;
  animation: glitchIn 0.6s ease-out;
}

.modal-box:hover {
  transform: rotate(0deg) scale(1.03);
}

.modal h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #000;
  text-transform: uppercase;
}

.modal p {
  font-size: 1rem;
  color: #000;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: #ff2aad;
  cursor: pointer;
}

/* Promo Banner */
.promo-banner {
  background-color: #45ff3c;
  max-width: 1200px;
  padding: 30px 20px;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 30px;
  box-shadow: 6px 6px 0 #000;
  border: 3px solid #000;
  font-family: "Space Grotesk", monospace;
}

.promo-content h3 {
  font-size: 2rem;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 20px;
}

.promo-content p {
  font-size: 1rem;
  color: #000;
  max-width: 600px;
  margin: 0 auto 30px;
}

.promo-btn {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 14px 28px;
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 4px 4px 0 #000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-btn:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 6px 6px 0 #000;
}

@keyframes glitchIn {
  0% {
    transform: scale(0.9) rotate(-2deg);
    opacity: 0;
  }
  25% {
    transform: scale(1.05) rotate(2deg);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.02) rotate(-1deg);
    opacity: 0.8;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes glitchFlicker {
  0% {
    transform: scale(1) rotate(0deg);
  }
  20% {
    transform: scale(1.05) rotate(-1deg);
  }
  40% {
    transform: scale(1.1) rotate(1deg);
  }
  60% {
    transform: scale(1.08) rotate(-2deg);
  }
  80% {
    transform: scale(1.12) rotate(2deg);
  }
  100% {
    transform: scale(1.1) rotate(0deg);
  }
}

@media (max-width: 500px) {
  .form-wrapper {
    width: 100%;
    padding: 30px 16px;
  }
}

@media (max-width: 960px) {
  .layout-row {
    flex-direction: column;
    align-items: center;
  }

  .contact-info,
  .form-wrapper {
    width: 100%;
    max-width: 450px;
  }
}

/* GRAPHIC DESIGN GALLERY */

.gallery-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.gallery-modal.active {
  opacity: 1;
  pointer-events: auto;
}


.gd-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 20px;
}

.gallery-section {
  background-color: #fff;
  font-family: 'JetBrains Mono', monospace;
  text-align: center;
  margin-bottom: 100px;
}

.gallery-title {
  font-size: 2.5rem;
  color: #60A5FA;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

.gallery-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  position: relative;
}

.gallery-item {
  position: relative;
  margin: -40px -20px;
  z-index: 1;
  transition: transform 0.3s ease, z-index 0.3s ease;
}

.gallery-item img {
  width: 100%;
  max-width: 240px;
  height: auto;
  filter: grayscale(100%);
  box-shadow: 6px 6px 0 #000;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  display: block;
}

.gallery-modal img {
  max-width: 600px;
  width: 90%;
  max-height: 70vh;
  box-shadow: 6px 6px 0 #000;
  transition: transform 0.3s ease;
}

.gallery-item:nth-child(3n+1) img {
  transform: rotate(-4deg);
}
.gallery-item:nth-child(3n+2) img {
  transform: rotate(3deg);
}
.gallery-item:nth-child(3n+3) img {
  transform: rotate(-2deg);
}

.gallery-item:hover {
  z-index: 10;
}

.gallery-item:hover img {
  filter: grayscale(0%);
  transform: rotate(0deg) scale(1.05);
}

@media (max-width: 768px) {
  .gallery-item {
    margin: -30px 0;
  }

  .gallery-item img {
    width: 90%;
    transform: rotate(-2deg);
  }
}

/* OTHER RESPONSIVENESS */

@media (max-width: 1200px) {
  .element h1 { 
    font-size: 4.5em;
  }
}

@media (max-width: 1110px) {
  .element h1 { 
    font-size: 3.5em; 
  }
}

@media (max-width: 920px) {
  .element h1 { 
    font-size: 5em; 
  }

  .element .pressed-button {
    display: block;
    margin: 0 auto;
    text-align: center;
    align-self: center;    
  }  

  .quote h2 {
    font-size: 3em;
  }

  .row {
    display: flex;
    flex-direction: column;
  }

  .img-element {
    order: -1;
  }

  .element {
    order: 1;
  }
}

@media (max-width: 800px) {
  .element .pressed-button {
    display: block;
    margin: 0 auto;
    text-align: center;    
  }
}

@media (max-width: 768px) {
  .gallery-modal img {
    max-width: 90%;
    max-height: 50vh;
  }
}

@media (max-width: 650px) {
  .row,
  footer {
    flex-direction: column;
  }

  .element h1 {
    font-size: 4em;
  }
}

@media (max-width: 600px) {
  .quote h2 {
    font-size: 2.2em;
  }
}
